objsel: Do not create an object from IClassFactory::QueryInterface().
[wine.git] / configure
blobaad417e0547cf8ed74983f94dd918da979fc0ff6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.17.
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.17'
615 PACKAGE_STRING='Wine 8.17'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_appxdeploymentclient
978 enable_atl
979 enable_atl100
980 enable_atl110
981 enable_atl80
982 enable_atl90
983 enable_atlthunk
984 enable_atmlib
985 enable_authz
986 enable_avicap32
987 enable_avifil32
988 enable_avrt
989 enable_bcrypt
990 enable_bcryptprimitives
991 enable_bluetoothapis
992 enable_browseui
993 enable_bthprops_cpl
994 enable_cabinet
995 enable_capi2032
996 enable_cards
997 enable_cdosys
998 enable_cfgmgr32
999 enable_clusapi
1000 enable_cng_sys
1001 enable_combase
1002 enable_comcat
1003 enable_comctl32
1004 enable_comdlg32
1005 enable_compstui
1006 enable_comsvcs
1007 enable_concrt140
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptowinrt
1017 enable_cryptsp
1018 enable_cryptui
1019 enable_ctapi32
1020 enable_ctl3d32
1021 enable_d2d1
1022 enable_d3d10
1023 enable_d3d10_1
1024 enable_d3d10core
1025 enable_d3d11
1026 enable_d3d12
1027 enable_d3d12core
1028 enable_d3d8
1029 enable_d3d8thk
1030 enable_d3d9
1031 enable_d3dcompiler_33
1032 enable_d3dcompiler_34
1033 enable_d3dcompiler_35
1034 enable_d3dcompiler_36
1035 enable_d3dcompiler_37
1036 enable_d3dcompiler_38
1037 enable_d3dcompiler_39
1038 enable_d3dcompiler_40
1039 enable_d3dcompiler_41
1040 enable_d3dcompiler_42
1041 enable_d3dcompiler_43
1042 enable_d3dcompiler_46
1043 enable_d3dcompiler_47
1044 enable_d3dim
1045 enable_d3dim700
1046 enable_d3drm
1047 enable_d3dx10_33
1048 enable_d3dx10_34
1049 enable_d3dx10_35
1050 enable_d3dx10_36
1051 enable_d3dx10_37
1052 enable_d3dx10_38
1053 enable_d3dx10_39
1054 enable_d3dx10_40
1055 enable_d3dx10_41
1056 enable_d3dx10_42
1057 enable_d3dx10_43
1058 enable_d3dx11_42
1059 enable_d3dx11_43
1060 enable_d3dx9_24
1061 enable_d3dx9_25
1062 enable_d3dx9_26
1063 enable_d3dx9_27
1064 enable_d3dx9_28
1065 enable_d3dx9_29
1066 enable_d3dx9_30
1067 enable_d3dx9_31
1068 enable_d3dx9_32
1069 enable_d3dx9_33
1070 enable_d3dx9_34
1071 enable_d3dx9_35
1072 enable_d3dx9_36
1073 enable_d3dx9_37
1074 enable_d3dx9_38
1075 enable_d3dx9_39
1076 enable_d3dx9_40
1077 enable_d3dx9_41
1078 enable_d3dx9_42
1079 enable_d3dx9_43
1080 enable_d3dxof
1081 enable_davclnt
1082 enable_dbgeng
1083 enable_dbghelp
1084 enable_dciman32
1085 enable_dcomp
1086 enable_ddraw
1087 enable_ddrawex
1088 enable_devenum
1089 enable_dhcpcsvc
1090 enable_dhcpcsvc6
1091 enable_dhtmled_ocx
1092 enable_diasymreader
1093 enable_difxapi
1094 enable_dinput
1095 enable_dinput8
1096 enable_directmanipulation
1097 enable_dispex
1098 enable_dmband
1099 enable_dmcompos
1100 enable_dmime
1101 enable_dmloader
1102 enable_dmscript
1103 enable_dmstyle
1104 enable_dmsynth
1105 enable_dmusic
1106 enable_dmusic32
1107 enable_dnsapi
1108 enable_dplay
1109 enable_dplayx
1110 enable_dpnaddr
1111 enable_dpnet
1112 enable_dpnhpast
1113 enable_dpnhupnp
1114 enable_dpnlobby
1115 enable_dpvoice
1116 enable_dpwsockx
1117 enable_drmclien
1118 enable_dsdmo
1119 enable_dsound
1120 enable_dsquery
1121 enable_dssenh
1122 enable_dsuiext
1123 enable_dswave
1124 enable_dwmapi
1125 enable_dwrite
1126 enable_dx8vb
1127 enable_dxcore
1128 enable_dxdiagn
1129 enable_dxgi
1130 enable_dxtrans
1131 enable_dxva2
1132 enable_esent
1133 enable_evr
1134 enable_explorerframe
1135 enable_faultrep
1136 enable_feclient
1137 enable_fltlib
1138 enable_fltmgr_sys
1139 enable_fntcache
1140 enable_fontsub
1141 enable_fusion
1142 enable_fwpuclnt
1143 enable_gameux
1144 enable_gamingtcui
1145 enable_gdi32
1146 enable_gdiplus
1147 enable_geolocation
1148 enable_glu32
1149 enable_gphoto2_ds
1150 enable_gpkcsp
1151 enable_graphicscapture
1152 enable_hal
1153 enable_hhctrl_ocx
1154 enable_hid
1155 enable_hidclass_sys
1156 enable_hidparse_sys
1157 enable_hlink
1158 enable_hnetcfg
1159 enable_hrtfapo
1160 enable_http_sys
1161 enable_httpapi
1162 enable_hvsimanagementapi
1163 enable_ia2comproxy
1164 enable_iccvid
1165 enable_icmp
1166 enable_ieframe
1167 enable_ieproxy
1168 enable_imaadp32_acm
1169 enable_imagehlp
1170 enable_imm32
1171 enable_inetcomm
1172 enable_inetcpl_cpl
1173 enable_inetmib1
1174 enable_infosoft
1175 enable_initpki
1176 enable_inkobj
1177 enable_inseng
1178 enable_iphlpapi
1179 enable_iprop
1180 enable_ir50_32
1181 enable_irprops_cpl
1182 enable_itircl
1183 enable_itss
1184 enable_joy_cpl
1185 enable_jscript
1186 enable_jsproxy
1187 enable_kerberos
1188 enable_kernel32
1189 enable_kernelbase
1190 enable_ksecdd_sys
1191 enable_ksproxy_ax
1192 enable_ksuser
1193 enable_ktmw32
1194 enable_l3codeca_acm
1195 enable_light_msstyles
1196 enable_loadperf
1197 enable_localspl
1198 enable_localui
1199 enable_lz32
1200 enable_magnification
1201 enable_mapi32
1202 enable_mapistub
1203 enable_mciavi32
1204 enable_mcicda
1205 enable_mciqtz32
1206 enable_mciseq
1207 enable_mciwave
1208 enable_mf
1209 enable_mf3216
1210 enable_mferror
1211 enable_mfmediaengine
1212 enable_mfplat
1213 enable_mfplay
1214 enable_mfreadwrite
1215 enable_mfsrcsnk
1216 enable_mgmtapi
1217 enable_midimap
1218 enable_mlang
1219 enable_mmcndmgr
1220 enable_mmdevapi
1221 enable_mountmgr_sys
1222 enable_mp3dmod
1223 enable_mpr
1224 enable_mprapi
1225 enable_msacm32_drv
1226 enable_msacm32
1227 enable_msado15
1228 enable_msadp32_acm
1229 enable_msasn1
1230 enable_msauddecmft
1231 enable_mscat32
1232 enable_mscms
1233 enable_mscoree
1234 enable_mscorwks
1235 enable_msctf
1236 enable_msctfmonitor
1237 enable_msctfp
1238 enable_msdaps
1239 enable_msdasql
1240 enable_msdelta
1241 enable_msdmo
1242 enable_msdrm
1243 enable_msftedit
1244 enable_msg711_acm
1245 enable_msgsm32_acm
1246 enable_mshtml_tlb
1247 enable_mshtml
1248 enable_msi
1249 enable_msident
1250 enable_msimg32
1251 enable_msimsg
1252 enable_msimtf
1253 enable_msisip
1254 enable_msisys_ocx
1255 enable_msls31
1256 enable_msmpeg2vdec
1257 enable_msnet32
1258 enable_mspatcha
1259 enable_msports
1260 enable_msrle32
1261 enable_msscript_ocx
1262 enable_mssign32
1263 enable_mssip32
1264 enable_mstask
1265 enable_msv1_0
1266 enable_msvcirt
1267 enable_msvcm80
1268 enable_msvcm90
1269 enable_msvcp100
1270 enable_msvcp110
1271 enable_msvcp120
1272 enable_msvcp120_app
1273 enable_msvcp140
1274 enable_msvcp140_1
1275 enable_msvcp140_2
1276 enable_msvcp140_atomic_wait
1277 enable_msvcp140_codecvt_ids
1278 enable_msvcp60
1279 enable_msvcp70
1280 enable_msvcp71
1281 enable_msvcp80
1282 enable_msvcp90
1283 enable_msvcp_win
1284 enable_msvcr100
1285 enable_msvcr110
1286 enable_msvcr120
1287 enable_msvcr120_app
1288 enable_msvcr70
1289 enable_msvcr71
1290 enable_msvcr80
1291 enable_msvcr90
1292 enable_msvcrt
1293 enable_msvcrt20
1294 enable_msvcrt40
1295 enable_msvcrtd
1296 enable_msvfw32
1297 enable_msvidc32
1298 enable_mswsock
1299 enable_msxml
1300 enable_msxml2
1301 enable_msxml3
1302 enable_msxml4
1303 enable_msxml6
1304 enable_mtxdm
1305 enable_ncrypt
1306 enable_nddeapi
1307 enable_ndis_sys
1308 enable_netapi32
1309 enable_netcfgx
1310 enable_netio_sys
1311 enable_netprofm
1312 enable_netutils
1313 enable_newdev
1314 enable_ninput
1315 enable_normaliz
1316 enable_npmshtml
1317 enable_npptools
1318 enable_nsi
1319 enable_nsiproxy_sys
1320 enable_ntdll
1321 enable_ntdsapi
1322 enable_ntoskrnl_exe
1323 enable_ntprint
1324 enable_objsel
1325 enable_odbc32
1326 enable_odbcbcp
1327 enable_odbccp32
1328 enable_odbccu32
1329 enable_ole32
1330 enable_oleacc
1331 enable_oleaut32
1332 enable_olecli32
1333 enable_oledb32
1334 enable_oledlg
1335 enable_olepro32
1336 enable_olesvr32
1337 enable_olethk32
1338 enable_opcservices
1339 enable_opencl
1340 enable_opengl32
1341 enable_packager
1342 enable_pdh
1343 enable_photometadatahandler
1344 enable_pidgen
1345 enable_powrprof
1346 enable_printui
1347 enable_prntvpt
1348 enable_propsys
1349 enable_psapi
1350 enable_pstorec
1351 enable_pwrshplugin
1352 enable_qasf
1353 enable_qcap
1354 enable_qdvd
1355 enable_qedit
1356 enable_qmgr
1357 enable_qmgrprxy
1358 enable_quartz
1359 enable_query
1360 enable_qwave
1361 enable_rasapi32
1362 enable_rasdlg
1363 enable_regapi
1364 enable_resutils
1365 enable_riched20
1366 enable_riched32
1367 enable_rpcrt4
1368 enable_rsabase
1369 enable_rsaenh
1370 enable_rstrtmgr
1371 enable_rtutils
1372 enable_rtworkq
1373 enable_samlib
1374 enable_sane_ds
1375 enable_sapi
1376 enable_sas
1377 enable_scarddlg
1378 enable_scardsvr
1379 enable_sccbase
1380 enable_schannel
1381 enable_schedsvc
1382 enable_scrobj
1383 enable_scrrun
1384 enable_scsiport_sys
1385 enable_sechost
1386 enable_secur32
1387 enable_security
1388 enable_sensapi
1389 enable_serialui
1390 enable_setupapi
1391 enable_sfc
1392 enable_sfc_os
1393 enable_shcore
1394 enable_shdoclc
1395 enable_shdocvw
1396 enable_shell32
1397 enable_shfolder
1398 enable_shlwapi
1399 enable_slbcsp
1400 enable_slc
1401 enable_snmpapi
1402 enable_softpub
1403 enable_spoolss
1404 enable_sppc
1405 enable_srclient
1406 enable_srvcli
1407 enable_srvsvc
1408 enable_sspicli
1409 enable_stdole2_tlb
1410 enable_stdole32_tlb
1411 enable_sti
1412 enable_strmdll
1413 enable_svrapi
1414 enable_sxs
1415 enable_t2embed
1416 enable_tapi32
1417 enable_taskschd
1418 enable_tbs
1419 enable_tdh
1420 enable_tdi_sys
1421 enable_threadpoolwinrt
1422 enable_traffic
1423 enable_twain_32
1424 enable_twinapi_appcore
1425 enable_tzres
1426 enable_ucrtbase
1427 enable_uianimation
1428 enable_uiautomationcore
1429 enable_uiribbon
1430 enable_unicows
1431 enable_updspapi
1432 enable_url
1433 enable_urlmon
1434 enable_usbd_sys
1435 enable_user32
1436 enable_userenv
1437 enable_usp10
1438 enable_utildll
1439 enable_uxtheme
1440 enable_vbscript
1441 enable_vcomp
1442 enable_vcomp100
1443 enable_vcomp110
1444 enable_vcomp120
1445 enable_vcomp140
1446 enable_vcomp90
1447 enable_vcruntime140
1448 enable_vcruntime140_1
1449 enable_vdmdbg
1450 enable_version
1451 enable_vga
1452 enable_virtdisk
1453 enable_vssapi
1454 enable_vulkan_1
1455 enable_wbemdisp
1456 enable_wbemprox
1457 enable_wdscore
1458 enable_webservices
1459 enable_websocket
1460 enable_wer
1461 enable_wevtapi
1462 enable_wevtsvc
1463 enable_wiaservc
1464 enable_wimgapi
1465 enable_win32u
1466 enable_windows_applicationmodel
1467 enable_windows_devices_bluetooth
1468 enable_windows_devices_enumeration
1469 enable_windows_devices_usb
1470 enable_windows_gaming_input
1471 enable_windows_gaming_ui_gamebar
1472 enable_windows_globalization
1473 enable_windows_media_devices
1474 enable_windows_media_mediacontrol
1475 enable_windows_media_speech
1476 enable_windows_media
1477 enable_windows_networking_hostname
1478 enable_windows_networking
1479 enable_windows_perception_stub
1480 enable_windows_storage_applicationdata
1481 enable_windows_system_profile_systemmanufacturers
1482 enable_windows_ui
1483 enable_windowscodecs
1484 enable_windowscodecsext
1485 enable_winealsa_drv
1486 enable_wineandroid_drv
1487 enable_winebus_sys
1488 enable_winecoreaudio_drv
1489 enable_winecrt0
1490 enable_wined3d
1491 enable_winegstreamer
1492 enable_winehid_sys
1493 enable_winemac_drv
1494 enable_winemapi
1495 enable_wineoss_drv
1496 enable_wineps_drv
1497 enable_winepulse_drv
1498 enable_wineusb_sys
1499 enable_winevulkan
1500 enable_winewayland_drv
1501 enable_winex11_drv
1502 enable_winexinput_sys
1503 enable_wing32
1504 enable_winhttp
1505 enable_wininet
1506 enable_winmm
1507 enable_winnls32
1508 enable_winprint
1509 enable_winscard
1510 enable_winspool_drv
1511 enable_winsta
1512 enable_wintab32
1513 enable_wintrust
1514 enable_wintypes
1515 enable_winusb
1516 enable_wlanapi
1517 enable_wlanui
1518 enable_wldap32
1519 enable_wldp
1520 enable_wmasf
1521 enable_wmi
1522 enable_wmiutils
1523 enable_wmp
1524 enable_wmphoto
1525 enable_wmvcore
1526 enable_wnaspi32
1527 enable_wofutil
1528 enable_wow64
1529 enable_wow64cpu
1530 enable_wow64win
1531 enable_wpc
1532 enable_wpcap
1533 enable_ws2_32
1534 enable_wsdapi
1535 enable_wshom_ocx
1536 enable_wsnmp32
1537 enable_wsock32
1538 enable_wtsapi32
1539 enable_wuapi
1540 enable_wuaueng
1541 enable_x3daudio1_0
1542 enable_x3daudio1_1
1543 enable_x3daudio1_2
1544 enable_x3daudio1_3
1545 enable_x3daudio1_4
1546 enable_x3daudio1_5
1547 enable_x3daudio1_6
1548 enable_x3daudio1_7
1549 enable_xactengine2_0
1550 enable_xactengine2_4
1551 enable_xactengine2_7
1552 enable_xactengine2_9
1553 enable_xactengine3_0
1554 enable_xactengine3_1
1555 enable_xactengine3_2
1556 enable_xactengine3_3
1557 enable_xactengine3_4
1558 enable_xactengine3_5
1559 enable_xactengine3_6
1560 enable_xactengine3_7
1561 enable_xapofx1_1
1562 enable_xapofx1_2
1563 enable_xapofx1_3
1564 enable_xapofx1_4
1565 enable_xapofx1_5
1566 enable_xaudio2_0
1567 enable_xaudio2_1
1568 enable_xaudio2_2
1569 enable_xaudio2_3
1570 enable_xaudio2_4
1571 enable_xaudio2_5
1572 enable_xaudio2_6
1573 enable_xaudio2_7
1574 enable_xaudio2_8
1575 enable_xaudio2_9
1576 enable_xinput1_1
1577 enable_xinput1_2
1578 enable_xinput1_3
1579 enable_xinput1_4
1580 enable_xinput9_1_0
1581 enable_xinputuap
1582 enable_xmllite
1583 enable_xolehlp
1584 enable_xpsprint
1585 enable_xpssvcs
1586 enable_fonts
1587 enable_include
1588 enable_adsiid
1589 enable_dmoguids
1590 enable_dxerr8
1591 enable_dxerr9
1592 enable_dxguid
1593 enable_faudio
1594 enable_gsm
1595 enable_jpeg
1596 enable_jxr
1597 enable_lcms2
1598 enable_ldap
1599 enable_mfuuid
1600 enable_mpg123
1601 enable_musl
1602 enable_png
1603 enable_strmbase
1604 enable_strmiids
1605 enable_tiff
1606 enable_uuid
1607 enable_vkd3d
1608 enable_wbemuuid
1609 enable_wmcodecdspuuid
1610 enable_xml2
1611 enable_xslt
1612 enable_zlib
1613 enable_zydis
1614 enable_loader
1615 enable_nls
1616 enable_po
1617 enable_arp
1618 enable_aspnet_regiis
1619 enable_attrib
1620 enable_cabarc
1621 enable_cacls
1622 enable_certutil
1623 enable_chcp_com
1624 enable_clock
1625 enable_cmd
1626 enable_conhost
1627 enable_control
1628 enable_cscript
1629 enable_dism
1630 enable_dllhost
1631 enable_dplaysvr
1632 enable_dpnsvr
1633 enable_dpvsetup
1634 enable_dxdiag
1635 enable_eject
1636 enable_expand
1637 enable_explorer
1638 enable_extrac32
1639 enable_fc
1640 enable_find
1641 enable_findstr
1642 enable_fsutil
1643 enable_hh
1644 enable_hostname
1645 enable_icacls
1646 enable_icinfo
1647 enable_iexplore
1648 enable_ipconfig
1649 enable_klist
1650 enable_lodctr
1651 enable_mofcomp
1652 enable_mshta
1653 enable_msidb
1654 enable_msiexec
1655 enable_msinfo32
1656 enable_net
1657 enable_netsh
1658 enable_netstat
1659 enable_ngen
1660 enable_notepad
1661 enable_oleview
1662 enable_ping
1663 enable_plugplay
1664 enable_pnputil
1665 enable_powershell
1666 enable_presentationfontcache
1667 enable_progman
1668 enable_reg
1669 enable_regasm
1670 enable_regedit
1671 enable_regini
1672 enable_regsvcs
1673 enable_regsvr32
1674 enable_robocopy
1675 enable_rpcss
1676 enable_rundll32
1677 enable_sc
1678 enable_schtasks
1679 enable_sdbinst
1680 enable_secedit
1681 enable_servicemodelreg
1682 enable_services
1683 enable_setx
1684 enable_shutdown
1685 enable_spoolsv
1686 enable_start
1687 enable_subst
1688 enable_svchost
1689 enable_systeminfo
1690 enable_taskkill
1691 enable_tasklist
1692 enable_taskmgr
1693 enable_termsv
1694 enable_uninstaller
1695 enable_unlodctr
1696 enable_view
1697 enable_wevtutil
1698 enable_where
1699 enable_whoami
1700 enable_wineboot
1701 enable_winebrowser
1702 enable_winecfg
1703 enable_wineconsole
1704 enable_winedbg
1705 enable_winedevice
1706 enable_winefile
1707 enable_winemenubuilder
1708 enable_winemine
1709 enable_winemsibuilder
1710 enable_winepath
1711 enable_winetest
1712 enable_winhlp32
1713 enable_winmgmt
1714 enable_winver
1715 enable_wmic
1716 enable_wmplayer
1717 enable_wordpad
1718 enable_write
1719 enable_wscript
1720 enable_wuauserv
1721 enable_wusa
1722 enable_xcopy
1723 enable_server
1724 enable_tools
1725 enable_sfnt2fon
1726 enable_widl
1727 enable_winebuild
1728 enable_winedump
1729 enable_winegcc
1730 enable_winemaker
1731 enable_wmc
1732 enable_wrc
1734 ac_precious_vars='build_alias
1735 host_alias
1736 target_alias
1738 CFLAGS
1739 LDFLAGS
1740 LIBS
1741 CPPFLAGS
1743 CXXFLAGS
1745 OBJC
1746 OBJCFLAGS
1747 FAUDIO_PE_CFLAGS
1748 FAUDIO_PE_LIBS
1749 GSM_PE_CFLAGS
1750 GSM_PE_LIBS
1751 JPEG_PE_CFLAGS
1752 JPEG_PE_LIBS
1753 JXR_PE_CFLAGS
1754 JXR_PE_LIBS
1755 LCMS2_PE_CFLAGS
1756 LCMS2_PE_LIBS
1757 LDAP_PE_CFLAGS
1758 LDAP_PE_LIBS
1759 MPG123_PE_CFLAGS
1760 MPG123_PE_LIBS
1761 MUSL_PE_CFLAGS
1762 MUSL_PE_LIBS
1763 PNG_PE_CFLAGS
1764 PNG_PE_LIBS
1765 TIFF_PE_CFLAGS
1766 TIFF_PE_LIBS
1767 VKD3D_PE_CFLAGS
1768 VKD3D_PE_LIBS
1769 XML2_PE_CFLAGS
1770 XML2_PE_LIBS
1771 XSLT_PE_CFLAGS
1772 XSLT_PE_LIBS
1773 ZLIB_PE_CFLAGS
1774 ZLIB_PE_LIBS
1775 ZYDIS_PE_CFLAGS
1776 ZYDIS_PE_LIBS
1777 XMKMF
1779 WAYLAND_CLIENT_CFLAGS
1780 WAYLAND_CLIENT_LIBS
1781 INOTIFY_CFLAGS
1782 INOTIFY_LIBS
1783 DBUS_CFLAGS
1784 DBUS_LIBS
1785 GNUTLS_CFLAGS
1786 GNUTLS_LIBS
1787 SANE_CFLAGS
1788 SANE_LIBS
1789 USB_CFLAGS
1790 USB_LIBS
1791 GPHOTO2_CFLAGS
1792 GPHOTO2_LIBS
1793 GPHOTO2_PORT_CFLAGS
1794 GPHOTO2_PORT_LIBS
1795 FREETYPE_CFLAGS
1796 FREETYPE_LIBS
1797 PULSE_CFLAGS
1798 PULSE_LIBS
1799 GSTREAMER_CFLAGS
1800 GSTREAMER_LIBS
1801 UDEV_CFLAGS
1802 UDEV_LIBS
1803 UNWIND_CFLAGS
1804 UNWIND_LIBS
1805 SDL2_CFLAGS
1806 SDL2_LIBS
1807 CAPI20_CFLAGS
1808 CAPI20_LIBS
1809 CUPS_CFLAGS
1810 CUPS_LIBS
1811 FONTCONFIG_CFLAGS
1812 FONTCONFIG_LIBS
1813 KRB5_CFLAGS
1814 KRB5_LIBS
1815 GSSAPI_CFLAGS
1816 GSSAPI_LIBS
1817 NETAPI_CFLAGS
1818 NETAPI_LIBS'
1821 # Initialize some variables set by options.
1822 ac_init_help=
1823 ac_init_version=false
1824 ac_unrecognized_opts=
1825 ac_unrecognized_sep=
1826 # The variables have the same names as the options, with
1827 # dashes changed to underlines.
1828 cache_file=/dev/null
1829 exec_prefix=NONE
1830 no_create=
1831 no_recursion=
1832 prefix=NONE
1833 program_prefix=NONE
1834 program_suffix=NONE
1835 program_transform_name=s,x,x,
1836 silent=
1837 site=
1838 srcdir=
1839 verbose=
1840 x_includes=NONE
1841 x_libraries=NONE
1843 # Installation directory options.
1844 # These are left unexpanded so users can "make install exec_prefix=/foo"
1845 # and all the variables that are supposed to be based on exec_prefix
1846 # by default will actually change.
1847 # Use braces instead of parens because sh, perl, etc. also accept them.
1848 # (The list follows the same order as the GNU Coding Standards.)
1849 bindir='${exec_prefix}/bin'
1850 sbindir='${exec_prefix}/sbin'
1851 libexecdir='${exec_prefix}/libexec'
1852 datarootdir='${prefix}/share'
1853 datadir='${datarootdir}'
1854 sysconfdir='${prefix}/etc'
1855 sharedstatedir='${prefix}/com'
1856 localstatedir='${prefix}/var'
1857 runstatedir='${localstatedir}/run'
1858 includedir='${prefix}/include'
1859 oldincludedir='/usr/include'
1860 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1861 infodir='${datarootdir}/info'
1862 htmldir='${docdir}'
1863 dvidir='${docdir}'
1864 pdfdir='${docdir}'
1865 psdir='${docdir}'
1866 libdir='${exec_prefix}/lib'
1867 localedir='${datarootdir}/locale'
1868 mandir='${datarootdir}/man'
1870 ac_prev=
1871 ac_dashdash=
1872 for ac_option
1874 # If the previous option needs an argument, assign it.
1875 if test -n "$ac_prev"; then
1876 eval $ac_prev=\$ac_option
1877 ac_prev=
1878 continue
1881 case $ac_option in
1882 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1883 *=) ac_optarg= ;;
1884 *) ac_optarg=yes ;;
1885 esac
1887 case $ac_dashdash$ac_option in
1889 ac_dashdash=yes ;;
1891 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1892 ac_prev=bindir ;;
1893 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1894 bindir=$ac_optarg ;;
1896 -build | --build | --buil | --bui | --bu)
1897 ac_prev=build_alias ;;
1898 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1899 build_alias=$ac_optarg ;;
1901 -cache-file | --cache-file | --cache-fil | --cache-fi \
1902 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1903 ac_prev=cache_file ;;
1904 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1905 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1906 cache_file=$ac_optarg ;;
1908 --config-cache | -C)
1909 cache_file=config.cache ;;
1911 -datadir | --datadir | --datadi | --datad)
1912 ac_prev=datadir ;;
1913 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1914 datadir=$ac_optarg ;;
1916 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1917 | --dataroo | --dataro | --datar)
1918 ac_prev=datarootdir ;;
1919 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1920 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1921 datarootdir=$ac_optarg ;;
1923 -disable-* | --disable-*)
1924 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1925 # Reject names that are not valid shell variable names.
1926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1927 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1928 ac_useropt_orig=$ac_useropt
1929 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1930 case $ac_user_opts in
1932 "enable_$ac_useropt"
1933 "*) ;;
1934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1935 ac_unrecognized_sep=', ';;
1936 esac
1937 eval enable_$ac_useropt=no ;;
1939 -docdir | --docdir | --docdi | --doc | --do)
1940 ac_prev=docdir ;;
1941 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1942 docdir=$ac_optarg ;;
1944 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1945 ac_prev=dvidir ;;
1946 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1947 dvidir=$ac_optarg ;;
1949 -enable-* | --enable-*)
1950 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1951 # Reject names that are not valid shell variable names.
1952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1953 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1954 ac_useropt_orig=$ac_useropt
1955 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1956 case $ac_user_opts in
1958 "enable_$ac_useropt"
1959 "*) ;;
1960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1961 ac_unrecognized_sep=', ';;
1962 esac
1963 eval enable_$ac_useropt=\$ac_optarg ;;
1965 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1966 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1967 | --exec | --exe | --ex)
1968 ac_prev=exec_prefix ;;
1969 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1970 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1971 | --exec=* | --exe=* | --ex=*)
1972 exec_prefix=$ac_optarg ;;
1974 -gas | --gas | --ga | --g)
1975 # Obsolete; use --with-gas.
1976 with_gas=yes ;;
1978 -help | --help | --hel | --he | -h)
1979 ac_init_help=long ;;
1980 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1981 ac_init_help=recursive ;;
1982 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1983 ac_init_help=short ;;
1985 -host | --host | --hos | --ho)
1986 ac_prev=host_alias ;;
1987 -host=* | --host=* | --hos=* | --ho=*)
1988 host_alias=$ac_optarg ;;
1990 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1991 ac_prev=htmldir ;;
1992 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1993 | --ht=*)
1994 htmldir=$ac_optarg ;;
1996 -includedir | --includedir | --includedi | --included | --include \
1997 | --includ | --inclu | --incl | --inc)
1998 ac_prev=includedir ;;
1999 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2000 | --includ=* | --inclu=* | --incl=* | --inc=*)
2001 includedir=$ac_optarg ;;
2003 -infodir | --infodir | --infodi | --infod | --info | --inf)
2004 ac_prev=infodir ;;
2005 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2006 infodir=$ac_optarg ;;
2008 -libdir | --libdir | --libdi | --libd)
2009 ac_prev=libdir ;;
2010 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2011 libdir=$ac_optarg ;;
2013 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2014 | --libexe | --libex | --libe)
2015 ac_prev=libexecdir ;;
2016 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2017 | --libexe=* | --libex=* | --libe=*)
2018 libexecdir=$ac_optarg ;;
2020 -localedir | --localedir | --localedi | --localed | --locale)
2021 ac_prev=localedir ;;
2022 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2023 localedir=$ac_optarg ;;
2025 -localstatedir | --localstatedir | --localstatedi | --localstated \
2026 | --localstate | --localstat | --localsta | --localst | --locals)
2027 ac_prev=localstatedir ;;
2028 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2029 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2030 localstatedir=$ac_optarg ;;
2032 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2033 ac_prev=mandir ;;
2034 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2035 mandir=$ac_optarg ;;
2037 -nfp | --nfp | --nf)
2038 # Obsolete; use --without-fp.
2039 with_fp=no ;;
2041 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2042 | --no-cr | --no-c | -n)
2043 no_create=yes ;;
2045 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2046 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2047 no_recursion=yes ;;
2049 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2050 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2051 | --oldin | --oldi | --old | --ol | --o)
2052 ac_prev=oldincludedir ;;
2053 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2054 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2055 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2056 oldincludedir=$ac_optarg ;;
2058 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2059 ac_prev=prefix ;;
2060 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2061 prefix=$ac_optarg ;;
2063 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2064 | --program-pre | --program-pr | --program-p)
2065 ac_prev=program_prefix ;;
2066 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2067 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2068 program_prefix=$ac_optarg ;;
2070 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2071 | --program-suf | --program-su | --program-s)
2072 ac_prev=program_suffix ;;
2073 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2074 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2075 program_suffix=$ac_optarg ;;
2077 -program-transform-name | --program-transform-name \
2078 | --program-transform-nam | --program-transform-na \
2079 | --program-transform-n | --program-transform- \
2080 | --program-transform | --program-transfor \
2081 | --program-transfo | --program-transf \
2082 | --program-trans | --program-tran \
2083 | --progr-tra | --program-tr | --program-t)
2084 ac_prev=program_transform_name ;;
2085 -program-transform-name=* | --program-transform-name=* \
2086 | --program-transform-nam=* | --program-transform-na=* \
2087 | --program-transform-n=* | --program-transform-=* \
2088 | --program-transform=* | --program-transfor=* \
2089 | --program-transfo=* | --program-transf=* \
2090 | --program-trans=* | --program-tran=* \
2091 | --progr-tra=* | --program-tr=* | --program-t=*)
2092 program_transform_name=$ac_optarg ;;
2094 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2095 ac_prev=pdfdir ;;
2096 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2097 pdfdir=$ac_optarg ;;
2099 -psdir | --psdir | --psdi | --psd | --ps)
2100 ac_prev=psdir ;;
2101 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2102 psdir=$ac_optarg ;;
2104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2105 | -silent | --silent | --silen | --sile | --sil)
2106 silent=yes ;;
2108 -runstatedir | --runstatedir | --runstatedi | --runstated \
2109 | --runstate | --runstat | --runsta | --runst | --runs \
2110 | --run | --ru | --r)
2111 ac_prev=runstatedir ;;
2112 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2113 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2114 | --run=* | --ru=* | --r=*)
2115 runstatedir=$ac_optarg ;;
2117 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2118 ac_prev=sbindir ;;
2119 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2120 | --sbi=* | --sb=*)
2121 sbindir=$ac_optarg ;;
2123 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2124 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2125 | --sharedst | --shareds | --shared | --share | --shar \
2126 | --sha | --sh)
2127 ac_prev=sharedstatedir ;;
2128 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2129 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2130 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2131 | --sha=* | --sh=*)
2132 sharedstatedir=$ac_optarg ;;
2134 -site | --site | --sit)
2135 ac_prev=site ;;
2136 -site=* | --site=* | --sit=*)
2137 site=$ac_optarg ;;
2139 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2140 ac_prev=srcdir ;;
2141 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2142 srcdir=$ac_optarg ;;
2144 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2145 | --syscon | --sysco | --sysc | --sys | --sy)
2146 ac_prev=sysconfdir ;;
2147 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2148 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2149 sysconfdir=$ac_optarg ;;
2151 -target | --target | --targe | --targ | --tar | --ta | --t)
2152 ac_prev=target_alias ;;
2153 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2154 target_alias=$ac_optarg ;;
2156 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2157 verbose=yes ;;
2159 -version | --version | --versio | --versi | --vers | -V)
2160 ac_init_version=: ;;
2162 -with-* | --with-*)
2163 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2164 # Reject names that are not valid shell variable names.
2165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2166 as_fn_error $? "invalid package name: \`$ac_useropt'"
2167 ac_useropt_orig=$ac_useropt
2168 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2169 case $ac_user_opts in
2171 "with_$ac_useropt"
2172 "*) ;;
2173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2174 ac_unrecognized_sep=', ';;
2175 esac
2176 eval with_$ac_useropt=\$ac_optarg ;;
2178 -without-* | --without-*)
2179 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2180 # Reject names that are not valid shell variable names.
2181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2182 as_fn_error $? "invalid package name: \`$ac_useropt'"
2183 ac_useropt_orig=$ac_useropt
2184 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2185 case $ac_user_opts in
2187 "with_$ac_useropt"
2188 "*) ;;
2189 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2190 ac_unrecognized_sep=', ';;
2191 esac
2192 eval with_$ac_useropt=no ;;
2194 --x)
2195 # Obsolete; use --with-x.
2196 with_x=yes ;;
2198 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2199 | --x-incl | --x-inc | --x-in | --x-i)
2200 ac_prev=x_includes ;;
2201 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2202 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2203 x_includes=$ac_optarg ;;
2205 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2206 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2207 ac_prev=x_libraries ;;
2208 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2209 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2210 x_libraries=$ac_optarg ;;
2212 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2213 Try \`$0 --help' for more information"
2216 *=*)
2217 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2218 # Reject names that are not valid shell variable names.
2219 case $ac_envvar in #(
2220 '' | [0-9]* | *[!_$as_cr_alnum]* )
2221 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2222 esac
2223 eval $ac_envvar=\$ac_optarg
2224 export $ac_envvar ;;
2227 # FIXME: should be removed in autoconf 3.0.
2228 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2230 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2231 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2234 esac
2235 done
2237 if test -n "$ac_prev"; then
2238 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2239 as_fn_error $? "missing argument to $ac_option"
2242 if test -n "$ac_unrecognized_opts"; then
2243 case $enable_option_checking in
2244 no) ;;
2245 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2246 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2247 esac
2250 # Check all directory arguments for consistency.
2251 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2252 datadir sysconfdir sharedstatedir localstatedir includedir \
2253 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2254 libdir localedir mandir runstatedir
2256 eval ac_val=\$$ac_var
2257 # Remove trailing slashes.
2258 case $ac_val in
2259 */ )
2260 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2261 eval $ac_var=\$ac_val;;
2262 esac
2263 # Be sure to have absolute directory names.
2264 case $ac_val in
2265 [\\/$]* | ?:[\\/]* ) continue;;
2266 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2267 esac
2268 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2269 done
2271 # There might be people who depend on the old broken behavior: `$host'
2272 # used to hold the argument of --host etc.
2273 # FIXME: To remove some day.
2274 build=$build_alias
2275 host=$host_alias
2276 target=$target_alias
2278 # FIXME: To remove some day.
2279 if test "x$host_alias" != x; then
2280 if test "x$build_alias" = x; then
2281 cross_compiling=maybe
2282 elif test "x$build_alias" != "x$host_alias"; then
2283 cross_compiling=yes
2287 ac_tool_prefix=
2288 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2290 test "$silent" = yes && exec 6>/dev/null
2293 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2294 ac_ls_di=`ls -di .` &&
2295 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2296 as_fn_error $? "working directory cannot be determined"
2297 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2298 as_fn_error $? "pwd does not report name of working directory"
2301 # Find the source files, if location was not specified.
2302 if test -z "$srcdir"; then
2303 ac_srcdir_defaulted=yes
2304 # Try the directory containing this script, then the parent directory.
2305 ac_confdir=`$as_dirname -- "$as_myself" ||
2306 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2307 X"$as_myself" : 'X\(//\)[^/]' \| \
2308 X"$as_myself" : 'X\(//\)$' \| \
2309 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2310 printf "%s\n" X"$as_myself" |
2311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2312 s//\1/
2315 /^X\(\/\/\)[^/].*/{
2316 s//\1/
2319 /^X\(\/\/\)$/{
2320 s//\1/
2323 /^X\(\/\).*/{
2324 s//\1/
2327 s/.*/./; q'`
2328 srcdir=$ac_confdir
2329 if test ! -r "$srcdir/$ac_unique_file"; then
2330 srcdir=..
2332 else
2333 ac_srcdir_defaulted=no
2335 if test ! -r "$srcdir/$ac_unique_file"; then
2336 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2337 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2339 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2340 ac_abs_confdir=`(
2341 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2342 pwd)`
2343 # When building in place, set srcdir=.
2344 if test "$ac_abs_confdir" = "$ac_pwd"; then
2345 srcdir=.
2347 # Remove unnecessary trailing slashes from srcdir.
2348 # Double slashes in file names in object file debugging info
2349 # mess up M-x gdb in Emacs.
2350 case $srcdir in
2351 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2352 esac
2353 for ac_var in $ac_precious_vars; do
2354 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2355 eval ac_env_${ac_var}_value=\$${ac_var}
2356 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2357 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2358 done
2361 # Report the --help message.
2363 if test "$ac_init_help" = "long"; then
2364 # Omit some internal or obsolete options to make the list less imposing.
2365 # This message is too long to be a string in the A/UX 3.1 sh.
2366 cat <<_ACEOF
2367 \`configure' configures Wine 8.17 to adapt to many kinds of systems.
2369 Usage: $0 [OPTION]... [VAR=VALUE]...
2371 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2372 VAR=VALUE. See below for descriptions of some of the useful variables.
2374 Defaults for the options are specified in brackets.
2376 Configuration:
2377 -h, --help display this help and exit
2378 --help=short display options specific to this package
2379 --help=recursive display the short help of all the included packages
2380 -V, --version display version information and exit
2381 -q, --quiet, --silent do not print \`checking ...' messages
2382 --cache-file=FILE cache test results in FILE [disabled]
2383 -C, --config-cache alias for \`--cache-file=config.cache'
2384 -n, --no-create do not create output files
2385 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2387 Installation directories:
2388 --prefix=PREFIX install architecture-independent files in PREFIX
2389 [$ac_default_prefix]
2390 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2391 [PREFIX]
2393 By default, \`make install' will install all the files in
2394 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2395 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2396 for instance \`--prefix=\$HOME'.
2398 For better control, use the options below.
2400 Fine tuning of the installation directories:
2401 --bindir=DIR user executables [EPREFIX/bin]
2402 --sbindir=DIR system admin executables [EPREFIX/sbin]
2403 --libexecdir=DIR program executables [EPREFIX/libexec]
2404 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2405 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2406 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2407 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2408 --libdir=DIR object code libraries [EPREFIX/lib]
2409 --includedir=DIR C header files [PREFIX/include]
2410 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2411 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2412 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2413 --infodir=DIR info documentation [DATAROOTDIR/info]
2414 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2415 --mandir=DIR man documentation [DATAROOTDIR/man]
2416 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2417 --htmldir=DIR html documentation [DOCDIR]
2418 --dvidir=DIR dvi documentation [DOCDIR]
2419 --pdfdir=DIR pdf documentation [DOCDIR]
2420 --psdir=DIR ps documentation [DOCDIR]
2421 _ACEOF
2423 cat <<\_ACEOF
2425 X features:
2426 --x-includes=DIR X include files are in DIR
2427 --x-libraries=DIR X library files are in DIR
2429 System types:
2430 --build=BUILD configure for building on BUILD [guessed]
2431 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2432 _ACEOF
2435 if test -n "$ac_init_help"; then
2436 case $ac_init_help in
2437 short | recursive ) echo "Configuration of Wine 8.17:";;
2438 esac
2439 cat <<\_ACEOF
2441 Optional Features:
2442 --disable-option-checking ignore unrecognized --enable/--with options
2443 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2444 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2445 --enable-archs={i386,x86_64,arm,aarch64}
2446 enable multiple architectures for PE compilation
2447 --disable-win16 do not include Win16 support
2448 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2449 binaries)
2450 --disable-tests do not build the regression tests
2451 --enable-build-id include .buildid section in output objects
2452 --enable-maintainer-mode
2453 enable maintainer-specific build rules
2454 --enable-silent-rules use silent build rules (override: "make V=1")
2455 --enable-werror treat compilation warnings as errors
2456 --disable-largefile omit support for large files
2458 Optional Packages:
2459 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2460 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2461 --without-alsa do not use the Alsa sound support
2462 --without-capi do not use CAPI (ISDN support)
2463 --without-coreaudio do not use the CoreAudio sound support
2464 --without-cups do not use CUPS
2465 --without-dbus do not use DBus (dynamic device support)
2466 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2467 --without-fontconfig do not use fontconfig
2468 --without-freetype do not use the FreeType library
2469 --without-gettext do not use gettext
2470 --with-gettextpo use the GetTextPO library to rebuild po files
2471 --without-gphoto do not use gphoto (Digital Camera support)
2472 --without-gnutls do not use GnuTLS (schannel support)
2473 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2474 --without-gstreamer do not use GStreamer (codecs support)
2475 --without-inotify do not use inotify (filesystem change notifications)
2476 --without-krb5 do not use krb5 (Kerberos)
2477 --without-mingw do not use the MinGW cross-compiler
2478 --without-netapi do not use the Samba NetAPI library
2479 --without-opencl do not use OpenCL
2480 --without-opengl do not use OpenGL
2481 --without-osmesa do not use the OSMesa library
2482 --without-oss do not use the OSS sound support
2483 --without-pcap do not use the Packet Capture library
2484 --without-pcsclite do not use PCSC lite
2485 --without-pthread do not use the pthread library
2486 --without-pulse do not use PulseAudio sound support
2487 --without-sane do not use SANE (scanner support)
2488 --without-sdl do not use SDL
2489 --without-udev do not use udev (plug and play support)
2490 --without-unwind do not use the libunwind library (exception
2491 handling)
2492 --without-usb do not use the libusb library
2493 --without-v4l2 do not use v4l2 (video capture)
2494 --without-vulkan do not use Vulkan
2495 --without-wayland do not build the Wayland driver
2496 --without-xcomposite do not use the Xcomposite extension
2497 --without-xcursor do not use the Xcursor extension
2498 --without-xfixes do not use Xfixes for clipboard change notifications
2499 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2500 --without-xinput do not use the Xinput extension
2501 --without-xinput2 do not use the Xinput 2 extension
2502 --without-xrandr do not use Xrandr (multi-monitor support)
2503 --without-xrender do not use the Xrender extension
2504 --without-xshape do not use the Xshape extension
2505 --without-xshm do not use XShm (shared memory extension)
2506 --without-xxf86vm do not use XFree video mode extension
2507 --with-system-dllpath=PATH
2508 load external PE dependencies from colon-separated
2509 path PATH
2510 --with-wine-tools=DIR use Wine tools from directory DIR
2511 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2512 --with-x use the X Window System
2514 Some influential environment variables:
2515 CC C compiler command
2516 CFLAGS C compiler flags
2517 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2518 nonstandard directory <lib dir>
2519 LIBS libraries to pass to the linker, e.g. -l<library>
2520 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2521 you have headers in a nonstandard directory <include dir>
2522 CXX C++ compiler command
2523 CXXFLAGS C++ compiler flags
2524 OBJC Objective C compiler command
2525 OBJCFLAGS Objective C compiler flags
2526 FAUDIO_PE_CFLAGS
2527 C compiler flags for the PE faudio, overriding the bundled
2528 version
2529 FAUDIO_PE_LIBS
2530 Linker flags for the PE faudio, overriding the bundled version
2531 GSM_PE_CFLAGS
2532 C compiler flags for the PE gsm, overriding the bundled version
2533 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2534 JPEG_PE_CFLAGS
2535 C compiler flags for the PE jpeg, overriding the bundled version
2536 JPEG_PE_LIBS
2537 Linker flags for the PE jpeg, overriding the bundled version
2538 JXR_PE_CFLAGS
2539 C compiler flags for the PE jxr, overriding the bundled version
2540 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2541 LCMS2_PE_CFLAGS
2542 C compiler flags for the PE lcms2, overriding the bundled
2543 version
2544 LCMS2_PE_LIBS
2545 Linker flags for the PE lcms2, overriding the bundled version
2546 LDAP_PE_CFLAGS
2547 C compiler flags for the PE ldap, overriding the bundled version
2548 LDAP_PE_LIBS
2549 Linker flags for the PE ldap, overriding the bundled version
2550 MPG123_PE_CFLAGS
2551 C compiler flags for the PE mpg123, overriding the bundled
2552 version
2553 MPG123_PE_LIBS
2554 Linker flags for the PE mpg123, overriding the bundled version
2555 MUSL_PE_CFLAGS
2556 C compiler flags for the PE musl, overriding the bundled version
2557 MUSL_PE_LIBS
2558 Linker flags for the PE musl, overriding the bundled version
2559 PNG_PE_CFLAGS
2560 C compiler flags for the PE png, overriding the bundled version
2561 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2562 TIFF_PE_CFLAGS
2563 C compiler flags for the PE tiff, overriding the bundled version
2564 TIFF_PE_LIBS
2565 Linker flags for the PE tiff, overriding the bundled version
2566 VKD3D_PE_CFLAGS
2567 C compiler flags for the PE vkd3d, overriding the bundled
2568 version
2569 VKD3D_PE_LIBS
2570 Linker flags for the PE vkd3d, overriding the bundled version
2571 XML2_PE_CFLAGS
2572 C compiler flags for the PE xml2, overriding the bundled version
2573 XML2_PE_LIBS
2574 Linker flags for the PE xml2, overriding the bundled version
2575 XSLT_PE_CFLAGS
2576 C compiler flags for the PE xslt, overriding the bundled version
2577 XSLT_PE_LIBS
2578 Linker flags for the PE xslt, overriding the bundled version
2579 ZLIB_PE_CFLAGS
2580 C compiler flags for the PE zlib, overriding the bundled version
2581 ZLIB_PE_LIBS
2582 Linker flags for the PE zlib, overriding the bundled version
2583 ZYDIS_PE_CFLAGS
2584 C compiler flags for the PE zydis, overriding the bundled
2585 version
2586 ZYDIS_PE_LIBS
2587 Linker flags for the PE zydis, overriding the bundled version
2588 XMKMF Path to xmkmf, Makefile generator for X Window System
2589 CPP C preprocessor
2590 WAYLAND_CLIENT_CFLAGS
2591 C compiler flags for wayland-client, overriding pkg-config
2592 WAYLAND_CLIENT_LIBS
2593 Linker flags for wayland-client, overriding pkg-config
2594 INOTIFY_CFLAGS
2595 C compiler flags for libinotify, overriding pkg-config
2596 INOTIFY_LIBS
2597 Linker flags for libinotify, overriding pkg-config
2598 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2599 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2600 GNUTLS_CFLAGS
2601 C compiler flags for gnutls, overriding pkg-config
2602 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2603 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2604 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2605 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2606 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2607 GPHOTO2_CFLAGS
2608 C compiler flags for libgphoto2, overriding pkg-config
2609 GPHOTO2_LIBS
2610 Linker flags for libgphoto2, overriding pkg-config
2611 GPHOTO2_PORT_CFLAGS
2612 C compiler flags for libgphoto2_port, overriding pkg-config
2613 GPHOTO2_PORT_LIBS
2614 Linker flags for libgphoto2_port, overriding pkg-config
2615 FREETYPE_CFLAGS
2616 C compiler flags for freetype2, overriding pkg-config
2617 FREETYPE_LIBS
2618 Linker flags for freetype2, overriding pkg-config
2619 PULSE_CFLAGS
2620 C compiler flags for libpulse, overriding pkg-config
2621 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2622 GSTREAMER_CFLAGS
2623 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2624 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2625 GSTREAMER_LIBS
2626 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2627 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2628 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2629 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2630 UNWIND_CFLAGS
2631 C compiler flags for libunwind, overriding pkg-config
2632 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2633 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2634 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2635 CAPI20_CFLAGS
2636 C compiler flags for capi20, overriding pkg-config
2637 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2638 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2639 CUPS_LIBS Linker flags for cups, overriding pkg-config
2640 FONTCONFIG_CFLAGS
2641 C compiler flags for fontconfig, overriding pkg-config
2642 FONTCONFIG_LIBS
2643 Linker flags for fontconfig, overriding pkg-config
2644 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2645 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2646 GSSAPI_CFLAGS
2647 C compiler flags for krb5-gssapi, overriding pkg-config
2648 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2649 NETAPI_CFLAGS
2650 C compiler flags for netapi, overriding pkg-config
2651 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2653 Use these variables to override the choices made by `configure' or to help
2654 it to find libraries and programs with nonstandard names/locations.
2656 Report bugs to <wine-devel@winehq.org>.
2657 Wine home page: <https://www.winehq.org>.
2658 _ACEOF
2659 ac_status=$?
2662 if test "$ac_init_help" = "recursive"; then
2663 # If there are subdirs, report their specific --help.
2664 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2665 test -d "$ac_dir" ||
2666 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2667 continue
2668 ac_builddir=.
2670 case "$ac_dir" in
2671 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2673 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2674 # A ".." for each directory in $ac_dir_suffix.
2675 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2676 case $ac_top_builddir_sub in
2677 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2678 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2679 esac ;;
2680 esac
2681 ac_abs_top_builddir=$ac_pwd
2682 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2683 # for backward compatibility:
2684 ac_top_builddir=$ac_top_build_prefix
2686 case $srcdir in
2687 .) # We are building in place.
2688 ac_srcdir=.
2689 ac_top_srcdir=$ac_top_builddir_sub
2690 ac_abs_top_srcdir=$ac_pwd ;;
2691 [\\/]* | ?:[\\/]* ) # Absolute name.
2692 ac_srcdir=$srcdir$ac_dir_suffix;
2693 ac_top_srcdir=$srcdir
2694 ac_abs_top_srcdir=$srcdir ;;
2695 *) # Relative name.
2696 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2697 ac_top_srcdir=$ac_top_build_prefix$srcdir
2698 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2699 esac
2700 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2702 cd "$ac_dir" || { ac_status=$?; continue; }
2703 # Check for configure.gnu first; this name is used for a wrapper for
2704 # Metaconfig's "Configure" on case-insensitive file systems.
2705 if test -f "$ac_srcdir/configure.gnu"; then
2706 echo &&
2707 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2708 elif test -f "$ac_srcdir/configure"; then
2709 echo &&
2710 $SHELL "$ac_srcdir/configure" --help=recursive
2711 else
2712 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2713 fi || ac_status=$?
2714 cd "$ac_pwd" || { ac_status=$?; break; }
2715 done
2718 test -n "$ac_init_help" && exit $ac_status
2719 if $ac_init_version; then
2720 cat <<\_ACEOF
2721 Wine configure 8.17
2722 generated by GNU Autoconf 2.71
2724 Copyright (C) 2021 Free Software Foundation, Inc.
2725 This configure script is free software; the Free Software Foundation
2726 gives unlimited permission to copy, distribute and modify it.
2727 _ACEOF
2728 exit
2731 ## ------------------------ ##
2732 ## Autoconf initialization. ##
2733 ## ------------------------ ##
2735 # ac_fn_c_try_compile LINENO
2736 # --------------------------
2737 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2738 ac_fn_c_try_compile ()
2740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2741 rm -f conftest.$ac_objext conftest.beam
2742 if { { ac_try="$ac_compile"
2743 case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748 printf "%s\n" "$ac_try_echo"; } >&5
2749 (eval "$ac_compile") 2>conftest.err
2750 ac_status=$?
2751 if test -s conftest.err; then
2752 grep -v '^ *+' conftest.err >conftest.er1
2753 cat conftest.er1 >&5
2754 mv -f conftest.er1 conftest.err
2756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; } && {
2758 test -z "$ac_c_werror_flag" ||
2759 test ! -s conftest.err
2760 } && test -s conftest.$ac_objext
2761 then :
2762 ac_retval=0
2763 else $as_nop
2764 printf "%s\n" "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.$ac_ext >&5
2767 ac_retval=1
2769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2770 as_fn_set_status $ac_retval
2772 } # ac_fn_c_try_compile
2774 # ac_fn_cxx_try_compile LINENO
2775 # ----------------------------
2776 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2777 ac_fn_cxx_try_compile ()
2779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780 rm -f conftest.$ac_objext conftest.beam
2781 if { { ac_try="$ac_compile"
2782 case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2787 printf "%s\n" "$ac_try_echo"; } >&5
2788 (eval "$ac_compile") 2>conftest.err
2789 ac_status=$?
2790 if test -s conftest.err; then
2791 grep -v '^ *+' conftest.err >conftest.er1
2792 cat conftest.er1 >&5
2793 mv -f conftest.er1 conftest.err
2795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; } && {
2797 test -z "$ac_cxx_werror_flag" ||
2798 test ! -s conftest.err
2799 } && test -s conftest.$ac_objext
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 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 as_fn_set_status $ac_retval
2811 } # ac_fn_cxx_try_compile
2813 # ac_fn_c_try_link LINENO
2814 # -----------------------
2815 # Try to link conftest.$ac_ext, and return whether this succeeded.
2816 ac_fn_c_try_link ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2820 if { { ac_try="$ac_link"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 printf "%s\n" "$ac_try_echo"; } >&5
2827 (eval "$ac_link") 2>conftest.err
2828 ac_status=$?
2829 if test -s conftest.err; then
2830 grep -v '^ *+' conftest.err >conftest.er1
2831 cat conftest.er1 >&5
2832 mv -f conftest.er1 conftest.err
2834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest$ac_exeext && {
2839 test "$cross_compiling" = yes ||
2840 test -x conftest$ac_exeext
2842 then :
2843 ac_retval=0
2844 else $as_nop
2845 printf "%s\n" "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2848 ac_retval=1
2850 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2851 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2852 # interfere with the next link command; also delete a directory that is
2853 # left behind by Apple's compiler. We do this before executing the actions.
2854 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2856 as_fn_set_status $ac_retval
2858 } # ac_fn_c_try_link
2860 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2861 # -------------------------------------------------------
2862 # Tests whether HEADER exists and can be compiled using the include files in
2863 # INCLUDES, setting the cache variable VAR accordingly.
2864 ac_fn_c_check_header_compile ()
2866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2868 printf %s "checking for $2... " >&6; }
2869 if eval test \${$3+y}
2870 then :
2871 printf %s "(cached) " >&6
2872 else $as_nop
2873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2876 #include <$2>
2877 _ACEOF
2878 if ac_fn_c_try_compile "$LINENO"
2879 then :
2880 eval "$3=yes"
2881 else $as_nop
2882 eval "$3=no"
2884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2886 eval ac_res=\$$3
2887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2888 printf "%s\n" "$ac_res" >&6; }
2889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2891 } # ac_fn_c_check_header_compile
2893 # ac_fn_objc_try_compile LINENO
2894 # -----------------------------
2895 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2896 ac_fn_objc_try_compile ()
2898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2899 rm -f conftest.$ac_objext conftest.beam
2900 if { { ac_try="$ac_compile"
2901 case "(($ac_try" in
2902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2904 esac
2905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2906 printf "%s\n" "$ac_try_echo"; } >&5
2907 (eval "$ac_compile") 2>conftest.err
2908 ac_status=$?
2909 if test -s conftest.err; then
2910 grep -v '^ *+' conftest.err >conftest.er1
2911 cat conftest.er1 >&5
2912 mv -f conftest.er1 conftest.err
2914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2915 test $ac_status = 0; } && {
2916 test -z "$ac_objc_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext
2919 then :
2920 ac_retval=0
2921 else $as_nop
2922 printf "%s\n" "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2925 ac_retval=1
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 as_fn_set_status $ac_retval
2930 } # ac_fn_objc_try_compile
2932 # ac_fn_c_check_func LINENO FUNC VAR
2933 # ----------------------------------
2934 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2935 ac_fn_c_check_func ()
2937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2939 printf %s "checking for $2... " >&6; }
2940 if eval test \${$3+y}
2941 then :
2942 printf %s "(cached) " >&6
2943 else $as_nop
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2948 #define $2 innocuous_$2
2950 /* System header to define __stub macros and hopefully few prototypes,
2951 which can conflict with char $2 (); below. */
2953 #include <limits.h>
2954 #undef $2
2956 /* Override any GCC internal prototype to avoid an error.
2957 Use char because int might match the return type of a GCC
2958 builtin and then its argument prototype would still apply. */
2959 #ifdef __cplusplus
2960 extern "C"
2961 #endif
2962 char $2 ();
2963 /* The GNU C library defines this for functions which it implements
2964 to always fail with ENOSYS. Some functions are actually named
2965 something starting with __ and the normal name is an alias. */
2966 #if defined __stub_$2 || defined __stub___$2
2967 choke me
2968 #endif
2971 main (void)
2973 return $2 ();
2975 return 0;
2977 _ACEOF
2978 if ac_fn_c_try_link "$LINENO"
2979 then :
2980 eval "$3=yes"
2981 else $as_nop
2982 eval "$3=no"
2984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2985 conftest$ac_exeext conftest.$ac_ext
2987 eval ac_res=\$$3
2988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2989 printf "%s\n" "$ac_res" >&6; }
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2992 } # ac_fn_c_check_func
2994 # ac_fn_c_try_cpp LINENO
2995 # ----------------------
2996 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2997 ac_fn_c_try_cpp ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 if { { ac_try="$ac_cpp conftest.$ac_ext"
3001 case "(($ac_try" in
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3004 esac
3005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3006 printf "%s\n" "$ac_try_echo"; } >&5
3007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3008 ac_status=$?
3009 if test -s conftest.err; then
3010 grep -v '^ *+' conftest.err >conftest.er1
3011 cat conftest.er1 >&5
3012 mv -f conftest.er1 conftest.err
3014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3015 test $ac_status = 0; } > conftest.i && {
3016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3017 test ! -s conftest.err
3019 then :
3020 ac_retval=0
3021 else $as_nop
3022 printf "%s\n" "$as_me: failed program was:" >&5
3023 sed 's/^/| /' conftest.$ac_ext >&5
3025 ac_retval=1
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 as_fn_set_status $ac_retval
3030 } # ac_fn_c_try_cpp
3032 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3033 # ----------------------------------------------------
3034 # Tries to find if the field MEMBER exists in type AGGR, after including
3035 # INCLUDES, setting cache variable VAR accordingly.
3036 ac_fn_c_check_member ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3040 printf %s "checking for $2.$3... " >&6; }
3041 if eval test \${$4+y}
3042 then :
3043 printf %s "(cached) " >&6
3044 else $as_nop
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3049 main (void)
3051 static $2 ac_aggr;
3052 if (ac_aggr.$3)
3053 return 0;
3055 return 0;
3057 _ACEOF
3058 if ac_fn_c_try_compile "$LINENO"
3059 then :
3060 eval "$4=yes"
3061 else $as_nop
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3066 main (void)
3068 static $2 ac_aggr;
3069 if (sizeof ac_aggr.$3)
3070 return 0;
3072 return 0;
3074 _ACEOF
3075 if ac_fn_c_try_compile "$LINENO"
3076 then :
3077 eval "$4=yes"
3078 else $as_nop
3079 eval "$4=no"
3081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3085 eval ac_res=\$$4
3086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3087 printf "%s\n" "$ac_res" >&6; }
3088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3090 } # ac_fn_c_check_member
3092 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3093 # -------------------------------------------
3094 # Tests whether TYPE exists after having included INCLUDES, setting cache
3095 # variable VAR accordingly.
3096 ac_fn_c_check_type ()
3098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3100 printf %s "checking for $2... " >&6; }
3101 if eval test \${$3+y}
3102 then :
3103 printf %s "(cached) " >&6
3104 else $as_nop
3105 eval "$3=no"
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3110 main (void)
3112 if (sizeof ($2))
3113 return 0;
3115 return 0;
3117 _ACEOF
3118 if ac_fn_c_try_compile "$LINENO"
3119 then :
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3124 main (void)
3126 if (sizeof (($2)))
3127 return 0;
3129 return 0;
3131 _ACEOF
3132 if ac_fn_c_try_compile "$LINENO"
3133 then :
3135 else $as_nop
3136 eval "$3=yes"
3138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3142 eval ac_res=\$$3
3143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3144 printf "%s\n" "$ac_res" >&6; }
3145 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3147 } # ac_fn_c_check_type
3148 ac_configure_args_raw=
3149 for ac_arg
3151 case $ac_arg in
3152 *\'*)
3153 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3154 esac
3155 as_fn_append ac_configure_args_raw " '$ac_arg'"
3156 done
3158 case $ac_configure_args_raw in
3159 *$as_nl*)
3160 ac_safe_unquote= ;;
3162 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3163 ac_unsafe_a="$ac_unsafe_z#~"
3164 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3165 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3166 esac
3168 cat >config.log <<_ACEOF
3169 This file contains any messages produced by compilers while
3170 running configure, to aid debugging if configure makes a mistake.
3172 It was created by Wine $as_me 8.17, which was
3173 generated by GNU Autoconf 2.71. Invocation command line was
3175 $ $0$ac_configure_args_raw
3177 _ACEOF
3178 exec 5>>config.log
3180 cat <<_ASUNAME
3181 ## --------- ##
3182 ## Platform. ##
3183 ## --------- ##
3185 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3186 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3187 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3188 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3189 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3191 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3192 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3194 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3195 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3196 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3197 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3198 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3199 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3200 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3202 _ASUNAME
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 for as_dir in $PATH
3207 IFS=$as_save_IFS
3208 case $as_dir in #(((
3209 '') as_dir=./ ;;
3210 */) ;;
3211 *) as_dir=$as_dir/ ;;
3212 esac
3213 printf "%s\n" "PATH: $as_dir"
3214 done
3215 IFS=$as_save_IFS
3217 } >&5
3219 cat >&5 <<_ACEOF
3222 ## ----------- ##
3223 ## Core tests. ##
3224 ## ----------- ##
3226 _ACEOF
3229 # Keep a trace of the command line.
3230 # Strip out --no-create and --no-recursion so they do not pile up.
3231 # Strip out --silent because we don't want to record it for future runs.
3232 # Also quote any args containing shell meta-characters.
3233 # Make two passes to allow for proper duplicate-argument suppression.
3234 ac_configure_args=
3235 ac_configure_args0=
3236 ac_configure_args1=
3237 ac_must_keep_next=false
3238 for ac_pass in 1 2
3240 for ac_arg
3242 case $ac_arg in
3243 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3245 | -silent | --silent | --silen | --sile | --sil)
3246 continue ;;
3247 *\'*)
3248 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3249 esac
3250 case $ac_pass in
3251 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3253 as_fn_append ac_configure_args1 " '$ac_arg'"
3254 if test $ac_must_keep_next = true; then
3255 ac_must_keep_next=false # Got value, back to normal.
3256 else
3257 case $ac_arg in
3258 *=* | --config-cache | -C | -disable-* | --disable-* \
3259 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3260 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3261 | -with-* | --with-* | -without-* | --without-* | --x)
3262 case "$ac_configure_args0 " in
3263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3264 esac
3266 -* ) ac_must_keep_next=true ;;
3267 esac
3269 as_fn_append ac_configure_args " '$ac_arg'"
3271 esac
3272 done
3273 done
3274 { ac_configure_args0=; unset ac_configure_args0;}
3275 { ac_configure_args1=; unset ac_configure_args1;}
3277 # When interrupted or exit'd, cleanup temporary files, and complete
3278 # config.log. We remove comments because anyway the quotes in there
3279 # would cause problems or look ugly.
3280 # WARNING: Use '\'' to represent an apostrophe within the trap.
3281 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3282 trap 'exit_status=$?
3283 # Sanitize IFS.
3284 IFS=" "" $as_nl"
3285 # Save into config.log some information that might help in debugging.
3287 echo
3289 printf "%s\n" "## ---------------- ##
3290 ## Cache variables. ##
3291 ## ---------------- ##"
3292 echo
3293 # The following way of writing the cache mishandles newlines in values,
3295 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3296 eval ac_val=\$$ac_var
3297 case $ac_val in #(
3298 *${as_nl}*)
3299 case $ac_var in #(
3300 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3301 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3302 esac
3303 case $ac_var in #(
3304 _ | IFS | as_nl) ;; #(
3305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3306 *) { eval $ac_var=; unset $ac_var;} ;;
3307 esac ;;
3308 esac
3309 done
3310 (set) 2>&1 |
3311 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3312 *${as_nl}ac_space=\ *)
3313 sed -n \
3314 "s/'\''/'\''\\\\'\'''\''/g;
3315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3316 ;; #(
3318 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3320 esac |
3321 sort
3323 echo
3325 printf "%s\n" "## ----------------- ##
3326 ## Output variables. ##
3327 ## ----------------- ##"
3328 echo
3329 for ac_var in $ac_subst_vars
3331 eval ac_val=\$$ac_var
3332 case $ac_val in
3333 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3334 esac
3335 printf "%s\n" "$ac_var='\''$ac_val'\''"
3336 done | sort
3337 echo
3339 if test -n "$ac_subst_files"; then
3340 printf "%s\n" "## ------------------- ##
3341 ## File substitutions. ##
3342 ## ------------------- ##"
3343 echo
3344 for ac_var in $ac_subst_files
3346 eval ac_val=\$$ac_var
3347 case $ac_val in
3348 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3349 esac
3350 printf "%s\n" "$ac_var='\''$ac_val'\''"
3351 done | sort
3352 echo
3355 if test -s confdefs.h; then
3356 printf "%s\n" "## ----------- ##
3357 ## confdefs.h. ##
3358 ## ----------- ##"
3359 echo
3360 cat confdefs.h
3361 echo
3363 test "$ac_signal" != 0 &&
3364 printf "%s\n" "$as_me: caught signal $ac_signal"
3365 printf "%s\n" "$as_me: exit $exit_status"
3366 } >&5
3367 rm -f core *.core core.conftest.* &&
3368 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3369 exit $exit_status
3371 for ac_signal in 1 2 13 15; do
3372 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3373 done
3374 ac_signal=0
3376 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3377 rm -f -r conftest* confdefs.h
3379 printf "%s\n" "/* confdefs.h */" > confdefs.h
3381 # Predefined preprocessor variables.
3383 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3385 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3387 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3389 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3391 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3393 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3396 # Let the site file select an alternate cache file if it wants to.
3397 # Prefer an explicitly selected file to automatically selected ones.
3398 if test -n "$CONFIG_SITE"; then
3399 ac_site_files="$CONFIG_SITE"
3400 elif test "x$prefix" != xNONE; then
3401 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3402 else
3403 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3406 for ac_site_file in $ac_site_files
3408 case $ac_site_file in #(
3409 */*) :
3410 ;; #(
3411 *) :
3412 ac_site_file=./$ac_site_file ;;
3413 esac
3414 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3416 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3417 sed 's/^/| /' "$ac_site_file" >&5
3418 . "$ac_site_file" \
3419 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3421 as_fn_error $? "failed to load site script $ac_site_file
3422 See \`config.log' for more details" "$LINENO" 5; }
3424 done
3426 if test -r "$cache_file"; then
3427 # Some versions of bash will fail to source /dev/null (special files
3428 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3429 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3431 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3432 case $cache_file in
3433 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3434 *) . "./$cache_file";;
3435 esac
3437 else
3438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3439 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3440 >$cache_file
3443 # Test code for whether the C compiler supports C89 (global declarations)
3444 ac_c_conftest_c89_globals='
3445 /* Does the compiler advertise C89 conformance?
3446 Do not test the value of __STDC__, because some compilers set it to 0
3447 while being otherwise adequately conformant. */
3448 #if !defined __STDC__
3449 # error "Compiler does not advertise C89 conformance"
3450 #endif
3452 #include <stddef.h>
3453 #include <stdarg.h>
3454 struct stat;
3455 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3456 struct buf { int x; };
3457 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3458 static char *e (p, i)
3459 char **p;
3460 int i;
3462 return p[i];
3464 static char *f (char * (*g) (char **, int), char **p, ...)
3466 char *s;
3467 va_list v;
3468 va_start (v,p);
3469 s = g (p, va_arg (v,int));
3470 va_end (v);
3471 return s;
3474 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3475 function prototypes and stuff, but not \xHH hex character constants.
3476 These do not provoke an error unfortunately, instead are silently treated
3477 as an "x". The following induces an error, until -std is added to get
3478 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3479 array size at least. It is necessary to write \x00 == 0 to get something
3480 that is true only with -std. */
3481 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3483 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3484 inside strings and character constants. */
3485 #define FOO(x) '\''x'\''
3486 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3488 int test (int i, double x);
3489 struct s1 {int (*f) (int a);};
3490 struct s2 {int (*f) (double a);};
3491 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3492 int, int);'
3494 # Test code for whether the C compiler supports C89 (body of main).
3495 ac_c_conftest_c89_main='
3496 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3499 # Test code for whether the C compiler supports C99 (global declarations)
3500 ac_c_conftest_c99_globals='
3501 // Does the compiler advertise C99 conformance?
3502 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3503 # error "Compiler does not advertise C99 conformance"
3504 #endif
3506 #include <stdbool.h>
3507 extern int puts (const char *);
3508 extern int printf (const char *, ...);
3509 extern int dprintf (int, const char *, ...);
3510 extern void *malloc (size_t);
3512 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3513 // dprintf is used instead of fprintf to avoid needing to declare
3514 // FILE and stderr.
3515 #define debug(...) dprintf (2, __VA_ARGS__)
3516 #define showlist(...) puts (#__VA_ARGS__)
3517 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3518 static void
3519 test_varargs_macros (void)
3521 int x = 1234;
3522 int y = 5678;
3523 debug ("Flag");
3524 debug ("X = %d\n", x);
3525 showlist (The first, second, and third items.);
3526 report (x>y, "x is %d but y is %d", x, y);
3529 // Check long long types.
3530 #define BIG64 18446744073709551615ull
3531 #define BIG32 4294967295ul
3532 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3533 #if !BIG_OK
3534 #error "your preprocessor is broken"
3535 #endif
3536 #if BIG_OK
3537 #else
3538 #error "your preprocessor is broken"
3539 #endif
3540 static long long int bignum = -9223372036854775807LL;
3541 static unsigned long long int ubignum = BIG64;
3543 struct incomplete_array
3545 int datasize;
3546 double data[];
3549 struct named_init {
3550 int number;
3551 const wchar_t *name;
3552 double average;
3555 typedef const char *ccp;
3557 static inline int
3558 test_restrict (ccp restrict text)
3560 // See if C++-style comments work.
3561 // Iterate through items via the restricted pointer.
3562 // Also check for declarations in for loops.
3563 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3564 continue;
3565 return 0;
3568 // Check varargs and va_copy.
3569 static bool
3570 test_varargs (const char *format, ...)
3572 va_list args;
3573 va_start (args, format);
3574 va_list args_copy;
3575 va_copy (args_copy, args);
3577 const char *str = "";
3578 int number = 0;
3579 float fnumber = 0;
3581 while (*format)
3583 switch (*format++)
3585 case '\''s'\'': // string
3586 str = va_arg (args_copy, const char *);
3587 break;
3588 case '\''d'\'': // int
3589 number = va_arg (args_copy, int);
3590 break;
3591 case '\''f'\'': // float
3592 fnumber = va_arg (args_copy, double);
3593 break;
3594 default:
3595 break;
3598 va_end (args_copy);
3599 va_end (args);
3601 return *str && number && fnumber;
3605 # Test code for whether the C compiler supports C99 (body of main).
3606 ac_c_conftest_c99_main='
3607 // Check bool.
3608 _Bool success = false;
3609 success |= (argc != 0);
3611 // Check restrict.
3612 if (test_restrict ("String literal") == 0)
3613 success = true;
3614 char *restrict newvar = "Another string";
3616 // Check varargs.
3617 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3618 test_varargs_macros ();
3620 // Check flexible array members.
3621 struct incomplete_array *ia =
3622 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3623 ia->datasize = 10;
3624 for (int i = 0; i < ia->datasize; ++i)
3625 ia->data[i] = i * 1.234;
3627 // Check named initializers.
3628 struct named_init ni = {
3629 .number = 34,
3630 .name = L"Test wide string",
3631 .average = 543.34343,
3634 ni.number = 58;
3636 int dynamic_array[ni.number];
3637 dynamic_array[0] = argv[0][0];
3638 dynamic_array[ni.number - 1] = 543;
3640 // work around unused variable warnings
3641 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3642 || dynamic_array[ni.number - 1] != 543);
3645 # Test code for whether the C compiler supports C11 (global declarations)
3646 ac_c_conftest_c11_globals='
3647 // Does the compiler advertise C11 conformance?
3648 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3649 # error "Compiler does not advertise C11 conformance"
3650 #endif
3652 // Check _Alignas.
3653 char _Alignas (double) aligned_as_double;
3654 char _Alignas (0) no_special_alignment;
3655 extern char aligned_as_int;
3656 char _Alignas (0) _Alignas (int) aligned_as_int;
3658 // Check _Alignof.
3659 enum
3661 int_alignment = _Alignof (int),
3662 int_array_alignment = _Alignof (int[100]),
3663 char_alignment = _Alignof (char)
3665 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3667 // Check _Noreturn.
3668 int _Noreturn does_not_return (void) { for (;;) continue; }
3670 // Check _Static_assert.
3671 struct test_static_assert
3673 int x;
3674 _Static_assert (sizeof (int) <= sizeof (long int),
3675 "_Static_assert does not work in struct");
3676 long int y;
3679 // Check UTF-8 literals.
3680 #define u8 syntax error!
3681 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3683 // Check duplicate typedefs.
3684 typedef long *long_ptr;
3685 typedef long int *long_ptr;
3686 typedef long_ptr long_ptr;
3688 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3689 struct anonymous
3691 union {
3692 struct { int i; int j; };
3693 struct { int k; long int l; } w;
3695 int m;
3696 } v1;
3699 # Test code for whether the C compiler supports C11 (body of main).
3700 ac_c_conftest_c11_main='
3701 _Static_assert ((offsetof (struct anonymous, i)
3702 == offsetof (struct anonymous, w.k)),
3703 "Anonymous union alignment botch");
3704 v1.i = 2;
3705 v1.w.k = 5;
3706 ok |= v1.i != 5;
3709 # Test code for whether the C compiler supports C11 (complete).
3710 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3711 ${ac_c_conftest_c99_globals}
3712 ${ac_c_conftest_c11_globals}
3715 main (int argc, char **argv)
3717 int ok = 0;
3718 ${ac_c_conftest_c89_main}
3719 ${ac_c_conftest_c99_main}
3720 ${ac_c_conftest_c11_main}
3721 return ok;
3725 # Test code for whether the C compiler supports C99 (complete).
3726 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3727 ${ac_c_conftest_c99_globals}
3730 main (int argc, char **argv)
3732 int ok = 0;
3733 ${ac_c_conftest_c89_main}
3734 ${ac_c_conftest_c99_main}
3735 return ok;
3739 # Test code for whether the C compiler supports C89 (complete).
3740 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3743 main (int argc, char **argv)
3745 int ok = 0;
3746 ${ac_c_conftest_c89_main}
3747 return ok;
3751 # Test code for whether the C++ compiler supports C++98 (global declarations)
3752 ac_cxx_conftest_cxx98_globals='
3753 // Does the compiler advertise C++98 conformance?
3754 #if !defined __cplusplus || __cplusplus < 199711L
3755 # error "Compiler does not advertise C++98 conformance"
3756 #endif
3758 // These inclusions are to reject old compilers that
3759 // lack the unsuffixed header files.
3760 #include <cstdlib>
3761 #include <exception>
3763 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3764 extern void assert (int);
3765 namespace std {
3766 extern int strcmp (const char *, const char *);
3769 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3770 using std::exception;
3771 using std::strcmp;
3773 namespace {
3775 void test_exception_syntax()
3777 try {
3778 throw "test";
3779 } catch (const char *s) {
3780 // Extra parentheses suppress a warning when building autoconf itself,
3781 // due to lint rules shared with more typical C programs.
3782 assert (!(strcmp) (s, "test"));
3786 template <typename T> struct test_template
3788 T const val;
3789 explicit test_template(T t) : val(t) {}
3790 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3793 } // anonymous namespace
3796 # Test code for whether the C++ compiler supports C++98 (body of main)
3797 ac_cxx_conftest_cxx98_main='
3798 assert (argc);
3799 assert (! argv[0]);
3801 test_exception_syntax ();
3802 test_template<double> tt (2.0);
3803 assert (tt.add (4) == 6.0);
3804 assert (true && !false);
3808 # Test code for whether the C++ compiler supports C++11 (global declarations)
3809 ac_cxx_conftest_cxx11_globals='
3810 // Does the compiler advertise C++ 2011 conformance?
3811 #if !defined __cplusplus || __cplusplus < 201103L
3812 # error "Compiler does not advertise C++11 conformance"
3813 #endif
3815 namespace cxx11test
3817 constexpr int get_val() { return 20; }
3819 struct testinit
3821 int i;
3822 double d;
3825 class delegate
3827 public:
3828 delegate(int n) : n(n) {}
3829 delegate(): delegate(2354) {}
3831 virtual int getval() { return this->n; };
3832 protected:
3833 int n;
3836 class overridden : public delegate
3838 public:
3839 overridden(int n): delegate(n) {}
3840 virtual int getval() override final { return this->n * 2; }
3843 class nocopy
3845 public:
3846 nocopy(int i): i(i) {}
3847 nocopy() = default;
3848 nocopy(const nocopy&) = delete;
3849 nocopy & operator=(const nocopy&) = delete;
3850 private:
3851 int i;
3854 // for testing lambda expressions
3855 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3857 return f(v);
3860 // for testing variadic templates and trailing return types
3861 template <typename V> auto sum(V first) -> V
3863 return first;
3865 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3867 return first + sum(rest...);
3872 # Test code for whether the C++ compiler supports C++11 (body of main)
3873 ac_cxx_conftest_cxx11_main='
3875 // Test auto and decltype
3876 auto a1 = 6538;
3877 auto a2 = 48573953.4;
3878 auto a3 = "String literal";
3880 int total = 0;
3881 for (auto i = a3; *i; ++i) { total += *i; }
3883 decltype(a2) a4 = 34895.034;
3886 // Test constexpr
3887 short sa[cxx11test::get_val()] = { 0 };
3890 // Test initializer lists
3891 cxx11test::testinit il = { 4323, 435234.23544 };
3894 // Test range-based for
3895 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3896 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3897 for (auto &x : array) { x += 23; }
3900 // Test lambda expressions
3901 using cxx11test::eval;
3902 assert (eval ([](int x) { return x*2; }, 21) == 42);
3903 double d = 2.0;
3904 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3905 assert (d == 5.0);
3906 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3907 assert (d == 5.0);
3910 // Test use of variadic templates
3911 using cxx11test::sum;
3912 auto a = sum(1);
3913 auto b = sum(1, 2);
3914 auto c = sum(1.0, 2.0, 3.0);
3917 // Test constructor delegation
3918 cxx11test::delegate d1;
3919 cxx11test::delegate d2();
3920 cxx11test::delegate d3(45);
3923 // Test override and final
3924 cxx11test::overridden o1(55464);
3927 // Test nullptr
3928 char *c = nullptr;
3931 // Test template brackets
3932 test_template<::test_template<int>> v(test_template<int>(12));
3935 // Unicode literals
3936 char const *utf8 = u8"UTF-8 string \u2500";
3937 char16_t const *utf16 = u"UTF-8 string \u2500";
3938 char32_t const *utf32 = U"UTF-32 string \u2500";
3942 # Test code for whether the C compiler supports C++11 (complete).
3943 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3944 ${ac_cxx_conftest_cxx11_globals}
3947 main (int argc, char **argv)
3949 int ok = 0;
3950 ${ac_cxx_conftest_cxx98_main}
3951 ${ac_cxx_conftest_cxx11_main}
3952 return ok;
3956 # Test code for whether the C compiler supports C++98 (complete).
3957 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3959 main (int argc, char **argv)
3961 int ok = 0;
3962 ${ac_cxx_conftest_cxx98_main}
3963 return ok;
3967 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3968 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3969 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3970 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3971 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3972 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3973 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3974 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3975 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3977 # Auxiliary files required by this configure script.
3978 ac_aux_files="config.guess config.sub"
3980 # Locations in which to look for auxiliary files.
3981 ac_aux_dir_candidates="${srcdir}/tools"
3983 # Search for a directory containing all of the required auxiliary files,
3984 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3985 # If we don't find one directory that contains all the files we need,
3986 # we report the set of missing files from the *first* directory in
3987 # $ac_aux_dir_candidates and give up.
3988 ac_missing_aux_files=""
3989 ac_first_candidate=:
3990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 as_found=false
3993 for as_dir in $ac_aux_dir_candidates
3995 IFS=$as_save_IFS
3996 case $as_dir in #(((
3997 '') as_dir=./ ;;
3998 */) ;;
3999 *) as_dir=$as_dir/ ;;
4000 esac
4001 as_found=:
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4004 ac_aux_dir_found=yes
4005 ac_install_sh=
4006 for ac_aux in $ac_aux_files
4008 # As a special case, if "install-sh" is required, that requirement
4009 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4010 # and $ac_install_sh is set appropriately for whichever one is found.
4011 if test x"$ac_aux" = x"install-sh"
4012 then
4013 if test -f "${as_dir}install-sh"; then
4014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4015 ac_install_sh="${as_dir}install-sh -c"
4016 elif test -f "${as_dir}install.sh"; then
4017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4018 ac_install_sh="${as_dir}install.sh -c"
4019 elif test -f "${as_dir}shtool"; then
4020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4021 ac_install_sh="${as_dir}shtool install -c"
4022 else
4023 ac_aux_dir_found=no
4024 if $ac_first_candidate; then
4025 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4026 else
4027 break
4030 else
4031 if test -f "${as_dir}${ac_aux}"; then
4032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4033 else
4034 ac_aux_dir_found=no
4035 if $ac_first_candidate; then
4036 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4037 else
4038 break
4042 done
4043 if test "$ac_aux_dir_found" = yes; then
4044 ac_aux_dir="$as_dir"
4045 break
4047 ac_first_candidate=false
4049 as_found=false
4050 done
4051 IFS=$as_save_IFS
4052 if $as_found
4053 then :
4055 else $as_nop
4056 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4060 # These three variables are undocumented and unsupported,
4061 # and are intended to be withdrawn in a future Autoconf release.
4062 # They can cause serious problems if a builder's source tree is in a directory
4063 # whose full name contains unusual characters.
4064 if test -f "${ac_aux_dir}config.guess"; then
4065 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4067 if test -f "${ac_aux_dir}config.sub"; then
4068 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4070 if test -f "$ac_aux_dir/configure"; then
4071 ac_configure="$SHELL ${ac_aux_dir}configure"
4074 # Check that the precious variables saved in the cache have kept the same
4075 # value.
4076 ac_cache_corrupted=false
4077 for ac_var in $ac_precious_vars; do
4078 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4079 eval ac_new_set=\$ac_env_${ac_var}_set
4080 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4081 eval ac_new_val=\$ac_env_${ac_var}_value
4082 case $ac_old_set,$ac_new_set in
4083 set,)
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4085 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4086 ac_cache_corrupted=: ;;
4087 ,set)
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4089 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4090 ac_cache_corrupted=: ;;
4091 ,);;
4093 if test "x$ac_old_val" != "x$ac_new_val"; then
4094 # differences in whitespace do not lead to failure.
4095 ac_old_val_w=`echo x $ac_old_val`
4096 ac_new_val_w=`echo x $ac_new_val`
4097 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4099 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4100 ac_cache_corrupted=:
4101 else
4102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4103 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4104 eval $ac_var=\$ac_old_val
4106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4107 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4109 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4110 fi;;
4111 esac
4112 # Pass precious variables to config.status.
4113 if test "$ac_new_set" = set; then
4114 case $ac_new_val in
4115 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4116 *) ac_arg=$ac_var=$ac_new_val ;;
4117 esac
4118 case " $ac_configure_args " in
4119 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4120 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4121 esac
4123 done
4124 if $ac_cache_corrupted; then
4125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4128 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4129 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4130 and start over" "$LINENO" 5
4132 ## -------------------- ##
4133 ## Main body of script. ##
4134 ## -------------------- ##
4136 ac_ext=c
4137 ac_cpp='$CPP $CPPFLAGS'
4138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4144 ac_config_headers="$ac_config_headers include/config.h"
4148 libwine_version="1.0"
4151 # Check whether --enable-archs was given.
4152 if test ${enable_archs+y}
4153 then :
4154 enableval=$enable_archs;
4157 # Check whether --enable-win16 was given.
4158 if test ${enable_win16+y}
4159 then :
4160 enableval=$enable_win16;
4163 # Check whether --enable-win64 was given.
4164 if test ${enable_win64+y}
4165 then :
4166 enableval=$enable_win64;
4169 # Check whether --enable-tests was given.
4170 if test ${enable_tests+y}
4171 then :
4172 enableval=$enable_tests;
4175 # Check whether --enable-build-id was given.
4176 if test ${enable_build_id+y}
4177 then :
4178 enableval=$enable_build_id;
4181 # Check whether --enable-maintainer-mode was given.
4182 if test ${enable_maintainer_mode+y}
4183 then :
4184 enableval=$enable_maintainer_mode;
4187 # Check whether --enable-silent-rules was given.
4188 if test ${enable_silent_rules+y}
4189 then :
4190 enableval=$enable_silent_rules;
4193 # Check whether --enable-werror was given.
4194 if test ${enable_werror+y}
4195 then :
4196 enableval=$enable_werror;
4201 # Check whether --with-alsa was given.
4202 if test ${with_alsa+y}
4203 then :
4204 withval=$with_alsa;
4208 # Check whether --with-capi was given.
4209 if test ${with_capi+y}
4210 then :
4211 withval=$with_capi;
4215 # Check whether --with-coreaudio was given.
4216 if test ${with_coreaudio+y}
4217 then :
4218 withval=$with_coreaudio;
4222 # Check whether --with-cups was given.
4223 if test ${with_cups+y}
4224 then :
4225 withval=$with_cups;
4229 # Check whether --with-dbus was given.
4230 if test ${with_dbus+y}
4231 then :
4232 withval=$with_dbus;
4236 # Check whether --with-float-abi was given.
4237 if test ${with_float_abi+y}
4238 then :
4239 withval=$with_float_abi;
4243 # Check whether --with-fontconfig was given.
4244 if test ${with_fontconfig+y}
4245 then :
4246 withval=$with_fontconfig;
4250 # Check whether --with-freetype was given.
4251 if test ${with_freetype+y}
4252 then :
4253 withval=$with_freetype;
4257 # Check whether --with-gettext was given.
4258 if test ${with_gettext+y}
4259 then :
4260 withval=$with_gettext;
4264 # Check whether --with-gettextpo was given.
4265 if test ${with_gettextpo+y}
4266 then :
4267 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4271 # Check whether --with-gphoto was given.
4272 if test ${with_gphoto+y}
4273 then :
4274 withval=$with_gphoto;
4278 # Check whether --with-gnutls was given.
4279 if test ${with_gnutls+y}
4280 then :
4281 withval=$with_gnutls;
4285 # Check whether --with-gssapi was given.
4286 if test ${with_gssapi+y}
4287 then :
4288 withval=$with_gssapi;
4292 # Check whether --with-gstreamer was given.
4293 if test ${with_gstreamer+y}
4294 then :
4295 withval=$with_gstreamer;
4299 # Check whether --with-inotify was given.
4300 if test ${with_inotify+y}
4301 then :
4302 withval=$with_inotify;
4306 # Check whether --with-krb5 was given.
4307 if test ${with_krb5+y}
4308 then :
4309 withval=$with_krb5;
4313 # Check whether --with-mingw was given.
4314 if test ${with_mingw+y}
4315 then :
4316 withval=$with_mingw;
4320 # Check whether --with-netapi was given.
4321 if test ${with_netapi+y}
4322 then :
4323 withval=$with_netapi;
4327 # Check whether --with-opencl was given.
4328 if test ${with_opencl+y}
4329 then :
4330 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4334 # Check whether --with-opengl was given.
4335 if test ${with_opengl+y}
4336 then :
4337 withval=$with_opengl;
4341 # Check whether --with-osmesa was given.
4342 if test ${with_osmesa+y}
4343 then :
4344 withval=$with_osmesa;
4348 # Check whether --with-oss was given.
4349 if test ${with_oss+y}
4350 then :
4351 withval=$with_oss;
4355 # Check whether --with-pcap was given.
4356 if test ${with_pcap+y}
4357 then :
4358 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4362 # Check whether --with-pcsclite was given.
4363 if test ${with_pcsclite+y}
4364 then :
4365 withval=$with_pcsclite;
4369 # Check whether --with-pthread was given.
4370 if test ${with_pthread+y}
4371 then :
4372 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4376 # Check whether --with-pulse was given.
4377 if test ${with_pulse+y}
4378 then :
4379 withval=$with_pulse;
4383 # Check whether --with-sane was given.
4384 if test ${with_sane+y}
4385 then :
4386 withval=$with_sane;
4390 # Check whether --with-sdl was given.
4391 if test ${with_sdl+y}
4392 then :
4393 withval=$with_sdl;
4397 # Check whether --with-udev was given.
4398 if test ${with_udev+y}
4399 then :
4400 withval=$with_udev;
4404 # Check whether --with-unwind was given.
4405 if test ${with_unwind+y}
4406 then :
4407 withval=$with_unwind;
4411 # Check whether --with-usb was given.
4412 if test ${with_usb+y}
4413 then :
4414 withval=$with_usb;
4418 # Check whether --with-v4l2 was given.
4419 if test ${with_v4l2+y}
4420 then :
4421 withval=$with_v4l2;
4425 # Check whether --with-vulkan was given.
4426 if test ${with_vulkan+y}
4427 then :
4428 withval=$with_vulkan;
4432 # Check whether --with-wayland was given.
4433 if test ${with_wayland+y}
4434 then :
4435 withval=$with_wayland;
4439 # Check whether --with-xcomposite was given.
4440 if test ${with_xcomposite+y}
4441 then :
4442 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4446 # Check whether --with-xcursor was given.
4447 if test ${with_xcursor+y}
4448 then :
4449 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4453 # Check whether --with-xfixes was given.
4454 if test ${with_xfixes+y}
4455 then :
4456 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4460 # Check whether --with-xinerama was given.
4461 if test ${with_xinerama+y}
4462 then :
4463 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4467 # Check whether --with-xinput was given.
4468 if test ${with_xinput+y}
4469 then :
4470 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4474 # Check whether --with-xinput2 was given.
4475 if test ${with_xinput2+y}
4476 then :
4477 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4481 # Check whether --with-xrandr was given.
4482 if test ${with_xrandr+y}
4483 then :
4484 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4488 # Check whether --with-xrender was given.
4489 if test ${with_xrender+y}
4490 then :
4491 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4495 # Check whether --with-xshape was given.
4496 if test ${with_xshape+y}
4497 then :
4498 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4502 # Check whether --with-xshm was given.
4503 if test ${with_xshm+y}
4504 then :
4505 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4509 # Check whether --with-xxf86vm was given.
4510 if test ${with_xxf86vm+y}
4511 then :
4512 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
4517 # Check whether --with-system-dllpath was given.
4518 if test ${with_system_dllpath+y}
4519 then :
4520 withval=$with_system_dllpath; system_dllpath=$withval
4525 # Check whether --with-wine-tools was given.
4526 if test ${with_wine_tools+y}
4527 then :
4528 withval=$with_wine_tools;
4532 # Check whether --with-wine64 was given.
4533 if test ${with_wine64+y}
4534 then :
4535 withval=$with_wine64;
4542 # Make sure we can run config.sub.
4543 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4544 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4547 printf %s "checking build system type... " >&6; }
4548 if test ${ac_cv_build+y}
4549 then :
4550 printf %s "(cached) " >&6
4551 else $as_nop
4552 ac_build_alias=$build_alias
4553 test "x$ac_build_alias" = x &&
4554 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4555 test "x$ac_build_alias" = x &&
4556 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4557 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4558 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4562 printf "%s\n" "$ac_cv_build" >&6; }
4563 case $ac_cv_build in
4564 *-*-*) ;;
4565 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4566 esac
4567 build=$ac_cv_build
4568 ac_save_IFS=$IFS; IFS='-'
4569 set x $ac_cv_build
4570 shift
4571 build_cpu=$1
4572 build_vendor=$2
4573 shift; shift
4574 # Remember, the first character of IFS is used to create $*,
4575 # except with old shells:
4576 build_os=$*
4577 IFS=$ac_save_IFS
4578 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4582 printf %s "checking host system type... " >&6; }
4583 if test ${ac_cv_host+y}
4584 then :
4585 printf %s "(cached) " >&6
4586 else $as_nop
4587 if test "x$host_alias" = x; then
4588 ac_cv_host=$ac_cv_build
4589 else
4590 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4591 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4596 printf "%s\n" "$ac_cv_host" >&6; }
4597 case $ac_cv_host in
4598 *-*-*) ;;
4599 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4600 esac
4601 host=$ac_cv_host
4602 ac_save_IFS=$IFS; IFS='-'
4603 set x $ac_cv_host
4604 shift
4605 host_cpu=$1
4606 host_vendor=$2
4607 shift; shift
4608 # Remember, the first character of IFS is used to create $*,
4609 # except with old shells:
4610 host_os=$*
4611 IFS=$ac_save_IFS
4612 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4616 dlldir=\${libdir}/wine
4618 fontdir=\${datadir}/wine/fonts
4620 nlsdir=\${datadir}/wine/nls
4625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4626 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4627 set x ${MAKE-make}
4628 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4629 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4630 then :
4631 printf %s "(cached) " >&6
4632 else $as_nop
4633 cat >conftest.make <<\_ACEOF
4634 SHELL = /bin/sh
4635 all:
4636 @echo '@@@%%%=$(MAKE)=@@@%%%'
4637 _ACEOF
4638 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4639 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4640 *@@@%%%=?*=@@@%%%*)
4641 eval ac_cv_prog_make_${ac_make}_set=yes;;
4643 eval ac_cv_prog_make_${ac_make}_set=no;;
4644 esac
4645 rm -f conftest.make
4647 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4649 printf "%s\n" "yes" >&6; }
4650 SET_MAKE=
4651 else
4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 printf "%s\n" "no" >&6; }
4654 SET_MAKE="MAKE=${MAKE-make}"
4666 ac_ext=c
4667 ac_cpp='$CPP $CPPFLAGS'
4668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4671 if test -n "$ac_tool_prefix"; then
4672 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4673 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 printf %s "checking for $ac_word... " >&6; }
4676 if test ${ac_cv_prog_CC+y}
4677 then :
4678 printf %s "(cached) " >&6
4679 else $as_nop
4680 if test -n "$CC"; then
4681 ac_cv_prog_CC="$CC" # Let the user override the test.
4682 else
4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684 for as_dir in $PATH
4686 IFS=$as_save_IFS
4687 case $as_dir in #(((
4688 '') as_dir=./ ;;
4689 */) ;;
4690 *) as_dir=$as_dir/ ;;
4691 esac
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4696 break 2
4698 done
4699 done
4700 IFS=$as_save_IFS
4704 CC=$ac_cv_prog_CC
4705 if test -n "$CC"; then
4706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4707 printf "%s\n" "$CC" >&6; }
4708 else
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 printf "%s\n" "no" >&6; }
4715 if test -z "$ac_cv_prog_CC"; then
4716 ac_ct_CC=$CC
4717 # Extract the first word of "gcc", so it can be a program name with args.
4718 set dummy gcc; ac_word=$2
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 printf %s "checking for $ac_word... " >&6; }
4721 if test ${ac_cv_prog_ac_ct_CC+y}
4722 then :
4723 printf %s "(cached) " >&6
4724 else $as_nop
4725 if test -n "$ac_ct_CC"; then
4726 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4727 else
4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729 for as_dir in $PATH
4731 IFS=$as_save_IFS
4732 case $as_dir in #(((
4733 '') as_dir=./ ;;
4734 */) ;;
4735 *) as_dir=$as_dir/ ;;
4736 esac
4737 for ac_exec_ext in '' $ac_executable_extensions; do
4738 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4739 ac_cv_prog_ac_ct_CC="gcc"
4740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4741 break 2
4743 done
4744 done
4745 IFS=$as_save_IFS
4749 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4750 if test -n "$ac_ct_CC"; then
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4752 printf "%s\n" "$ac_ct_CC" >&6; }
4753 else
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 printf "%s\n" "no" >&6; }
4758 if test "x$ac_ct_CC" = x; then
4759 CC=""
4760 else
4761 case $cross_compiling:$ac_tool_warned in
4762 yes:)
4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4765 ac_tool_warned=yes ;;
4766 esac
4767 CC=$ac_ct_CC
4769 else
4770 CC="$ac_cv_prog_CC"
4773 if test -z "$CC"; then
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4776 set dummy ${ac_tool_prefix}cc; ac_word=$2
4777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 printf %s "checking for $ac_word... " >&6; }
4779 if test ${ac_cv_prog_CC+y}
4780 then :
4781 printf %s "(cached) " >&6
4782 else $as_nop
4783 if test -n "$CC"; then
4784 ac_cv_prog_CC="$CC" # Let the user override the test.
4785 else
4786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4787 for as_dir in $PATH
4789 IFS=$as_save_IFS
4790 case $as_dir in #(((
4791 '') as_dir=./ ;;
4792 */) ;;
4793 *) as_dir=$as_dir/ ;;
4794 esac
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4797 ac_cv_prog_CC="${ac_tool_prefix}cc"
4798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4799 break 2
4801 done
4802 done
4803 IFS=$as_save_IFS
4807 CC=$ac_cv_prog_CC
4808 if test -n "$CC"; then
4809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4810 printf "%s\n" "$CC" >&6; }
4811 else
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 printf "%s\n" "no" >&6; }
4819 if test -z "$CC"; then
4820 # Extract the first word of "cc", so it can be a program name with args.
4821 set dummy cc; ac_word=$2
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 printf %s "checking for $ac_word... " >&6; }
4824 if test ${ac_cv_prog_CC+y}
4825 then :
4826 printf %s "(cached) " >&6
4827 else $as_nop
4828 if test -n "$CC"; then
4829 ac_cv_prog_CC="$CC" # Let the user override the test.
4830 else
4831 ac_prog_rejected=no
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH
4835 IFS=$as_save_IFS
4836 case $as_dir in #(((
4837 '') as_dir=./ ;;
4838 */) ;;
4839 *) as_dir=$as_dir/ ;;
4840 esac
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4843 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4844 ac_prog_rejected=yes
4845 continue
4847 ac_cv_prog_CC="cc"
4848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4849 break 2
4851 done
4852 done
4853 IFS=$as_save_IFS
4855 if test $ac_prog_rejected = yes; then
4856 # We found a bogon in the path, so make sure we never use it.
4857 set dummy $ac_cv_prog_CC
4858 shift
4859 if test $# != 0; then
4860 # We chose a different compiler from the bogus one.
4861 # However, it has the same basename, so the bogon will be chosen
4862 # first if we set CC to just the basename; use the full file name.
4863 shift
4864 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4869 CC=$ac_cv_prog_CC
4870 if test -n "$CC"; then
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4872 printf "%s\n" "$CC" >&6; }
4873 else
4874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 printf "%s\n" "no" >&6; }
4880 if test -z "$CC"; then
4881 if test -n "$ac_tool_prefix"; then
4882 for ac_prog in cl.exe
4884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4885 set dummy $ac_tool_prefix$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_CC+y}
4889 then :
4890 printf %s "(cached) " >&6
4891 else $as_nop
4892 if test -n "$CC"; then
4893 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$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 CC=$ac_cv_prog_CC
4917 if test -n "$CC"; then
4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4919 printf "%s\n" "$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 "$CC" && break
4927 done
4929 if test -z "$CC"; then
4930 ac_ct_CC=$CC
4931 for ac_prog in cl.exe
4933 # Extract the first word of "$ac_prog", so it can be a program name with args.
4934 set dummy $ac_prog; ac_word=$2
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 printf %s "checking for $ac_word... " >&6; }
4937 if test ${ac_cv_prog_ac_ct_CC+y}
4938 then :
4939 printf %s "(cached) " >&6
4940 else $as_nop
4941 if test -n "$ac_ct_CC"; then
4942 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4943 else
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 for as_dir in $PATH
4947 IFS=$as_save_IFS
4948 case $as_dir in #(((
4949 '') as_dir=./ ;;
4950 */) ;;
4951 *) as_dir=$as_dir/ ;;
4952 esac
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_ac_ct_CC="$ac_prog"
4956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4957 break 2
4959 done
4960 done
4961 IFS=$as_save_IFS
4965 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4966 if test -n "$ac_ct_CC"; then
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4968 printf "%s\n" "$ac_ct_CC" >&6; }
4969 else
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 printf "%s\n" "no" >&6; }
4975 test -n "$ac_ct_CC" && break
4976 done
4978 if test "x$ac_ct_CC" = x; then
4979 CC=""
4980 else
4981 case $cross_compiling:$ac_tool_warned in
4982 yes:)
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4984 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4985 ac_tool_warned=yes ;;
4986 esac
4987 CC=$ac_ct_CC
4992 if test -z "$CC"; then
4993 if test -n "$ac_tool_prefix"; then
4994 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4995 set dummy ${ac_tool_prefix}clang; ac_word=$2
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 printf %s "checking for $ac_word... " >&6; }
4998 if test ${ac_cv_prog_CC+y}
4999 then :
5000 printf %s "(cached) " >&6
5001 else $as_nop
5002 if test -n "$CC"; then
5003 ac_cv_prog_CC="$CC" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5008 IFS=$as_save_IFS
5009 case $as_dir in #(((
5010 '') as_dir=./ ;;
5011 */) ;;
5012 *) as_dir=$as_dir/ ;;
5013 esac
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5016 ac_cv_prog_CC="${ac_tool_prefix}clang"
5017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5018 break 2
5020 done
5021 done
5022 IFS=$as_save_IFS
5026 CC=$ac_cv_prog_CC
5027 if test -n "$CC"; then
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5029 printf "%s\n" "$CC" >&6; }
5030 else
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 printf "%s\n" "no" >&6; }
5037 if test -z "$ac_cv_prog_CC"; then
5038 ac_ct_CC=$CC
5039 # Extract the first word of "clang", so it can be a program name with args.
5040 set dummy clang; ac_word=$2
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 printf %s "checking for $ac_word... " >&6; }
5043 if test ${ac_cv_prog_ac_ct_CC+y}
5044 then :
5045 printf %s "(cached) " >&6
5046 else $as_nop
5047 if test -n "$ac_ct_CC"; then
5048 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 case $as_dir in #(((
5055 '') as_dir=./ ;;
5056 */) ;;
5057 *) as_dir=$as_dir/ ;;
5058 esac
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_ac_ct_CC="clang"
5062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5063 break 2
5065 done
5066 done
5067 IFS=$as_save_IFS
5071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5072 if test -n "$ac_ct_CC"; then
5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5074 printf "%s\n" "$ac_ct_CC" >&6; }
5075 else
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 printf "%s\n" "no" >&6; }
5080 if test "x$ac_ct_CC" = x; then
5081 CC=""
5082 else
5083 case $cross_compiling:$ac_tool_warned in
5084 yes:)
5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5086 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5087 ac_tool_warned=yes ;;
5088 esac
5089 CC=$ac_ct_CC
5091 else
5092 CC="$ac_cv_prog_CC"
5098 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5099 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5100 as_fn_error $? "no acceptable C compiler found in \$PATH
5101 See \`config.log' for more details" "$LINENO" 5; }
5103 # Provide some information about the compiler.
5104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5105 set X $ac_compile
5106 ac_compiler=$2
5107 for ac_option in --version -v -V -qversion -version; do
5108 { { ac_try="$ac_compiler $ac_option >&5"
5109 case "(($ac_try" in
5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5111 *) ac_try_echo=$ac_try;;
5112 esac
5113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5114 printf "%s\n" "$ac_try_echo"; } >&5
5115 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5116 ac_status=$?
5117 if test -s conftest.err; then
5118 sed '10a\
5119 ... rest of stderr output deleted ...
5120 10q' conftest.err >conftest.er1
5121 cat conftest.er1 >&5
5123 rm -f conftest.er1 conftest.err
5124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5125 test $ac_status = 0; }
5126 done
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5132 main (void)
5136 return 0;
5138 _ACEOF
5139 ac_clean_files_save=$ac_clean_files
5140 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5141 # Try to create an executable without -o first, disregard a.out.
5142 # It will help us diagnose broken compilers, and finding out an intuition
5143 # of exeext.
5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5145 printf %s "checking whether the C compiler works... " >&6; }
5146 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5148 # The possible output files:
5149 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5151 ac_rmfiles=
5152 for ac_file in $ac_files
5154 case $ac_file in
5155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5156 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5157 esac
5158 done
5159 rm -f $ac_rmfiles
5161 if { { ac_try="$ac_link_default"
5162 case "(($ac_try" in
5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164 *) ac_try_echo=$ac_try;;
5165 esac
5166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5167 printf "%s\n" "$ac_try_echo"; } >&5
5168 (eval "$ac_link_default") 2>&5
5169 ac_status=$?
5170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5171 test $ac_status = 0; }
5172 then :
5173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5174 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5175 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5176 # so that the user can short-circuit this test for compilers unknown to
5177 # Autoconf.
5178 for ac_file in $ac_files ''
5180 test -f "$ac_file" || continue
5181 case $ac_file in
5182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5184 [ab].out )
5185 # We found the default executable, but exeext='' is most
5186 # certainly right.
5187 break;;
5188 *.* )
5189 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5190 then :; else
5191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5193 # We set ac_cv_exeext here because the later test for it is not
5194 # safe: cross compilers may not add the suffix if given an `-o'
5195 # argument, so we may need to know it at that point already.
5196 # Even if this section looks crufty: it has the advantage of
5197 # actually working.
5198 break;;
5200 break;;
5201 esac
5202 done
5203 test "$ac_cv_exeext" = no && ac_cv_exeext=
5205 else $as_nop
5206 ac_file=''
5208 if test -z "$ac_file"
5209 then :
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 printf "%s\n" "no" >&6; }
5212 printf "%s\n" "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.$ac_ext >&5
5215 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5216 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5217 as_fn_error 77 "C compiler cannot create executables
5218 See \`config.log' for more details" "$LINENO" 5; }
5219 else $as_nop
5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5221 printf "%s\n" "yes" >&6; }
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5224 printf %s "checking for C compiler default output file name... " >&6; }
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5226 printf "%s\n" "$ac_file" >&6; }
5227 ac_exeext=$ac_cv_exeext
5229 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5230 ac_clean_files=$ac_clean_files_save
5231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5232 printf %s "checking for suffix of executables... " >&6; }
5233 if { { ac_try="$ac_link"
5234 case "(($ac_try" in
5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5237 esac
5238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 printf "%s\n" "$ac_try_echo"; } >&5
5240 (eval "$ac_link") 2>&5
5241 ac_status=$?
5242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; }
5244 then :
5245 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5246 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5247 # work properly (i.e., refer to `conftest.exe'), while it won't with
5248 # `rm'.
5249 for ac_file in conftest.exe conftest conftest.*; do
5250 test -f "$ac_file" || continue
5251 case $ac_file in
5252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5253 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5254 break;;
5255 * ) break;;
5256 esac
5257 done
5258 else $as_nop
5259 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5260 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5261 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5262 See \`config.log' for more details" "$LINENO" 5; }
5264 rm -f conftest conftest$ac_cv_exeext
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5266 printf "%s\n" "$ac_cv_exeext" >&6; }
5268 rm -f conftest.$ac_ext
5269 EXEEXT=$ac_cv_exeext
5270 ac_exeext=$EXEEXT
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5273 #include <stdio.h>
5275 main (void)
5277 FILE *f = fopen ("conftest.out", "w");
5278 return ferror (f) || fclose (f) != 0;
5281 return 0;
5283 _ACEOF
5284 ac_clean_files="$ac_clean_files conftest.out"
5285 # Check that the compiler produces executables we can run. If not, either
5286 # the compiler is broken, or we cross compile.
5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5288 printf %s "checking whether we are cross compiling... " >&6; }
5289 if test "$cross_compiling" != yes; then
5290 { { ac_try="$ac_link"
5291 case "(($ac_try" in
5292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5293 *) ac_try_echo=$ac_try;;
5294 esac
5295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5296 printf "%s\n" "$ac_try_echo"; } >&5
5297 (eval "$ac_link") 2>&5
5298 ac_status=$?
5299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5300 test $ac_status = 0; }
5301 if { ac_try='./conftest$ac_cv_exeext'
5302 { { case "(($ac_try" in
5303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5304 *) ac_try_echo=$ac_try;;
5305 esac
5306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5307 printf "%s\n" "$ac_try_echo"; } >&5
5308 (eval "$ac_try") 2>&5
5309 ac_status=$?
5310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5311 test $ac_status = 0; }; }; then
5312 cross_compiling=no
5313 else
5314 if test "$cross_compiling" = maybe; then
5315 cross_compiling=yes
5316 else
5317 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5318 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5319 as_fn_error 77 "cannot run C compiled programs.
5320 If you meant to cross compile, use \`--host'.
5321 See \`config.log' for more details" "$LINENO" 5; }
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5326 printf "%s\n" "$cross_compiling" >&6; }
5328 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5329 ac_clean_files=$ac_clean_files_save
5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5331 printf %s "checking for suffix of object files... " >&6; }
5332 if test ${ac_cv_objext+y}
5333 then :
5334 printf %s "(cached) " >&6
5335 else $as_nop
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5340 main (void)
5344 return 0;
5346 _ACEOF
5347 rm -f conftest.o conftest.obj
5348 if { { ac_try="$ac_compile"
5349 case "(($ac_try" in
5350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5351 *) ac_try_echo=$ac_try;;
5352 esac
5353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5354 printf "%s\n" "$ac_try_echo"; } >&5
5355 (eval "$ac_compile") 2>&5
5356 ac_status=$?
5357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5358 test $ac_status = 0; }
5359 then :
5360 for ac_file in conftest.o conftest.obj conftest.*; do
5361 test -f "$ac_file" || continue;
5362 case $ac_file in
5363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5364 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5365 break;;
5366 esac
5367 done
5368 else $as_nop
5369 printf "%s\n" "$as_me: failed program was:" >&5
5370 sed 's/^/| /' conftest.$ac_ext >&5
5372 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5373 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5374 as_fn_error $? "cannot compute suffix of object files: cannot compile
5375 See \`config.log' for more details" "$LINENO" 5; }
5377 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5380 printf "%s\n" "$ac_cv_objext" >&6; }
5381 OBJEXT=$ac_cv_objext
5382 ac_objext=$OBJEXT
5383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5384 printf %s "checking whether the compiler supports GNU C... " >&6; }
5385 if test ${ac_cv_c_compiler_gnu+y}
5386 then :
5387 printf %s "(cached) " >&6
5388 else $as_nop
5389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5390 /* end confdefs.h. */
5393 main (void)
5395 #ifndef __GNUC__
5396 choke me
5397 #endif
5400 return 0;
5402 _ACEOF
5403 if ac_fn_c_try_compile "$LINENO"
5404 then :
5405 ac_compiler_gnu=yes
5406 else $as_nop
5407 ac_compiler_gnu=no
5409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5410 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5414 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5417 if test $ac_compiler_gnu = yes; then
5418 GCC=yes
5419 else
5420 GCC=
5422 ac_test_CFLAGS=${CFLAGS+y}
5423 ac_save_CFLAGS=$CFLAGS
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5425 printf %s "checking whether $CC accepts -g... " >&6; }
5426 if test ${ac_cv_prog_cc_g+y}
5427 then :
5428 printf %s "(cached) " >&6
5429 else $as_nop
5430 ac_save_c_werror_flag=$ac_c_werror_flag
5431 ac_c_werror_flag=yes
5432 ac_cv_prog_cc_g=no
5433 CFLAGS="-g"
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5438 main (void)
5442 return 0;
5444 _ACEOF
5445 if ac_fn_c_try_compile "$LINENO"
5446 then :
5447 ac_cv_prog_cc_g=yes
5448 else $as_nop
5449 CFLAGS=""
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5454 main (void)
5458 return 0;
5460 _ACEOF
5461 if ac_fn_c_try_compile "$LINENO"
5462 then :
5464 else $as_nop
5465 ac_c_werror_flag=$ac_save_c_werror_flag
5466 CFLAGS="-g"
5467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5471 main (void)
5475 return 0;
5477 _ACEOF
5478 if ac_fn_c_try_compile "$LINENO"
5479 then :
5480 ac_cv_prog_cc_g=yes
5482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5487 ac_c_werror_flag=$ac_save_c_werror_flag
5489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5490 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5491 if test $ac_test_CFLAGS; then
5492 CFLAGS=$ac_save_CFLAGS
5493 elif test $ac_cv_prog_cc_g = yes; then
5494 if test "$GCC" = yes; then
5495 CFLAGS="-g -O2"
5496 else
5497 CFLAGS="-g"
5499 else
5500 if test "$GCC" = yes; then
5501 CFLAGS="-O2"
5502 else
5503 CFLAGS=
5506 ac_prog_cc_stdc=no
5507 if test x$ac_prog_cc_stdc = xno
5508 then :
5509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5510 printf %s "checking for $CC option to enable C11 features... " >&6; }
5511 if test ${ac_cv_prog_cc_c11+y}
5512 then :
5513 printf %s "(cached) " >&6
5514 else $as_nop
5515 ac_cv_prog_cc_c11=no
5516 ac_save_CC=$CC
5517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5518 /* end confdefs.h. */
5519 $ac_c_conftest_c11_program
5520 _ACEOF
5521 for ac_arg in '' -std=gnu11
5523 CC="$ac_save_CC $ac_arg"
5524 if ac_fn_c_try_compile "$LINENO"
5525 then :
5526 ac_cv_prog_cc_c11=$ac_arg
5528 rm -f core conftest.err conftest.$ac_objext conftest.beam
5529 test "x$ac_cv_prog_cc_c11" != "xno" && break
5530 done
5531 rm -f conftest.$ac_ext
5532 CC=$ac_save_CC
5535 if test "x$ac_cv_prog_cc_c11" = xno
5536 then :
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5538 printf "%s\n" "unsupported" >&6; }
5539 else $as_nop
5540 if test "x$ac_cv_prog_cc_c11" = x
5541 then :
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5543 printf "%s\n" "none needed" >&6; }
5544 else $as_nop
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5546 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5547 CC="$CC $ac_cv_prog_cc_c11"
5549 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5550 ac_prog_cc_stdc=c11
5553 if test x$ac_prog_cc_stdc = xno
5554 then :
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5556 printf %s "checking for $CC option to enable C99 features... " >&6; }
5557 if test ${ac_cv_prog_cc_c99+y}
5558 then :
5559 printf %s "(cached) " >&6
5560 else $as_nop
5561 ac_cv_prog_cc_c99=no
5562 ac_save_CC=$CC
5563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5564 /* end confdefs.h. */
5565 $ac_c_conftest_c99_program
5566 _ACEOF
5567 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5569 CC="$ac_save_CC $ac_arg"
5570 if ac_fn_c_try_compile "$LINENO"
5571 then :
5572 ac_cv_prog_cc_c99=$ac_arg
5574 rm -f core conftest.err conftest.$ac_objext conftest.beam
5575 test "x$ac_cv_prog_cc_c99" != "xno" && break
5576 done
5577 rm -f conftest.$ac_ext
5578 CC=$ac_save_CC
5581 if test "x$ac_cv_prog_cc_c99" = xno
5582 then :
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5584 printf "%s\n" "unsupported" >&6; }
5585 else $as_nop
5586 if test "x$ac_cv_prog_cc_c99" = x
5587 then :
5588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5589 printf "%s\n" "none needed" >&6; }
5590 else $as_nop
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5592 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5593 CC="$CC $ac_cv_prog_cc_c99"
5595 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5596 ac_prog_cc_stdc=c99
5599 if test x$ac_prog_cc_stdc = xno
5600 then :
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5602 printf %s "checking for $CC option to enable C89 features... " >&6; }
5603 if test ${ac_cv_prog_cc_c89+y}
5604 then :
5605 printf %s "(cached) " >&6
5606 else $as_nop
5607 ac_cv_prog_cc_c89=no
5608 ac_save_CC=$CC
5609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5611 $ac_c_conftest_c89_program
5612 _ACEOF
5613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5615 CC="$ac_save_CC $ac_arg"
5616 if ac_fn_c_try_compile "$LINENO"
5617 then :
5618 ac_cv_prog_cc_c89=$ac_arg
5620 rm -f core conftest.err conftest.$ac_objext conftest.beam
5621 test "x$ac_cv_prog_cc_c89" != "xno" && break
5622 done
5623 rm -f conftest.$ac_ext
5624 CC=$ac_save_CC
5627 if test "x$ac_cv_prog_cc_c89" = xno
5628 then :
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5630 printf "%s\n" "unsupported" >&6; }
5631 else $as_nop
5632 if test "x$ac_cv_prog_cc_c89" = x
5633 then :
5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5635 printf "%s\n" "none needed" >&6; }
5636 else $as_nop
5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5638 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5639 CC="$CC $ac_cv_prog_cc_c89"
5641 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5642 ac_prog_cc_stdc=c89
5646 ac_ext=c
5647 ac_cpp='$CPP $CPPFLAGS'
5648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5658 ac_ext=cpp
5659 ac_cpp='$CXXCPP $CPPFLAGS'
5660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5663 if test -z "$CXX"; then
5664 if test -n "$CCC"; then
5665 CXX=$CCC
5666 else
5667 if test -n "$ac_tool_prefix"; then
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_tool_prefix$ac_prog", so it can be a program name with args.
5671 set dummy $ac_tool_prefix$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_CXX+y}
5675 then :
5676 printf %s "(cached) " >&6
5677 else $as_nop
5678 if test -n "$CXX"; then
5679 ac_cv_prog_CXX="$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_CXX="$ac_tool_prefix$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 CXX=$ac_cv_prog_CXX
5703 if test -n "$CXX"; then
5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5705 printf "%s\n" "$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 "$CXX" && break
5713 done
5715 if test -z "$CXX"; then
5716 ac_ct_CXX=$CXX
5717 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy $ac_prog; ac_word=$2
5721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 printf %s "checking for $ac_word... " >&6; }
5723 if test ${ac_cv_prog_ac_ct_CXX+y}
5724 then :
5725 printf %s "(cached) " >&6
5726 else $as_nop
5727 if test -n "$ac_ct_CXX"; then
5728 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 case $as_dir in #(((
5735 '') as_dir=./ ;;
5736 */) ;;
5737 *) as_dir=$as_dir/ ;;
5738 esac
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5741 ac_cv_prog_ac_ct_CXX="$ac_prog"
5742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5743 break 2
5745 done
5746 done
5747 IFS=$as_save_IFS
5751 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5752 if test -n "$ac_ct_CXX"; then
5753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5754 printf "%s\n" "$ac_ct_CXX" >&6; }
5755 else
5756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 printf "%s\n" "no" >&6; }
5761 test -n "$ac_ct_CXX" && break
5762 done
5764 if test "x$ac_ct_CXX" = x; then
5765 CXX="g++"
5766 else
5767 case $cross_compiling:$ac_tool_warned in
5768 yes:)
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5770 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5771 ac_tool_warned=yes ;;
5772 esac
5773 CXX=$ac_ct_CXX
5779 # Provide some information about the compiler.
5780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5781 set X $ac_compile
5782 ac_compiler=$2
5783 for ac_option in --version -v -V -qversion; do
5784 { { ac_try="$ac_compiler $ac_option >&5"
5785 case "(($ac_try" in
5786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5787 *) ac_try_echo=$ac_try;;
5788 esac
5789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5790 printf "%s\n" "$ac_try_echo"; } >&5
5791 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5792 ac_status=$?
5793 if test -s conftest.err; then
5794 sed '10a\
5795 ... rest of stderr output deleted ...
5796 10q' conftest.err >conftest.er1
5797 cat conftest.er1 >&5
5799 rm -f conftest.er1 conftest.err
5800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5801 test $ac_status = 0; }
5802 done
5804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5805 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5806 if test ${ac_cv_cxx_compiler_gnu+y}
5807 then :
5808 printf %s "(cached) " >&6
5809 else $as_nop
5810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5811 /* end confdefs.h. */
5814 main (void)
5816 #ifndef __GNUC__
5817 choke me
5818 #endif
5821 return 0;
5823 _ACEOF
5824 if ac_fn_cxx_try_compile "$LINENO"
5825 then :
5826 ac_compiler_gnu=yes
5827 else $as_nop
5828 ac_compiler_gnu=no
5830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5831 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5835 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5838 if test $ac_compiler_gnu = yes; then
5839 GXX=yes
5840 else
5841 GXX=
5843 ac_test_CXXFLAGS=${CXXFLAGS+y}
5844 ac_save_CXXFLAGS=$CXXFLAGS
5845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5846 printf %s "checking whether $CXX accepts -g... " >&6; }
5847 if test ${ac_cv_prog_cxx_g+y}
5848 then :
5849 printf %s "(cached) " >&6
5850 else $as_nop
5851 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5852 ac_cxx_werror_flag=yes
5853 ac_cv_prog_cxx_g=no
5854 CXXFLAGS="-g"
5855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5859 main (void)
5863 return 0;
5865 _ACEOF
5866 if ac_fn_cxx_try_compile "$LINENO"
5867 then :
5868 ac_cv_prog_cxx_g=yes
5869 else $as_nop
5870 CXXFLAGS=""
5871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5875 main (void)
5879 return 0;
5881 _ACEOF
5882 if ac_fn_cxx_try_compile "$LINENO"
5883 then :
5885 else $as_nop
5886 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5887 CXXFLAGS="-g"
5888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5889 /* end confdefs.h. */
5892 main (void)
5896 return 0;
5898 _ACEOF
5899 if ac_fn_cxx_try_compile "$LINENO"
5900 then :
5901 ac_cv_prog_cxx_g=yes
5903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5908 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5911 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5912 if test $ac_test_CXXFLAGS; then
5913 CXXFLAGS=$ac_save_CXXFLAGS
5914 elif test $ac_cv_prog_cxx_g = yes; then
5915 if test "$GXX" = yes; then
5916 CXXFLAGS="-g -O2"
5917 else
5918 CXXFLAGS="-g"
5920 else
5921 if test "$GXX" = yes; then
5922 CXXFLAGS="-O2"
5923 else
5924 CXXFLAGS=
5927 ac_prog_cxx_stdcxx=no
5928 if test x$ac_prog_cxx_stdcxx = xno
5929 then :
5930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5931 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5932 if test ${ac_cv_prog_cxx_cxx11+y}
5933 then :
5934 printf %s "(cached) " >&6
5935 else $as_nop
5936 ac_cv_prog_cxx_cxx11=no
5937 ac_save_CXX=$CXX
5938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5939 /* end confdefs.h. */
5940 $ac_cxx_conftest_cxx11_program
5941 _ACEOF
5942 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5944 CXX="$ac_save_CXX $ac_arg"
5945 if ac_fn_cxx_try_compile "$LINENO"
5946 then :
5947 ac_cv_prog_cxx_cxx11=$ac_arg
5949 rm -f core conftest.err conftest.$ac_objext conftest.beam
5950 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5951 done
5952 rm -f conftest.$ac_ext
5953 CXX=$ac_save_CXX
5956 if test "x$ac_cv_prog_cxx_cxx11" = xno
5957 then :
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5959 printf "%s\n" "unsupported" >&6; }
5960 else $as_nop
5961 if test "x$ac_cv_prog_cxx_cxx11" = x
5962 then :
5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5964 printf "%s\n" "none needed" >&6; }
5965 else $as_nop
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5967 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5968 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5970 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5971 ac_prog_cxx_stdcxx=cxx11
5974 if test x$ac_prog_cxx_stdcxx = xno
5975 then :
5976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5977 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5978 if test ${ac_cv_prog_cxx_cxx98+y}
5979 then :
5980 printf %s "(cached) " >&6
5981 else $as_nop
5982 ac_cv_prog_cxx_cxx98=no
5983 ac_save_CXX=$CXX
5984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5986 $ac_cxx_conftest_cxx98_program
5987 _ACEOF
5988 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5990 CXX="$ac_save_CXX $ac_arg"
5991 if ac_fn_cxx_try_compile "$LINENO"
5992 then :
5993 ac_cv_prog_cxx_cxx98=$ac_arg
5995 rm -f core conftest.err conftest.$ac_objext conftest.beam
5996 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5997 done
5998 rm -f conftest.$ac_ext
5999 CXX=$ac_save_CXX
6002 if test "x$ac_cv_prog_cxx_cxx98" = xno
6003 then :
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6005 printf "%s\n" "unsupported" >&6; }
6006 else $as_nop
6007 if test "x$ac_cv_prog_cxx_cxx98" = x
6008 then :
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6010 printf "%s\n" "none needed" >&6; }
6011 else $as_nop
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6013 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6014 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6016 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6017 ac_prog_cxx_stdcxx=cxx98
6021 ac_ext=c
6022 ac_cpp='$CPP $CPPFLAGS'
6023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6027 if test -n "$ac_tool_prefix"; then
6028 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6029 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 printf %s "checking for $ac_word... " >&6; }
6032 if test ${ac_cv_prog_CPPBIN+y}
6033 then :
6034 printf %s "(cached) " >&6
6035 else $as_nop
6036 if test -n "$CPPBIN"; then
6037 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6038 else
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in $PATH
6042 IFS=$as_save_IFS
6043 case $as_dir in #(((
6044 '') as_dir=./ ;;
6045 */) ;;
6046 *) as_dir=$as_dir/ ;;
6047 esac
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6050 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6052 break 2
6054 done
6055 done
6056 IFS=$as_save_IFS
6060 CPPBIN=$ac_cv_prog_CPPBIN
6061 if test -n "$CPPBIN"; then
6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6063 printf "%s\n" "$CPPBIN" >&6; }
6064 else
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 printf "%s\n" "no" >&6; }
6071 if test -z "$ac_cv_prog_CPPBIN"; then
6072 ac_ct_CPPBIN=$CPPBIN
6073 # Extract the first word of "cpp", so it can be a program name with args.
6074 set dummy cpp; ac_word=$2
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 printf %s "checking for $ac_word... " >&6; }
6077 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6078 then :
6079 printf %s "(cached) " >&6
6080 else $as_nop
6081 if test -n "$ac_ct_CPPBIN"; then
6082 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6087 IFS=$as_save_IFS
6088 case $as_dir in #(((
6089 '') as_dir=./ ;;
6090 */) ;;
6091 *) as_dir=$as_dir/ ;;
6092 esac
6093 for ac_exec_ext in '' $ac_executable_extensions; do
6094 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6095 ac_cv_prog_ac_ct_CPPBIN="cpp"
6096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6097 break 2
6099 done
6100 done
6101 IFS=$as_save_IFS
6105 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6106 if test -n "$ac_ct_CPPBIN"; then
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6108 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6109 else
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 printf "%s\n" "no" >&6; }
6114 if test "x$ac_ct_CPPBIN" = x; then
6115 CPPBIN="cpp"
6116 else
6117 case $cross_compiling:$ac_tool_warned in
6118 yes:)
6119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6120 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6121 ac_tool_warned=yes ;;
6122 esac
6123 CPPBIN=$ac_ct_CPPBIN
6125 else
6126 CPPBIN="$ac_cv_prog_CPPBIN"
6130 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6132 if test -n "$ac_tool_prefix"; then
6133 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6134 set dummy ${ac_tool_prefix}ld; ac_word=$2
6135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6136 printf %s "checking for $ac_word... " >&6; }
6137 if test ${ac_cv_prog_LD+y}
6138 then :
6139 printf %s "(cached) " >&6
6140 else $as_nop
6141 if test -n "$LD"; then
6142 ac_cv_prog_LD="$LD" # Let the user override the test.
6143 else
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in $PATH
6147 IFS=$as_save_IFS
6148 case $as_dir in #(((
6149 '') as_dir=./ ;;
6150 */) ;;
6151 *) as_dir=$as_dir/ ;;
6152 esac
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_LD="${ac_tool_prefix}ld"
6156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6157 break 2
6159 done
6160 done
6161 IFS=$as_save_IFS
6165 LD=$ac_cv_prog_LD
6166 if test -n "$LD"; then
6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6168 printf "%s\n" "$LD" >&6; }
6169 else
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171 printf "%s\n" "no" >&6; }
6176 if test -z "$ac_cv_prog_LD"; then
6177 ac_ct_LD=$LD
6178 # Extract the first word of "ld", so it can be a program name with args.
6179 set dummy ld; ac_word=$2
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181 printf %s "checking for $ac_word... " >&6; }
6182 if test ${ac_cv_prog_ac_ct_LD+y}
6183 then :
6184 printf %s "(cached) " >&6
6185 else $as_nop
6186 if test -n "$ac_ct_LD"; then
6187 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6188 else
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH
6192 IFS=$as_save_IFS
6193 case $as_dir in #(((
6194 '') as_dir=./ ;;
6195 */) ;;
6196 *) as_dir=$as_dir/ ;;
6197 esac
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_ac_ct_LD="ld"
6201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6202 break 2
6204 done
6205 done
6206 IFS=$as_save_IFS
6210 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6211 if test -n "$ac_ct_LD"; then
6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6213 printf "%s\n" "$ac_ct_LD" >&6; }
6214 else
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 printf "%s\n" "no" >&6; }
6219 if test "x$ac_ct_LD" = x; then
6220 LD=""
6221 else
6222 case $cross_compiling:$ac_tool_warned in
6223 yes:)
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6225 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6226 ac_tool_warned=yes ;;
6227 esac
6228 LD=$ac_ct_LD
6230 else
6231 LD="$ac_cv_prog_LD"
6235 case $host in
6236 *-darwin*)
6237 with_fontconfig=${with_fontconfig:-no}
6239 *-mingw32*|*-cygwin*)
6240 enable_win16=${enable_win16:-no}
6241 with_mingw=${with_mingw:-no}
6243 esac
6246 case $host in
6247 x86_64*|amd64*)
6248 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6249 then
6250 CC="$CC -m32"
6251 CXX="$CXX -m32"
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6254 printf %s "checking whether $CC works... " >&6; }
6255 if test ${wine_cv_cc_m32+y}
6256 then :
6257 printf %s "(cached) " >&6
6258 else $as_nop
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6263 main (void)
6267 return 0;
6269 _ACEOF
6270 if ac_fn_c_try_link "$LINENO"
6271 then :
6272 wine_cv_cc_m32=yes
6273 else $as_nop
6274 wine_cv_cc_m32=no
6276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6277 conftest$ac_exeext conftest.$ac_ext
6279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6280 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6281 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
6282 host_cpu="i386"
6283 notice_platform="32-bit "
6284 TARGETFLAGS="$TARGETFLAGS -m32"
6285 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6286 export PKG_CONFIG_LIBDIR
6287 with_unwind=${with_unwind:-no}
6288 else
6289 CC="$CC -m64"
6290 CXX="$CXX -m64"
6291 host_cpu="x86_64"
6292 notice_platform="64-bit "
6293 TARGETFLAGS="$TARGETFLAGS -m64"
6296 arm*)
6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6298 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6299 if test ${wine_cv_thumb2+y}
6300 then :
6301 printf %s "(cached) " >&6
6302 else $as_nop
6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6304 /* end confdefs.h. */
6307 main (void)
6309 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6311 return 0;
6313 _ACEOF
6314 if ac_fn_c_try_link "$LINENO"
6315 then :
6316 wine_cv_thumb2=yes
6317 else $as_nop
6318 wine_cv_thumb2=no
6320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6321 conftest$ac_exeext conftest.$ac_ext
6323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6324 printf "%s\n" "$wine_cv_thumb2" >&6; }
6325 if test x"$wine_cv_thumb2" = xyes
6326 then
6327 CFLAGS="$CFLAGS -mthumb"
6328 TARGETFLAGS="$TARGETFLAGS -mthumb"
6329 else
6330 CFLAGS="$CFLAGS -marm"
6331 TARGETFLAGS="$TARGETFLAGS -marm"
6333 case $with_float_abi in
6334 soft|softfp|hard)
6335 float_abi=$with_float_abi ;;
6337 case $host_os in
6338 *eabihf)
6339 float_abi=hard ;;
6341 float_abi=softfp
6342 saved_CFLAGS=$CFLAGS
6343 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6345 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6346 if test ${wine_cv_float_abi+y}
6347 then :
6348 printf %s "(cached) " >&6
6349 else $as_nop
6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6354 main (void)
6356 asm("vmrs r2,fpscr");
6358 return 0;
6360 _ACEOF
6361 if ac_fn_c_try_link "$LINENO"
6362 then :
6363 wine_cv_float_abi=yes
6364 else $as_nop
6365 wine_cv_float_abi=no
6367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6368 conftest$ac_exeext conftest.$ac_ext
6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6371 printf "%s\n" "$wine_cv_float_abi" >&6; }
6372 if test $wine_cv_float_abi = no
6373 then
6374 float_abi=soft
6375 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6377 CFLAGS=$saved_CFLAGS
6378 esac
6380 esac
6381 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6382 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6384 i[3456789]86*)
6385 with_unwind=${with_unwind:-no}
6387 esac
6389 enable_win16=${enable_win16:-i386}
6390 enable_win64=${enable_win64:-no}
6391 enable_wow64=${enable_wow64:-aarch64,x86_64}
6392 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6393 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6395 enable_winetest=${enable_winetest:-$enable_tests}
6397 if test "x$enable_win64" = "xyes"
6398 then
6399 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6400 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6403 case $build_os in
6404 cygwin*|mingw32*) toolsext=".exe"
6406 *) toolsext=""
6408 esac
6410 HOST_ARCH=unknown
6411 case "$host_cpu" in
6412 aarch64*) HOST_ARCH=aarch64 ;;
6413 arm*) HOST_ARCH=arm ;;
6414 i[3456789]86*) HOST_ARCH=i386 ;;
6415 x86_64) HOST_ARCH=x86_64 ;;
6416 esac
6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6420 printf %s "checking for the directory containing the Wine tools... " >&6; }
6421 if test ${wine_cv_toolsdir+y}
6422 then :
6423 printf %s "(cached) " >&6
6424 else $as_nop
6425 wine_cv_toolsdir="$with_wine_tools"
6426 if test -z "$with_wine_tools"; then
6427 if test "$cross_compiling" = "yes"; then
6428 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6429 elif test -n "$with_wine64"; then
6430 wine_cv_toolsdir="$with_wine64"
6434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6435 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6436 if test -z "$wine_cv_toolsdir"; then
6437 wine_makedep=tools/makedep$toolsext
6438 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6439 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6440 enable_tools=${enable_tools:-no}
6441 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6442 else
6443 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6445 toolsdir=$wine_cv_toolsdir
6447 MAKEDEP=$wine_makedep
6449 RUNTESTFLAGS="-q -P wine"
6451 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'"
6454 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6455 then
6456 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6459 for ac_prog in flex
6461 # Extract the first word of "$ac_prog", so it can be a program name with args.
6462 set dummy $ac_prog; ac_word=$2
6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 printf %s "checking for $ac_word... " >&6; }
6465 if test ${ac_cv_prog_FLEX+y}
6466 then :
6467 printf %s "(cached) " >&6
6468 else $as_nop
6469 if test -n "$FLEX"; then
6470 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6471 else
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in $PATH
6475 IFS=$as_save_IFS
6476 case $as_dir in #(((
6477 '') as_dir=./ ;;
6478 */) ;;
6479 *) as_dir=$as_dir/ ;;
6480 esac
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_FLEX="$ac_prog"
6484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6485 break 2
6487 done
6488 done
6489 IFS=$as_save_IFS
6493 FLEX=$ac_cv_prog_FLEX
6494 if test -n "$FLEX"; then
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6496 printf "%s\n" "$FLEX" >&6; }
6497 else
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 printf "%s\n" "no" >&6; }
6503 test -n "$FLEX" && break
6504 done
6505 test -n "$FLEX" || FLEX="none"
6507 if test "$FLEX" = "none"
6508 then
6509 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6512 printf %s "checking whether flex is recent enough... " >&6; }
6513 if test ${wine_cv_recent_flex+y}
6514 then :
6515 printf %s "(cached) " >&6
6516 else $as_nop
6517 cat >conftest.l <<EOF
6518 %top{
6519 #include "prediluvian.h"
6523 if $FLEX -t conftest.l >/dev/null 2>&5
6524 then
6525 wine_cv_recent_flex=yes
6526 else
6527 wine_cv_recent_flex=no
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6531 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6532 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
6534 for ac_prog in bison
6536 # Extract the first word of "$ac_prog", so it can be a program name with args.
6537 set dummy $ac_prog; ac_word=$2
6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539 printf %s "checking for $ac_word... " >&6; }
6540 if test ${ac_cv_prog_BISON+y}
6541 then :
6542 printf %s "(cached) " >&6
6543 else $as_nop
6544 if test -n "$BISON"; then
6545 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 case $as_dir in #(((
6552 '') as_dir=./ ;;
6553 */) ;;
6554 *) as_dir=$as_dir/ ;;
6555 esac
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6558 ac_cv_prog_BISON="$ac_prog"
6559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6560 break 2
6562 done
6563 done
6564 IFS=$as_save_IFS
6568 BISON=$ac_cv_prog_BISON
6569 if test -n "$BISON"; then
6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6571 printf "%s\n" "$BISON" >&6; }
6572 else
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 printf "%s\n" "no" >&6; }
6578 test -n "$BISON" && break
6579 done
6580 test -n "$BISON" || BISON="none"
6582 if test "$BISON" = "none"
6583 then
6584 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6587 printf %s "checking whether bison is recent enough... " >&6; }
6588 if test ${wine_cv_recent_bison+y}
6589 then :
6590 printf %s "(cached) " >&6
6591 else $as_nop
6592 cat >conftest.y <<EOF
6593 %define parse.error verbose
6595 empty: ;
6597 if $BISON conftest.y >/dev/null 2>&5
6598 then
6599 wine_cv_recent_bison=yes
6600 else
6601 wine_cv_recent_bison=no
6604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6605 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6606 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
6608 if test -n "$ac_tool_prefix"; then
6609 for ac_prog in ar gar
6611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 printf %s "checking for $ac_word... " >&6; }
6615 if test ${ac_cv_prog_AR+y}
6616 then :
6617 printf %s "(cached) " >&6
6618 else $as_nop
6619 if test -n "$AR"; then
6620 ac_cv_prog_AR="$AR" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6625 IFS=$as_save_IFS
6626 case $as_dir in #(((
6627 '') as_dir=./ ;;
6628 */) ;;
6629 *) as_dir=$as_dir/ ;;
6630 esac
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6635 break 2
6637 done
6638 done
6639 IFS=$as_save_IFS
6643 AR=$ac_cv_prog_AR
6644 if test -n "$AR"; then
6645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6646 printf "%s\n" "$AR" >&6; }
6647 else
6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 printf "%s\n" "no" >&6; }
6653 test -n "$AR" && break
6654 done
6656 if test -z "$AR"; then
6657 ac_ct_AR=$AR
6658 for ac_prog in ar gar
6660 # Extract the first word of "$ac_prog", so it can be a program name with args.
6661 set dummy $ac_prog; ac_word=$2
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 printf %s "checking for $ac_word... " >&6; }
6664 if test ${ac_cv_prog_ac_ct_AR+y}
6665 then :
6666 printf %s "(cached) " >&6
6667 else $as_nop
6668 if test -n "$ac_ct_AR"; then
6669 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6674 IFS=$as_save_IFS
6675 case $as_dir in #(((
6676 '') as_dir=./ ;;
6677 */) ;;
6678 *) as_dir=$as_dir/ ;;
6679 esac
6680 for ac_exec_ext in '' $ac_executable_extensions; do
6681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6682 ac_cv_prog_ac_ct_AR="$ac_prog"
6683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6684 break 2
6686 done
6687 done
6688 IFS=$as_save_IFS
6692 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6693 if test -n "$ac_ct_AR"; then
6694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6695 printf "%s\n" "$ac_ct_AR" >&6; }
6696 else
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 printf "%s\n" "no" >&6; }
6702 test -n "$ac_ct_AR" && break
6703 done
6705 if test "x$ac_ct_AR" = x; then
6706 AR="ar"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 AR=$ac_ct_AR
6718 if test -n "$ac_tool_prefix"; then
6719 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6720 set dummy ${ac_tool_prefix}strip; ac_word=$2
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 printf %s "checking for $ac_word... " >&6; }
6723 if test ${ac_cv_prog_STRIP+y}
6724 then :
6725 printf %s "(cached) " >&6
6726 else $as_nop
6727 if test -n "$STRIP"; then
6728 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6729 else
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 for as_dir in $PATH
6733 IFS=$as_save_IFS
6734 case $as_dir in #(((
6735 '') as_dir=./ ;;
6736 */) ;;
6737 *) as_dir=$as_dir/ ;;
6738 esac
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6741 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6743 break 2
6745 done
6746 done
6747 IFS=$as_save_IFS
6751 STRIP=$ac_cv_prog_STRIP
6752 if test -n "$STRIP"; then
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6754 printf "%s\n" "$STRIP" >&6; }
6755 else
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 printf "%s\n" "no" >&6; }
6762 if test -z "$ac_cv_prog_STRIP"; then
6763 ac_ct_STRIP=$STRIP
6764 # Extract the first word of "strip", so it can be a program name with args.
6765 set dummy strip; ac_word=$2
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 printf %s "checking for $ac_word... " >&6; }
6768 if test ${ac_cv_prog_ac_ct_STRIP+y}
6769 then :
6770 printf %s "(cached) " >&6
6771 else $as_nop
6772 if test -n "$ac_ct_STRIP"; then
6773 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6774 else
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 for as_dir in $PATH
6778 IFS=$as_save_IFS
6779 case $as_dir in #(((
6780 '') as_dir=./ ;;
6781 */) ;;
6782 *) as_dir=$as_dir/ ;;
6783 esac
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6786 ac_cv_prog_ac_ct_STRIP="strip"
6787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6788 break 2
6790 done
6791 done
6792 IFS=$as_save_IFS
6796 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6797 if test -n "$ac_ct_STRIP"; then
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6799 printf "%s\n" "$ac_ct_STRIP" >&6; }
6800 else
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 printf "%s\n" "no" >&6; }
6805 if test "x$ac_ct_STRIP" = x; then
6806 STRIP="strip"
6807 else
6808 case $cross_compiling:$ac_tool_warned in
6809 yes:)
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6811 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6812 ac_tool_warned=yes ;;
6813 esac
6814 STRIP=$ac_ct_STRIP
6816 else
6817 STRIP="$ac_cv_prog_STRIP"
6820 if test -n "$ac_tool_prefix"; then
6821 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6822 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 printf %s "checking for $ac_word... " >&6; }
6825 if test ${ac_cv_prog_RANLIB+y}
6826 then :
6827 printf %s "(cached) " >&6
6828 else $as_nop
6829 if test -n "$RANLIB"; then
6830 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6831 else
6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833 for as_dir in $PATH
6835 IFS=$as_save_IFS
6836 case $as_dir in #(((
6837 '') as_dir=./ ;;
6838 */) ;;
6839 *) as_dir=$as_dir/ ;;
6840 esac
6841 for ac_exec_ext in '' $ac_executable_extensions; do
6842 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6843 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6845 break 2
6847 done
6848 done
6849 IFS=$as_save_IFS
6853 RANLIB=$ac_cv_prog_RANLIB
6854 if test -n "$RANLIB"; then
6855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6856 printf "%s\n" "$RANLIB" >&6; }
6857 else
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 printf "%s\n" "no" >&6; }
6864 if test -z "$ac_cv_prog_RANLIB"; then
6865 ac_ct_RANLIB=$RANLIB
6866 # Extract the first word of "ranlib", so it can be a program name with args.
6867 set dummy ranlib; ac_word=$2
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 printf %s "checking for $ac_word... " >&6; }
6870 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6871 then :
6872 printf %s "(cached) " >&6
6873 else $as_nop
6874 if test -n "$ac_ct_RANLIB"; then
6875 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6876 else
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6878 for as_dir in $PATH
6880 IFS=$as_save_IFS
6881 case $as_dir in #(((
6882 '') as_dir=./ ;;
6883 */) ;;
6884 *) as_dir=$as_dir/ ;;
6885 esac
6886 for ac_exec_ext in '' $ac_executable_extensions; do
6887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6888 ac_cv_prog_ac_ct_RANLIB="ranlib"
6889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6890 break 2
6892 done
6893 done
6894 IFS=$as_save_IFS
6898 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6899 if test -n "$ac_ct_RANLIB"; then
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6901 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6902 else
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 printf "%s\n" "no" >&6; }
6907 if test "x$ac_ct_RANLIB" = x; then
6908 RANLIB=":"
6909 else
6910 case $cross_compiling:$ac_tool_warned in
6911 yes:)
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6913 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6914 ac_tool_warned=yes ;;
6915 esac
6916 RANLIB=$ac_ct_RANLIB
6918 else
6919 RANLIB="$ac_cv_prog_RANLIB"
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6923 printf %s "checking whether ln -s works... " >&6; }
6924 LN_S=$as_ln_s
6925 if test "$LN_S" = "ln -s"; then
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6927 printf "%s\n" "yes" >&6; }
6928 else
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6930 printf "%s\n" "no, using $LN_S" >&6; }
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6934 printf %s "checking for grep that handles long lines and -e... " >&6; }
6935 if test ${ac_cv_path_GREP+y}
6936 then :
6937 printf %s "(cached) " >&6
6938 else $as_nop
6939 if test -z "$GREP"; then
6940 ac_path_GREP_found=false
6941 # Loop through the user's path and test for each of PROGNAME-LIST
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6945 IFS=$as_save_IFS
6946 case $as_dir in #(((
6947 '') as_dir=./ ;;
6948 */) ;;
6949 *) as_dir=$as_dir/ ;;
6950 esac
6951 for ac_prog in grep ggrep
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6955 as_fn_executable_p "$ac_path_GREP" || continue
6956 # Check for GNU ac_path_GREP and select it if it is found.
6957 # Check for GNU $ac_path_GREP
6958 case `"$ac_path_GREP" --version 2>&1` in
6959 *GNU*)
6960 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6962 ac_count=0
6963 printf %s 0123456789 >"conftest.in"
6964 while :
6966 cat "conftest.in" "conftest.in" >"conftest.tmp"
6967 mv "conftest.tmp" "conftest.in"
6968 cp "conftest.in" "conftest.nl"
6969 printf "%s\n" 'GREP' >> "conftest.nl"
6970 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6972 as_fn_arith $ac_count + 1 && ac_count=$as_val
6973 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6974 # Best one so far, save it but keep looking for a better one
6975 ac_cv_path_GREP="$ac_path_GREP"
6976 ac_path_GREP_max=$ac_count
6978 # 10*(2^10) chars as input seems more than enough
6979 test $ac_count -gt 10 && break
6980 done
6981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6982 esac
6984 $ac_path_GREP_found && break 3
6985 done
6986 done
6987 done
6988 IFS=$as_save_IFS
6989 if test -z "$ac_cv_path_GREP"; then
6990 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6992 else
6993 ac_cv_path_GREP=$GREP
6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6998 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6999 GREP="$ac_cv_path_GREP"
7002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7003 printf %s "checking for egrep... " >&6; }
7004 if test ${ac_cv_path_EGREP+y}
7005 then :
7006 printf %s "(cached) " >&6
7007 else $as_nop
7008 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7009 then ac_cv_path_EGREP="$GREP -E"
7010 else
7011 if test -z "$EGREP"; then
7012 ac_path_EGREP_found=false
7013 # Loop through the user's path and test for each of PROGNAME-LIST
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7017 IFS=$as_save_IFS
7018 case $as_dir in #(((
7019 '') as_dir=./ ;;
7020 */) ;;
7021 *) as_dir=$as_dir/ ;;
7022 esac
7023 for ac_prog in egrep
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7027 as_fn_executable_p "$ac_path_EGREP" || continue
7028 # Check for GNU ac_path_EGREP and select it if it is found.
7029 # Check for GNU $ac_path_EGREP
7030 case `"$ac_path_EGREP" --version 2>&1` in
7031 *GNU*)
7032 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7034 ac_count=0
7035 printf %s 0123456789 >"conftest.in"
7036 while :
7038 cat "conftest.in" "conftest.in" >"conftest.tmp"
7039 mv "conftest.tmp" "conftest.in"
7040 cp "conftest.in" "conftest.nl"
7041 printf "%s\n" 'EGREP' >> "conftest.nl"
7042 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7043 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7044 as_fn_arith $ac_count + 1 && ac_count=$as_val
7045 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7046 # Best one so far, save it but keep looking for a better one
7047 ac_cv_path_EGREP="$ac_path_EGREP"
7048 ac_path_EGREP_max=$ac_count
7050 # 10*(2^10) chars as input seems more than enough
7051 test $ac_count -gt 10 && break
7052 done
7053 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7054 esac
7056 $ac_path_EGREP_found && break 3
7057 done
7058 done
7059 done
7060 IFS=$as_save_IFS
7061 if test -z "$ac_cv_path_EGREP"; then
7062 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7064 else
7065 ac_cv_path_EGREP=$EGREP
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7071 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7072 EGREP="$ac_cv_path_EGREP"
7075 # Extract the first word of "ldconfig", so it can be a program name with args.
7076 set dummy ldconfig; ac_word=$2
7077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 printf %s "checking for $ac_word... " >&6; }
7079 if test ${ac_cv_path_LDCONFIG+y}
7080 then :
7081 printf %s "(cached) " >&6
7082 else $as_nop
7083 case $LDCONFIG in
7084 [\\/]* | ?:[\\/]*)
7085 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in /sbin /usr/sbin $PATH
7091 IFS=$as_save_IFS
7092 case $as_dir in #(((
7093 '') as_dir=./ ;;
7094 */) ;;
7095 *) as_dir=$as_dir/ ;;
7096 esac
7097 for ac_exec_ext in '' $ac_executable_extensions; do
7098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7099 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7101 break 2
7103 done
7104 done
7105 IFS=$as_save_IFS
7107 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7109 esac
7111 LDCONFIG=$ac_cv_path_LDCONFIG
7112 if test -n "$LDCONFIG"; then
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7114 printf "%s\n" "$LDCONFIG" >&6; }
7115 else
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 printf "%s\n" "no" >&6; }
7121 for ac_prog in msgfmt
7123 # Extract the first word of "$ac_prog", so it can be a program name with args.
7124 set dummy $ac_prog; ac_word=$2
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 printf %s "checking for $ac_word... " >&6; }
7127 if test ${ac_cv_prog_MSGFMT+y}
7128 then :
7129 printf %s "(cached) " >&6
7130 else $as_nop
7131 if test -n "$MSGFMT"; then
7132 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7133 else
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 for as_dir in $PATH
7137 IFS=$as_save_IFS
7138 case $as_dir in #(((
7139 '') as_dir=./ ;;
7140 */) ;;
7141 *) as_dir=$as_dir/ ;;
7142 esac
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7145 ac_cv_prog_MSGFMT="$ac_prog"
7146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7147 break 2
7149 done
7150 done
7151 IFS=$as_save_IFS
7155 MSGFMT=$ac_cv_prog_MSGFMT
7156 if test -n "$MSGFMT"; then
7157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7158 printf "%s\n" "$MSGFMT" >&6; }
7159 else
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 printf "%s\n" "no" >&6; }
7165 test -n "$MSGFMT" && break
7166 done
7167 test -n "$MSGFMT" || MSGFMT="false"
7169 if test ${ac_tool_prefix+y}
7170 then :
7171 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7172 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 printf %s "checking for $ac_word... " >&6; }
7175 if test ${ac_cv_prog_PKG_CONFIG+y}
7176 then :
7177 printf %s "(cached) " >&6
7178 else $as_nop
7179 if test -n "$PKG_CONFIG"; then
7180 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7181 else
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 for as_dir in $PATH
7185 IFS=$as_save_IFS
7186 case $as_dir in #(((
7187 '') as_dir=./ ;;
7188 */) ;;
7189 *) as_dir=$as_dir/ ;;
7190 esac
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7195 break 2
7197 done
7198 done
7199 IFS=$as_save_IFS
7203 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7204 if test -n "$PKG_CONFIG"; then
7205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7206 printf "%s\n" "$PKG_CONFIG" >&6; }
7207 else
7208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 printf "%s\n" "no" >&6; }
7214 if ${ac_cv_prog_PKG_CONFIG:+false} :
7215 then :
7216 if test "x$cross_compiling" = xyes
7217 then :
7219 else $as_nop
7220 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7221 # Extract the first word of "pkg-config", so it can be a program name with args.
7222 set dummy pkg-config; ac_word=$2
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 printf %s "checking for $ac_word... " >&6; }
7225 if test ${ac_cv_prog_PKG_CONFIG+y}
7226 then :
7227 printf %s "(cached) " >&6
7228 else $as_nop
7229 if test -n "$PKG_CONFIG"; then
7230 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7231 else
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 for as_dir in $PATH
7235 IFS=$as_save_IFS
7236 case $as_dir in #(((
7237 '') as_dir=./ ;;
7238 */) ;;
7239 *) as_dir=$as_dir/ ;;
7240 esac
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7243 ac_cv_prog_PKG_CONFIG="pkg-config"
7244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7245 break 2
7247 done
7248 done
7249 IFS=$as_save_IFS
7253 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7254 if test -n "$PKG_CONFIG"; then
7255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7256 printf "%s\n" "$PKG_CONFIG" >&6; }
7257 else
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 printf "%s\n" "no" >&6; }
7264 else $as_nop
7265 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7268 if test "x$enable_maintainer_mode" != "xyes"
7269 then
7270 FONTFORGE=""
7271 RSVG=""
7272 CONVERT=""
7273 ICOTOOL=""
7274 else
7275 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7276 for ac_prog in fontforge
7278 # Extract the first word of "$ac_prog", so it can be a program name with args.
7279 set dummy $ac_prog; ac_word=$2
7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 printf %s "checking for $ac_word... " >&6; }
7282 if test ${ac_cv_prog_FONTFORGE+y}
7283 then :
7284 printf %s "(cached) " >&6
7285 else $as_nop
7286 if test -n "$FONTFORGE"; then
7287 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7288 else
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 for as_dir in $PATH
7292 IFS=$as_save_IFS
7293 case $as_dir in #(((
7294 '') as_dir=./ ;;
7295 */) ;;
7296 *) as_dir=$as_dir/ ;;
7297 esac
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_FONTFORGE="$ac_prog"
7301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7302 break 2
7304 done
7305 done
7306 IFS=$as_save_IFS
7310 FONTFORGE=$ac_cv_prog_FONTFORGE
7311 if test -n "$FONTFORGE"; then
7312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7313 printf "%s\n" "$FONTFORGE" >&6; }
7314 else
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 printf "%s\n" "no" >&6; }
7320 test -n "$FONTFORGE" && break
7321 done
7322 test -n "$FONTFORGE" || FONTFORGE="false"
7324 for ac_prog in rsvg-convert rsvg
7326 # Extract the first word of "$ac_prog", so it can be a program name with args.
7327 set dummy $ac_prog; ac_word=$2
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 printf %s "checking for $ac_word... " >&6; }
7330 if test ${ac_cv_prog_RSVG+y}
7331 then :
7332 printf %s "(cached) " >&6
7333 else $as_nop
7334 if test -n "$RSVG"; then
7335 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7340 IFS=$as_save_IFS
7341 case $as_dir in #(((
7342 '') as_dir=./ ;;
7343 */) ;;
7344 *) as_dir=$as_dir/ ;;
7345 esac
7346 for ac_exec_ext in '' $ac_executable_extensions; do
7347 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7348 ac_cv_prog_RSVG="$ac_prog"
7349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7350 break 2
7352 done
7353 done
7354 IFS=$as_save_IFS
7358 RSVG=$ac_cv_prog_RSVG
7359 if test -n "$RSVG"; then
7360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7361 printf "%s\n" "$RSVG" >&6; }
7362 else
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 printf "%s\n" "no" >&6; }
7368 test -n "$RSVG" && break
7369 done
7370 test -n "$RSVG" || RSVG="false"
7372 for ac_prog in convert
7374 # Extract the first word of "$ac_prog", so it can be a program name with args.
7375 set dummy $ac_prog; ac_word=$2
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 printf %s "checking for $ac_word... " >&6; }
7378 if test ${ac_cv_prog_CONVERT+y}
7379 then :
7380 printf %s "(cached) " >&6
7381 else $as_nop
7382 if test -n "$CONVERT"; then
7383 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7388 IFS=$as_save_IFS
7389 case $as_dir in #(((
7390 '') as_dir=./ ;;
7391 */) ;;
7392 *) as_dir=$as_dir/ ;;
7393 esac
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7396 ac_cv_prog_CONVERT="$ac_prog"
7397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 CONVERT=$ac_cv_prog_CONVERT
7407 if test -n "$CONVERT"; then
7408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7409 printf "%s\n" "$CONVERT" >&6; }
7410 else
7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 printf "%s\n" "no" >&6; }
7416 test -n "$CONVERT" && break
7417 done
7418 test -n "$CONVERT" || CONVERT="false"
7420 for ac_prog in icotool
7422 # Extract the first word of "$ac_prog", so it can be a program name with args.
7423 set dummy $ac_prog; ac_word=$2
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425 printf %s "checking for $ac_word... " >&6; }
7426 if test ${ac_cv_prog_ICOTOOL+y}
7427 then :
7428 printf %s "(cached) " >&6
7429 else $as_nop
7430 if test -n "$ICOTOOL"; then
7431 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7436 IFS=$as_save_IFS
7437 case $as_dir in #(((
7438 '') as_dir=./ ;;
7439 */) ;;
7440 *) as_dir=$as_dir/ ;;
7441 esac
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7444 ac_cv_prog_ICOTOOL="$ac_prog"
7445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7446 break 2
7448 done
7449 done
7450 IFS=$as_save_IFS
7454 ICOTOOL=$ac_cv_prog_ICOTOOL
7455 if test -n "$ICOTOOL"; then
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7457 printf "%s\n" "$ICOTOOL" >&6; }
7458 else
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 printf "%s\n" "no" >&6; }
7464 test -n "$ICOTOOL" && break
7465 done
7466 test -n "$ICOTOOL" || ICOTOOL="false"
7468 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7469 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7471 if test "$CONVERT" = false
7472 then
7473 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7474 else
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7476 printf %s "checking for recent enough imagemagick... " >&6; }
7477 convert_version=`convert --version | head -n1`
7478 if test "x$convert_version" != "x"
7479 then
7480 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7481 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7482 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7483 then
7484 CONVERT=false
7487 if test "$CONVERT" = false
7488 then
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7490 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7491 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7492 else
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7494 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7498 if test "$ICOTOOL" = false
7499 then
7500 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7501 else
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7503 printf %s "checking for recent enough icotool... " >&6; }
7504 icotool_version=`icotool --version | head -n1`
7505 if test "x$icotool_version" != "x"
7506 then
7507 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7508 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7509 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7510 then
7511 ICOTOOL=false
7512 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7515 if test "$ICOTOOL" = false
7516 then
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7518 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7519 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7520 else
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7522 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7526 with_gettext=yes
7527 with_gettextpo=yes
7529 enable_werror=yes
7532 test "x$with_gettext" != xno || MSGFMT=false
7533 if test "$MSGFMT" != "false"
7534 then
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7536 printf %s "checking whether msgfmt supports contexts... " >&6; }
7537 if test ${wine_cv_msgfmt_contexts+y}
7538 then :
7539 printf %s "(cached) " >&6
7540 else $as_nop
7541 cat >conftest.po <<EOF
7542 # comment
7543 msgctxt "ctxt"
7544 msgid "id"
7545 msgstr "str"
7547 if $MSGFMT -o /dev/null conftest.po 2>&5
7548 then
7549 wine_cv_msgfmt_contexts=yes
7550 else
7551 wine_cv_msgfmt_contexts=no
7554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7555 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7556 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7558 if test "$MSGFMT" = false
7559 then :
7560 case "x$with_gettext" in
7561 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7562 xno) ;;
7563 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7564 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7565 esac
7566 enable_po=${enable_po:-no}
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7571 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7572 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7573 then :
7574 printf %s "(cached) " >&6
7575 else $as_nop
7576 ac_check_lib_save_LIBS=$LIBS
7577 LIBS="-li386 $LIBS"
7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h. */
7581 /* Override any GCC internal prototype to avoid an error.
7582 Use char because int might match the return type of a GCC
7583 builtin and then its argument prototype would still apply. */
7584 char i386_set_ldt ();
7586 main (void)
7588 return i386_set_ldt ();
7590 return 0;
7592 _ACEOF
7593 if ac_fn_c_try_link "$LINENO"
7594 then :
7595 ac_cv_lib_i386_i386_set_ldt=yes
7596 else $as_nop
7597 ac_cv_lib_i386_i386_set_ldt=no
7599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7600 conftest$ac_exeext conftest.$ac_ext
7601 LIBS=$ac_check_lib_save_LIBS
7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7604 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7605 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7606 then :
7607 I386_LIBS="-li386"
7612 OPENGL_LIBS=""
7616 # Check whether --enable-largefile was given.
7617 if test ${enable_largefile+y}
7618 then :
7619 enableval=$enable_largefile;
7622 if test "$enable_largefile" != no; then
7624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7625 printf %s "checking for special C compiler options needed for large files... " >&6; }
7626 if test ${ac_cv_sys_largefile_CC+y}
7627 then :
7628 printf %s "(cached) " >&6
7629 else $as_nop
7630 ac_cv_sys_largefile_CC=no
7631 if test "$GCC" != yes; then
7632 ac_save_CC=$CC
7633 while :; do
7634 # IRIX 6.2 and later do not support large files by default,
7635 # so use the C compiler's -n32 option if that helps.
7636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h. */
7638 #include <sys/types.h>
7639 /* Check that off_t can represent 2**63 - 1 correctly.
7640 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7641 since some C++ compilers masquerading as C compilers
7642 incorrectly reject 9223372036854775807. */
7643 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7644 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7645 && LARGE_OFF_T % 2147483647 == 1)
7646 ? 1 : -1];
7648 main (void)
7652 return 0;
7654 _ACEOF
7655 if ac_fn_c_try_compile "$LINENO"
7656 then :
7657 break
7659 rm -f core conftest.err conftest.$ac_objext conftest.beam
7660 CC="$CC -n32"
7661 if ac_fn_c_try_compile "$LINENO"
7662 then :
7663 ac_cv_sys_largefile_CC=' -n32'; break
7665 rm -f core conftest.err conftest.$ac_objext conftest.beam
7666 break
7667 done
7668 CC=$ac_save_CC
7669 rm -f conftest.$ac_ext
7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7673 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7674 if test "$ac_cv_sys_largefile_CC" != no; then
7675 CC=$CC$ac_cv_sys_largefile_CC
7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7679 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7680 if test ${ac_cv_sys_file_offset_bits+y}
7681 then :
7682 printf %s "(cached) " >&6
7683 else $as_nop
7684 while :; do
7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7687 #include <sys/types.h>
7688 /* Check that off_t can represent 2**63 - 1 correctly.
7689 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7690 since some C++ compilers masquerading as C compilers
7691 incorrectly reject 9223372036854775807. */
7692 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7693 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7694 && LARGE_OFF_T % 2147483647 == 1)
7695 ? 1 : -1];
7697 main (void)
7701 return 0;
7703 _ACEOF
7704 if ac_fn_c_try_compile "$LINENO"
7705 then :
7706 ac_cv_sys_file_offset_bits=no; break
7708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7711 #define _FILE_OFFSET_BITS 64
7712 #include <sys/types.h>
7713 /* Check that off_t can represent 2**63 - 1 correctly.
7714 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7715 since some C++ compilers masquerading as C compilers
7716 incorrectly reject 9223372036854775807. */
7717 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7718 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7719 && LARGE_OFF_T % 2147483647 == 1)
7720 ? 1 : -1];
7722 main (void)
7726 return 0;
7728 _ACEOF
7729 if ac_fn_c_try_compile "$LINENO"
7730 then :
7731 ac_cv_sys_file_offset_bits=64; break
7733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7734 ac_cv_sys_file_offset_bits=unknown
7735 break
7736 done
7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7739 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7740 case $ac_cv_sys_file_offset_bits in #(
7741 no | unknown) ;;
7743 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7745 esac
7746 rm -rf conftest*
7747 if test $ac_cv_sys_file_offset_bits = unknown; then
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7749 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7750 if test ${ac_cv_sys_large_files+y}
7751 then :
7752 printf %s "(cached) " >&6
7753 else $as_nop
7754 while :; do
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 #include <sys/types.h>
7758 /* Check that off_t can represent 2**63 - 1 correctly.
7759 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7760 since some C++ compilers masquerading as C compilers
7761 incorrectly reject 9223372036854775807. */
7762 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7764 && LARGE_OFF_T % 2147483647 == 1)
7765 ? 1 : -1];
7767 main (void)
7771 return 0;
7773 _ACEOF
7774 if ac_fn_c_try_compile "$LINENO"
7775 then :
7776 ac_cv_sys_large_files=no; break
7778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7781 #define _LARGE_FILES 1
7782 #include <sys/types.h>
7783 /* Check that off_t can represent 2**63 - 1 correctly.
7784 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7785 since some C++ compilers masquerading as C compilers
7786 incorrectly reject 9223372036854775807. */
7787 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7788 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7789 && LARGE_OFF_T % 2147483647 == 1)
7790 ? 1 : -1];
7792 main (void)
7796 return 0;
7798 _ACEOF
7799 if ac_fn_c_try_compile "$LINENO"
7800 then :
7801 ac_cv_sys_large_files=1; break
7803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7804 ac_cv_sys_large_files=unknown
7805 break
7806 done
7808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7809 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7810 case $ac_cv_sys_large_files in #(
7811 no | unknown) ;;
7813 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7815 esac
7816 rm -rf conftest*
7821 ac_header= ac_cache=
7822 for ac_item in $ac_header_c_list
7824 if test $ac_cache; then
7825 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7826 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7827 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7829 ac_header= ac_cache=
7830 elif test $ac_header; then
7831 ac_cache=$ac_item
7832 else
7833 ac_header=$ac_item
7835 done
7844 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7845 then :
7847 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_CL_cl_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_EGL_egl_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_arpa_inet_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_asm_types_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_asm_user_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_elf_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_float_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_gettext_po_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_libproc_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_link_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_filter_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_input_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_major_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_param_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_serial_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_types_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_wireless_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_lwp_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_mach_mach_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_machine_cpu_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_mntent_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_netdb_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_netinet_in_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_port_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_pthread_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_pwd_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_sched_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_scsi_sg_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_stdint_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_attr_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_auxv_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_cdio_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_epoll_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_event_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_extattr_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_filio_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_ipc_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_link_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_modem_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_mtio_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_param_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_prctl_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_queue_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_random_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_resource_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_shm_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_signal_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_sockio_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_strtio_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_syscall_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_times_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_uio_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_user_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_utsname_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_vnode_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_xattr_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_syscall_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_utime_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8333 then :
8335 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8339 if test $ac_cv_header_sys_mkdev_h = no; then
8340 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8342 then :
8344 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8350 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8351 if test ${ac_cv_header_stat_broken+y}
8352 then :
8353 printf %s "(cached) " >&6
8354 else $as_nop
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 #include <sys/types.h>
8358 #include <sys/stat.h>
8360 #if defined S_ISBLK && defined S_IFDIR
8361 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8362 #endif
8364 #if defined S_ISBLK && defined S_IFCHR
8365 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8366 #endif
8368 #if defined S_ISLNK && defined S_IFREG
8369 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8370 #endif
8372 #if defined S_ISSOCK && defined S_IFREG
8373 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8374 #endif
8376 _ACEOF
8377 if ac_fn_c_try_compile "$LINENO"
8378 then :
8379 ac_cv_header_stat_broken=no
8380 else $as_nop
8381 ac_cv_header_stat_broken=yes
8383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8386 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8387 if test $ac_cv_header_stat_broken = yes; then
8389 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8395 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8396 #ifdef HAVE_SYS_PARAM_H
8397 # include <sys/param.h>
8398 #endif
8400 if test "x$ac_cv_header_sys_conf_h" = xyes
8401 then :
8402 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8405 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8406 #ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8408 #endif
8410 if test "x$ac_cv_header_sys_mount_h" = xyes
8411 then :
8412 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8415 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8416 #ifdef HAVE_SYS_PARAM_H
8417 # include <sys/param.h>
8418 #endif
8420 if test "x$ac_cv_header_sys_statfs_h" = xyes
8421 then :
8422 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8425 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_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_user_h" = xyes
8431 then :
8432 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8435 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8436 #ifdef HAVE_SYS_PARAM_H
8437 # include <sys/param.h>
8438 #endif
8440 if test "x$ac_cv_header_sys_vfs_h" = xyes
8441 then :
8442 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8447 saved_sysctl_h_CFLAGS=$CFLAGS
8448 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8449 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8450 #ifdef HAVE_SYS_PARAM_H
8451 # include <sys/param.h>
8452 #endif
8454 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8455 then :
8456 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8460 CFLAGS=$saved_sysctl_h_CFLAGS
8462 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8463 #include <sys/socket.h>
8464 #ifdef HAVE_SYS_SOCKETVAR_H
8465 # include <sys/socketvar.h>
8466 #endif
8467 #ifdef HAVE_NET_ROUTE_H
8468 # include <net/route.h>
8469 #endif
8470 #ifdef HAVE_NETINET_IN_H
8471 # include <netinet/in.h>
8472 #endif
8473 #ifdef HAVE_NETINET_IN_SYSTM_H
8474 # include <netinet/in_systm.h>
8475 #endif
8476 #ifdef HAVE_NET_IF_H
8477 # include <net/if.h>
8478 #endif
8479 #ifdef HAVE_NETINET_IP_H
8480 # include <netinet/ip.h>
8481 #endif
8483 if test "x$ac_cv_header_netinet_ip_h" = xyes
8484 then :
8485 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8488 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8489 #include <sys/socket.h>
8490 #ifdef HAVE_SYS_SOCKETVAR_H
8491 # include <sys/socketvar.h>
8492 #endif
8493 #ifdef HAVE_NET_ROUTE_H
8494 # include <net/route.h>
8495 #endif
8496 #ifdef HAVE_NETINET_IN_H
8497 # include <netinet/in.h>
8498 #endif
8499 #ifdef HAVE_NETINET_IN_SYSTM_H
8500 # include <netinet/in_systm.h>
8501 #endif
8502 #ifdef HAVE_NET_IF_H
8503 # include <net/if.h>
8504 #endif
8505 #ifdef HAVE_NETINET_IP_H
8506 # include <netinet/ip.h>
8507 #endif
8509 if test "x$ac_cv_header_net_if_h" = xyes
8510 then :
8511 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8514 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8515 #include <sys/socket.h>
8516 #ifdef HAVE_SYS_SOCKETVAR_H
8517 # include <sys/socketvar.h>
8518 #endif
8519 #ifdef HAVE_NET_ROUTE_H
8520 # include <net/route.h>
8521 #endif
8522 #ifdef HAVE_NETINET_IN_H
8523 # include <netinet/in.h>
8524 #endif
8525 #ifdef HAVE_NETINET_IN_SYSTM_H
8526 # include <netinet/in_systm.h>
8527 #endif
8528 #ifdef HAVE_NET_IF_H
8529 # include <net/if.h>
8530 #endif
8531 #ifdef HAVE_NETINET_IP_H
8532 # include <netinet/ip.h>
8533 #endif
8535 if test "x$ac_cv_header_net_if_arp_h" = xyes
8536 then :
8537 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8540 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8541 #include <sys/socket.h>
8542 #ifdef HAVE_SYS_SOCKETVAR_H
8543 # include <sys/socketvar.h>
8544 #endif
8545 #ifdef HAVE_NET_ROUTE_H
8546 # include <net/route.h>
8547 #endif
8548 #ifdef HAVE_NETINET_IN_H
8549 # include <netinet/in.h>
8550 #endif
8551 #ifdef HAVE_NETINET_IN_SYSTM_H
8552 # include <netinet/in_systm.h>
8553 #endif
8554 #ifdef HAVE_NET_IF_H
8555 # include <net/if.h>
8556 #endif
8557 #ifdef HAVE_NETINET_IP_H
8558 # include <netinet/ip.h>
8559 #endif
8561 if test "x$ac_cv_header_net_if_dl_h" = xyes
8562 then :
8563 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8566 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8567 #include <sys/socket.h>
8568 #ifdef HAVE_SYS_SOCKETVAR_H
8569 # include <sys/socketvar.h>
8570 #endif
8571 #ifdef HAVE_NET_ROUTE_H
8572 # include <net/route.h>
8573 #endif
8574 #ifdef HAVE_NETINET_IN_H
8575 # include <netinet/in.h>
8576 #endif
8577 #ifdef HAVE_NETINET_IN_SYSTM_H
8578 # include <netinet/in_systm.h>
8579 #endif
8580 #ifdef HAVE_NET_IF_H
8581 # include <net/if.h>
8582 #endif
8583 #ifdef HAVE_NETINET_IP_H
8584 # include <netinet/ip.h>
8585 #endif
8587 if test "x$ac_cv_header_net_if_types_h" = xyes
8588 then :
8589 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8592 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8593 #include <sys/socket.h>
8594 #ifdef HAVE_SYS_SOCKETVAR_H
8595 # include <sys/socketvar.h>
8596 #endif
8597 #ifdef HAVE_NET_ROUTE_H
8598 # include <net/route.h>
8599 #endif
8600 #ifdef HAVE_NETINET_IN_H
8601 # include <netinet/in.h>
8602 #endif
8603 #ifdef HAVE_NETINET_IN_SYSTM_H
8604 # include <netinet/in_systm.h>
8605 #endif
8606 #ifdef HAVE_NET_IF_H
8607 # include <net/if.h>
8608 #endif
8609 #ifdef HAVE_NETINET_IP_H
8610 # include <netinet/ip.h>
8611 #endif
8613 if test "x$ac_cv_header_net_route_h" = xyes
8614 then :
8615 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8618 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8619 #include <sys/socket.h>
8620 #ifdef HAVE_SYS_SOCKETVAR_H
8621 # include <sys/socketvar.h>
8622 #endif
8623 #ifdef HAVE_NET_ROUTE_H
8624 # include <net/route.h>
8625 #endif
8626 #ifdef HAVE_NETINET_IN_H
8627 # include <netinet/in.h>
8628 #endif
8629 #ifdef HAVE_NETINET_IN_SYSTM_H
8630 # include <netinet/in_systm.h>
8631 #endif
8632 #ifdef HAVE_NET_IF_H
8633 # include <net/if.h>
8634 #endif
8635 #ifdef HAVE_NETINET_IP_H
8636 # include <netinet/ip.h>
8637 #endif
8639 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8640 then :
8641 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8644 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8645 #include <sys/socket.h>
8646 #ifdef HAVE_SYS_SOCKETVAR_H
8647 # include <sys/socketvar.h>
8648 #endif
8649 #ifdef HAVE_NET_ROUTE_H
8650 # include <net/route.h>
8651 #endif
8652 #ifdef HAVE_NETINET_IN_H
8653 # include <netinet/in.h>
8654 #endif
8655 #ifdef HAVE_NETINET_IN_SYSTM_H
8656 # include <netinet/in_systm.h>
8657 #endif
8658 #ifdef HAVE_NET_IF_H
8659 # include <net/if.h>
8660 #endif
8661 #ifdef HAVE_NETINET_IP_H
8662 # include <netinet/ip.h>
8663 #endif
8665 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8666 then :
8667 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8670 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8671 #include <sys/socket.h>
8672 #ifdef HAVE_SYS_SOCKETVAR_H
8673 # include <sys/socketvar.h>
8674 #endif
8675 #ifdef HAVE_NET_ROUTE_H
8676 # include <net/route.h>
8677 #endif
8678 #ifdef HAVE_NETINET_IN_H
8679 # include <netinet/in.h>
8680 #endif
8681 #ifdef HAVE_NETINET_IN_SYSTM_H
8682 # include <netinet/in_systm.h>
8683 #endif
8684 #ifdef HAVE_NET_IF_H
8685 # include <net/if.h>
8686 #endif
8687 #ifdef HAVE_NETINET_IP_H
8688 # include <netinet/ip.h>
8689 #endif
8691 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8692 then :
8693 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8696 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8697 #include <sys/socket.h>
8698 #ifdef HAVE_SYS_SOCKETVAR_H
8699 # include <sys/socketvar.h>
8700 #endif
8701 #ifdef HAVE_NET_ROUTE_H
8702 # include <net/route.h>
8703 #endif
8704 #ifdef HAVE_NETINET_IN_H
8705 # include <netinet/in.h>
8706 #endif
8707 #ifdef HAVE_NETINET_IN_SYSTM_H
8708 # include <netinet/in_systm.h>
8709 #endif
8710 #ifdef HAVE_NET_IF_H
8711 # include <net/if.h>
8712 #endif
8713 #ifdef HAVE_NETINET_IP_H
8714 # include <netinet/ip.h>
8715 #endif
8717 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8718 then :
8719 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8722 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8723 #include <sys/socket.h>
8724 #ifdef HAVE_SYS_SOCKETVAR_H
8725 # include <sys/socketvar.h>
8726 #endif
8727 #ifdef HAVE_NET_ROUTE_H
8728 # include <net/route.h>
8729 #endif
8730 #ifdef HAVE_NETINET_IN_H
8731 # include <netinet/in.h>
8732 #endif
8733 #ifdef HAVE_NETINET_IN_SYSTM_H
8734 # include <netinet/in_systm.h>
8735 #endif
8736 #ifdef HAVE_NET_IF_H
8737 # include <net/if.h>
8738 #endif
8739 #ifdef HAVE_NETINET_IP_H
8740 # include <netinet/ip.h>
8741 #endif
8743 if test "x$ac_cv_header_netinet_udp_h" = xyes
8744 then :
8745 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8748 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8749 #include <sys/socket.h>
8750 #ifdef HAVE_SYS_SOCKETVAR_H
8751 # include <sys/socketvar.h>
8752 #endif
8753 #ifdef HAVE_NET_ROUTE_H
8754 # include <net/route.h>
8755 #endif
8756 #ifdef HAVE_NETINET_IN_H
8757 # include <netinet/in.h>
8758 #endif
8759 #ifdef HAVE_NETINET_IN_SYSTM_H
8760 # include <netinet/in_systm.h>
8761 #endif
8762 #ifdef HAVE_NET_IF_H
8763 # include <net/if.h>
8764 #endif
8765 #ifdef HAVE_NETINET_IP_H
8766 # include <netinet/ip.h>
8767 #endif
8769 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8770 then :
8771 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8774 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8775 #include <sys/socket.h>
8776 #ifdef HAVE_SYS_SOCKETVAR_H
8777 # include <sys/socketvar.h>
8778 #endif
8779 #ifdef HAVE_NET_ROUTE_H
8780 # include <net/route.h>
8781 #endif
8782 #ifdef HAVE_NETINET_IN_H
8783 # include <netinet/in.h>
8784 #endif
8785 #ifdef HAVE_NETINET_IN_SYSTM_H
8786 # include <netinet/in_systm.h>
8787 #endif
8788 #ifdef HAVE_NET_IF_H
8789 # include <net/if.h>
8790 #endif
8791 #ifdef HAVE_NETINET_IP_H
8792 # include <netinet/ip.h>
8793 #endif
8795 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8796 then :
8797 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8800 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8801 #include <sys/socket.h>
8802 #ifdef HAVE_SYS_SOCKETVAR_H
8803 # include <sys/socketvar.h>
8804 #endif
8805 #ifdef HAVE_NET_ROUTE_H
8806 # include <net/route.h>
8807 #endif
8808 #ifdef HAVE_NETINET_IN_H
8809 # include <netinet/in.h>
8810 #endif
8811 #ifdef HAVE_NETINET_IN_SYSTM_H
8812 # include <netinet/in_systm.h>
8813 #endif
8814 #ifdef HAVE_NET_IF_H
8815 # include <net/if.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IP_H
8818 # include <netinet/ip.h>
8819 #endif
8821 if test "x$ac_cv_header_sys_un_h" = xyes
8822 then :
8823 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8828 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8829 #include <sys/socket.h>
8830 #ifdef HAVE_SYS_SOCKETVAR_H
8831 # include <sys/socketvar.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IN_H
8834 # include <netinet/in.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IN_SYSTM_H
8837 # include <netinet/in_systm.h>
8838 #endif
8839 #ifdef HAVE_NETINET_IP_H
8840 # include <netinet/ip.h>
8841 #endif
8842 #ifdef HAVE_NETINET_IP_VAR_H
8843 # include <netinet/ip_var.h>
8844 #endif
8845 #ifdef HAVE_NETINET_IP_ICMP_H
8846 # include <netinet/ip_icmp.h>
8847 #endif
8848 #ifdef HAVE_NETINET_UDP_H
8849 # include <netinet/udp.h>
8850 #endif
8851 #ifdef HAVE_NETINET_TCP_H
8852 # include <netinet/tcp.h>
8853 #endif
8855 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8856 then :
8857 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8860 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8861 #include <sys/socket.h>
8862 #ifdef HAVE_SYS_SOCKETVAR_H
8863 # include <sys/socketvar.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IN_H
8866 # include <netinet/in.h>
8867 #endif
8868 #ifdef HAVE_NETINET_IN_SYSTM_H
8869 # include <netinet/in_systm.h>
8870 #endif
8871 #ifdef HAVE_NETINET_IP_H
8872 # include <netinet/ip.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IP_VAR_H
8875 # include <netinet/ip_var.h>
8876 #endif
8877 #ifdef HAVE_NETINET_IP_ICMP_H
8878 # include <netinet/ip_icmp.h>
8879 #endif
8880 #ifdef HAVE_NETINET_UDP_H
8881 # include <netinet/udp.h>
8882 #endif
8883 #ifdef HAVE_NETINET_TCP_H
8884 # include <netinet/tcp.h>
8885 #endif
8887 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8888 then :
8889 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8892 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8893 #include <sys/socket.h>
8894 #ifdef HAVE_SYS_SOCKETVAR_H
8895 # include <sys/socketvar.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IN_H
8898 # include <netinet/in.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IN_SYSTM_H
8901 # include <netinet/in_systm.h>
8902 #endif
8903 #ifdef HAVE_NETINET_IP_H
8904 # include <netinet/ip.h>
8905 #endif
8906 #ifdef HAVE_NETINET_IP_VAR_H
8907 # include <netinet/ip_var.h>
8908 #endif
8909 #ifdef HAVE_NETINET_IP_ICMP_H
8910 # include <netinet/ip_icmp.h>
8911 #endif
8912 #ifdef HAVE_NETINET_UDP_H
8913 # include <netinet/udp.h>
8914 #endif
8915 #ifdef HAVE_NETINET_TCP_H
8916 # include <netinet/tcp.h>
8917 #endif
8919 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8920 then :
8921 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8924 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8925 #include <sys/socket.h>
8926 #ifdef HAVE_SYS_SOCKETVAR_H
8927 # include <sys/socketvar.h>
8928 #endif
8929 #ifdef HAVE_NETINET_IN_H
8930 # include <netinet/in.h>
8931 #endif
8932 #ifdef HAVE_NETINET_IN_SYSTM_H
8933 # include <netinet/in_systm.h>
8934 #endif
8935 #ifdef HAVE_NETINET_IP_H
8936 # include <netinet/ip.h>
8937 #endif
8938 #ifdef HAVE_NETINET_IP_VAR_H
8939 # include <netinet/ip_var.h>
8940 #endif
8941 #ifdef HAVE_NETINET_IP_ICMP_H
8942 # include <netinet/ip_icmp.h>
8943 #endif
8944 #ifdef HAVE_NETINET_UDP_H
8945 # include <netinet/udp.h>
8946 #endif
8947 #ifdef HAVE_NETINET_TCP_H
8948 # include <netinet/tcp.h>
8949 #endif
8951 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8952 then :
8953 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8958 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8959 #include <sys/socket.h>
8960 #ifdef HAVE_ASM_TYPES_H
8961 # include <asm/types.h>
8962 #endif
8963 #ifdef HAVE_LINUX_TYPES_H
8964 # include <linux/types.h>
8965 #endif
8967 if test "x$ac_cv_header_linux_ipx_h" = xyes
8968 then :
8969 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8972 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8973 #include <sys/socket.h>
8974 #ifdef HAVE_ASM_TYPES_H
8975 # include <asm/types.h>
8976 #endif
8977 #ifdef HAVE_LINUX_TYPES_H
8978 # include <linux/types.h>
8979 #endif
8981 if test "x$ac_cv_header_linux_irda_h" = xyes
8982 then :
8983 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8987 #include <sys/socket.h>
8988 #ifdef HAVE_ASM_TYPES_H
8989 # include <asm/types.h>
8990 #endif
8991 #ifdef HAVE_LINUX_TYPES_H
8992 # include <linux/types.h>
8993 #endif
8995 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8996 then :
8997 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9002 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9003 #include <sys/socket.h>
9004 #ifdef HAVE_NETINET_IN_H
9005 # include <netinet/in.h>
9006 #endif
9007 #ifdef HAVE_ARPA_NAMESER_H
9008 # include <arpa/nameser.h>
9009 #endif
9011 if test "x$ac_cv_header_resolv_h" = xyes
9012 then :
9013 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9020 if test "x$ac_cv_header_ifaddrs_h" = xyes
9021 then :
9022 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9029 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9030 then :
9031 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9036 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9037 #ifdef HAVE_SYS_UCONTEXT_H
9038 #include <sys/ucontext.h>
9039 #endif
9041 if test "x$ac_cv_header_sys_thr_h" = xyes
9042 then :
9043 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9048 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9049 #include <pthread.h>
9050 #endif
9052 if test "x$ac_cv_header_pthread_np_h" = xyes
9053 then :
9054 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9059 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9060 #include <sys/types.h>
9061 #ifdef HAVE_ASM_TYPES_H
9062 #include <asm/types.h>
9063 #endif
9065 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9066 then :
9067 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9072 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9073 #include <sys/param.h>
9074 #endif
9075 #include <sys/socket.h>
9076 #ifdef HAVE_SYS_QUEUE_H
9077 #include <sys/queue.h>
9078 #endif
9080 if test "x$ac_cv_header_libprocstat_h" = xyes
9081 then :
9082 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9087 if test "x$ac_cv_header_sys_xattr_h" = xyes
9088 then
9089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9090 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9091 if test ${wine_cv_xattr_extra_args+y}
9092 then :
9093 printf %s "(cached) " >&6
9094 else $as_nop
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9097 #include <sys/xattr.h>
9099 main (void)
9101 getxattr("", "", "", 0, 0, 0);
9103 return 0;
9105 _ACEOF
9106 if ac_fn_c_try_compile "$LINENO"
9107 then :
9108 wine_cv_xattr_extra_args=yes
9109 else $as_nop
9110 wine_cv_xattr_extra_args=no
9112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9115 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9116 test $wine_cv_xattr_extra_args != yes ||
9117 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9122 DLLFLAGS=""
9124 LDDLLFLAGS=""
9126 LDEXECFLAGS=""
9128 EXTRACFLAGS=""
9130 UNIXDLLFLAGS="-fPIC"
9132 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9134 TOP_INSTALL_LIB=""
9136 TOP_INSTALL_DEV=""
9138 WINELOADER_LDFLAGS=""
9140 WINEPRELOADER_LDFLAGS=""
9142 DLLEXT=".so"
9144 LIBEXT="so"
9145 # Extract the first word of "ldd", so it can be a program name with args.
9146 set dummy ldd; ac_word=$2
9147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9148 printf %s "checking for $ac_word... " >&6; }
9149 if test ${ac_cv_path_LDD+y}
9150 then :
9151 printf %s "(cached) " >&6
9152 else $as_nop
9153 case $LDD in
9154 [\\/]* | ?:[\\/]*)
9155 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9159 as_dummy="/sbin:/usr/sbin:$PATH"
9160 for as_dir in $as_dummy
9162 IFS=$as_save_IFS
9163 case $as_dir in #(((
9164 '') as_dir=./ ;;
9165 */) ;;
9166 *) as_dir=$as_dir/ ;;
9167 esac
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9170 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9172 break 2
9174 done
9175 done
9176 IFS=$as_save_IFS
9178 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9180 esac
9182 LDD=$ac_cv_path_LDD
9183 if test -n "$LDD"; then
9184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9185 printf "%s\n" "$LDD" >&6; }
9186 else
9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9188 printf "%s\n" "no" >&6; }
9192 if test -n "$ac_tool_prefix"; then
9193 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9194 set dummy ${ac_tool_prefix}otool; ac_word=$2
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9196 printf %s "checking for $ac_word... " >&6; }
9197 if test ${ac_cv_prog_OTOOL+y}
9198 then :
9199 printf %s "(cached) " >&6
9200 else $as_nop
9201 if test -n "$OTOOL"; then
9202 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9203 else
9204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205 for as_dir in $PATH
9207 IFS=$as_save_IFS
9208 case $as_dir in #(((
9209 '') as_dir=./ ;;
9210 */) ;;
9211 *) as_dir=$as_dir/ ;;
9212 esac
9213 for ac_exec_ext in '' $ac_executable_extensions; do
9214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9215 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9217 break 2
9219 done
9220 done
9221 IFS=$as_save_IFS
9225 OTOOL=$ac_cv_prog_OTOOL
9226 if test -n "$OTOOL"; then
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9228 printf "%s\n" "$OTOOL" >&6; }
9229 else
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231 printf "%s\n" "no" >&6; }
9236 if test -z "$ac_cv_prog_OTOOL"; then
9237 ac_ct_OTOOL=$OTOOL
9238 # Extract the first word of "otool", so it can be a program name with args.
9239 set dummy otool; ac_word=$2
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9241 printf %s "checking for $ac_word... " >&6; }
9242 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9243 then :
9244 printf %s "(cached) " >&6
9245 else $as_nop
9246 if test -n "$ac_ct_OTOOL"; then
9247 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9248 else
9249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9250 for as_dir in $PATH
9252 IFS=$as_save_IFS
9253 case $as_dir in #(((
9254 '') as_dir=./ ;;
9255 */) ;;
9256 *) as_dir=$as_dir/ ;;
9257 esac
9258 for ac_exec_ext in '' $ac_executable_extensions; do
9259 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9260 ac_cv_prog_ac_ct_OTOOL="otool"
9261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9262 break 2
9264 done
9265 done
9266 IFS=$as_save_IFS
9270 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9271 if test -n "$ac_ct_OTOOL"; then
9272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9273 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9274 else
9275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9276 printf "%s\n" "no" >&6; }
9279 if test "x$ac_ct_OTOOL" = x; then
9280 OTOOL="otool"
9281 else
9282 case $cross_compiling:$ac_tool_warned in
9283 yes:)
9284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9285 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9286 ac_tool_warned=yes ;;
9287 esac
9288 OTOOL=$ac_ct_OTOOL
9290 else
9291 OTOOL="$ac_cv_prog_OTOOL"
9294 if test -n "$ac_tool_prefix"; then
9295 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9296 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9298 printf %s "checking for $ac_word... " >&6; }
9299 if test ${ac_cv_prog_READELF+y}
9300 then :
9301 printf %s "(cached) " >&6
9302 else $as_nop
9303 if test -n "$READELF"; then
9304 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9305 else
9306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9307 for as_dir in $PATH
9309 IFS=$as_save_IFS
9310 case $as_dir in #(((
9311 '') as_dir=./ ;;
9312 */) ;;
9313 *) as_dir=$as_dir/ ;;
9314 esac
9315 for ac_exec_ext in '' $ac_executable_extensions; do
9316 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9317 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9319 break 2
9321 done
9322 done
9323 IFS=$as_save_IFS
9327 READELF=$ac_cv_prog_READELF
9328 if test -n "$READELF"; then
9329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9330 printf "%s\n" "$READELF" >&6; }
9331 else
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9333 printf "%s\n" "no" >&6; }
9338 if test -z "$ac_cv_prog_READELF"; then
9339 ac_ct_READELF=$READELF
9340 # Extract the first word of "readelf", so it can be a program name with args.
9341 set dummy readelf; ac_word=$2
9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9343 printf %s "checking for $ac_word... " >&6; }
9344 if test ${ac_cv_prog_ac_ct_READELF+y}
9345 then :
9346 printf %s "(cached) " >&6
9347 else $as_nop
9348 if test -n "$ac_ct_READELF"; then
9349 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9350 else
9351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9352 for as_dir in $PATH
9354 IFS=$as_save_IFS
9355 case $as_dir in #(((
9356 '') as_dir=./ ;;
9357 */) ;;
9358 *) as_dir=$as_dir/ ;;
9359 esac
9360 for ac_exec_ext in '' $ac_executable_extensions; do
9361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9362 ac_cv_prog_ac_ct_READELF="readelf"
9363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9364 break 2
9366 done
9367 done
9368 IFS=$as_save_IFS
9372 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9373 if test -n "$ac_ct_READELF"; then
9374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9375 printf "%s\n" "$ac_ct_READELF" >&6; }
9376 else
9377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9378 printf "%s\n" "no" >&6; }
9381 if test "x$ac_ct_READELF" = x; then
9382 READELF="true"
9383 else
9384 case $cross_compiling:$ac_tool_warned in
9385 yes:)
9386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9387 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9388 ac_tool_warned=yes ;;
9389 esac
9390 READELF=$ac_ct_READELF
9392 else
9393 READELF="$ac_cv_prog_READELF"
9396 wine_rules="all:"
9397 SUBDIRS=""
9399 DISABLED_SUBDIRS=""
9401 CONFIGURE_TARGETS=""
9404 wine_fn_config_makefile ()
9406 as_fn_append SUBDIRS " \\$as_nl $1"
9407 eval enable=\$$2
9408 case "$enable" in
9409 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9410 *aarch64*|*arm*|*i386*|*x86_64*)
9411 if test -n "$PE_ARCHS"
9412 then
9413 for i in $PE_ARCHS
9415 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9416 done
9417 else
9418 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9419 fi;;
9420 esac
9423 wine_fn_config_symlink ()
9425 ac_links=$@
9426 as_fn_append wine_rules "
9427 $ac_links:
9428 @./config.status \$@"
9429 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9432 case $host_os in
9433 cygwin*|mingw32*)
9434 LIBEXT="dll"
9435 DLLEXT=""
9436 EXTRACFLAGS="-D__WINE_PE_BUILD"
9437 case $host_cpu in
9438 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9439 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9440 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9441 then :
9442 printf %s "(cached) " >&6
9443 else $as_nop
9444 ac_wine_try_cflags_saved=$CFLAGS
9445 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9448 int main(int argc, char **argv) { return 0; }
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"
9451 then :
9452 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9453 else $as_nop
9454 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9457 conftest$ac_exeext conftest.$ac_ext
9458 CFLAGS=$ac_wine_try_cflags_saved
9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9461 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9462 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9463 then :
9464 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9465 fi ;;
9466 esac
9467 enable_loader=${enable_loader:-no}
9468 enable_server=${enable_server:-no}
9469 with_x=${with_x:-no}
9470 with_pthread=${with_pthread:-no}
9473 darwin*|macosx*)
9474 LIBEXT="dylib"
9475 DLLFLAGS="$DLLFLAGS -fPIC"
9476 LDDLLFLAGS="-fPIC"
9477 enable_winemac_drv=${enable_winemac_drv:-yes}
9478 CARBON_LIBS="-framework Carbon"
9480 COREFOUNDATION_LIBS="-framework CoreFoundation"
9482 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9484 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9486 METAL_LIBS="-framework Metal"
9488 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9490 CORESERVICES_LIBS="-framework CoreServices"
9492 APPKIT_LIBS="-framework AppKit"
9494 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9496 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9499 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9501 case $host_cpu in
9502 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9503 *) wine_can_build_preloader=no ;;
9504 esac
9506 if test "$wine_can_build_preloader" = "yes"
9507 then
9508 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9510 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9511 if test ${ac_cv_cflags__Wl__no_pie+y}
9512 then :
9513 printf %s "(cached) " >&6
9514 else $as_nop
9515 ac_wine_try_cflags_saved=$CFLAGS
9516 CFLAGS="$CFLAGS -Wl,-no_pie"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9519 int main(int argc, char **argv) { return 0; }
9520 _ACEOF
9521 if ac_fn_c_try_link "$LINENO"
9522 then :
9523 ac_cv_cflags__Wl__no_pie=yes
9524 else $as_nop
9525 ac_cv_cflags__Wl__no_pie=no
9527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9528 conftest$ac_exeext conftest.$ac_ext
9529 CFLAGS=$ac_wine_try_cflags_saved
9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9532 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9533 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9534 then :
9535 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9537 case $host_cpu in
9538 *i[3456]86*)
9539 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9541 *x86_64*)
9542 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9544 esac
9545 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9546 else
9547 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9550 if test "x$with_coreaudio" != "xno";
9551 then
9552 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9554 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9556 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9557 then
9558 OPENCL_LIBS="-framework OpenCL"
9560 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9564 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9565 ac_ext=m
9566 ac_cpp='$OBJCPP $CPPFLAGS'
9567 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9568 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9569 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9571 ac_ext=m
9572 ac_cpp='$OBJCPP $CPPFLAGS'
9573 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9574 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9575 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9576 if test -n "$ac_tool_prefix"; then
9577 for ac_prog in gcc objcc objc cc CC clang
9579 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9580 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9582 printf %s "checking for $ac_word... " >&6; }
9583 if test ${ac_cv_prog_OBJC+y}
9584 then :
9585 printf %s "(cached) " >&6
9586 else $as_nop
9587 if test -n "$OBJC"; then
9588 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9589 else
9590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9591 for as_dir in $PATH
9593 IFS=$as_save_IFS
9594 case $as_dir in #(((
9595 '') as_dir=./ ;;
9596 */) ;;
9597 *) as_dir=$as_dir/ ;;
9598 esac
9599 for ac_exec_ext in '' $ac_executable_extensions; do
9600 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9601 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9602 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9603 break 2
9605 done
9606 done
9607 IFS=$as_save_IFS
9611 OBJC=$ac_cv_prog_OBJC
9612 if test -n "$OBJC"; then
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9614 printf "%s\n" "$OBJC" >&6; }
9615 else
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9617 printf "%s\n" "no" >&6; }
9621 test -n "$OBJC" && break
9622 done
9624 if test -z "$OBJC"; then
9625 ac_ct_OBJC=$OBJC
9626 for ac_prog in gcc objcc objc cc CC clang
9628 # Extract the first word of "$ac_prog", so it can be a program name with args.
9629 set dummy $ac_prog; ac_word=$2
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9631 printf %s "checking for $ac_word... " >&6; }
9632 if test ${ac_cv_prog_ac_ct_OBJC+y}
9633 then :
9634 printf %s "(cached) " >&6
9635 else $as_nop
9636 if test -n "$ac_ct_OBJC"; then
9637 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9638 else
9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 for as_dir in $PATH
9642 IFS=$as_save_IFS
9643 case $as_dir in #(((
9644 '') as_dir=./ ;;
9645 */) ;;
9646 *) as_dir=$as_dir/ ;;
9647 esac
9648 for ac_exec_ext in '' $ac_executable_extensions; do
9649 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9650 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9652 break 2
9654 done
9655 done
9656 IFS=$as_save_IFS
9660 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9661 if test -n "$ac_ct_OBJC"; then
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9663 printf "%s\n" "$ac_ct_OBJC" >&6; }
9664 else
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 printf "%s\n" "no" >&6; }
9670 test -n "$ac_ct_OBJC" && break
9671 done
9673 if test "x$ac_ct_OBJC" = x; then
9674 OBJC="gcc"
9675 else
9676 case $cross_compiling:$ac_tool_warned in
9677 yes:)
9678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9679 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9680 ac_tool_warned=yes ;;
9681 esac
9682 OBJC=$ac_ct_OBJC
9686 # Provide some information about the compiler.
9687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9688 set X $ac_compile
9689 ac_compiler=$2
9690 for ac_option in --version -v -V -qversion; do
9691 { { ac_try="$ac_compiler $ac_option >&5"
9692 case "(($ac_try" in
9693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9694 *) ac_try_echo=$ac_try;;
9695 esac
9696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9697 printf "%s\n" "$ac_try_echo"; } >&5
9698 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9699 ac_status=$?
9700 if test -s conftest.err; then
9701 sed '10a\
9702 ... rest of stderr output deleted ...
9703 10q' conftest.err >conftest.er1
9704 cat conftest.er1 >&5
9706 rm -f conftest.er1 conftest.err
9707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9708 test $ac_status = 0; }
9709 done
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9712 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9713 if test ${ac_cv_objc_compiler_gnu+y}
9714 then :
9715 printf %s "(cached) " >&6
9716 else $as_nop
9717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9721 main (void)
9723 #ifndef __GNUC__
9724 choke me
9725 #endif
9728 return 0;
9730 _ACEOF
9731 if ac_fn_objc_try_compile "$LINENO"
9732 then :
9733 ac_compiler_gnu=yes
9734 else $as_nop
9735 ac_compiler_gnu=no
9737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9738 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9742 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9743 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9745 if test $ac_compiler_gnu = yes; then
9746 GOBJC=yes
9747 else
9748 GOBJC=
9750 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9751 ac_save_OBJCFLAGS=$OBJCFLAGS
9752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9753 printf %s "checking whether $OBJC accepts -g... " >&6; }
9754 if test ${ac_cv_prog_objc_g+y}
9755 then :
9756 printf %s "(cached) " >&6
9757 else $as_nop
9758 ac_save_objc_werror_flag=$ac_objc_werror_flag
9759 ac_objc_werror_flag=yes
9760 ac_cv_prog_objc_g=no
9761 OBJCFLAGS="-g"
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9766 main (void)
9770 return 0;
9772 _ACEOF
9773 if ac_fn_objc_try_compile "$LINENO"
9774 then :
9775 ac_cv_prog_objc_g=yes
9776 else $as_nop
9777 OBJCFLAGS=""
9778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9782 main (void)
9786 return 0;
9788 _ACEOF
9789 if ac_fn_objc_try_compile "$LINENO"
9790 then :
9792 else $as_nop
9793 ac_objc_werror_flag=$ac_save_objc_werror_flag
9794 OBJCFLAGS="-g"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9799 main (void)
9803 return 0;
9805 _ACEOF
9806 if ac_fn_objc_try_compile "$LINENO"
9807 then :
9808 ac_cv_prog_objc_g=yes
9810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9815 ac_objc_werror_flag=$ac_save_objc_werror_flag
9817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9818 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9819 if test $ac_test_OBJCFLAGS; then
9820 OBJCFLAGS=$ac_save_OBJCFLAGS
9821 elif test $ac_cv_prog_objc_g = yes; then
9822 if test "$GOBJC" = yes; then
9823 OBJCFLAGS="-g -O2"
9824 else
9825 OBJCFLAGS="-g"
9827 else
9828 if test "$GOBJC" = yes; then
9829 OBJCFLAGS="-O2"
9830 else
9831 OBJCFLAGS=
9834 ac_ext=m
9835 ac_cpp='$OBJCPP $CPPFLAGS'
9836 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9837 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9838 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9843 #include <Metal/Metal.h>
9845 main (void)
9847 id<MTLDevice> device; device.registryID;
9849 return 0;
9851 _ACEOF
9852 if ac_fn_objc_try_compile "$LINENO"
9853 then :
9854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9855 printf "%s\n" "yes" >&6; }
9857 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9859 else $as_nop
9860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9861 printf "%s\n" "no" >&6; }
9863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9864 ac_ext=c
9865 ac_cpp='$CPP $CPPFLAGS'
9866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9871 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9872 WINELOADER_DEPENDS="wine_info.plist"
9876 linux-android*)
9878 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9880 DLLFLAGS="$DLLFLAGS -fPIC"
9881 LDDLLFLAGS="-fPIC"
9882 LDEXECFLAGS="-Wl,-pie"
9883 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9885 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9886 if test ${ac_cv_cflags__Wl__z_defs+y}
9887 then :
9888 printf %s "(cached) " >&6
9889 else $as_nop
9890 ac_wine_try_cflags_saved=$CFLAGS
9891 CFLAGS="$CFLAGS -Wl,-z,defs"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9894 int main(int argc, char **argv) { return 0; }
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"
9897 then :
9898 ac_cv_cflags__Wl__z_defs=yes
9899 else $as_nop
9900 ac_cv_cflags__Wl__z_defs=no
9902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9903 conftest$ac_exeext conftest.$ac_ext
9904 CFLAGS=$ac_wine_try_cflags_saved
9906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9907 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9908 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9909 then :
9910 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9913 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9914 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9915 then :
9916 printf %s "(cached) " >&6
9917 else $as_nop
9918 ac_wine_try_cflags_saved=$CFLAGS
9919 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9922 int main(int argc, char **argv) { return 0; }
9923 _ACEOF
9924 if ac_fn_c_try_link "$LINENO"
9925 then :
9926 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9927 else $as_nop
9928 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9931 conftest$ac_exeext conftest.$ac_ext
9932 CFLAGS=$ac_wine_try_cflags_saved
9934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9935 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9936 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9937 then :
9938 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9940 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9943 printf %s "checking for -lEGL... " >&6; }
9944 if test ${ac_cv_lib_soname_EGL+y}
9945 then :
9946 printf %s "(cached) " >&6
9947 else $as_nop
9948 ac_check_soname_save_LIBS=$LIBS
9949 LIBS="-lEGL $LIBS"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9953 /* Override any GCC internal prototype to avoid an error.
9954 Use char because int might match the return type of a GCC
9955 builtin and then its argument prototype would still apply. */
9956 char eglGetProcAddress ();
9958 main (void)
9960 return eglGetProcAddress ();
9962 return 0;
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"
9966 then :
9967 case "$LIBEXT" in
9968 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9969 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'` ;;
9970 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9971 if ${ac_cv_lib_soname_EGL:+false} :
9972 then :
9973 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9974 fi ;;
9975 esac
9976 else $as_nop
9977 ac_cv_lib_soname_EGL=
9979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_soname_save_LIBS
9983 if ${ac_cv_lib_soname_EGL:+false} :
9984 then :
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9986 printf "%s\n" "not found" >&6; }
9988 else $as_nop
9989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9990 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9992 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9997 printf %s "checking for -lGLESv2... " >&6; }
9998 if test ${ac_cv_lib_soname_GLESv2+y}
9999 then :
10000 printf %s "(cached) " >&6
10001 else $as_nop
10002 ac_check_soname_save_LIBS=$LIBS
10003 LIBS="-lGLESv2 $LIBS"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10010 char glFlush ();
10012 main (void)
10014 return glFlush ();
10016 return 0;
10018 _ACEOF
10019 if ac_fn_c_try_link "$LINENO"
10020 then :
10021 case "$LIBEXT" in
10022 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10023 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'` ;;
10024 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10025 if ${ac_cv_lib_soname_GLESv2:+false} :
10026 then :
10027 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10028 fi ;;
10029 esac
10030 else $as_nop
10031 ac_cv_lib_soname_GLESv2=
10033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10034 conftest$ac_exeext conftest.$ac_ext
10035 LIBS=$ac_check_soname_save_LIBS
10037 if ${ac_cv_lib_soname_GLESv2:+false} :
10038 then :
10039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10040 printf "%s\n" "not found" >&6; }
10042 else $as_nop
10043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10044 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10046 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10051 if test "x$exec_prefix" = xNONE
10052 then
10053 case $host_cpu in
10054 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10055 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10056 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10057 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10058 esac
10064 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10066 test "$ac_cv_sys_file_offset_bits" = 64 &&
10067 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10069 case $host_cpu in
10070 *i[3456789]86*)
10071 DLLFLAGS="$DLLFLAGS -fno-PIC"
10072 LDDLLFLAGS="-fno-PIC"
10073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10074 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10075 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10076 then :
10077 printf %s "(cached) " >&6
10078 else $as_nop
10079 ac_wine_try_cflags_saved=$CFLAGS
10080 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10083 int main(int argc, char **argv) { return 0; }
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"
10086 then :
10087 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10088 else $as_nop
10089 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10092 conftest$ac_exeext conftest.$ac_ext
10093 CFLAGS=$ac_wine_try_cflags_saved
10095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10096 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10097 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10098 then :
10099 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10103 DLLFLAGS="$DLLFLAGS -fPIC"
10104 LDDLLFLAGS="-fPIC" ;;
10105 esac
10107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10108 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10109 if test ${ac_cv_wl_z_defs+y}
10110 then :
10111 printf %s "(cached) " >&6
10112 else $as_nop
10113 ac_save_CFLAGS="$CFLAGS"
10114 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10117 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10118 _ACEOF
10119 if ac_fn_c_try_link "$LINENO"
10120 then :
10121 ac_cv_wl_z_defs=yes
10122 else $as_nop
10123 ac_cv_wl_z_defs=no
10125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10126 conftest$ac_exeext conftest.$ac_ext
10127 CFLAGS=$ac_save_CFLAGS
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10130 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10131 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10134 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10135 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10136 then :
10137 printf %s "(cached) " >&6
10138 else $as_nop
10139 ac_wine_try_cflags_saved=$CFLAGS
10140 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 int main(int argc, char **argv) { return 0; }
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"
10146 then :
10147 ac_cv_cflags__Wl___export_dynamic=yes
10148 else $as_nop
10149 ac_cv_cflags__Wl___export_dynamic=no
10151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10152 conftest$ac_exeext conftest.$ac_ext
10153 CFLAGS=$ac_wine_try_cflags_saved
10155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10156 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10157 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10158 then :
10159 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10161 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10163 case $host_os in
10164 linux*)
10165 as_fn_append WINELOADER_LDFLAGS " -pie"
10166 case $HOST_ARCH in
10167 i386|arm)
10168 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10171 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10172 if test ${ac_cv_cflags__static_pie+y}
10173 then :
10174 printf %s "(cached) " >&6
10175 else $as_nop
10176 ac_wine_try_cflags_saved=$CFLAGS
10177 CFLAGS="$CFLAGS -static-pie"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10180 int main(int argc, char **argv) { return 0; }
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"
10183 then :
10184 ac_cv_cflags__static_pie=yes
10185 else $as_nop
10186 ac_cv_cflags__static_pie=no
10188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10189 conftest$ac_exeext conftest.$ac_ext
10190 CFLAGS=$ac_wine_try_cflags_saved
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10193 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10194 if test "x$ac_cv_cflags__static_pie" = xyes
10195 then :
10196 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10197 else $as_nop
10198 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10201 esac
10204 case $HOST_ARCH in
10205 i386|arm)
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10207 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10208 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10209 then :
10210 printf %s "(cached) " >&6
10211 else $as_nop
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int main(int argc, char **argv) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"
10219 then :
10220 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10221 else $as_nop
10222 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10229 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10230 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10231 then :
10232 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10233 else $as_nop
10234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10235 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10236 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10237 then :
10238 printf %s "(cached) " >&6
10239 else $as_nop
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10244 int main(int argc, char **argv) { return 0; }
10245 _ACEOF
10246 if ac_fn_c_try_link "$LINENO"
10247 then :
10248 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10249 else $as_nop
10250 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10253 conftest$ac_exeext conftest.$ac_ext
10254 CFLAGS=$ac_wine_try_cflags_saved
10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10257 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10258 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10259 then :
10260 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10265 as_fn_append WINELOADER_LDFLAGS " -pie"
10267 esac
10269 esac
10271 esac
10273 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10274 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10275 enable_winemac_drv=${enable_winemac_drv:-no}
10277 PE_ARCHS=""
10279 cross_archs=
10280 if test ${enable_archs+y}
10281 then :
10282 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10283 ac_save_IFS=$IFS
10284 IFS=' ,'
10285 set x $enable_archs
10286 IFS=$ac_save_IFS
10287 shift
10288 for arch
10290 case $arch in
10291 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10292 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10293 esac
10294 done
10295 else $as_nop
10296 if test "x$with_mingw" != xno
10297 then
10298 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10302 for wine_arch in $cross_archs
10304 case "x$with_mingw" in
10305 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10306 esac
10307 if eval \${${wine_arch}_CC:+false} :
10308 then :
10309 case $wine_arch in
10310 aarch64)
10311 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10313 # Extract the first word of "$ac_prog", so it can be a program name with args.
10314 set dummy $ac_prog; ac_word=$2
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10316 printf %s "checking for $ac_word... " >&6; }
10317 if test ${ac_cv_prog_aarch64_CC+y}
10318 then :
10319 printf %s "(cached) " >&6
10320 else $as_nop
10321 if test -n "$aarch64_CC"; then
10322 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10323 else
10324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10325 for as_dir in $PATH
10327 IFS=$as_save_IFS
10328 case $as_dir in #(((
10329 '') as_dir=./ ;;
10330 */) ;;
10331 *) as_dir=$as_dir/ ;;
10332 esac
10333 for ac_exec_ext in '' $ac_executable_extensions; do
10334 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10335 ac_cv_prog_aarch64_CC="$ac_prog"
10336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10337 break 2
10339 done
10340 done
10341 IFS=$as_save_IFS
10345 aarch64_CC=$ac_cv_prog_aarch64_CC
10346 if test -n "$aarch64_CC"; then
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10348 printf "%s\n" "$aarch64_CC" >&6; }
10349 else
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10351 printf "%s\n" "no" >&6; }
10355 test -n "$aarch64_CC" && break
10356 done
10357 test -n "$aarch64_CC" || aarch64_CC="false"
10360 arm)
10361 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10363 # Extract the first word of "$ac_prog", so it can be a program name with args.
10364 set dummy $ac_prog; ac_word=$2
10365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10366 printf %s "checking for $ac_word... " >&6; }
10367 if test ${ac_cv_prog_arm_CC+y}
10368 then :
10369 printf %s "(cached) " >&6
10370 else $as_nop
10371 if test -n "$arm_CC"; then
10372 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10373 else
10374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10375 for as_dir in $PATH
10377 IFS=$as_save_IFS
10378 case $as_dir in #(((
10379 '') as_dir=./ ;;
10380 */) ;;
10381 *) as_dir=$as_dir/ ;;
10382 esac
10383 for ac_exec_ext in '' $ac_executable_extensions; do
10384 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10385 ac_cv_prog_arm_CC="$ac_prog"
10386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10387 break 2
10389 done
10390 done
10391 IFS=$as_save_IFS
10395 arm_CC=$ac_cv_prog_arm_CC
10396 if test -n "$arm_CC"; then
10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10398 printf "%s\n" "$arm_CC" >&6; }
10399 else
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10401 printf "%s\n" "no" >&6; }
10405 test -n "$arm_CC" && break
10406 done
10407 test -n "$arm_CC" || arm_CC="false"
10410 i386)
10411 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 "
10412 for ac_prog in $ac_prefix_list clang
10414 # Extract the first word of "$ac_prog", so it can be a program name with args.
10415 set dummy $ac_prog; ac_word=$2
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10417 printf %s "checking for $ac_word... " >&6; }
10418 if test ${ac_cv_prog_i386_CC+y}
10419 then :
10420 printf %s "(cached) " >&6
10421 else $as_nop
10422 if test -n "$i386_CC"; then
10423 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10424 else
10425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10426 for as_dir in $PATH
10428 IFS=$as_save_IFS
10429 case $as_dir in #(((
10430 '') as_dir=./ ;;
10431 */) ;;
10432 *) as_dir=$as_dir/ ;;
10433 esac
10434 for ac_exec_ext in '' $ac_executable_extensions; do
10435 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_i386_CC="$ac_prog"
10437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10438 break 2
10440 done
10441 done
10442 IFS=$as_save_IFS
10446 i386_CC=$ac_cv_prog_i386_CC
10447 if test -n "$i386_CC"; then
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10449 printf "%s\n" "$i386_CC" >&6; }
10450 else
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10452 printf "%s\n" "no" >&6; }
10456 test -n "$i386_CC" && break
10457 done
10458 test -n "$i386_CC" || i386_CC="false"
10461 x86_64)
10462 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10463 for ac_prog in $ac_prefix_list clang
10465 # Extract the first word of "$ac_prog", so it can be a program name with args.
10466 set dummy $ac_prog; ac_word=$2
10467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10468 printf %s "checking for $ac_word... " >&6; }
10469 if test ${ac_cv_prog_x86_64_CC+y}
10470 then :
10471 printf %s "(cached) " >&6
10472 else $as_nop
10473 if test -n "$x86_64_CC"; then
10474 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10475 else
10476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 for as_dir in $PATH
10479 IFS=$as_save_IFS
10480 case $as_dir in #(((
10481 '') as_dir=./ ;;
10482 */) ;;
10483 *) as_dir=$as_dir/ ;;
10484 esac
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10487 ac_cv_prog_x86_64_CC="$ac_prog"
10488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10489 break 2
10491 done
10492 done
10493 IFS=$as_save_IFS
10497 x86_64_CC=$ac_cv_prog_x86_64_CC
10498 if test -n "$x86_64_CC"; then
10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10500 printf "%s\n" "$x86_64_CC" >&6; }
10501 else
10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10503 printf "%s\n" "no" >&6; }
10507 test -n "$x86_64_CC" && break
10508 done
10509 test -n "$x86_64_CC" || x86_64_CC="false"
10512 esac
10515 saved_CC=$CC
10516 saved_CFLAGS=$CFLAGS
10517 saved_LDFLAGS=$LDFLAGS
10519 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10520 LDFLAGS=$CROSSLDFLAGS
10521 eval CC=\$${wine_arch}_CC
10522 eval ${wine_arch}_CFLAGS=\$CFLAGS
10523 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10524 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10526 target=""
10527 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10529 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10530 then :
10532 else $as_nop
10533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10534 printf %s "checking whether $CC works... " >&6; }
10535 if eval test \${$as_wine_cv_crosscc+y}
10536 then :
10537 printf %s "(cached) " >&6
10538 else $as_nop
10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10543 main (void)
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_compile "$LINENO"
10551 then :
10552 eval "$as_wine_cv_crosscc=yes"
10553 else $as_nop
10554 eval "$as_wine_cv_crosscc=no"
10556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10558 eval ac_res=\$$as_wine_cv_crosscc
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10560 printf "%s\n" "$ac_res" >&6; }
10562 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10563 then :
10564 set x $CC
10565 shift
10566 while test $# -ge 1
10568 case "$1" in
10569 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10570 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10571 esac
10572 shift
10573 done
10575 llvm_target=$target
10576 if test -z "$llvm_target"
10577 then
10578 case $wine_arch in
10579 i386) llvm_target=i686-windows ;;
10580 arm) llvm_target=armv7-windows ;;
10581 *) llvm_target=$wine_arch-windows ;;
10582 esac
10584 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10585 case $llvm_target in
10586 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10587 esac
10588 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10590 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10591 if eval test \${$as_ac_var+y}
10592 then :
10593 printf %s "(cached) " >&6
10594 else $as_nop
10595 ac_wine_try_cflags_saved=$CFLAGS
10596 ac_wine_try_cflags_saved_exeext=$ac_exeext
10597 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10598 ac_exeext=".exe"
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10601 int __cdecl mainCRTStartup(void) { return 0; }
10602 _ACEOF
10603 if ac_fn_c_try_link "$LINENO"
10604 then :
10605 eval "$as_ac_var=yes"
10606 else $as_nop
10607 eval "$as_ac_var=no"
10609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10610 conftest$ac_exeext conftest.$ac_ext
10611 CFLAGS=$ac_wine_try_cflags_saved
10612 ac_exeext=$ac_wine_try_cflags_saved_exeext
10614 eval ac_res=\$$as_ac_var
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10616 printf "%s\n" "$ac_res" >&6; }
10617 if eval test \"x\$"$as_ac_var"\" = x"yes"
10618 then :
10619 target=$llvm_target
10620 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10621 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10622 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10623 fi }
10624 eval "${wine_arch}_TARGET=\$target"
10628 if test -z "$target"
10629 then
10630 if test ${enable_archs+y}
10631 then :
10632 as_fn_error $? "MinGW $wine_arch compiler not found.
10633 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10635 CC=$saved_CC
10636 CFLAGS=$saved_CFLAGS
10637 LDFLAGS=$saved_LDFLAGS
10638 continue
10641 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10644 printf %s "checking for $CC option to enable C99 features... " >&6; }
10645 if eval test \${$as_wine_cv_crosscc_c99+y}
10646 then :
10647 printf %s "(cached) " >&6
10648 else $as_nop
10649 eval "$as_wine_cv_crosscc_c99=no"
10650 for arg in '' '-std=gnu99' '-D__STDC__'
10652 test -z "$arg" || CC="$CC $arg"
10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10655 $ac_c_conftest_c99_program
10656 _ACEOF
10657 if ac_fn_c_try_compile "$LINENO"
10658 then :
10659 eval "$as_wine_cv_crosscc_c99=\$arg"
10660 else $as_nop
10661 eval "$as_wine_cv_crosscc_c99=no"
10663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10664 eval CC=\$${wine_arch}_CC
10665 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10666 then :
10668 else $as_nop
10669 break
10671 done
10674 eval res=\$$as_wine_cv_crosscc_c99
10676 case "x$res" in
10677 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10678 printf "%s\n" "none needed" >&6; } ;;
10679 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10680 printf "%s\n" "unsupported" >&6; }
10681 CC=$saved_CC
10682 CFLAGS=$saved_CFLAGS
10683 LDFLAGS=$saved_LDFLAGS
10684 if test ${enable_archs+y}
10685 then :
10686 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10687 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10689 continue
10691 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10692 printf "%s\n" "$res" >&6; }
10693 as_fn_append ${wine_arch}_CC " $res" ;;
10694 esac
10696 as_fn_append PE_ARCHS " $wine_arch"
10697 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10699 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10700 if eval test \${$as_ac_var+y}
10701 then :
10702 printf %s "(cached) " >&6
10703 else $as_nop
10704 ac_wine_try_cflags_saved=$CFLAGS
10705 ac_wine_try_cflags_saved_exeext=$ac_exeext
10706 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10707 ac_exeext=".exe"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 int __cdecl mainCRTStartup(void) { return 0; }
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"
10713 then :
10714 eval "$as_ac_var=yes"
10715 else $as_nop
10716 eval "$as_ac_var=no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10719 conftest$ac_exeext conftest.$ac_ext
10720 CFLAGS=$ac_wine_try_cflags_saved
10721 ac_exeext=$ac_wine_try_cflags_saved_exeext
10723 eval ac_res=\$$as_ac_var
10724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10725 printf "%s\n" "$ac_res" >&6; }
10726 if eval test \"x\$"$as_ac_var"\" = x"yes"
10727 then :
10728 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10729 fi }
10730 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10732 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10733 if eval test \${$as_ac_var+y}
10734 then :
10735 printf %s "(cached) " >&6
10736 else $as_nop
10737 ac_wine_try_cflags_saved=$CFLAGS
10738 ac_wine_try_cflags_saved_exeext=$ac_exeext
10739 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10740 ac_exeext=".exe"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10743 int __cdecl mainCRTStartup(void) { return 0; }
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"
10746 then :
10747 eval "$as_ac_var=yes"
10748 else $as_nop
10749 eval "$as_ac_var=no"
10751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10752 conftest$ac_exeext conftest.$ac_ext
10753 CFLAGS=$ac_wine_try_cflags_saved
10754 ac_exeext=$ac_wine_try_cflags_saved_exeext
10756 eval ac_res=\$$as_ac_var
10757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10758 printf "%s\n" "$ac_res" >&6; }
10759 if eval test \"x\$"$as_ac_var"\" = x"yes"
10760 then :
10761 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10762 fi }
10763 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10765 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10766 if eval test \${$as_ac_var+y}
10767 then :
10768 printf %s "(cached) " >&6
10769 else $as_nop
10770 ac_wine_try_cflags_saved=$CFLAGS
10771 ac_wine_try_cflags_saved_exeext=$ac_exeext
10772 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10773 ac_exeext=".exe"
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10776 int __cdecl mainCRTStartup(void) { return 0; }
10777 _ACEOF
10778 if ac_fn_c_try_link "$LINENO"
10779 then :
10780 eval "$as_ac_var=yes"
10781 else $as_nop
10782 eval "$as_ac_var=no"
10784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10785 conftest$ac_exeext conftest.$ac_ext
10786 CFLAGS=$ac_wine_try_cflags_saved
10787 ac_exeext=$ac_wine_try_cflags_saved_exeext
10789 eval ac_res=\$$as_ac_var
10790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10791 printf "%s\n" "$ac_res" >&6; }
10792 if eval test \"x\$"$as_ac_var"\" = x"yes"
10793 then :
10794 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10795 fi }
10796 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10798 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10799 if eval test \${$as_ac_var+y}
10800 then :
10801 printf %s "(cached) " >&6
10802 else $as_nop
10803 ac_wine_try_cflags_saved=$CFLAGS
10804 ac_wine_try_cflags_saved_exeext=$ac_exeext
10805 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10806 ac_exeext=".exe"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10809 int __cdecl mainCRTStartup(void) { return 0; }
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"
10812 then :
10813 eval "$as_ac_var=yes"
10814 else $as_nop
10815 eval "$as_ac_var=no"
10817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10818 conftest$ac_exeext conftest.$ac_ext
10819 CFLAGS=$ac_wine_try_cflags_saved
10820 ac_exeext=$ac_wine_try_cflags_saved_exeext
10822 eval ac_res=\$$as_ac_var
10823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10824 printf "%s\n" "$ac_res" >&6; }
10825 if eval test \"x\$"$as_ac_var"\" = x"yes"
10826 then :
10827 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10828 fi }
10829 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10831 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10832 if eval test \${$as_ac_var+y}
10833 then :
10834 printf %s "(cached) " >&6
10835 else $as_nop
10836 ac_wine_try_cflags_saved=$CFLAGS
10837 ac_wine_try_cflags_saved_exeext=$ac_exeext
10838 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10839 ac_exeext=".exe"
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10842 int __cdecl mainCRTStartup(void) { return 0; }
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"
10845 then :
10846 eval "$as_ac_var=yes"
10847 else $as_nop
10848 eval "$as_ac_var=no"
10850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10851 conftest$ac_exeext conftest.$ac_ext
10852 CFLAGS=$ac_wine_try_cflags_saved
10853 ac_exeext=$ac_wine_try_cflags_saved_exeext
10855 eval ac_res=\$$as_ac_var
10856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10857 printf "%s\n" "$ac_res" >&6; }
10858 if eval test \"x\$"$as_ac_var"\" = x"yes"
10859 then :
10860 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10861 fi }
10862 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10864 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10865 if eval test \${$as_ac_var+y}
10866 then :
10867 printf %s "(cached) " >&6
10868 else $as_nop
10869 ac_wine_try_cflags_saved=$CFLAGS
10870 ac_wine_try_cflags_saved_exeext=$ac_exeext
10871 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10872 ac_exeext=".exe"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10875 int __cdecl mainCRTStartup(void) { return 0; }
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"
10878 then :
10879 eval "$as_ac_var=yes"
10880 else $as_nop
10881 eval "$as_ac_var=no"
10883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10884 conftest$ac_exeext conftest.$ac_ext
10885 CFLAGS=$ac_wine_try_cflags_saved
10886 ac_exeext=$ac_wine_try_cflags_saved_exeext
10888 eval ac_res=\$$as_ac_var
10889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10890 printf "%s\n" "$ac_res" >&6; }
10891 if eval test \"x\$"$as_ac_var"\" = x"yes"
10892 then :
10893 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10894 fi }
10895 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10897 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10898 if eval test \${$as_ac_var+y}
10899 then :
10900 printf %s "(cached) " >&6
10901 else $as_nop
10902 ac_wine_try_cflags_saved=$CFLAGS
10903 ac_wine_try_cflags_saved_exeext=$ac_exeext
10904 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10905 ac_exeext=".exe"
10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10908 int __cdecl mainCRTStartup(void) { return 0; }
10909 _ACEOF
10910 if ac_fn_c_try_link "$LINENO"
10911 then :
10912 eval "$as_ac_var=yes"
10913 else $as_nop
10914 eval "$as_ac_var=no"
10916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10917 conftest$ac_exeext conftest.$ac_ext
10918 CFLAGS=$ac_wine_try_cflags_saved
10919 ac_exeext=$ac_wine_try_cflags_saved_exeext
10921 eval ac_res=\$$as_ac_var
10922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10923 printf "%s\n" "$ac_res" >&6; }
10924 if eval test \"x\$"$as_ac_var"\" = x"yes"
10925 then :
10926 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10927 fi }
10928 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10930 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10931 if eval test \${$as_ac_var+y}
10932 then :
10933 printf %s "(cached) " >&6
10934 else $as_nop
10935 ac_wine_try_cflags_saved=$CFLAGS
10936 ac_wine_try_cflags_saved_exeext=$ac_exeext
10937 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10938 ac_exeext=".exe"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 int __cdecl mainCRTStartup(void) { return 0; }
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"
10944 then :
10945 eval "$as_ac_var=yes"
10946 else $as_nop
10947 eval "$as_ac_var=no"
10949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10950 conftest$ac_exeext conftest.$ac_ext
10951 CFLAGS=$ac_wine_try_cflags_saved
10952 ac_exeext=$ac_wine_try_cflags_saved_exeext
10954 eval ac_res=\$$as_ac_var
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10956 printf "%s\n" "$ac_res" >&6; }
10957 if eval test \"x\$"$as_ac_var"\" = x"yes"
10958 then :
10959 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10960 fi }
10961 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10963 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10964 if eval test \${$as_ac_var+y}
10965 then :
10966 printf %s "(cached) " >&6
10967 else $as_nop
10968 ac_wine_try_cflags_saved=$CFLAGS
10969 ac_wine_try_cflags_saved_exeext=$ac_exeext
10970 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10971 ac_exeext=".exe"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10974 int __cdecl mainCRTStartup(void) { return 0; }
10975 _ACEOF
10976 if ac_fn_c_try_link "$LINENO"
10977 then :
10978 eval "$as_ac_var=yes"
10979 else $as_nop
10980 eval "$as_ac_var=no"
10982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10983 conftest$ac_exeext conftest.$ac_ext
10984 CFLAGS=$ac_wine_try_cflags_saved
10985 ac_exeext=$ac_wine_try_cflags_saved_exeext
10987 eval ac_res=\$$as_ac_var
10988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10989 printf "%s\n" "$ac_res" >&6; }
10990 if eval test \"x\$"$as_ac_var"\" = x"yes"
10991 then :
10992 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10993 fi }
10994 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10996 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10997 if eval test \${$as_ac_var+y}
10998 then :
10999 printf %s "(cached) " >&6
11000 else $as_nop
11001 ac_wine_try_cflags_saved=$CFLAGS
11002 ac_wine_try_cflags_saved_exeext=$ac_exeext
11003 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11004 ac_exeext=".exe"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11007 int __cdecl mainCRTStartup(void) { return 0; }
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"
11010 then :
11011 eval "$as_ac_var=yes"
11012 else $as_nop
11013 eval "$as_ac_var=no"
11015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11016 conftest$ac_exeext conftest.$ac_ext
11017 CFLAGS=$ac_wine_try_cflags_saved
11018 ac_exeext=$ac_wine_try_cflags_saved_exeext
11020 eval ac_res=\$$as_ac_var
11021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11022 printf "%s\n" "$ac_res" >&6; }
11023 if eval test \"x\$"$as_ac_var"\" = x"yes"
11024 then :
11025 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11026 fi }
11027 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11029 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11030 if eval test \${$as_ac_var+y}
11031 then :
11032 printf %s "(cached) " >&6
11033 else $as_nop
11034 ac_wine_try_cflags_saved=$CFLAGS
11035 ac_wine_try_cflags_saved_exeext=$ac_exeext
11036 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11037 ac_exeext=".exe"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11040 int __cdecl mainCRTStartup(void) { return 0; }
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"
11043 then :
11044 eval "$as_ac_var=yes"
11045 else $as_nop
11046 eval "$as_ac_var=no"
11048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11049 conftest$ac_exeext conftest.$ac_ext
11050 CFLAGS=$ac_wine_try_cflags_saved
11051 ac_exeext=$ac_wine_try_cflags_saved_exeext
11053 eval ac_res=\$$as_ac_var
11054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11055 printf "%s\n" "$ac_res" >&6; }
11056 if eval test \"x\$"$as_ac_var"\" = x"yes"
11057 then :
11058 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11059 fi }
11060 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11062 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11063 if eval test \${$as_ac_var+y}
11064 then :
11065 printf %s "(cached) " >&6
11066 else $as_nop
11067 ac_wine_try_cflags_saved=$CFLAGS
11068 ac_wine_try_cflags_saved_exeext=$ac_exeext
11069 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11070 ac_exeext=".exe"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11073 int __cdecl mainCRTStartup(void) { return 0; }
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"
11076 then :
11077 eval "$as_ac_var=yes"
11078 else $as_nop
11079 eval "$as_ac_var=no"
11081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11082 conftest$ac_exeext conftest.$ac_ext
11083 CFLAGS=$ac_wine_try_cflags_saved
11084 ac_exeext=$ac_wine_try_cflags_saved_exeext
11086 eval ac_res=\$$as_ac_var
11087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11088 printf "%s\n" "$ac_res" >&6; }
11089 if eval test \"x\$"$as_ac_var"\" = x"yes"
11090 then :
11091 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11092 fi }
11093 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11095 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11096 if eval test \${$as_ac_var+y}
11097 then :
11098 printf %s "(cached) " >&6
11099 else $as_nop
11100 ac_wine_try_cflags_saved=$CFLAGS
11101 ac_wine_try_cflags_saved_exeext=$ac_exeext
11102 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11103 ac_exeext=".exe"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11106 int __cdecl mainCRTStartup(void) { return 0; }
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"
11109 then :
11110 eval "$as_ac_var=yes"
11111 else $as_nop
11112 eval "$as_ac_var=no"
11114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11115 conftest$ac_exeext conftest.$ac_ext
11116 CFLAGS=$ac_wine_try_cflags_saved
11117 ac_exeext=$ac_wine_try_cflags_saved_exeext
11119 eval ac_res=\$$as_ac_var
11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11121 printf "%s\n" "$ac_res" >&6; }
11122 if eval test \"x\$"$as_ac_var"\" = x"yes"
11123 then :
11124 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11125 fi }
11126 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11128 printf %s "checking whether $CC supports -Wvla... " >&6; }
11129 if eval test \${$as_ac_var+y}
11130 then :
11131 printf %s "(cached) " >&6
11132 else $as_nop
11133 ac_wine_try_cflags_saved=$CFLAGS
11134 ac_wine_try_cflags_saved_exeext=$ac_exeext
11135 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11136 ac_exeext=".exe"
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11139 int __cdecl mainCRTStartup(void) { return 0; }
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"
11142 then :
11143 eval "$as_ac_var=yes"
11144 else $as_nop
11145 eval "$as_ac_var=no"
11147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11148 conftest$ac_exeext conftest.$ac_ext
11149 CFLAGS=$ac_wine_try_cflags_saved
11150 ac_exeext=$ac_wine_try_cflags_saved_exeext
11152 eval ac_res=\$$as_ac_var
11153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11154 printf "%s\n" "$ac_res" >&6; }
11155 if eval test \"x\$"$as_ac_var"\" = x"yes"
11156 then :
11157 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11158 fi }
11159 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11161 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11162 if eval test \${$as_ac_var+y}
11163 then :
11164 printf %s "(cached) " >&6
11165 else $as_nop
11166 ac_wine_try_cflags_saved=$CFLAGS
11167 ac_wine_try_cflags_saved_exeext=$ac_exeext
11168 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11169 ac_exeext=".exe"
11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11172 int __cdecl mainCRTStartup(void) { return 0; }
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"
11175 then :
11176 eval "$as_ac_var=yes"
11177 else $as_nop
11178 eval "$as_ac_var=no"
11180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11181 conftest$ac_exeext conftest.$ac_ext
11182 CFLAGS=$ac_wine_try_cflags_saved
11183 ac_exeext=$ac_wine_try_cflags_saved_exeext
11185 eval ac_res=\$$as_ac_var
11186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11187 printf "%s\n" "$ac_res" >&6; }
11188 if eval test \"x\$"$as_ac_var"\" = x"yes"
11189 then :
11190 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11191 fi }
11192 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11194 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11195 if eval test \${$as_ac_var+y}
11196 then :
11197 printf %s "(cached) " >&6
11198 else $as_nop
11199 ac_wine_try_cflags_saved=$CFLAGS
11200 ac_wine_try_cflags_saved_exeext=$ac_exeext
11201 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11202 ac_exeext=".exe"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11205 int __cdecl mainCRTStartup(void) { return 0; }
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"
11208 then :
11209 eval "$as_ac_var=yes"
11210 else $as_nop
11211 eval "$as_ac_var=no"
11213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11214 conftest$ac_exeext conftest.$ac_ext
11215 CFLAGS=$ac_wine_try_cflags_saved
11216 ac_exeext=$ac_wine_try_cflags_saved_exeext
11218 eval ac_res=\$$as_ac_var
11219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11220 printf "%s\n" "$ac_res" >&6; }
11221 if eval test \"x\$"$as_ac_var"\" = x"yes"
11222 then :
11223 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11224 fi }
11225 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11227 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11228 if eval test \${$as_ac_var+y}
11229 then :
11230 printf %s "(cached) " >&6
11231 else $as_nop
11232 ac_wine_try_cflags_saved=$CFLAGS
11233 ac_wine_try_cflags_saved_exeext=$ac_exeext
11234 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11235 ac_exeext=".exe"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11238 int __cdecl mainCRTStartup(void) { return 0; }
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"
11241 then :
11242 eval "$as_ac_var=yes"
11243 else $as_nop
11244 eval "$as_ac_var=no"
11246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11247 conftest$ac_exeext conftest.$ac_ext
11248 CFLAGS=$ac_wine_try_cflags_saved
11249 ac_exeext=$ac_wine_try_cflags_saved_exeext
11251 eval ac_res=\$$as_ac_var
11252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11253 printf "%s\n" "$ac_res" >&6; }
11254 if eval test \"x\$"$as_ac_var"\" = x"yes"
11255 then :
11256 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11257 fi }
11258 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11260 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11261 if eval test \${$as_ac_var+y}
11262 then :
11263 printf %s "(cached) " >&6
11264 else $as_nop
11265 ac_wine_try_cflags_saved=$CFLAGS
11266 ac_wine_try_cflags_saved_exeext=$ac_exeext
11267 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11268 ac_exeext=".exe"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11271 int __cdecl mainCRTStartup(void) { return 0; }
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"
11274 then :
11275 eval "$as_ac_var=yes"
11276 else $as_nop
11277 eval "$as_ac_var=no"
11279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11280 conftest$ac_exeext conftest.$ac_ext
11281 CFLAGS=$ac_wine_try_cflags_saved
11282 ac_exeext=$ac_wine_try_cflags_saved_exeext
11284 eval ac_res=\$$as_ac_var
11285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11286 printf "%s\n" "$ac_res" >&6; }
11287 if eval test \"x\$"$as_ac_var"\" = x"yes"
11288 then :
11289 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11290 fi }
11292 case $wine_arch in
11293 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11295 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11296 if eval test \${$as_ac_var+y}
11297 then :
11298 printf %s "(cached) " >&6
11299 else $as_nop
11300 ac_wine_try_cflags_saved=$CFLAGS
11301 ac_wine_try_cflags_saved_exeext=$ac_exeext
11302 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11303 ac_exeext=".exe"
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11306 int __cdecl mainCRTStartup(void) { return 0; }
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"
11309 then :
11310 eval "$as_ac_var=yes"
11311 else $as_nop
11312 eval "$as_ac_var=no"
11314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11315 conftest$ac_exeext conftest.$ac_ext
11316 CFLAGS=$ac_wine_try_cflags_saved
11317 ac_exeext=$ac_wine_try_cflags_saved_exeext
11319 eval ac_res=\$$as_ac_var
11320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11321 printf "%s\n" "$ac_res" >&6; }
11322 if eval test \"x\$"$as_ac_var"\" = x"yes"
11323 then :
11324 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11325 fi }
11326 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11328 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11329 if eval test \${$as_ac_var+y}
11330 then :
11331 printf %s "(cached) " >&6
11332 else $as_nop
11333 ac_wine_try_cflags_saved=$CFLAGS
11334 ac_wine_try_cflags_saved_exeext=$ac_exeext
11335 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11336 ac_exeext=".exe"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11339 int __cdecl mainCRTStartup(void) { return 0; }
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"
11342 then :
11343 eval "$as_ac_var=yes"
11344 else $as_nop
11345 eval "$as_ac_var=no"
11347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11348 conftest$ac_exeext conftest.$ac_ext
11349 CFLAGS=$ac_wine_try_cflags_saved
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 eval ac_res=\$$as_ac_var
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11354 printf "%s\n" "$ac_res" >&6; }
11355 if eval test \"x\$"$as_ac_var"\" = x"yes"
11356 then :
11357 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11358 fi } ;;
11359 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11361 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11362 if eval test \${$as_ac_var+y}
11363 then :
11364 printf %s "(cached) " >&6
11365 else $as_nop
11366 ac_wine_try_cflags_saved=$CFLAGS
11367 ac_wine_try_cflags_saved_exeext=$ac_exeext
11368 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11369 ac_exeext=".exe"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372 int __cdecl mainCRTStartup(void) { return 0; }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"
11375 then :
11376 eval "$as_ac_var=yes"
11377 else $as_nop
11378 eval "$as_ac_var=no"
11380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11381 conftest$ac_exeext conftest.$ac_ext
11382 CFLAGS=$ac_wine_try_cflags_saved
11383 ac_exeext=$ac_wine_try_cflags_saved_exeext
11385 eval ac_res=\$$as_ac_var
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11387 printf "%s\n" "$ac_res" >&6; }
11388 if eval test \"x\$"$as_ac_var"\" = x"yes"
11389 then :
11390 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11391 fi }
11392 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11394 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11395 if eval test \${$as_ac_var+y}
11396 then :
11397 printf %s "(cached) " >&6
11398 else $as_nop
11399 ac_wine_try_cflags_saved=$CFLAGS
11400 ac_wine_try_cflags_saved_exeext=$ac_exeext
11401 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11402 ac_exeext=".exe"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11405 int __cdecl mainCRTStartup(void) { return 0; }
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"
11408 then :
11409 eval "$as_ac_var=yes"
11410 else $as_nop
11411 eval "$as_ac_var=no"
11413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11414 conftest$ac_exeext conftest.$ac_ext
11415 CFLAGS=$ac_wine_try_cflags_saved
11416 ac_exeext=$ac_wine_try_cflags_saved_exeext
11418 eval ac_res=\$$as_ac_var
11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11420 printf "%s\n" "$ac_res" >&6; }
11421 if eval test \"x\$"$as_ac_var"\" = x"yes"
11422 then :
11423 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11424 fi }
11425 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11427 printf %s "checking whether $CC supports -mcx16... " >&6; }
11428 if eval test \${$as_ac_var+y}
11429 then :
11430 printf %s "(cached) " >&6
11431 else $as_nop
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_exeext=$ac_exeext
11434 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11435 ac_exeext=".exe"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11438 int __cdecl mainCRTStartup(void) { return 0; }
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"
11441 then :
11442 eval "$as_ac_var=yes"
11443 else $as_nop
11444 eval "$as_ac_var=no"
11446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11447 conftest$ac_exeext conftest.$ac_ext
11448 CFLAGS=$ac_wine_try_cflags_saved
11449 ac_exeext=$ac_wine_try_cflags_saved_exeext
11451 eval ac_res=\$$as_ac_var
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11453 printf "%s\n" "$ac_res" >&6; }
11454 if eval test \"x\$"$as_ac_var"\" = x"yes"
11455 then :
11456 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11457 fi }
11458 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11460 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11461 if eval test \${$as_ac_var+y}
11462 then :
11463 printf %s "(cached) " >&6
11464 else $as_nop
11465 ac_wine_try_cflags_saved=$CFLAGS
11466 ac_wine_try_cflags_saved_exeext=$ac_exeext
11467 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11468 ac_exeext=".exe"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11471 int __cdecl mainCRTStartup(void) { return 0; }
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"
11474 then :
11475 eval "$as_ac_var=yes"
11476 else $as_nop
11477 eval "$as_ac_var=no"
11479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11480 conftest$ac_exeext conftest.$ac_ext
11481 CFLAGS=$ac_wine_try_cflags_saved
11482 ac_exeext=$ac_wine_try_cflags_saved_exeext
11484 eval ac_res=\$$as_ac_var
11485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11486 printf "%s\n" "$ac_res" >&6; }
11487 if eval test \"x\$"$as_ac_var"\" = x"yes"
11488 then :
11489 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11490 fi } ;;
11491 esac
11493 wine_crossdebug=$CROSSDEBUG
11494 if test -z "$wine_crossdebug"
11495 then
11496 for ac_flag in $CFLAGS; do
11497 case $ac_flag in
11498 -gdwarf*) wine_crossdebug=dwarf ;;
11499 -gcodeview) wine_crossdebug=pdb ;;
11500 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11501 esac
11502 done
11505 ac_debug_format_seen=""
11506 for ac_flag in $CFLAGS; do
11507 case $ac_flag in
11508 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11509 esac
11510 done
11511 if test "x$ac_debug_format_seen" = x
11512 then
11513 case $wine_crossdebug in
11514 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11516 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11517 if eval test \${$as_ac_var+y}
11518 then :
11519 printf %s "(cached) " >&6
11520 else $as_nop
11521 ac_wine_try_cflags_saved=$CFLAGS
11522 ac_wine_try_cflags_saved_exeext=$ac_exeext
11523 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11524 ac_exeext=".exe"
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11527 int __cdecl mainCRTStartup(void) { return 0; }
11528 _ACEOF
11529 if ac_fn_c_try_link "$LINENO"
11530 then :
11531 eval "$as_ac_var=yes"
11532 else $as_nop
11533 eval "$as_ac_var=no"
11535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11536 conftest$ac_exeext conftest.$ac_ext
11537 CFLAGS=$ac_wine_try_cflags_saved
11538 ac_exeext=$ac_wine_try_cflags_saved_exeext
11540 eval ac_res=\$$as_ac_var
11541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11542 printf "%s\n" "$ac_res" >&6; }
11543 if eval test \"x\$"$as_ac_var"\" = x"yes"
11544 then :
11545 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11546 fi } ;;
11547 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11549 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11550 if eval test \${$as_ac_var+y}
11551 then :
11552 printf %s "(cached) " >&6
11553 else $as_nop
11554 ac_wine_try_cflags_saved=$CFLAGS
11555 ac_wine_try_cflags_saved_exeext=$ac_exeext
11556 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11557 ac_exeext=".exe"
11558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11560 int __cdecl mainCRTStartup(void) { return 0; }
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"
11563 then :
11564 eval "$as_ac_var=yes"
11565 else $as_nop
11566 eval "$as_ac_var=no"
11568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11569 conftest$ac_exeext conftest.$ac_ext
11570 CFLAGS=$ac_wine_try_cflags_saved
11571 ac_exeext=$ac_wine_try_cflags_saved_exeext
11573 eval ac_res=\$$as_ac_var
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11575 printf "%s\n" "$ac_res" >&6; }
11576 if eval test \"x\$"$as_ac_var"\" = x"yes"
11577 then :
11578 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11579 fi } ;;
11580 esac
11582 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11584 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11586 printf %s "checking whether $CC supports -Werror... " >&6; }
11587 if eval test \${$as_ac_var+y}
11588 then :
11589 printf %s "(cached) " >&6
11590 else $as_nop
11591 ac_wine_try_cflags_saved=$CFLAGS
11592 ac_wine_try_cflags_saved_exeext=$ac_exeext
11593 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11594 ac_exeext=".exe"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11597 int __cdecl mainCRTStartup(void) { return 0; }
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"
11600 then :
11601 eval "$as_ac_var=yes"
11602 else $as_nop
11603 eval "$as_ac_var=no"
11605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11606 conftest$ac_exeext conftest.$ac_ext
11607 CFLAGS=$ac_wine_try_cflags_saved
11608 ac_exeext=$ac_wine_try_cflags_saved_exeext
11610 eval ac_res=\$$as_ac_var
11611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11612 printf "%s\n" "$ac_res" >&6; }
11613 if eval test \"x\$"$as_ac_var"\" = x"yes"
11614 then :
11615 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11616 fi }
11617 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11619 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11620 if eval test \${$as_ac_var+y}
11621 then :
11622 printf %s "(cached) " >&6
11623 else $as_nop
11624 ac_wine_try_cflags_saved=$CFLAGS
11625 ac_wine_try_cflags_saved_exeext=$ac_exeext
11626 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11627 ac_exeext=".exe"
11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11630 int __cdecl mainCRTStartup(void) { return 0; }
11631 _ACEOF
11632 if ac_fn_c_try_link "$LINENO"
11633 then :
11634 eval "$as_ac_var=yes"
11635 else $as_nop
11636 eval "$as_ac_var=no"
11638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11639 conftest$ac_exeext conftest.$ac_ext
11640 CFLAGS=$ac_wine_try_cflags_saved
11641 ac_exeext=$ac_wine_try_cflags_saved_exeext
11643 eval ac_res=\$$as_ac_var
11644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11645 printf "%s\n" "$ac_res" >&6; }
11646 if eval test \"x\$"$as_ac_var"\" = x"yes"
11647 then :
11648 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11649 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11650 fi }
11652 CC=$saved_CC
11653 CFLAGS=$saved_CFLAGS
11654 LDFLAGS=$saved_LDFLAGS
11655 done
11657 if test $HOST_ARCH = aarch64
11658 then
11659 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11660 DLLEXT=""
11664 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11665 then
11666 case "$host_cpu" in
11667 i[3456789]86*)
11668 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11670 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11671 esac
11672 for ac_prog in $ac_prefix_list
11674 # Extract the first word of "$ac_prog", so it can be a program name with args.
11675 set dummy $ac_prog; ac_word=$2
11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11677 printf %s "checking for $ac_word... " >&6; }
11678 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11679 then :
11680 printf %s "(cached) " >&6
11681 else $as_nop
11682 if test -n "$MINGW_PKG_CONFIG"; then
11683 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11684 else
11685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11686 for as_dir in $PATH
11688 IFS=$as_save_IFS
11689 case $as_dir in #(((
11690 '') as_dir=./ ;;
11691 */) ;;
11692 *) as_dir=$as_dir/ ;;
11693 esac
11694 for ac_exec_ext in '' $ac_executable_extensions; do
11695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11696 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11698 break 2
11700 done
11701 done
11702 IFS=$as_save_IFS
11706 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11707 if test -n "$MINGW_PKG_CONFIG"; then
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11709 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11710 else
11711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11712 printf "%s\n" "no" >&6; }
11716 test -n "$MINGW_PKG_CONFIG" && break
11717 done
11718 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11720 if ${FAUDIO_PE_CFLAGS:+false} :
11721 then :
11722 if test ${MINGW_PKG_CONFIG+y}
11723 then :
11724 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11727 if ${FAUDIO_PE_LIBS:+false} :
11728 then :
11729 if test ${MINGW_PKG_CONFIG+y}
11730 then :
11731 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11734 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11735 ac_save_CPPFLAGS=$CPPFLAGS
11736 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11738 printf %s "checking for MinGW FAudio.h... " >&6; }
11739 if test ${ac_cv_mingw_header_FAudio_h+y}
11740 then :
11741 printf %s "(cached) " >&6
11742 else $as_nop
11743 ac_wine_check_headers_saved_cc=$CC
11744 ac_wine_check_headers_saved_exeext=$ac_exeext
11745 eval CC=\$${wine_arch}_CC
11746 ac_exeext=".exe"
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11750 #include <FAudio.h>
11752 main (void)
11756 return 0;
11758 _ACEOF
11759 if ac_fn_c_try_compile "$LINENO"
11760 then :
11761 ac_cv_mingw_header_FAudio_h=yes
11762 else $as_nop
11763 ac_cv_mingw_header_FAudio_h=no
11765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11766 CC=$ac_wine_check_headers_saved_cc
11767 ac_exeext=$ac_wine_check_headers_saved_exeext
11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11770 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11771 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11772 then :
11773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11774 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11775 if test ${ac_cv_mingw_lib_FAudio+y}
11776 then :
11777 printf %s "(cached) " >&6
11778 else $as_nop
11779 ac_wine_check_headers_saved_cc=$CC
11780 ac_wine_check_headers_saved_exeext=$ac_exeext
11781 ac_wine_check_headers_saved_libs=$LIBS
11782 eval CC=\$${wine_arch}_CC
11783 ac_exeext=".exe"
11784 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11788 /* Override any GCC internal prototype to avoid an error.
11789 Use char because int might match the return type of a GCC
11790 builtin and then its argument prototype would still apply. */
11791 char FAudio_CommitOperationSet ();
11793 main (void)
11795 return FAudio_CommitOperationSet ();
11797 return 0;
11799 _ACEOF
11800 if ac_fn_c_try_link "$LINENO"
11801 then :
11802 ac_cv_mingw_lib_FAudio=yes
11803 else $as_nop
11804 ac_cv_mingw_lib_FAudio=no
11806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11807 conftest$ac_exeext conftest.$ac_ext
11808 CC=$ac_wine_check_headers_saved_cc
11809 ac_exeext=$ac_wine_check_headers_saved_exeext
11810 LIBS=$ac_wine_check_headers_saved_libs
11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11813 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11814 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11815 then :
11817 else $as_nop
11818 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11820 else $as_nop
11821 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11823 CPPFLAGS=$ac_save_CPPFLAGS
11825 if test "x$FAUDIO_PE_LIBS" = "x"
11826 then
11827 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11830 if ${JPEG_PE_CFLAGS:+false} :
11831 then :
11832 if test ${MINGW_PKG_CONFIG+y}
11833 then :
11834 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11837 if ${JPEG_PE_LIBS:+false} :
11838 then :
11839 if test ${MINGW_PKG_CONFIG+y}
11840 then :
11841 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11845 ac_save_CPPFLAGS=$CPPFLAGS
11846 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11848 printf %s "checking for MinGW jpeglib.h... " >&6; }
11849 if test ${ac_cv_mingw_header_jpeglib_h+y}
11850 then :
11851 printf %s "(cached) " >&6
11852 else $as_nop
11853 ac_wine_check_headers_saved_cc=$CC
11854 ac_wine_check_headers_saved_exeext=$ac_exeext
11855 eval CC=\$${wine_arch}_CC
11856 ac_exeext=".exe"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11859 #include <stddef.h>
11860 #include <stdio.h>
11861 #include <jpeglib.h>
11863 main (void)
11867 return 0;
11869 _ACEOF
11870 if ac_fn_c_try_compile "$LINENO"
11871 then :
11872 ac_cv_mingw_header_jpeglib_h=yes
11873 else $as_nop
11874 ac_cv_mingw_header_jpeglib_h=no
11876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11877 CC=$ac_wine_check_headers_saved_cc
11878 ac_exeext=$ac_wine_check_headers_saved_exeext
11880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11881 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11882 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11883 then :
11884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11885 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11886 if test ${ac_cv_mingw_lib_jpeg+y}
11887 then :
11888 printf %s "(cached) " >&6
11889 else $as_nop
11890 ac_wine_check_headers_saved_cc=$CC
11891 ac_wine_check_headers_saved_exeext=$ac_exeext
11892 ac_wine_check_headers_saved_libs=$LIBS
11893 eval CC=\$${wine_arch}_CC
11894 ac_exeext=".exe"
11895 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11902 char jpeg_start_decompress ();
11904 main (void)
11906 return jpeg_start_decompress ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"
11912 then :
11913 ac_cv_mingw_lib_jpeg=yes
11914 else $as_nop
11915 ac_cv_mingw_lib_jpeg=no
11917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11918 conftest$ac_exeext conftest.$ac_ext
11919 CC=$ac_wine_check_headers_saved_cc
11920 ac_exeext=$ac_wine_check_headers_saved_exeext
11921 LIBS=$ac_wine_check_headers_saved_libs
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11924 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11925 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11926 then :
11928 else $as_nop
11929 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11931 else $as_nop
11932 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11934 CPPFLAGS=$ac_save_CPPFLAGS
11936 if test "x$JPEG_PE_LIBS" = "x"
11937 then
11938 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11941 if ${LCMS2_PE_CFLAGS:+false} :
11942 then :
11943 if test ${MINGW_PKG_CONFIG+y}
11944 then :
11945 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11948 if ${LCMS2_PE_LIBS:+false} :
11949 then :
11950 if test ${MINGW_PKG_CONFIG+y}
11951 then :
11952 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11955 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11956 ac_save_CPPFLAGS=$CPPFLAGS
11957 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11959 printf %s "checking for MinGW lcms2.h... " >&6; }
11960 if test ${ac_cv_mingw_header_lcms2_h+y}
11961 then :
11962 printf %s "(cached) " >&6
11963 else $as_nop
11964 ac_wine_check_headers_saved_cc=$CC
11965 ac_wine_check_headers_saved_exeext=$ac_exeext
11966 eval CC=\$${wine_arch}_CC
11967 ac_exeext=".exe"
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11971 #include <lcms2.h>
11973 main (void)
11977 return 0;
11979 _ACEOF
11980 if ac_fn_c_try_compile "$LINENO"
11981 then :
11982 ac_cv_mingw_header_lcms2_h=yes
11983 else $as_nop
11984 ac_cv_mingw_header_lcms2_h=no
11986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11987 CC=$ac_wine_check_headers_saved_cc
11988 ac_exeext=$ac_wine_check_headers_saved_exeext
11990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11991 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11992 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11993 then :
11994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11995 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11996 if test ${ac_cv_mingw_lib_lcms2+y}
11997 then :
11998 printf %s "(cached) " >&6
11999 else $as_nop
12000 ac_wine_check_headers_saved_cc=$CC
12001 ac_wine_check_headers_saved_exeext=$ac_exeext
12002 ac_wine_check_headers_saved_libs=$LIBS
12003 eval CC=\$${wine_arch}_CC
12004 ac_exeext=".exe"
12005 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12012 char cmsOpenProfileFromFile ();
12014 main (void)
12016 return cmsOpenProfileFromFile ();
12018 return 0;
12020 _ACEOF
12021 if ac_fn_c_try_link "$LINENO"
12022 then :
12023 ac_cv_mingw_lib_lcms2=yes
12024 else $as_nop
12025 ac_cv_mingw_lib_lcms2=no
12027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12028 conftest$ac_exeext conftest.$ac_ext
12029 CC=$ac_wine_check_headers_saved_cc
12030 ac_exeext=$ac_wine_check_headers_saved_exeext
12031 LIBS=$ac_wine_check_headers_saved_libs
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12034 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12035 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12036 then :
12038 else $as_nop
12039 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12041 else $as_nop
12042 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12044 CPPFLAGS=$ac_save_CPPFLAGS
12046 if test "x$LCMS2_PE_LIBS" = "x"
12047 then
12048 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12051 if ${MPG123_PE_CFLAGS:+false} :
12052 then :
12053 if test ${MINGW_PKG_CONFIG+y}
12054 then :
12055 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12058 if ${MPG123_PE_LIBS:+false} :
12059 then :
12060 if test ${MINGW_PKG_CONFIG+y}
12061 then :
12062 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12065 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12066 ac_save_CPPFLAGS=$CPPFLAGS
12067 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12069 printf %s "checking for MinGW mpg123.h... " >&6; }
12070 if test ${ac_cv_mingw_header_mpg123_h+y}
12071 then :
12072 printf %s "(cached) " >&6
12073 else $as_nop
12074 ac_wine_check_headers_saved_cc=$CC
12075 ac_wine_check_headers_saved_exeext=$ac_exeext
12076 eval CC=\$${wine_arch}_CC
12077 ac_exeext=".exe"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 #include <mpg123.h>
12083 main (void)
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_compile "$LINENO"
12091 then :
12092 ac_cv_mingw_header_mpg123_h=yes
12093 else $as_nop
12094 ac_cv_mingw_header_mpg123_h=no
12096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12097 CC=$ac_wine_check_headers_saved_cc
12098 ac_exeext=$ac_wine_check_headers_saved_exeext
12100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12101 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12102 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12103 then :
12104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12105 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12106 if test ${ac_cv_mingw_lib_mpg123+y}
12107 then :
12108 printf %s "(cached) " >&6
12109 else $as_nop
12110 ac_wine_check_headers_saved_cc=$CC
12111 ac_wine_check_headers_saved_exeext=$ac_exeext
12112 ac_wine_check_headers_saved_libs=$LIBS
12113 eval CC=\$${wine_arch}_CC
12114 ac_exeext=".exe"
12115 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 char mpg123_feed ();
12124 main (void)
12126 return mpg123_feed ();
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_link "$LINENO"
12132 then :
12133 ac_cv_mingw_lib_mpg123=yes
12134 else $as_nop
12135 ac_cv_mingw_lib_mpg123=no
12137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12138 conftest$ac_exeext conftest.$ac_ext
12139 CC=$ac_wine_check_headers_saved_cc
12140 ac_exeext=$ac_wine_check_headers_saved_exeext
12141 LIBS=$ac_wine_check_headers_saved_libs
12143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12144 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12145 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12146 then :
12148 else $as_nop
12149 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12151 else $as_nop
12152 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12154 CPPFLAGS=$ac_save_CPPFLAGS
12156 if test "x$MPG123_PE_LIBS" = "x"
12157 then
12158 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12161 if ${PNG_PE_CFLAGS:+false} :
12162 then :
12163 if test ${MINGW_PKG_CONFIG+y}
12164 then :
12165 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12168 if ${PNG_PE_LIBS:+false} :
12169 then :
12170 if test ${MINGW_PKG_CONFIG+y}
12171 then :
12172 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12176 ac_save_CPPFLAGS=$CPPFLAGS
12177 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12179 printf %s "checking for MinGW png.h... " >&6; }
12180 if test ${ac_cv_mingw_header_png_h+y}
12181 then :
12182 printf %s "(cached) " >&6
12183 else $as_nop
12184 ac_wine_check_headers_saved_cc=$CC
12185 ac_wine_check_headers_saved_exeext=$ac_exeext
12186 eval CC=\$${wine_arch}_CC
12187 ac_exeext=".exe"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 #include <png.h>
12193 main (void)
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_compile "$LINENO"
12201 then :
12202 ac_cv_mingw_header_png_h=yes
12203 else $as_nop
12204 ac_cv_mingw_header_png_h=no
12206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12207 CC=$ac_wine_check_headers_saved_cc
12208 ac_exeext=$ac_wine_check_headers_saved_exeext
12210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12211 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12212 if test "x$ac_cv_mingw_header_png_h" = xyes
12213 then :
12214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12215 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12216 if test ${ac_cv_mingw_lib_png+y}
12217 then :
12218 printf %s "(cached) " >&6
12219 else $as_nop
12220 ac_wine_check_headers_saved_cc=$CC
12221 ac_wine_check_headers_saved_exeext=$ac_exeext
12222 ac_wine_check_headers_saved_libs=$LIBS
12223 eval CC=\$${wine_arch}_CC
12224 ac_exeext=".exe"
12225 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12232 char png_create_read_struct ();
12234 main (void)
12236 return png_create_read_struct ();
12238 return 0;
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"
12242 then :
12243 ac_cv_mingw_lib_png=yes
12244 else $as_nop
12245 ac_cv_mingw_lib_png=no
12247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12248 conftest$ac_exeext conftest.$ac_ext
12249 CC=$ac_wine_check_headers_saved_cc
12250 ac_exeext=$ac_wine_check_headers_saved_exeext
12251 LIBS=$ac_wine_check_headers_saved_libs
12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12254 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12255 if test "x$ac_cv_mingw_lib_png" = xyes
12256 then :
12258 else $as_nop
12259 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12261 else $as_nop
12262 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12264 CPPFLAGS=$ac_save_CPPFLAGS
12266 if test "x$PNG_PE_LIBS" = "x"
12267 then
12268 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12271 if ${TIFF_PE_CFLAGS:+false} :
12272 then :
12273 if test ${MINGW_PKG_CONFIG+y}
12274 then :
12275 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12278 if ${TIFF_PE_LIBS:+false} :
12279 then :
12280 if test ${MINGW_PKG_CONFIG+y}
12281 then :
12282 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12286 ac_save_CPPFLAGS=$CPPFLAGS
12287 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12289 printf %s "checking for MinGW tiffio.h... " >&6; }
12290 if test ${ac_cv_mingw_header_tiffio_h+y}
12291 then :
12292 printf %s "(cached) " >&6
12293 else $as_nop
12294 ac_wine_check_headers_saved_cc=$CC
12295 ac_wine_check_headers_saved_exeext=$ac_exeext
12296 eval CC=\$${wine_arch}_CC
12297 ac_exeext=".exe"
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 #include <tiffio.h>
12303 main (void)
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_compile "$LINENO"
12311 then :
12312 ac_cv_mingw_header_tiffio_h=yes
12313 else $as_nop
12314 ac_cv_mingw_header_tiffio_h=no
12316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12317 CC=$ac_wine_check_headers_saved_cc
12318 ac_exeext=$ac_wine_check_headers_saved_exeext
12320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12321 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12322 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12323 then :
12324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12325 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12326 if test ${ac_cv_mingw_lib_tiff+y}
12327 then :
12328 printf %s "(cached) " >&6
12329 else $as_nop
12330 ac_wine_check_headers_saved_cc=$CC
12331 ac_wine_check_headers_saved_exeext=$ac_exeext
12332 ac_wine_check_headers_saved_libs=$LIBS
12333 eval CC=\$${wine_arch}_CC
12334 ac_exeext=".exe"
12335 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 char TIFFClientOpen ();
12344 main (void)
12346 return TIFFClientOpen ();
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_link "$LINENO"
12352 then :
12353 ac_cv_mingw_lib_tiff=yes
12354 else $as_nop
12355 ac_cv_mingw_lib_tiff=no
12357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12358 conftest$ac_exeext conftest.$ac_ext
12359 CC=$ac_wine_check_headers_saved_cc
12360 ac_exeext=$ac_wine_check_headers_saved_exeext
12361 LIBS=$ac_wine_check_headers_saved_libs
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12364 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12365 if test "x$ac_cv_mingw_lib_tiff" = xyes
12366 then :
12368 else $as_nop
12369 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12371 else $as_nop
12372 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12374 CPPFLAGS=$ac_save_CPPFLAGS
12376 if test "x$TIFF_PE_LIBS" = "x"
12377 then
12378 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12381 if ${XML2_PE_CFLAGS:+false} :
12382 then :
12383 if test ${MINGW_PKG_CONFIG+y}
12384 then :
12385 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12388 if ${XML2_PE_LIBS:+false} :
12389 then :
12390 if test ${MINGW_PKG_CONFIG+y}
12391 then :
12392 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12395 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12396 ac_save_CPPFLAGS=$CPPFLAGS
12397 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12399 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12400 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12401 then :
12402 printf %s "(cached) " >&6
12403 else $as_nop
12404 ac_wine_check_headers_saved_cc=$CC
12405 ac_wine_check_headers_saved_exeext=$ac_exeext
12406 eval CC=\$${wine_arch}_CC
12407 ac_exeext=".exe"
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 #include <libxml/parser.h>
12413 main (void)
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_compile "$LINENO"
12421 then :
12422 ac_cv_mingw_header_libxml_parser_h=yes
12423 else $as_nop
12424 ac_cv_mingw_header_libxml_parser_h=no
12426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12427 CC=$ac_wine_check_headers_saved_cc
12428 ac_exeext=$ac_wine_check_headers_saved_exeext
12430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12431 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12432 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12433 then :
12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12437 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12438 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12439 then :
12440 printf %s "(cached) " >&6
12441 else $as_nop
12442 ac_wine_check_headers_saved_cc=$CC
12443 ac_wine_check_headers_saved_exeext=$ac_exeext
12444 eval CC=\$${wine_arch}_CC
12445 ac_exeext=".exe"
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 #include <libxml/xmlsave.h>
12451 main (void)
12455 return 0;
12457 _ACEOF
12458 if ac_fn_c_try_compile "$LINENO"
12459 then :
12460 ac_cv_mingw_header_libxml_xmlsave_h=yes
12461 else $as_nop
12462 ac_cv_mingw_header_libxml_xmlsave_h=no
12464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12465 CC=$ac_wine_check_headers_saved_cc
12466 ac_exeext=$ac_wine_check_headers_saved_exeext
12468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12469 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12470 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12471 then :
12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12475 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12476 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12477 then :
12478 printf %s "(cached) " >&6
12479 else $as_nop
12480 ac_wine_check_headers_saved_cc=$CC
12481 ac_wine_check_headers_saved_exeext=$ac_exeext
12482 eval CC=\$${wine_arch}_CC
12483 ac_exeext=".exe"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 #include <libxml/SAX2.h>
12489 main (void)
12493 return 0;
12495 _ACEOF
12496 if ac_fn_c_try_compile "$LINENO"
12497 then :
12498 ac_cv_mingw_header_libxml_SAX2_h=yes
12499 else $as_nop
12500 ac_cv_mingw_header_libxml_SAX2_h=no
12502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12503 CC=$ac_wine_check_headers_saved_cc
12504 ac_exeext=$ac_wine_check_headers_saved_exeext
12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12507 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12508 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12509 then :
12512 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"
12513 then
12514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12515 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12516 if test ${ac_cv_mingw_lib_xml2+y}
12517 then :
12518 printf %s "(cached) " >&6
12519 else $as_nop
12520 ac_wine_check_headers_saved_cc=$CC
12521 ac_wine_check_headers_saved_exeext=$ac_exeext
12522 ac_wine_check_headers_saved_libs=$LIBS
12523 eval CC=\$${wine_arch}_CC
12524 ac_exeext=".exe"
12525 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12532 char xmlFirstElementChild ();
12534 main (void)
12536 return xmlFirstElementChild ();
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_link "$LINENO"
12542 then :
12543 ac_cv_mingw_lib_xml2=yes
12544 else $as_nop
12545 ac_cv_mingw_lib_xml2=no
12547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12548 conftest$ac_exeext conftest.$ac_ext
12549 CC=$ac_wine_check_headers_saved_cc
12550 ac_exeext=$ac_wine_check_headers_saved_exeext
12551 LIBS=$ac_wine_check_headers_saved_libs
12553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12554 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12555 if test "x$ac_cv_mingw_lib_xml2" = xyes
12556 then :
12558 else $as_nop
12559 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12561 else
12562 XML2_PE_CFLAGS=""
12563 XML2_PE_LIBS=""
12565 CPPFLAGS=$ac_save_CPPFLAGS
12567 if test "x$XML2_PE_LIBS" = "x"
12568 then
12569 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12572 if ${XSLT_PE_CFLAGS:+false} :
12573 then :
12574 if test ${MINGW_PKG_CONFIG+y}
12575 then :
12576 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12579 if ${XSLT_PE_LIBS:+false} :
12580 then :
12581 if test ${MINGW_PKG_CONFIG+y}
12582 then :
12583 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12586 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12587 ac_save_CPPFLAGS=$CPPFLAGS
12588 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12590 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12591 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12592 then :
12593 printf %s "(cached) " >&6
12594 else $as_nop
12595 ac_wine_check_headers_saved_cc=$CC
12596 ac_wine_check_headers_saved_exeext=$ac_exeext
12597 eval CC=\$${wine_arch}_CC
12598 ac_exeext=".exe"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 #include <libxslt/pattern.h>
12604 main (void)
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_compile "$LINENO"
12612 then :
12613 ac_cv_mingw_header_libxslt_pattern_h=yes
12614 else $as_nop
12615 ac_cv_mingw_header_libxslt_pattern_h=no
12617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12618 CC=$ac_wine_check_headers_saved_cc
12619 ac_exeext=$ac_wine_check_headers_saved_exeext
12621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12622 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12623 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12624 then :
12627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12628 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12629 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12630 then :
12631 printf %s "(cached) " >&6
12632 else $as_nop
12633 ac_wine_check_headers_saved_cc=$CC
12634 ac_wine_check_headers_saved_exeext=$ac_exeext
12635 eval CC=\$${wine_arch}_CC
12636 ac_exeext=".exe"
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12640 #include <libxslt/transform.h>
12642 main (void)
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_compile "$LINENO"
12650 then :
12651 ac_cv_mingw_header_libxslt_transform_h=yes
12652 else $as_nop
12653 ac_cv_mingw_header_libxslt_transform_h=no
12655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12656 CC=$ac_wine_check_headers_saved_cc
12657 ac_exeext=$ac_wine_check_headers_saved_exeext
12659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12660 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12661 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12662 then :
12665 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12666 then
12667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12668 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12669 if test ${ac_cv_mingw_lib_xslt+y}
12670 then :
12671 printf %s "(cached) " >&6
12672 else $as_nop
12673 ac_wine_check_headers_saved_cc=$CC
12674 ac_wine_check_headers_saved_exeext=$ac_exeext
12675 ac_wine_check_headers_saved_libs=$LIBS
12676 eval CC=\$${wine_arch}_CC
12677 ac_exeext=".exe"
12678 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12682 /* Override any GCC internal prototype to avoid an error.
12683 Use char because int might match the return type of a GCC
12684 builtin and then its argument prototype would still apply. */
12685 char xsltCompilePattern ();
12687 main (void)
12689 return xsltCompilePattern ();
12691 return 0;
12693 _ACEOF
12694 if ac_fn_c_try_link "$LINENO"
12695 then :
12696 ac_cv_mingw_lib_xslt=yes
12697 else $as_nop
12698 ac_cv_mingw_lib_xslt=no
12700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12701 conftest$ac_exeext conftest.$ac_ext
12702 CC=$ac_wine_check_headers_saved_cc
12703 ac_exeext=$ac_wine_check_headers_saved_exeext
12704 LIBS=$ac_wine_check_headers_saved_libs
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12707 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12708 if test "x$ac_cv_mingw_lib_xslt" = xyes
12709 then :
12711 else $as_nop
12712 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12714 else
12715 XSLT_PE_CFLAGS=""
12716 XSLT_PE_LIBS=""
12718 CPPFLAGS=$ac_save_CPPFLAGS
12720 if test "x$XSLT_PE_LIBS" = "x"
12721 then
12722 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12725 if ${VKD3D_PE_CFLAGS:+false} :
12726 then :
12727 if test ${MINGW_PKG_CONFIG+y}
12728 then :
12729 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12732 if ${VKD3D_PE_LIBS:+false} :
12733 then :
12734 if test ${MINGW_PKG_CONFIG+y}
12735 then :
12736 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12739 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12740 ac_save_CPPFLAGS=$CPPFLAGS
12741 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12743 printf %s "checking for MinGW vkd3d.h... " >&6; }
12744 if test ${ac_cv_mingw_header_vkd3d_h+y}
12745 then :
12746 printf %s "(cached) " >&6
12747 else $as_nop
12748 ac_wine_check_headers_saved_cc=$CC
12749 ac_wine_check_headers_saved_exeext=$ac_exeext
12750 eval CC=\$${wine_arch}_CC
12751 ac_exeext=".exe"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 #include <vkd3d.h>
12757 main (void)
12761 return 0;
12763 _ACEOF
12764 if ac_fn_c_try_compile "$LINENO"
12765 then :
12766 ac_cv_mingw_header_vkd3d_h=yes
12767 else $as_nop
12768 ac_cv_mingw_header_vkd3d_h=no
12770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12771 CC=$ac_wine_check_headers_saved_cc
12772 ac_exeext=$ac_wine_check_headers_saved_exeext
12774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12775 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12776 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12777 then :
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12781 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12782 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12783 then :
12784 printf %s "(cached) " >&6
12785 else $as_nop
12786 ac_wine_check_headers_saved_cc=$CC
12787 ac_wine_check_headers_saved_exeext=$ac_exeext
12788 eval CC=\$${wine_arch}_CC
12789 ac_exeext=".exe"
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12793 #include <vkd3d_shader.h>
12795 main (void)
12799 return 0;
12801 _ACEOF
12802 if ac_fn_c_try_compile "$LINENO"
12803 then :
12804 ac_cv_mingw_header_vkd3d_shader_h=yes
12805 else $as_nop
12806 ac_cv_mingw_header_vkd3d_shader_h=no
12808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12809 CC=$ac_wine_check_headers_saved_cc
12810 ac_exeext=$ac_wine_check_headers_saved_exeext
12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12813 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12814 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12815 then :
12818 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12819 then
12820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12821 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12822 if test ${ac_cv_mingw_lib_vkd3d+y}
12823 then :
12824 printf %s "(cached) " >&6
12825 else $as_nop
12826 ac_wine_check_headers_saved_cc=$CC
12827 ac_wine_check_headers_saved_exeext=$ac_exeext
12828 ac_wine_check_headers_saved_libs=$LIBS
12829 eval CC=\$${wine_arch}_CC
12830 ac_exeext=".exe"
12831 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12833 /* end confdefs.h. */
12835 /* Override any GCC internal prototype to avoid an error.
12836 Use char because int might match the return type of a GCC
12837 builtin and then its argument prototype would still apply. */
12838 char vkd3d_set_log_callback ();
12840 main (void)
12842 return vkd3d_set_log_callback ();
12844 return 0;
12846 _ACEOF
12847 if ac_fn_c_try_link "$LINENO"
12848 then :
12849 ac_cv_mingw_lib_vkd3d=yes
12850 else $as_nop
12851 ac_cv_mingw_lib_vkd3d=no
12853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12854 conftest$ac_exeext conftest.$ac_ext
12855 CC=$ac_wine_check_headers_saved_cc
12856 ac_exeext=$ac_wine_check_headers_saved_exeext
12857 LIBS=$ac_wine_check_headers_saved_libs
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12860 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12861 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12862 then :
12864 else $as_nop
12867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12868 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12869 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12870 then :
12871 printf %s "(cached) " >&6
12872 else $as_nop
12873 ac_wine_check_headers_saved_cc=$CC
12874 ac_wine_check_headers_saved_exeext=$ac_exeext
12875 ac_wine_check_headers_saved_libs=$LIBS
12876 eval CC=\$${wine_arch}_CC
12877 ac_exeext=".exe"
12878 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 /* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12885 char vkd3d_shader_serialize_dxbc ();
12887 main (void)
12889 return vkd3d_shader_serialize_dxbc ();
12891 return 0;
12893 _ACEOF
12894 if ac_fn_c_try_link "$LINENO"
12895 then :
12896 ac_cv_mingw_lib_vkd3d_shader=yes
12897 else $as_nop
12898 ac_cv_mingw_lib_vkd3d_shader=no
12900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12901 conftest$ac_exeext conftest.$ac_ext
12902 CC=$ac_wine_check_headers_saved_cc
12903 ac_exeext=$ac_wine_check_headers_saved_exeext
12904 LIBS=$ac_wine_check_headers_saved_libs
12906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12907 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12908 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12909 then :
12911 else $as_nop
12914 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12915 then
12916 VKD3D_PE_CFLAGS=""
12917 VKD3D_PE_LIBS=""
12919 else
12920 VKD3D_PE_CFLAGS=""
12921 VKD3D_PE_LIBS=""
12923 CPPFLAGS=$ac_save_CPPFLAGS
12925 if test "x$VKD3D_PE_LIBS" = "x"
12926 then
12927 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12930 if ${ZLIB_PE_CFLAGS:+false} :
12931 then :
12932 if test ${MINGW_PKG_CONFIG+y}
12933 then :
12934 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12937 if ${ZLIB_PE_LIBS:+false} :
12938 then :
12939 if test ${MINGW_PKG_CONFIG+y}
12940 then :
12941 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12944 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12945 ac_save_CPPFLAGS=$CPPFLAGS
12946 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12948 printf %s "checking for MinGW zlib.h... " >&6; }
12949 if test ${ac_cv_mingw_header_zlib_h+y}
12950 then :
12951 printf %s "(cached) " >&6
12952 else $as_nop
12953 ac_wine_check_headers_saved_cc=$CC
12954 ac_wine_check_headers_saved_exeext=$ac_exeext
12955 eval CC=\$${wine_arch}_CC
12956 ac_exeext=".exe"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 #include <zlib.h>
12962 main (void)
12966 return 0;
12968 _ACEOF
12969 if ac_fn_c_try_compile "$LINENO"
12970 then :
12971 ac_cv_mingw_header_zlib_h=yes
12972 else $as_nop
12973 ac_cv_mingw_header_zlib_h=no
12975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12976 CC=$ac_wine_check_headers_saved_cc
12977 ac_exeext=$ac_wine_check_headers_saved_exeext
12979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12980 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12981 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12982 then :
12983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12984 printf %s "checking for inflate in MinGW -lz... " >&6; }
12985 if test ${ac_cv_mingw_lib_z+y}
12986 then :
12987 printf %s "(cached) " >&6
12988 else $as_nop
12989 ac_wine_check_headers_saved_cc=$CC
12990 ac_wine_check_headers_saved_exeext=$ac_exeext
12991 ac_wine_check_headers_saved_libs=$LIBS
12992 eval CC=\$${wine_arch}_CC
12993 ac_exeext=".exe"
12994 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12998 /* Override any GCC internal prototype to avoid an error.
12999 Use char because int might match the return type of a GCC
13000 builtin and then its argument prototype would still apply. */
13001 char inflate ();
13003 main (void)
13005 return inflate ();
13007 return 0;
13009 _ACEOF
13010 if ac_fn_c_try_link "$LINENO"
13011 then :
13012 ac_cv_mingw_lib_z=yes
13013 else $as_nop
13014 ac_cv_mingw_lib_z=no
13016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13017 conftest$ac_exeext conftest.$ac_ext
13018 CC=$ac_wine_check_headers_saved_cc
13019 ac_exeext=$ac_wine_check_headers_saved_exeext
13020 LIBS=$ac_wine_check_headers_saved_libs
13022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13023 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13024 if test "x$ac_cv_mingw_lib_z" = xyes
13025 then :
13027 else $as_nop
13028 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13030 else $as_nop
13031 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13033 CPPFLAGS=$ac_save_CPPFLAGS
13035 if test "x$ZLIB_PE_LIBS" = "x"
13036 then
13037 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13041 if ${FAUDIO_PE_LIBS:+false} :
13042 then :
13043 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13044 if ${FAUDIO_PE_CFLAGS:+false} :
13045 then :
13046 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13047 else $as_nop
13048 enable_faudio=no
13050 else $as_nop
13051 enable_faudio=no
13053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13056 if ${GSM_PE_LIBS:+false} :
13057 then :
13058 GSM_PE_LIBS=gsm
13059 if ${GSM_PE_CFLAGS:+false} :
13060 then :
13061 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13062 else $as_nop
13063 enable_gsm=no
13065 else $as_nop
13066 enable_gsm=no
13068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13071 if ${JPEG_PE_LIBS:+false} :
13072 then :
13073 JPEG_PE_LIBS=jpeg
13074 if ${JPEG_PE_CFLAGS:+false} :
13075 then :
13076 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13077 else $as_nop
13078 enable_jpeg=no
13080 else $as_nop
13081 enable_jpeg=no
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13086 if ${JXR_PE_LIBS:+false} :
13087 then :
13088 JXR_PE_LIBS=jxr
13089 if ${JXR_PE_CFLAGS:+false} :
13090 then :
13091 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13092 else $as_nop
13093 enable_jxr=no
13095 else $as_nop
13096 enable_jxr=no
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13101 if ${LCMS2_PE_LIBS:+false} :
13102 then :
13103 LCMS2_PE_LIBS=lcms2
13104 if ${LCMS2_PE_CFLAGS:+false} :
13105 then :
13106 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13107 else $as_nop
13108 enable_lcms2=no
13110 else $as_nop
13111 enable_lcms2=no
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13116 if ${LDAP_PE_LIBS:+false} :
13117 then :
13118 LDAP_PE_LIBS=ldap
13119 if ${LDAP_PE_CFLAGS:+false} :
13120 then :
13121 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13122 else $as_nop
13123 enable_ldap=no
13125 else $as_nop
13126 enable_ldap=no
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13131 if ${MPG123_PE_LIBS:+false} :
13132 then :
13133 MPG123_PE_LIBS=mpg123
13134 if ${MPG123_PE_CFLAGS:+false} :
13135 then :
13136 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13137 else $as_nop
13138 enable_mpg123=no
13140 else $as_nop
13141 enable_mpg123=no
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13146 if ${MUSL_PE_LIBS:+false} :
13147 then :
13148 MUSL_PE_LIBS=musl
13149 if ${MUSL_PE_CFLAGS:+false} :
13150 then :
13151 MUSL_PE_CFLAGS=
13152 else $as_nop
13153 enable_musl=no
13155 else $as_nop
13156 enable_musl=no
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13161 if ${PNG_PE_LIBS:+false} :
13162 then :
13163 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13164 if ${PNG_PE_CFLAGS:+false} :
13165 then :
13166 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13167 else $as_nop
13168 enable_png=no
13170 else $as_nop
13171 enable_png=no
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13176 if ${TIFF_PE_LIBS:+false} :
13177 then :
13178 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13179 if ${TIFF_PE_CFLAGS:+false} :
13180 then :
13181 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13182 else $as_nop
13183 enable_tiff=no
13185 else $as_nop
13186 enable_tiff=no
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13191 if ${VKD3D_PE_LIBS:+false} :
13192 then :
13193 VKD3D_PE_LIBS=vkd3d
13194 if ${VKD3D_PE_CFLAGS:+false} :
13195 then :
13196 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13197 else $as_nop
13198 enable_vkd3d=no
13200 else $as_nop
13201 enable_vkd3d=no
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13206 if ${XML2_PE_LIBS:+false} :
13207 then :
13208 XML2_PE_LIBS=xml2
13209 if ${XML2_PE_CFLAGS:+false} :
13210 then :
13211 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13212 else $as_nop
13213 enable_xml2=no
13215 else $as_nop
13216 enable_xml2=no
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13221 if ${XSLT_PE_LIBS:+false} :
13222 then :
13223 XSLT_PE_LIBS=xslt
13224 if ${XSLT_PE_CFLAGS:+false} :
13225 then :
13226 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13227 else $as_nop
13228 enable_xslt=no
13230 else $as_nop
13231 enable_xslt=no
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13236 if ${ZLIB_PE_LIBS:+false} :
13237 then :
13238 ZLIB_PE_LIBS=z
13239 if ${ZLIB_PE_CFLAGS:+false} :
13240 then :
13241 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13242 else $as_nop
13243 enable_zlib=no
13245 else $as_nop
13246 enable_zlib=no
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13251 if ${ZYDIS_PE_LIBS:+false} :
13252 then :
13253 ZYDIS_PE_LIBS=zydis
13254 if ${ZYDIS_PE_CFLAGS:+false} :
13255 then :
13256 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13257 else $as_nop
13258 enable_zydis=no
13260 else $as_nop
13261 enable_zydis=no
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13268 if test "$ac_cv_header_pthread_h" = "yes"
13269 then
13270 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13271 if test "x$ac_cv_func_pthread_create" = xyes
13272 then :
13274 else $as_nop
13275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13276 printf %s "checking for pthread_create in -lpthread... " >&6; }
13277 if test ${ac_cv_lib_pthread_pthread_create+y}
13278 then :
13279 printf %s "(cached) " >&6
13280 else $as_nop
13281 ac_check_lib_save_LIBS=$LIBS
13282 LIBS="-lpthread $LIBS"
13283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13289 char pthread_create ();
13291 main (void)
13293 return pthread_create ();
13295 return 0;
13297 _ACEOF
13298 if ac_fn_c_try_link "$LINENO"
13299 then :
13300 ac_cv_lib_pthread_pthread_create=yes
13301 else $as_nop
13302 ac_cv_lib_pthread_pthread_create=no
13304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13305 conftest$ac_exeext conftest.$ac_ext
13306 LIBS=$ac_check_lib_save_LIBS
13308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13309 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13310 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13311 then :
13312 PTHREAD_LIBS="-lpthread"
13319 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13320 then :
13321 case "x$with_pthread" in
13322 xno) ;;
13323 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13324 Wine cannot support threads without libpthread.
13325 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13326 esac
13331 ac_ext=c
13332 ac_cpp='$CPP $CPPFLAGS'
13333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13337 printf %s "checking how to run the C preprocessor... " >&6; }
13338 # On Suns, sometimes $CPP names a directory.
13339 if test -n "$CPP" && test -d "$CPP"; then
13340 CPP=
13342 if test -z "$CPP"; then
13343 if test ${ac_cv_prog_CPP+y}
13344 then :
13345 printf %s "(cached) " >&6
13346 else $as_nop
13347 # Double quotes because $CC needs to be expanded
13348 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13350 ac_preproc_ok=false
13351 for ac_c_preproc_warn_flag in '' yes
13353 # Use a header file that comes with gcc, so configuring glibc
13354 # with a fresh cross-compiler works.
13355 # On the NeXT, cc -E runs the code through the compiler's parser,
13356 # not just through cpp. "Syntax error" is here to catch this case.
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13359 #include <limits.h>
13360 Syntax error
13361 _ACEOF
13362 if ac_fn_c_try_cpp "$LINENO"
13363 then :
13365 else $as_nop
13366 # Broken: fails on valid input.
13367 continue
13369 rm -f conftest.err conftest.i conftest.$ac_ext
13371 # OK, works on sane cases. Now check whether nonexistent headers
13372 # can be detected and how.
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13375 #include <ac_nonexistent.h>
13376 _ACEOF
13377 if ac_fn_c_try_cpp "$LINENO"
13378 then :
13379 # Broken: success on invalid input.
13380 continue
13381 else $as_nop
13382 # Passes both tests.
13383 ac_preproc_ok=:
13384 break
13386 rm -f conftest.err conftest.i conftest.$ac_ext
13388 done
13389 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13390 rm -f conftest.i conftest.err conftest.$ac_ext
13391 if $ac_preproc_ok
13392 then :
13393 break
13396 done
13397 ac_cv_prog_CPP=$CPP
13400 CPP=$ac_cv_prog_CPP
13401 else
13402 ac_cv_prog_CPP=$CPP
13404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13405 printf "%s\n" "$CPP" >&6; }
13406 ac_preproc_ok=false
13407 for ac_c_preproc_warn_flag in '' yes
13409 # Use a header file that comes with gcc, so configuring glibc
13410 # with a fresh cross-compiler works.
13411 # On the NeXT, cc -E runs the code through the compiler's parser,
13412 # not just through cpp. "Syntax error" is here to catch this case.
13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13415 #include <limits.h>
13416 Syntax error
13417 _ACEOF
13418 if ac_fn_c_try_cpp "$LINENO"
13419 then :
13421 else $as_nop
13422 # Broken: fails on valid input.
13423 continue
13425 rm -f conftest.err conftest.i conftest.$ac_ext
13427 # OK, works on sane cases. Now check whether nonexistent headers
13428 # can be detected and how.
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13431 #include <ac_nonexistent.h>
13432 _ACEOF
13433 if ac_fn_c_try_cpp "$LINENO"
13434 then :
13435 # Broken: success on invalid input.
13436 continue
13437 else $as_nop
13438 # Passes both tests.
13439 ac_preproc_ok=:
13440 break
13442 rm -f conftest.err conftest.i conftest.$ac_ext
13444 done
13445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13446 rm -f conftest.i conftest.err conftest.$ac_ext
13447 if $ac_preproc_ok
13448 then :
13450 else $as_nop
13451 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13452 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13453 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13454 See \`config.log' for more details" "$LINENO" 5; }
13457 ac_ext=c
13458 ac_cpp='$CPP $CPPFLAGS'
13459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13465 printf %s "checking for X... " >&6; }
13468 # Check whether --with-x was given.
13469 if test ${with_x+y}
13470 then :
13471 withval=$with_x;
13474 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13475 if test "x$with_x" = xno; then
13476 # The user explicitly disabled X.
13477 have_x=disabled
13478 else
13479 case $x_includes,$x_libraries in #(
13480 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13481 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13482 then :
13483 printf %s "(cached) " >&6
13484 else $as_nop
13485 # One or both of the vars are not set, and there is no cached value.
13486 ac_x_includes=no
13487 ac_x_libraries=no
13488 # Do we need to do anything special at all?
13489 ac_save_LIBS=$LIBS
13490 LIBS="-lX11 $LIBS"
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13493 #include <X11/Xlib.h>
13495 main (void)
13497 XrmInitialize ()
13499 return 0;
13501 _ACEOF
13502 if ac_fn_c_try_link "$LINENO"
13503 then :
13504 # We can compile and link X programs with no special options.
13505 ac_x_includes=
13506 ac_x_libraries=
13508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13509 conftest$ac_exeext conftest.$ac_ext
13510 LIBS="$ac_save_LIBS"
13511 # If that didn't work, only try xmkmf and file system searches
13512 # for native compilation.
13513 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13514 then :
13515 rm -f -r conftest.dir
13516 if mkdir conftest.dir; then
13517 cd conftest.dir
13518 cat >Imakefile <<'_ACEOF'
13519 incroot:
13520 @echo incroot='${INCROOT}'
13521 usrlibdir:
13522 @echo usrlibdir='${USRLIBDIR}'
13523 libdir:
13524 @echo libdir='${LIBDIR}'
13525 _ACEOF
13526 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13527 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13528 for ac_var in incroot usrlibdir libdir; do
13529 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13530 done
13531 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13532 for ac_extension in a so sl dylib la dll; do
13533 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13534 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13535 ac_im_usrlibdir=$ac_im_libdir; break
13537 done
13538 # Screen out bogus values from the imake configuration. They are
13539 # bogus both because they are the default anyway, and because
13540 # using them would break gcc on systems where it needs fixed includes.
13541 case $ac_im_incroot in
13542 /usr/include) ac_x_includes= ;;
13543 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13544 esac
13545 case $ac_im_usrlibdir in
13546 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13547 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13548 esac
13550 cd ..
13551 rm -f -r conftest.dir
13554 # Standard set of common directories for X headers.
13555 # Check X11 before X11Rn because it is often a symlink to the current release.
13556 ac_x_header_dirs='
13557 /usr/X11/include
13558 /usr/X11R7/include
13559 /usr/X11R6/include
13560 /usr/X11R5/include
13561 /usr/X11R4/include
13563 /usr/include/X11
13564 /usr/include/X11R7
13565 /usr/include/X11R6
13566 /usr/include/X11R5
13567 /usr/include/X11R4
13569 /usr/local/X11/include
13570 /usr/local/X11R7/include
13571 /usr/local/X11R6/include
13572 /usr/local/X11R5/include
13573 /usr/local/X11R4/include
13575 /usr/local/include/X11
13576 /usr/local/include/X11R7
13577 /usr/local/include/X11R6
13578 /usr/local/include/X11R5
13579 /usr/local/include/X11R4
13581 /opt/X11/include
13583 /usr/X386/include
13584 /usr/x386/include
13585 /usr/XFree86/include/X11
13587 /usr/include
13588 /usr/local/include
13589 /usr/unsupported/include
13590 /usr/athena/include
13591 /usr/local/x11r5/include
13592 /usr/lpp/Xamples/include
13594 /usr/openwin/include
13595 /usr/openwin/share/include'
13597 if test "$ac_x_includes" = no; then
13598 # Guess where to find include files, by looking for Xlib.h.
13599 # First, try using that file with no special directory specified.
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13602 #include <X11/Xlib.h>
13603 _ACEOF
13604 if ac_fn_c_try_cpp "$LINENO"
13605 then :
13606 # We can compile using X headers with no special include directory.
13607 ac_x_includes=
13608 else $as_nop
13609 for ac_dir in $ac_x_header_dirs; do
13610 if test -r "$ac_dir/X11/Xlib.h"; then
13611 ac_x_includes=$ac_dir
13612 break
13614 done
13616 rm -f conftest.err conftest.i conftest.$ac_ext
13617 fi # $ac_x_includes = no
13619 if test "$ac_x_libraries" = no; then
13620 # Check for the libraries.
13621 # See if we find them without any special options.
13622 # Don't add to $LIBS permanently.
13623 ac_save_LIBS=$LIBS
13624 LIBS="-lX11 $LIBS"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #include <X11/Xlib.h>
13629 main (void)
13631 XrmInitialize ()
13633 return 0;
13635 _ACEOF
13636 if ac_fn_c_try_link "$LINENO"
13637 then :
13638 LIBS=$ac_save_LIBS
13639 # We can link X programs with no special library path.
13640 ac_x_libraries=
13641 else $as_nop
13642 LIBS=$ac_save_LIBS
13643 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13645 # Don't even attempt the hair of trying to link an X program!
13646 for ac_extension in a so sl dylib la dll; do
13647 if test -r "$ac_dir/libX11.$ac_extension"; then
13648 ac_x_libraries=$ac_dir
13649 break 2
13651 done
13652 done
13654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13655 conftest$ac_exeext conftest.$ac_ext
13656 fi # $ac_x_libraries = no
13659 # Record the results.
13660 case $ac_x_includes,$ac_x_libraries in #(
13661 no,* | *,no | *\'*) :
13662 # Didn't find X, or a directory has "'" in its name.
13663 ac_cv_have_x="have_x=no" ;; #(
13664 *) :
13665 # Record where we found X for the cache.
13666 ac_cv_have_x="have_x=yes\
13667 ac_x_includes='$ac_x_includes'\
13668 ac_x_libraries='$ac_x_libraries'" ;;
13669 esac
13671 ;; #(
13672 *) have_x=yes;;
13673 esac
13674 eval "$ac_cv_have_x"
13675 fi # $with_x != no
13677 if test "$have_x" != yes; then
13678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13679 printf "%s\n" "$have_x" >&6; }
13680 no_x=yes
13681 else
13682 # If each of the values was on the command line, it overrides each guess.
13683 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13684 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13685 # Update the cache value to reflect the command line values.
13686 ac_cv_have_x="have_x=yes\
13687 ac_x_includes='$x_includes'\
13688 ac_x_libraries='$x_libraries'"
13689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13690 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13693 if test "$no_x" = yes; then
13694 # Not all programs may use this symbol, but it does not hurt to define it.
13696 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13698 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13699 else
13700 if test -n "$x_includes"; then
13701 X_CFLAGS="$X_CFLAGS -I$x_includes"
13704 # It would also be nice to do this for all -L options, not just this one.
13705 if test -n "$x_libraries"; then
13706 X_LIBS="$X_LIBS -L$x_libraries"
13707 # For Solaris; some versions of Sun CC require a space after -R and
13708 # others require no space. Words are not sufficient . . . .
13709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13710 printf %s "checking whether -R must be followed by a space... " >&6; }
13711 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13712 ac_xsave_c_werror_flag=$ac_c_werror_flag
13713 ac_c_werror_flag=yes
13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13718 main (void)
13722 return 0;
13724 _ACEOF
13725 if ac_fn_c_try_link "$LINENO"
13726 then :
13727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 printf "%s\n" "no" >&6; }
13729 X_LIBS="$X_LIBS -R$x_libraries"
13730 else $as_nop
13731 LIBS="$ac_xsave_LIBS -R $x_libraries"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13736 main (void)
13740 return 0;
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"
13744 then :
13745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13746 printf "%s\n" "yes" >&6; }
13747 X_LIBS="$X_LIBS -R $x_libraries"
13748 else $as_nop
13749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13750 printf "%s\n" "neither works" >&6; }
13752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13753 conftest$ac_exeext conftest.$ac_ext
13755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13756 conftest$ac_exeext conftest.$ac_ext
13757 ac_c_werror_flag=$ac_xsave_c_werror_flag
13758 LIBS=$ac_xsave_LIBS
13761 # Check for system-dependent libraries X programs must link with.
13762 # Do this before checking for the system-independent R6 libraries
13763 # (-lICE), since we may need -lsocket or whatever for X linking.
13765 if test "$ISC" = yes; then
13766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13767 else
13768 # Martyn Johnson says this is needed for Ultrix, if the X
13769 # libraries were built with DECnet support. And Karl Berry says
13770 # the Alpha needs dnet_stub (dnet does not exist).
13771 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13775 /* Override any GCC internal prototype to avoid an error.
13776 Use char because int might match the return type of a GCC
13777 builtin and then its argument prototype would still apply. */
13778 char XOpenDisplay ();
13780 main (void)
13782 return XOpenDisplay ();
13784 return 0;
13786 _ACEOF
13787 if ac_fn_c_try_link "$LINENO"
13788 then :
13790 else $as_nop
13791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13792 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13793 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13794 then :
13795 printf %s "(cached) " >&6
13796 else $as_nop
13797 ac_check_lib_save_LIBS=$LIBS
13798 LIBS="-ldnet $LIBS"
13799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13802 /* Override any GCC internal prototype to avoid an error.
13803 Use char because int might match the return type of a GCC
13804 builtin and then its argument prototype would still apply. */
13805 char dnet_ntoa ();
13807 main (void)
13809 return dnet_ntoa ();
13811 return 0;
13813 _ACEOF
13814 if ac_fn_c_try_link "$LINENO"
13815 then :
13816 ac_cv_lib_dnet_dnet_ntoa=yes
13817 else $as_nop
13818 ac_cv_lib_dnet_dnet_ntoa=no
13820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_lib_save_LIBS
13824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13825 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13826 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13827 then :
13828 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13831 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13833 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13834 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13835 then :
13836 printf %s "(cached) " >&6
13837 else $as_nop
13838 ac_check_lib_save_LIBS=$LIBS
13839 LIBS="-ldnet_stub $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 char dnet_ntoa ();
13848 main (void)
13850 return dnet_ntoa ();
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"
13856 then :
13857 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13858 else $as_nop
13859 ac_cv_lib_dnet_stub_dnet_ntoa=no
13861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13862 conftest$ac_exeext conftest.$ac_ext
13863 LIBS=$ac_check_lib_save_LIBS
13865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13866 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13867 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13868 then :
13869 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS="$ac_xsave_LIBS"
13878 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13879 # to get the SysV transport functions.
13880 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13881 # needs -lnsl.
13882 # The nsl library prevents programs from opening the X display
13883 # on Irix 5.2, according to T.E. Dickey.
13884 # The functions gethostbyname, getservbyname, and inet_addr are
13885 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13886 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13887 if test "x$ac_cv_func_gethostbyname" = xyes
13888 then :
13892 if test $ac_cv_func_gethostbyname = no; then
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13894 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13895 if test ${ac_cv_lib_nsl_gethostbyname+y}
13896 then :
13897 printf %s "(cached) " >&6
13898 else $as_nop
13899 ac_check_lib_save_LIBS=$LIBS
13900 LIBS="-lnsl $LIBS"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13904 /* Override any GCC internal prototype to avoid an error.
13905 Use char because int might match the return type of a GCC
13906 builtin and then its argument prototype would still apply. */
13907 char gethostbyname ();
13909 main (void)
13911 return gethostbyname ();
13913 return 0;
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"
13917 then :
13918 ac_cv_lib_nsl_gethostbyname=yes
13919 else $as_nop
13920 ac_cv_lib_nsl_gethostbyname=no
13922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13923 conftest$ac_exeext conftest.$ac_ext
13924 LIBS=$ac_check_lib_save_LIBS
13926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13927 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13928 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13929 then :
13930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13933 if test $ac_cv_lib_nsl_gethostbyname = no; then
13934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13935 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13936 if test ${ac_cv_lib_bsd_gethostbyname+y}
13937 then :
13938 printf %s "(cached) " >&6
13939 else $as_nop
13940 ac_check_lib_save_LIBS=$LIBS
13941 LIBS="-lbsd $LIBS"
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13948 char gethostbyname ();
13950 main (void)
13952 return gethostbyname ();
13954 return 0;
13956 _ACEOF
13957 if ac_fn_c_try_link "$LINENO"
13958 then :
13959 ac_cv_lib_bsd_gethostbyname=yes
13960 else $as_nop
13961 ac_cv_lib_bsd_gethostbyname=no
13963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13964 conftest$ac_exeext conftest.$ac_ext
13965 LIBS=$ac_check_lib_save_LIBS
13967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13968 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13969 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13970 then :
13971 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13977 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13978 # socket/setsockopt and other routines are undefined under SCO ODT
13979 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13980 # on later versions), says Simon Leinen: it contains gethostby*
13981 # variants that don't use the name server (or something). -lsocket
13982 # must be given before -lnsl if both are needed. We assume that
13983 # if connect needs -lnsl, so does gethostbyname.
13984 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13985 if test "x$ac_cv_func_connect" = xyes
13986 then :
13990 if test $ac_cv_func_connect = no; then
13991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13992 printf %s "checking for connect in -lsocket... " >&6; }
13993 if test ${ac_cv_lib_socket_connect+y}
13994 then :
13995 printf %s "(cached) " >&6
13996 else $as_nop
13997 ac_check_lib_save_LIBS=$LIBS
13998 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 char connect ();
14007 main (void)
14009 return connect ();
14011 return 0;
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"
14015 then :
14016 ac_cv_lib_socket_connect=yes
14017 else $as_nop
14018 ac_cv_lib_socket_connect=no
14020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14021 conftest$ac_exeext conftest.$ac_ext
14022 LIBS=$ac_check_lib_save_LIBS
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14025 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14026 if test "x$ac_cv_lib_socket_connect" = xyes
14027 then :
14028 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14033 # Guillermo Gomez says -lposix is necessary on A/UX.
14034 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14035 if test "x$ac_cv_func_remove" = xyes
14036 then :
14040 if test $ac_cv_func_remove = no; then
14041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14042 printf %s "checking for remove in -lposix... " >&6; }
14043 if test ${ac_cv_lib_posix_remove+y}
14044 then :
14045 printf %s "(cached) " >&6
14046 else $as_nop
14047 ac_check_lib_save_LIBS=$LIBS
14048 LIBS="-lposix $LIBS"
14049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14052 /* Override any GCC internal prototype to avoid an error.
14053 Use char because int might match the return type of a GCC
14054 builtin and then its argument prototype would still apply. */
14055 char remove ();
14057 main (void)
14059 return remove ();
14061 return 0;
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"
14065 then :
14066 ac_cv_lib_posix_remove=yes
14067 else $as_nop
14068 ac_cv_lib_posix_remove=no
14070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14071 conftest$ac_exeext conftest.$ac_ext
14072 LIBS=$ac_check_lib_save_LIBS
14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14075 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14076 if test "x$ac_cv_lib_posix_remove" = xyes
14077 then :
14078 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14083 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14084 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14085 if test "x$ac_cv_func_shmat" = xyes
14086 then :
14090 if test $ac_cv_func_shmat = no; then
14091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14092 printf %s "checking for shmat in -lipc... " >&6; }
14093 if test ${ac_cv_lib_ipc_shmat+y}
14094 then :
14095 printf %s "(cached) " >&6
14096 else $as_nop
14097 ac_check_lib_save_LIBS=$LIBS
14098 LIBS="-lipc $LIBS"
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14102 /* Override any GCC internal prototype to avoid an error.
14103 Use char because int might match the return type of a GCC
14104 builtin and then its argument prototype would still apply. */
14105 char shmat ();
14107 main (void)
14109 return shmat ();
14111 return 0;
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"
14115 then :
14116 ac_cv_lib_ipc_shmat=yes
14117 else $as_nop
14118 ac_cv_lib_ipc_shmat=no
14120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14121 conftest$ac_exeext conftest.$ac_ext
14122 LIBS=$ac_check_lib_save_LIBS
14124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14125 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14126 if test "x$ac_cv_lib_ipc_shmat" = xyes
14127 then :
14128 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14134 # Check for libraries that X11R6 Xt/Xaw programs need.
14135 ac_save_LDFLAGS=$LDFLAGS
14136 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14137 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14138 # check for ICE first), but we must link in the order -lSM -lICE or
14139 # we get undefined symbols. So assume we have SM if we have ICE.
14140 # These have to be linked with before -lX11, unlike the other
14141 # libraries we check for below, so use a different variable.
14142 # John Interrante, Karl Berry
14143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14144 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14145 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14146 then :
14147 printf %s "(cached) " >&6
14148 else $as_nop
14149 ac_check_lib_save_LIBS=$LIBS
14150 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14154 /* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
14157 char IceConnectionNumber ();
14159 main (void)
14161 return IceConnectionNumber ();
14163 return 0;
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"
14167 then :
14168 ac_cv_lib_ICE_IceConnectionNumber=yes
14169 else $as_nop
14170 ac_cv_lib_ICE_IceConnectionNumber=no
14172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14173 conftest$ac_exeext conftest.$ac_ext
14174 LIBS=$ac_check_lib_save_LIBS
14176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14177 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14178 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14179 then :
14180 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14183 LDFLAGS=$ac_save_LDFLAGS
14188 if test "$have_x" = "yes"
14189 then
14190 ac_save_CPPFLAGS="$CPPFLAGS"
14191 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14194 printf %s "checking for -lX11... " >&6; }
14195 if test ${ac_cv_lib_soname_X11+y}
14196 then :
14197 printf %s "(cached) " >&6
14198 else $as_nop
14199 ac_check_soname_save_LIBS=$LIBS
14200 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 /* Override any GCC internal prototype to avoid an error.
14205 Use char because int might match the return type of a GCC
14206 builtin and then its argument prototype would still apply. */
14207 char XCreateWindow ();
14209 main (void)
14211 return XCreateWindow ();
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"
14217 then :
14218 case "$LIBEXT" in
14219 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14220 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'` ;;
14221 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14222 if ${ac_cv_lib_soname_X11:+false} :
14223 then :
14224 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14225 fi ;;
14226 esac
14227 else $as_nop
14228 ac_cv_lib_soname_X11=
14230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14231 conftest$ac_exeext conftest.$ac_ext
14232 LIBS=$ac_check_soname_save_LIBS
14234 if ${ac_cv_lib_soname_X11:+false} :
14235 then :
14236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14237 printf "%s\n" "not found" >&6; }
14239 else $as_nop
14240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14241 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14243 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14248 printf %s "checking for -lXext... " >&6; }
14249 if test ${ac_cv_lib_soname_Xext+y}
14250 then :
14251 printf %s "(cached) " >&6
14252 else $as_nop
14253 ac_check_soname_save_LIBS=$LIBS
14254 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 /* Override any GCC internal prototype to avoid an error.
14259 Use char because int might match the return type of a GCC
14260 builtin and then its argument prototype would still apply. */
14261 char XextCreateExtension ();
14263 main (void)
14265 return XextCreateExtension ();
14267 return 0;
14269 _ACEOF
14270 if ac_fn_c_try_link "$LINENO"
14271 then :
14272 case "$LIBEXT" in
14273 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14274 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'` ;;
14275 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14276 if ${ac_cv_lib_soname_Xext:+false} :
14277 then :
14278 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14279 fi ;;
14280 esac
14281 else $as_nop
14282 ac_cv_lib_soname_Xext=
14284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14285 conftest$ac_exeext conftest.$ac_ext
14286 LIBS=$ac_check_soname_save_LIBS
14288 if ${ac_cv_lib_soname_Xext:+false} :
14289 then :
14290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14291 printf "%s\n" "not found" >&6; }
14293 else $as_nop
14294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14295 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14297 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14299 X_LIBS="$X_LIBS -lXext"
14301 X_LIBS="$X_LIBS -lX11"
14303 xlib_includes="#include <X11/Xlib.h>
14304 #include <X11/Xutil.h>"
14306 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14308 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14309 then :
14310 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14313 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14315 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14316 then :
14317 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14320 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14322 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14323 then :
14324 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14327 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14329 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14330 then :
14331 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14334 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14336 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14337 then :
14338 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14341 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14343 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14344 then :
14345 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14348 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14350 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14351 then :
14352 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14355 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14357 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14358 then :
14359 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14362 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14364 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14365 then :
14366 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14371 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14373 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14374 then :
14375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14376 printf %s "checking for -lXcursor... " >&6; }
14377 if test ${ac_cv_lib_soname_Xcursor+y}
14378 then :
14379 printf %s "(cached) " >&6
14380 else $as_nop
14381 ac_check_soname_save_LIBS=$LIBS
14382 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14386 /* Override any GCC internal prototype to avoid an error.
14387 Use char because int might match the return type of a GCC
14388 builtin and then its argument prototype would still apply. */
14389 char XcursorImageLoadCursor ();
14391 main (void)
14393 return XcursorImageLoadCursor ();
14395 return 0;
14397 _ACEOF
14398 if ac_fn_c_try_link "$LINENO"
14399 then :
14400 case "$LIBEXT" in
14401 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14402 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'` ;;
14403 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14404 if ${ac_cv_lib_soname_Xcursor:+false} :
14405 then :
14406 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14407 fi ;;
14408 esac
14409 else $as_nop
14410 ac_cv_lib_soname_Xcursor=
14412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14413 conftest$ac_exeext conftest.$ac_ext
14414 LIBS=$ac_check_soname_save_LIBS
14416 if ${ac_cv_lib_soname_Xcursor:+false} :
14417 then :
14418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14419 printf "%s\n" "not found" >&6; }
14421 else $as_nop
14422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14423 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14425 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14431 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14432 then :
14433 case "x$with_xcursor" in
14434 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14435 xno) ;;
14436 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14437 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14438 esac
14442 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14444 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14445 then :
14446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14447 printf %s "checking for -lXi... " >&6; }
14448 if test ${ac_cv_lib_soname_Xi+y}
14449 then :
14450 printf %s "(cached) " >&6
14451 else $as_nop
14452 ac_check_soname_save_LIBS=$LIBS
14453 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14460 char XOpenDevice ();
14462 main (void)
14464 return XOpenDevice ();
14466 return 0;
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"
14470 then :
14471 case "$LIBEXT" in
14472 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14473 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'` ;;
14474 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14475 if ${ac_cv_lib_soname_Xi:+false} :
14476 then :
14477 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14478 fi ;;
14479 esac
14480 else $as_nop
14481 ac_cv_lib_soname_Xi=
14483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14484 conftest$ac_exeext conftest.$ac_ext
14485 LIBS=$ac_check_soname_save_LIBS
14487 if ${ac_cv_lib_soname_Xi:+false} :
14488 then :
14489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14490 printf "%s\n" "not found" >&6; }
14492 else $as_nop
14493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14494 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14496 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14502 if test "x$ac_cv_lib_soname_Xi" = "x"
14503 then :
14504 case "x$with_xinput" in
14505 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14506 xno) ;;
14507 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14508 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14509 esac
14513 if test "x$ac_cv_lib_soname_Xi" != x
14514 then
14515 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14516 then :
14517 case "x$with_xinput2" in
14518 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14519 xno) ;;
14520 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14521 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14522 esac
14527 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14528 then
14529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14530 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14531 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14532 then :
14533 printf %s "(cached) " >&6
14534 else $as_nop
14535 ac_check_lib_save_LIBS=$LIBS
14536 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14540 /* Override any GCC internal prototype to avoid an error.
14541 Use char because int might match the return type of a GCC
14542 builtin and then its argument prototype would still apply. */
14543 char XShmQueryExtension ();
14545 main (void)
14547 return XShmQueryExtension ();
14549 return 0;
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"
14553 then :
14554 ac_cv_lib_Xext_XShmQueryExtension=yes
14555 else $as_nop
14556 ac_cv_lib_Xext_XShmQueryExtension=no
14558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_check_lib_save_LIBS
14562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14563 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14564 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14565 then :
14567 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14572 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14573 then :
14574 case "x$with_xshm" in
14575 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14576 xno) ;;
14577 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14578 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14579 esac
14583 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14584 then
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14586 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14587 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14588 then :
14589 printf %s "(cached) " >&6
14590 else $as_nop
14591 ac_check_lib_save_LIBS=$LIBS
14592 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14599 char XShapeQueryExtension ();
14601 main (void)
14603 return XShapeQueryExtension ();
14605 return 0;
14607 _ACEOF
14608 if ac_fn_c_try_link "$LINENO"
14609 then :
14610 ac_cv_lib_Xext_XShapeQueryExtension=yes
14611 else $as_nop
14612 ac_cv_lib_Xext_XShapeQueryExtension=no
14614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LIBS=$ac_check_lib_save_LIBS
14618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14619 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14620 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14621 then :
14623 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14628 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14629 then :
14630 case "x$with_xshape" in
14631 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14632 xno) ;;
14633 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14634 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14635 esac
14639 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14640 then
14641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14642 printf %s "checking for -lXxf86vm... " >&6; }
14643 if test ${ac_cv_lib_soname_Xxf86vm+y}
14644 then :
14645 printf %s "(cached) " >&6
14646 else $as_nop
14647 ac_check_soname_save_LIBS=$LIBS
14648 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14655 char XF86VidModeQueryExtension ();
14657 main (void)
14659 return XF86VidModeQueryExtension ();
14661 return 0;
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"
14665 then :
14666 case "$LIBEXT" in
14667 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14668 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'` ;;
14669 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14670 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14671 then :
14672 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14673 fi ;;
14674 esac
14675 else $as_nop
14676 ac_cv_lib_soname_Xxf86vm=
14678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14679 conftest$ac_exeext conftest.$ac_ext
14680 LIBS=$ac_check_soname_save_LIBS
14682 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14683 then :
14684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14685 printf "%s\n" "not found" >&6; }
14687 else $as_nop
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14689 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14691 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14696 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14697 then :
14698 case "x$with_xxf86vm" in
14699 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14700 xno) ;;
14701 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14702 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14703 esac
14707 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14708 then
14709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14710 printf %s "checking for -lXrender... " >&6; }
14711 if test ${ac_cv_lib_soname_Xrender+y}
14712 then :
14713 printf %s "(cached) " >&6
14714 else $as_nop
14715 ac_check_soname_save_LIBS=$LIBS
14716 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14720 /* Override any GCC internal prototype to avoid an error.
14721 Use char because int might match the return type of a GCC
14722 builtin and then its argument prototype would still apply. */
14723 char XRenderQueryExtension ();
14725 main (void)
14727 return XRenderQueryExtension ();
14729 return 0;
14731 _ACEOF
14732 if ac_fn_c_try_link "$LINENO"
14733 then :
14734 case "$LIBEXT" in
14735 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14736 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'` ;;
14737 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14738 if ${ac_cv_lib_soname_Xrender:+false} :
14739 then :
14740 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14741 fi ;;
14742 esac
14743 else $as_nop
14744 ac_cv_lib_soname_Xrender=
14746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14747 conftest$ac_exeext conftest.$ac_ext
14748 LIBS=$ac_check_soname_save_LIBS
14750 if ${ac_cv_lib_soname_Xrender:+false} :
14751 then :
14752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14753 printf "%s\n" "not found" >&6; }
14755 else $as_nop
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14757 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14759 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14762 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14763 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14764 then :
14765 printf %s "(cached) " >&6
14766 else $as_nop
14767 ac_check_lib_save_LIBS=$LIBS
14768 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14775 char XRenderSetPictureTransform ();
14777 main (void)
14779 return XRenderSetPictureTransform ();
14781 return 0;
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"
14785 then :
14786 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14787 else $as_nop
14788 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14791 conftest$ac_exeext conftest.$ac_ext
14792 LIBS=$ac_check_lib_save_LIBS
14794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14795 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14796 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14797 then :
14799 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14804 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14805 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14806 then :
14807 printf %s "(cached) " >&6
14808 else $as_nop
14809 ac_check_lib_save_LIBS=$LIBS
14810 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 char XRenderCreateLinearGradient ();
14819 main (void)
14821 return XRenderCreateLinearGradient ();
14823 return 0;
14825 _ACEOF
14826 if ac_fn_c_try_link "$LINENO"
14827 then :
14828 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14829 else $as_nop
14830 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14833 conftest$ac_exeext conftest.$ac_ext
14834 LIBS=$ac_check_lib_save_LIBS
14836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14837 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14838 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14839 then :
14841 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14848 if test "x$ac_cv_lib_soname_Xrender" = "x"
14849 then :
14850 case "x$with_xrender" in
14851 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14852 xno) ;;
14853 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14854 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14855 esac
14859 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14860 then
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14863 #include <X11/Xlib.h>
14864 #include <X11/extensions/Xrandr.h>
14866 main (void)
14868 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14870 return 0;
14872 _ACEOF
14873 if ac_fn_c_try_compile "$LINENO"
14874 then :
14875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14876 printf %s "checking for -lXrandr... " >&6; }
14877 if test ${ac_cv_lib_soname_Xrandr+y}
14878 then :
14879 printf %s "(cached) " >&6
14880 else $as_nop
14881 ac_check_soname_save_LIBS=$LIBS
14882 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 /* Override any GCC internal prototype to avoid an error.
14887 Use char because int might match the return type of a GCC
14888 builtin and then its argument prototype would still apply. */
14889 char XRRQueryExtension ();
14891 main (void)
14893 return XRRQueryExtension ();
14895 return 0;
14897 _ACEOF
14898 if ac_fn_c_try_link "$LINENO"
14899 then :
14900 case "$LIBEXT" in
14901 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14902 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'` ;;
14903 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14904 if ${ac_cv_lib_soname_Xrandr:+false} :
14905 then :
14906 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14907 fi ;;
14908 esac
14909 else $as_nop
14910 ac_cv_lib_soname_Xrandr=
14912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14913 conftest$ac_exeext conftest.$ac_ext
14914 LIBS=$ac_check_soname_save_LIBS
14916 if ${ac_cv_lib_soname_Xrandr:+false} :
14917 then :
14918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14919 printf "%s\n" "not found" >&6; }
14921 else $as_nop
14922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14923 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14925 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14929 #include <X11/Xlib.h>
14930 #include <X11/extensions/Xrandr.h>
14932 main (void)
14934 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14936 return 0;
14938 _ACEOF
14939 if ac_fn_c_try_compile "$LINENO"
14940 then :
14942 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14944 else $as_nop
14945 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14952 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14953 then :
14954 case "x$with_xrandr" in
14955 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14956 xno) ;;
14957 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14958 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14959 esac
14963 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14964 then
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #include <X11/Xlib.h>
14968 #include <X11/extensions/Xfixes.h>
14970 main (void)
14972 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14974 return 0;
14976 _ACEOF
14977 if ac_fn_c_try_compile "$LINENO"
14978 then :
14979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14980 printf %s "checking for -lXfixes... " >&6; }
14981 if test ${ac_cv_lib_soname_Xfixes+y}
14982 then :
14983 printf %s "(cached) " >&6
14984 else $as_nop
14985 ac_check_soname_save_LIBS=$LIBS
14986 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14990 /* Override any GCC internal prototype to avoid an error.
14991 Use char because int might match the return type of a GCC
14992 builtin and then its argument prototype would still apply. */
14993 char XFixesQueryVersion ();
14995 main (void)
14997 return XFixesQueryVersion ();
14999 return 0;
15001 _ACEOF
15002 if ac_fn_c_try_link "$LINENO"
15003 then :
15004 case "$LIBEXT" in
15005 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15006 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'` ;;
15007 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15008 if ${ac_cv_lib_soname_Xfixes:+false} :
15009 then :
15010 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15011 fi ;;
15012 esac
15013 else $as_nop
15014 ac_cv_lib_soname_Xfixes=
15016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15017 conftest$ac_exeext conftest.$ac_ext
15018 LIBS=$ac_check_soname_save_LIBS
15020 if ${ac_cv_lib_soname_Xfixes:+false} :
15021 then :
15022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15023 printf "%s\n" "not found" >&6; }
15025 else $as_nop
15026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15027 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15029 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15036 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15037 then :
15038 case "x$with_xfixes" in
15039 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15040 xno) ;;
15041 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15042 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15043 esac
15047 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15048 then
15049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15051 #include <X11/Xlib.h>
15052 #include <X11/extensions/Xinerama.h>
15054 main (void)
15056 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15058 return 0;
15060 _ACEOF
15061 if ac_fn_c_try_compile "$LINENO"
15062 then :
15063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15064 printf %s "checking for -lXinerama... " >&6; }
15065 if test ${ac_cv_lib_soname_Xinerama+y}
15066 then :
15067 printf %s "(cached) " >&6
15068 else $as_nop
15069 ac_check_soname_save_LIBS=$LIBS
15070 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15074 /* Override any GCC internal prototype to avoid an error.
15075 Use char because int might match the return type of a GCC
15076 builtin and then its argument prototype would still apply. */
15077 char XineramaQueryScreens ();
15079 main (void)
15081 return XineramaQueryScreens ();
15083 return 0;
15085 _ACEOF
15086 if ac_fn_c_try_link "$LINENO"
15087 then :
15088 case "$LIBEXT" in
15089 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15090 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'` ;;
15091 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15092 if ${ac_cv_lib_soname_Xinerama:+false} :
15093 then :
15094 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15095 fi ;;
15096 esac
15097 else $as_nop
15098 ac_cv_lib_soname_Xinerama=
15100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15101 conftest$ac_exeext conftest.$ac_ext
15102 LIBS=$ac_check_soname_save_LIBS
15104 if ${ac_cv_lib_soname_Xinerama:+false} :
15105 then :
15106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15107 printf "%s\n" "not found" >&6; }
15109 else $as_nop
15110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15111 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15113 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15120 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15121 then :
15122 case "x$with_xinerama" in
15123 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15124 xno) ;;
15125 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15126 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15127 esac
15131 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15133 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15134 then :
15135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15136 printf %s "checking for -lXcomposite... " >&6; }
15137 if test ${ac_cv_lib_soname_Xcomposite+y}
15138 then :
15139 printf %s "(cached) " >&6
15140 else $as_nop
15141 ac_check_soname_save_LIBS=$LIBS
15142 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15144 /* end confdefs.h. */
15146 /* Override any GCC internal prototype to avoid an error.
15147 Use char because int might match the return type of a GCC
15148 builtin and then its argument prototype would still apply. */
15149 char XCompositeRedirectWindow ();
15151 main (void)
15153 return XCompositeRedirectWindow ();
15155 return 0;
15157 _ACEOF
15158 if ac_fn_c_try_link "$LINENO"
15159 then :
15160 case "$LIBEXT" in
15161 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15162 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'` ;;
15163 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15164 if ${ac_cv_lib_soname_Xcomposite:+false} :
15165 then :
15166 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15167 fi ;;
15168 esac
15169 else $as_nop
15170 ac_cv_lib_soname_Xcomposite=
15172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15173 conftest$ac_exeext conftest.$ac_ext
15174 LIBS=$ac_check_soname_save_LIBS
15176 if ${ac_cv_lib_soname_Xcomposite:+false} :
15177 then :
15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15179 printf "%s\n" "not found" >&6; }
15181 else $as_nop
15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15183 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15185 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15191 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15192 then :
15193 case "x$with_xcomposite" in
15194 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15195 xno) ;;
15196 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15197 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15198 esac
15202 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15204 if test "x$ac_cv_member_XICCallback_callback" = xyes
15205 then :
15207 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15211 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15213 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15214 then :
15216 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15223 opengl_msg=""
15224 if test "x$with_opengl" != "xno"
15225 then
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15227 printf %s "checking for -lGL... " >&6; }
15228 if test ${ac_cv_lib_soname_GL+y}
15229 then :
15230 printf %s "(cached) " >&6
15231 else $as_nop
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 char glXCreateContext ();
15242 main (void)
15244 return glXCreateContext ();
15246 return 0;
15248 _ACEOF
15249 if ac_fn_c_try_link "$LINENO"
15250 then :
15251 case "$LIBEXT" in
15252 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 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'` ;;
15254 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_GL:+false} :
15256 then :
15257 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15258 fi ;;
15259 esac
15260 else $as_nop
15261 ac_cv_lib_soname_GL=
15263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15264 conftest$ac_exeext conftest.$ac_ext
15265 LIBS=$ac_check_soname_save_LIBS
15267 if ${ac_cv_lib_soname_GL:+false} :
15268 then :
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 printf "%s\n" "not found" >&6; }
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15272 printf %s "checking for -lGL... " >&6; }
15273 if test ${ac_cv_lib_soname_GL+y}
15274 then :
15275 printf %s "(cached) " >&6
15276 else $as_nop
15277 ac_check_soname_save_LIBS=$LIBS
15278 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"
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15282 /* Override any GCC internal prototype to avoid an error.
15283 Use char because int might match the return type of a GCC
15284 builtin and then its argument prototype would still apply. */
15285 char glXCreateContext ();
15287 main (void)
15289 return glXCreateContext ();
15291 return 0;
15293 _ACEOF
15294 if ac_fn_c_try_link "$LINENO"
15295 then :
15296 case "$LIBEXT" in
15297 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15298 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'` ;;
15299 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15300 if ${ac_cv_lib_soname_GL:+false} :
15301 then :
15302 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15303 fi ;;
15304 esac
15305 else $as_nop
15306 ac_cv_lib_soname_GL=
15308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15309 conftest$ac_exeext conftest.$ac_ext
15310 LIBS=$ac_check_soname_save_LIBS
15312 if ${ac_cv_lib_soname_GL:+false} :
15313 then :
15314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15315 printf "%s\n" "not found" >&6; }
15316 if test -f /usr/X11R6/lib/libGL.a
15317 then
15318 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15319 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15320 else
15321 opengl_msg="No OpenGL library found on this system."
15323 else $as_nop
15324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15325 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15327 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15329 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"
15331 else $as_nop
15332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15333 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15335 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15337 OPENGL_LIBS="-lGL"
15339 if test "x$with_osmesa" != "xno"
15340 then
15341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15342 printf %s "checking for -lOSMesa... " >&6; }
15343 if test ${ac_cv_lib_soname_OSMesa+y}
15344 then :
15345 printf %s "(cached) " >&6
15346 else $as_nop
15347 ac_check_soname_save_LIBS=$LIBS
15348 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15352 /* Override any GCC internal prototype to avoid an error.
15353 Use char because int might match the return type of a GCC
15354 builtin and then its argument prototype would still apply. */
15355 char OSMesaGetProcAddress ();
15357 main (void)
15359 return OSMesaGetProcAddress ();
15361 return 0;
15363 _ACEOF
15364 if ac_fn_c_try_link "$LINENO"
15365 then :
15366 case "$LIBEXT" in
15367 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15368 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'` ;;
15369 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15370 if ${ac_cv_lib_soname_OSMesa:+false} :
15371 then :
15372 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15373 fi ;;
15374 esac
15375 else $as_nop
15376 ac_cv_lib_soname_OSMesa=
15378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15379 conftest$ac_exeext conftest.$ac_ext
15380 LIBS=$ac_check_soname_save_LIBS
15382 if ${ac_cv_lib_soname_OSMesa:+false} :
15383 then :
15384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15385 printf "%s\n" "not found" >&6; }
15387 else $as_nop
15388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15389 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15391 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15395 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15396 then :
15397 case "x$with_osmesa" in
15398 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15399 xno) ;;
15400 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15401 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15402 esac
15407 if test -n "$opengl_msg"
15408 then :
15409 case "x$with_opengl" in
15410 x) as_fn_append wine_warnings "|$opengl_msg
15411 OpenGL and Direct3D won't be supported." ;;
15412 xno) ;;
15413 *) as_fn_error $? "$opengl_msg
15414 OpenGL and Direct3D won't be supported.
15415 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15416 esac
15420 CPPFLAGS="$ac_save_CPPFLAGS"
15421 else
15422 X_CFLAGS=""
15423 X_LIBS=""
15426 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15427 then
15428 if test "x$X_LIBS" = "x"
15429 then :
15430 case "x$with_x" in
15431 xno) ;;
15432 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15433 without X support, which probably isn't what you want. You will need
15434 to install ${notice_platform}development packages of Xlib at the very least.
15435 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15436 esac
15437 enable_winex11_drv=${enable_winex11_drv:-no}
15439 else
15440 if test "x$X_LIBS" = "x"
15441 then :
15442 case "x$with_x" in
15443 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15444 xno) ;;
15445 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15446 This is an error since --with-x was requested." "$LINENO" 5 ;;
15447 esac
15448 enable_winex11_drv=${enable_winex11_drv:-no}
15452 if test "x$with_wayland" != "xno"
15453 then
15454 rm -f conftest.err
15455 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15456 then :
15457 if test ${PKG_CONFIG+y}
15458 then :
15459 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15463 if ${WAYLAND_CLIENT_LIBS:+false} :
15464 then :
15465 if test ${PKG_CONFIG+y}
15466 then :
15467 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15474 if test -s conftest.err; then
15475 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15476 cat conftest.err >&5
15478 rm -f conftest.err
15479 ac_save_CPPFLAGS=$CPPFLAGS
15480 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15481 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15482 if test "x$ac_cv_header_wayland_client_h" = xyes
15483 then :
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15485 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15486 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15487 then :
15488 printf %s "(cached) " >&6
15489 else $as_nop
15490 ac_check_lib_save_LIBS=$LIBS
15491 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15495 /* Override any GCC internal prototype to avoid an error.
15496 Use char because int might match the return type of a GCC
15497 builtin and then its argument prototype would still apply. */
15498 char wl_display_connect ();
15500 main (void)
15502 return wl_display_connect ();
15504 return 0;
15506 _ACEOF
15507 if ac_fn_c_try_link "$LINENO"
15508 then :
15509 ac_cv_lib_wayland_client_wl_display_connect=yes
15510 else $as_nop
15511 ac_cv_lib_wayland_client_wl_display_connect=no
15513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15514 conftest$ac_exeext conftest.$ac_ext
15515 LIBS=$ac_check_lib_save_LIBS
15517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15518 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15519 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15520 then :
15521 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15522 set dummy wayland-scanner; ac_word=$2
15523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15524 printf %s "checking for $ac_word... " >&6; }
15525 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15526 then :
15527 printf %s "(cached) " >&6
15528 else $as_nop
15529 case $WAYLAND_SCANNER in
15530 [\\/]* | ?:[\\/]*)
15531 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15535 for as_dir in $PATH
15537 IFS=$as_save_IFS
15538 case $as_dir in #(((
15539 '') as_dir=./ ;;
15540 */) ;;
15541 *) as_dir=$as_dir/ ;;
15542 esac
15543 for ac_exec_ext in '' $ac_executable_extensions; do
15544 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15545 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15547 break 2
15549 done
15550 done
15551 IFS=$as_save_IFS
15553 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15555 esac
15557 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15558 if test -n "$WAYLAND_SCANNER"; then
15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15560 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15561 else
15562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15563 printf "%s\n" "no" >&6; }
15567 else $as_nop
15568 WAYLAND_CLIENT_LIBS=""
15573 CPPFLAGS=$ac_save_CPPFLAGS
15576 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15577 then :
15578 case "x$with_wayland" in
15579 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15580 xno) ;;
15581 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15582 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15583 esac
15584 enable_winewayland_drv=${enable_winewayland_drv:-no}
15587 if test "$ac_cv_header_CL_cl_h" = "yes"
15588 then
15589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15590 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15591 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15592 then :
15593 printf %s "(cached) " >&6
15594 else $as_nop
15595 ac_check_lib_save_LIBS=$LIBS
15596 LIBS="-lOpenCL $LIBS"
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15600 /* Override any GCC internal prototype to avoid an error.
15601 Use char because int might match the return type of a GCC
15602 builtin and then its argument prototype would still apply. */
15603 char clGetPlatformInfo ();
15605 main (void)
15607 return clGetPlatformInfo ();
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"
15613 then :
15614 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15615 else $as_nop
15616 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15619 conftest$ac_exeext conftest.$ac_ext
15620 LIBS=$ac_check_lib_save_LIBS
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15623 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15624 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15625 then :
15626 OPENCL_LIBS="-lOpenCL"
15631 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15632 then :
15633 case "x$with_opencl" in
15634 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15635 xno) ;;
15636 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15637 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15638 esac
15639 enable_opencl=${enable_opencl:-no}
15642 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15643 then
15644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15645 printf %s "checking for pcap_init in -lpcap... " >&6; }
15646 if test ${ac_cv_lib_pcap_pcap_init+y}
15647 then :
15648 printf %s "(cached) " >&6
15649 else $as_nop
15650 ac_check_lib_save_LIBS=$LIBS
15651 LIBS="-lpcap $LIBS"
15652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15653 /* end confdefs.h. */
15655 /* Override any GCC internal prototype to avoid an error.
15656 Use char because int might match the return type of a GCC
15657 builtin and then its argument prototype would still apply. */
15658 char pcap_init ();
15660 main (void)
15662 return pcap_init ();
15664 return 0;
15666 _ACEOF
15667 if ac_fn_c_try_link "$LINENO"
15668 then :
15669 ac_cv_lib_pcap_pcap_init=yes
15670 else $as_nop
15671 ac_cv_lib_pcap_pcap_init=no
15673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15674 conftest$ac_exeext conftest.$ac_ext
15675 LIBS=$ac_check_lib_save_LIBS
15677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15678 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15679 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15680 then :
15681 PCAP_LIBS="-lpcap"
15686 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15687 then :
15688 case "x$with_pcap" in
15689 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15690 xno) ;;
15691 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15692 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15693 esac
15694 enable_wpcap=${enable_wpcap:-no}
15697 if test "x$with_pcsclite" != "xno"
15698 then
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15700 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15701 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15702 then :
15703 printf %s "(cached) " >&6
15704 else $as_nop
15705 ac_check_lib_save_LIBS=$LIBS
15706 LIBS="-lpcsclite $LIBS"
15707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15708 /* end confdefs.h. */
15710 /* Override any GCC internal prototype to avoid an error.
15711 Use char because int might match the return type of a GCC
15712 builtin and then its argument prototype would still apply. */
15713 char SCardEstablishContext ();
15715 main (void)
15717 return SCardEstablishContext ();
15719 return 0;
15721 _ACEOF
15722 if ac_fn_c_try_link "$LINENO"
15723 then :
15724 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15725 else $as_nop
15726 ac_cv_lib_pcsclite_SCardEstablishContext=no
15728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15729 conftest$ac_exeext conftest.$ac_ext
15730 LIBS=$ac_check_lib_save_LIBS
15732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15733 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15734 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15735 then :
15736 PCSCLITE_LIBS="-lpcsclite"
15738 else $as_nop
15739 case $host_os in
15740 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15742 esac
15746 if test "x$PCSCLITE_LIBS" = x
15747 then :
15748 case "x$with_pcsclite" in
15749 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15750 xno) ;;
15751 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15752 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15753 esac
15754 enable_winscard=${enable_winscard:-no}
15757 if test "x$with_inotify" != "xno"
15758 then
15759 rm -f conftest.err
15760 if ${INOTIFY_CFLAGS:+false} :
15761 then :
15762 if test ${PKG_CONFIG+y}
15763 then :
15764 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15768 if ${INOTIFY_LIBS:+false} :
15769 then :
15770 if test ${PKG_CONFIG+y}
15771 then :
15772 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15779 if test -s conftest.err; then
15780 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15781 cat conftest.err >&5
15783 rm -f conftest.err
15784 ac_save_CPPFLAGS=$CPPFLAGS
15785 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15786 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15787 if test "x$ac_cv_header_sys_inotify_h" = xyes
15788 then :
15789 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15794 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15795 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15796 then :
15797 printf %s "(cached) " >&6
15798 else $as_nop
15799 ac_check_lib_save_LIBS=$LIBS
15800 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 char inotify_add_watch ();
15809 main (void)
15811 return inotify_add_watch ();
15813 return 0;
15815 _ACEOF
15816 if ac_fn_c_try_link "$LINENO"
15817 then :
15818 ac_cv_lib_inotify_inotify_add_watch=yes
15819 else $as_nop
15820 ac_cv_lib_inotify_inotify_add_watch=no
15822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15823 conftest$ac_exeext conftest.$ac_ext
15824 LIBS=$ac_check_lib_save_LIBS
15826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15827 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15828 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15829 then :
15831 else $as_nop
15832 INOTIFY_LIBS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15838 if test "$ac_cv_header_sys_inotify_h" != "yes"
15839 then :
15840 case "x$with_inotify" in
15841 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15842 xno) ;;
15843 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15844 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15845 esac
15849 if test "x$with_dbus" != "xno"
15850 then
15851 rm -f conftest.err
15852 if ${DBUS_CFLAGS:+false} :
15853 then :
15854 if test ${PKG_CONFIG+y}
15855 then :
15856 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15860 if ${DBUS_LIBS:+false} :
15861 then :
15862 if test ${PKG_CONFIG+y}
15863 then :
15864 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15871 if test -s conftest.err; then
15872 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15873 cat conftest.err >&5
15875 rm -f conftest.err
15876 ac_save_CPPFLAGS=$CPPFLAGS
15877 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15878 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15879 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15880 then :
15881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15882 printf %s "checking for -ldbus-1... " >&6; }
15883 if test ${ac_cv_lib_soname_dbus_1+y}
15884 then :
15885 printf %s "(cached) " >&6
15886 else $as_nop
15887 ac_check_soname_save_LIBS=$LIBS
15888 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15895 char dbus_connection_close ();
15897 main (void)
15899 return dbus_connection_close ();
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_link "$LINENO"
15905 then :
15906 case "$LIBEXT" in
15907 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15908 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'` ;;
15909 *) 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'`
15910 if ${ac_cv_lib_soname_dbus_1:+false} :
15911 then :
15912 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15913 fi ;;
15914 esac
15915 else $as_nop
15916 ac_cv_lib_soname_dbus_1=
15918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15919 conftest$ac_exeext conftest.$ac_ext
15920 LIBS=$ac_check_soname_save_LIBS
15922 if ${ac_cv_lib_soname_dbus_1:+false} :
15923 then :
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15925 printf "%s\n" "not found" >&6; }
15926 DBUS_CFLAGS=""
15927 else $as_nop
15928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15929 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15931 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15935 else $as_nop
15936 DBUS_CFLAGS=""
15939 CPPFLAGS=$ac_save_CPPFLAGS
15942 case $host_os in
15943 darwin*|macosx*) ;;
15944 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15945 then :
15946 case "x$with_dbus" in
15947 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15948 xno) ;;
15949 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15950 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15951 esac
15953 fi ;;
15954 esac
15956 if test "x$with_gnutls" != "xno"
15957 then
15958 rm -f conftest.err
15959 if ${GNUTLS_CFLAGS:+false} :
15960 then :
15961 if test ${PKG_CONFIG+y}
15962 then :
15963 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15967 if ${GNUTLS_LIBS:+false} :
15968 then :
15969 if test ${PKG_CONFIG+y}
15970 then :
15971 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15975 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15978 if test -s conftest.err; then
15979 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15980 cat conftest.err >&5
15982 rm -f conftest.err
15983 ac_save_CPPFLAGS=$CPPFLAGS
15984 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15985 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15986 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15987 then :
15988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989 /* end confdefs.h. */
15990 #include <gnutls/gnutls.h>
15991 #include <gnutls/crypto.h>
15993 main (void)
15995 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15997 return 0;
15999 _ACEOF
16000 if ac_fn_c_try_compile "$LINENO"
16001 then :
16002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16003 printf %s "checking for -lgnutls... " >&6; }
16004 if test ${ac_cv_lib_soname_gnutls+y}
16005 then :
16006 printf %s "(cached) " >&6
16007 else $as_nop
16008 ac_check_soname_save_LIBS=$LIBS
16009 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16013 /* Override any GCC internal prototype to avoid an error.
16014 Use char because int might match the return type of a GCC
16015 builtin and then its argument prototype would still apply. */
16016 char gnutls_global_init ();
16018 main (void)
16020 return gnutls_global_init ();
16022 return 0;
16024 _ACEOF
16025 if ac_fn_c_try_link "$LINENO"
16026 then :
16027 case "$LIBEXT" in
16028 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16029 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'` ;;
16030 *) 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'`
16031 if ${ac_cv_lib_soname_gnutls:+false} :
16032 then :
16033 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'`
16034 fi ;;
16035 esac
16036 else $as_nop
16037 ac_cv_lib_soname_gnutls=
16039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16040 conftest$ac_exeext conftest.$ac_ext
16041 LIBS=$ac_check_soname_save_LIBS
16043 if ${ac_cv_lib_soname_gnutls:+false} :
16044 then :
16045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16046 printf "%s\n" "not found" >&6; }
16047 GNUTLS_CFLAGS=""
16048 else $as_nop
16049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16050 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16052 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16056 ac_wine_check_funcs_save_LIBS="$LIBS"
16057 LIBS="$LIBS $GNUTLS_LIBS"
16059 for ac_func in gnutls_cipher_init
16060 do :
16061 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16062 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16063 then :
16064 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16066 else $as_nop
16067 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16070 done
16071 LIBS="$ac_wine_check_funcs_save_LIBS"
16073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16074 else $as_nop
16075 GNUTLS_CFLAGS=""
16078 CPPFLAGS=$ac_save_CPPFLAGS
16081 if test "x$ac_cv_lib_soname_gnutls" = "x"
16082 then :
16083 case "x$with_gnutls" in
16084 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16085 xno) ;;
16086 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16087 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16088 esac
16092 if test "x$with_sane" != "xno"
16093 then
16094 rm -f conftest.err
16095 if ${SANE_CFLAGS:+false} :
16096 then :
16097 if test ${PKG_CONFIG+y}
16098 then :
16099 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16102 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16103 if ${SANE_LIBS:+false} :
16104 then :
16105 if test ${PKG_CONFIG+y}
16106 then :
16107 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16110 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16114 if test -s conftest.err; then
16115 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16116 cat conftest.err >&5
16118 rm -f conftest.err
16119 ac_save_CPPFLAGS=$CPPFLAGS
16120 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16121 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16122 if test "x$ac_cv_header_sane_sane_h" = xyes
16123 then :
16124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16125 printf %s "checking for sane_init in -lsane... " >&6; }
16126 if test ${ac_cv_lib_sane_sane_init+y}
16127 then :
16128 printf %s "(cached) " >&6
16129 else $as_nop
16130 ac_check_lib_save_LIBS=$LIBS
16131 LIBS="-lsane $SANE_LIBS $LIBS"
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 char sane_init ();
16140 main (void)
16142 return sane_init ();
16144 return 0;
16146 _ACEOF
16147 if ac_fn_c_try_link "$LINENO"
16148 then :
16149 ac_cv_lib_sane_sane_init=yes
16150 else $as_nop
16151 ac_cv_lib_sane_sane_init=no
16153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16154 conftest$ac_exeext conftest.$ac_ext
16155 LIBS=$ac_check_lib_save_LIBS
16157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16158 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16159 if test "x$ac_cv_lib_sane_sane_init" = xyes
16160 then :
16166 CPPFLAGS=$ac_save_CPPFLAGS
16169 if test "$ac_cv_lib_sane_sane_init" != "yes"
16170 then :
16171 case "x$with_sane" in
16172 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16173 xno) ;;
16174 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16175 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16176 esac
16177 enable_sane_ds=${enable_sane_ds:-no}
16180 if test "x$with_usb" != "xno"
16181 then
16182 rm -f conftest.err
16183 if ${USB_CFLAGS:+false} :
16184 then :
16185 if test ${PKG_CONFIG+y}
16186 then :
16187 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16191 if ${USB_LIBS:+false} :
16192 then :
16193 if test ${PKG_CONFIG+y}
16194 then :
16195 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16199 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16202 if test -s conftest.err; then
16203 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16204 cat conftest.err >&5
16206 rm -f conftest.err
16207 ac_save_CPPFLAGS=$CPPFLAGS
16208 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16209 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16210 if test "x$ac_cv_header_libusb_h" = xyes
16211 then :
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16213 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16214 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16215 then :
16216 printf %s "(cached) " >&6
16217 else $as_nop
16218 ac_check_lib_save_LIBS=$LIBS
16219 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16226 char libusb_interrupt_event_handler ();
16228 main (void)
16230 return libusb_interrupt_event_handler ();
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"
16236 then :
16237 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16238 else $as_nop
16239 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16242 conftest$ac_exeext conftest.$ac_ext
16243 LIBS=$ac_check_lib_save_LIBS
16245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16246 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16247 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16248 then :
16250 else $as_nop
16251 USB_LIBS=""
16254 else $as_nop
16255 USB_LIBS=""
16258 CPPFLAGS=$ac_save_CPPFLAGS
16261 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16262 then :
16263 case "x$with_usb" in
16264 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16265 xno) ;;
16266 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16267 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16268 esac
16269 enable_wineusb_sys=${enable_wineusb_sys:-no}
16272 if test "x$with_v4l2" != "xno"
16273 then
16274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16275 printf %s "checking for -lv4l2... " >&6; }
16276 if test ${ac_cv_lib_soname_v4l2+y}
16277 then :
16278 printf %s "(cached) " >&6
16279 else $as_nop
16280 ac_check_soname_save_LIBS=$LIBS
16281 LIBS="-lv4l2 $LIBS"
16282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16283 /* end confdefs.h. */
16285 /* Override any GCC internal prototype to avoid an error.
16286 Use char because int might match the return type of a GCC
16287 builtin and then its argument prototype would still apply. */
16288 char v4l2_open ();
16290 main (void)
16292 return v4l2_open ();
16294 return 0;
16296 _ACEOF
16297 if ac_fn_c_try_link "$LINENO"
16298 then :
16299 case "$LIBEXT" in
16300 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16301 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'` ;;
16302 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16303 if ${ac_cv_lib_soname_v4l2:+false} :
16304 then :
16305 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16306 fi ;;
16307 esac
16308 else $as_nop
16309 ac_cv_lib_soname_v4l2=
16311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16312 conftest$ac_exeext conftest.$ac_ext
16313 LIBS=$ac_check_soname_save_LIBS
16315 if ${ac_cv_lib_soname_v4l2:+false} :
16316 then :
16317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16318 printf "%s\n" "not found" >&6; }
16320 else $as_nop
16321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16322 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16324 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16329 if test "x$ac_cv_lib_soname_v4l2" = "x"
16330 then :
16331 case "x$with_v4l2" in
16332 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16333 xno) ;;
16334 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16335 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16336 esac
16340 if test "x$with_gphoto" != "xno"
16341 then
16342 rm -f conftest.err
16343 if ${GPHOTO2_CFLAGS:+false} :
16344 then :
16345 if test ${PKG_CONFIG+y}
16346 then :
16347 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16350 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16351 if ${GPHOTO2_LIBS:+false} :
16352 then :
16353 if test ${PKG_CONFIG+y}
16354 then :
16355 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16358 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16359 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16362 if test -s conftest.err; then
16363 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16364 cat conftest.err >&5
16366 rm -f conftest.err
16367 ac_save_CPPFLAGS=$CPPFLAGS
16368 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16369 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16370 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16371 then :
16372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16373 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16374 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16375 then :
16376 printf %s "(cached) " >&6
16377 else $as_nop
16378 ac_check_lib_save_LIBS=$LIBS
16379 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16383 /* Override any GCC internal prototype to avoid an error.
16384 Use char because int might match the return type of a GCC
16385 builtin and then its argument prototype would still apply. */
16386 char gp_camera_new ();
16388 main (void)
16390 return gp_camera_new ();
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_link "$LINENO"
16396 then :
16397 ac_cv_lib_gphoto2_gp_camera_new=yes
16398 else $as_nop
16399 ac_cv_lib_gphoto2_gp_camera_new=no
16401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16402 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16406 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16407 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16408 then :
16414 CPPFLAGS=$ac_save_CPPFLAGS
16416 rm -f conftest.err
16417 if ${GPHOTO2_PORT_CFLAGS:+false} :
16418 then :
16419 if test ${PKG_CONFIG+y}
16420 then :
16421 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16424 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16425 if ${GPHOTO2_PORT_LIBS:+false} :
16426 then :
16427 if test ${PKG_CONFIG+y}
16428 then :
16429 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16432 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16433 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16436 if test -s conftest.err; then
16437 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16438 cat conftest.err >&5
16440 rm -f conftest.err
16441 ac_save_CPPFLAGS=$CPPFLAGS
16442 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16443 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16444 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16445 then :
16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16447 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16448 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16449 then :
16450 printf %s "(cached) " >&6
16451 else $as_nop
16452 ac_check_lib_save_LIBS=$LIBS
16453 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16460 char gp_port_info_list_new ();
16462 main (void)
16464 return gp_port_info_list_new ();
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"
16470 then :
16471 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16472 else $as_nop
16473 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16476 conftest$ac_exeext conftest.$ac_ext
16477 LIBS=$ac_check_lib_save_LIBS
16479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16480 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16481 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16482 then :
16484 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16486 else $as_nop
16487 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16490 else $as_nop
16491 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16494 CPPFLAGS=$ac_save_CPPFLAGS
16497 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16498 then :
16499 case "x$with_gphoto" in
16500 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16501 xno) ;;
16502 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16503 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16504 esac
16505 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16507 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16508 then :
16509 case "x$with_gphoto" in
16510 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16511 xno) ;;
16512 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16513 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16514 esac
16519 if test "$ac_cv_header_resolv_h" = "yes"
16520 then
16521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16522 printf %s "checking for resolver library... " >&6; }
16523 if test ${ac_cv_have_resolv+y}
16524 then :
16525 printf %s "(cached) " >&6
16526 else $as_nop
16527 ac_save_LIBS="$LIBS"
16528 for lib in '' -lresolv
16530 LIBS="$lib $ac_save_LIBS"
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16533 #ifdef HAVE_NETINET_IN_H
16534 #include <netinet/in.h>
16535 #endif
16536 #include <resolv.h>
16538 main (void)
16540 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"
16546 then :
16547 ac_cv_have_resolv=${lib:-"none required"}
16548 else $as_nop
16549 ac_cv_have_resolv="not found"
16551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16552 conftest$ac_exeext conftest.$ac_ext
16553 test "x$ac_cv_have_resolv" = "xnot found" || break
16554 done
16555 LIBS="$ac_save_LIBS"
16557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16558 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16560 case "$ac_cv_have_resolv" in
16561 "not found") ;;
16562 "none required")
16564 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16567 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16569 RESOLV_LIBS=$ac_cv_have_resolv
16571 esac
16573 if test "x$ac_cv_have_resolv" != "xnot found"
16574 then
16575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16576 printf %s "checking for res_getservers... " >&6; }
16577 if test ${ac_cv_have_res_getservers+y}
16578 then :
16579 printf %s "(cached) " >&6
16580 else $as_nop
16581 ac_save_LIBS="$LIBS"
16582 LIBS="$RESOLV_LIBS $LIBS"
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16585 #include <resolv.h>
16587 main (void)
16589 res_getservers(NULL, NULL, 0);
16591 return 0;
16593 _ACEOF
16594 if ac_fn_c_try_link "$LINENO"
16595 then :
16596 ac_cv_have_res_getservers=yes
16597 else $as_nop
16598 ac_cv_have_res_getservers=no
16600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS="$ac_save_LIBS"
16604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16605 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16606 if test "$ac_cv_have_res_getservers" = "yes"
16607 then
16609 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16615 if test "x$with_freetype" != "xno"
16616 then
16617 rm -f conftest.err
16618 if ${FREETYPE_CFLAGS:+false} :
16619 then :
16620 if test ${PKG_CONFIG+y}
16621 then :
16622 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16625 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16626 if ${FREETYPE_LIBS:+false} :
16627 then :
16628 if test ${PKG_CONFIG+y}
16629 then :
16630 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16633 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16634 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16637 if test -s conftest.err; then
16638 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16639 cat conftest.err >&5
16641 rm -f conftest.err
16642 ac_save_CPPFLAGS=$CPPFLAGS
16643 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16644 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16645 if test "x$ac_cv_header_ft2build_h" = xyes
16646 then :
16647 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16651 if test "$ac_cv_header_ft2build_h" = "yes"
16652 then
16653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16654 printf %s "checking for -lfreetype... " >&6; }
16655 if test ${ac_cv_lib_soname_freetype+y}
16656 then :
16657 printf %s "(cached) " >&6
16658 else $as_nop
16659 ac_check_soname_save_LIBS=$LIBS
16660 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16664 /* Override any GCC internal prototype to avoid an error.
16665 Use char because int might match the return type of a GCC
16666 builtin and then its argument prototype would still apply. */
16667 char FT_Init_FreeType ();
16669 main (void)
16671 return FT_Init_FreeType ();
16673 return 0;
16675 _ACEOF
16676 if ac_fn_c_try_link "$LINENO"
16677 then :
16678 case "$LIBEXT" in
16679 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16680 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'` ;;
16681 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16682 if ${ac_cv_lib_soname_freetype:+false} :
16683 then :
16684 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16685 fi ;;
16686 esac
16687 else $as_nop
16688 ac_cv_lib_soname_freetype=
16690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16691 conftest$ac_exeext conftest.$ac_ext
16692 LIBS=$ac_check_soname_save_LIBS
16694 if ${ac_cv_lib_soname_freetype:+false} :
16695 then :
16696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16697 printf "%s\n" "not found" >&6; }
16698 FREETYPE_LIBS=""
16699 else $as_nop
16700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16701 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16703 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16706 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16708 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16709 #include FT_MODULE_H
16711 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16712 then :
16714 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16720 else
16721 FREETYPE_CFLAGS=""
16722 FREETYPE_LIBS=""
16724 CPPFLAGS=$ac_save_CPPFLAGS
16727 if test "x$ac_cv_lib_soname_freetype" = x
16728 then :
16729 case "x$with_freetype" in
16730 xno) ;;
16731 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16732 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16733 esac
16734 enable_fonts=${enable_fonts:-no}
16737 ac_wine_check_funcs_save_LIBS="$LIBS"
16738 LIBS="$LIBS $PTHREAD_LIBS"
16739 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16740 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16741 then :
16742 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16746 LIBS="$ac_wine_check_funcs_save_LIBS"
16748 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16749 then
16750 if test "$ac_cv_header_gettext_po_h" = "yes"
16751 then
16752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16753 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16754 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16755 then :
16756 printf %s "(cached) " >&6
16757 else $as_nop
16758 ac_check_lib_save_LIBS=$LIBS
16759 LIBS="-lgettextpo $LIBS"
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16763 /* Override any GCC internal prototype to avoid an error.
16764 Use char because int might match the return type of a GCC
16765 builtin and then its argument prototype would still apply. */
16766 char po_message_msgctxt ();
16768 main (void)
16770 return po_message_msgctxt ();
16772 return 0;
16774 _ACEOF
16775 if ac_fn_c_try_link "$LINENO"
16776 then :
16777 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16778 else $as_nop
16779 ac_cv_lib_gettextpo_po_message_msgctxt=no
16781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16782 conftest$ac_exeext conftest.$ac_ext
16783 LIBS=$ac_check_lib_save_LIBS
16785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16786 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16787 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16788 then :
16790 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16792 GETTEXTPO_LIBS="-lgettextpo"
16797 if test "x$GETTEXTPO_LIBS" = "x"
16798 then :
16799 case "x$with_gettextpo" in
16800 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16801 xno) ;;
16802 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16803 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16804 esac
16807 if test "$srcdir" != .
16808 then :
16809 case "x$with_gettextpo" in
16810 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16811 xno) ;;
16812 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16813 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16814 esac
16819 if test "x$with_pulse" != "xno";
16820 then
16821 rm -f conftest.err
16822 if ${PULSE_CFLAGS:+false} :
16823 then :
16824 if test ${PKG_CONFIG+y}
16825 then :
16826 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16830 if ${PULSE_LIBS:+false} :
16831 then :
16832 if test ${PKG_CONFIG+y}
16833 then :
16834 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16841 if test -s conftest.err; then
16842 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16843 cat conftest.err >&5
16845 rm -f conftest.err
16846 ac_save_CPPFLAGS=$CPPFLAGS
16847 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16848 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16849 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16850 then :
16851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16852 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16853 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16854 then :
16855 printf %s "(cached) " >&6
16856 else $as_nop
16857 ac_check_lib_save_LIBS=$LIBS
16858 LIBS="-lpulse $PULSE_LIBS $LIBS"
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16862 /* Override any GCC internal prototype to avoid an error.
16863 Use char because int might match the return type of a GCC
16864 builtin and then its argument prototype would still apply. */
16865 char pa_stream_is_corked ();
16867 main (void)
16869 return pa_stream_is_corked ();
16871 return 0;
16873 _ACEOF
16874 if ac_fn_c_try_link "$LINENO"
16875 then :
16876 ac_cv_lib_pulse_pa_stream_is_corked=yes
16877 else $as_nop
16878 ac_cv_lib_pulse_pa_stream_is_corked=no
16880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16881 conftest$ac_exeext conftest.$ac_ext
16882 LIBS=$ac_check_lib_save_LIBS
16884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16885 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16886 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16887 then :
16889 else $as_nop
16890 PULSE_LIBS=""
16893 else $as_nop
16894 PULSE_LIBS=""
16897 CPPFLAGS=$ac_save_CPPFLAGS
16900 if test -z "$PULSE_LIBS"
16901 then :
16902 case "x$with_pulse" in
16903 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16904 xno) ;;
16905 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16906 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16907 esac
16908 enable_winepulse_drv=${enable_winepulse_drv:-no}
16911 if test "x$with_gstreamer" != "xno"
16912 then
16913 rm -f conftest.err
16914 if ${GSTREAMER_CFLAGS:+false} :
16915 then :
16916 if test ${PKG_CONFIG+y}
16917 then :
16918 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16922 if ${GSTREAMER_LIBS:+false} :
16923 then :
16924 if test ${PKG_CONFIG+y}
16925 then :
16926 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16931 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
16932 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
16933 if test -s conftest.err; then
16934 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16935 cat conftest.err >&5
16937 rm -f conftest.err
16938 ac_save_CPPFLAGS=$CPPFLAGS
16939 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16940 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16941 if test "x$ac_cv_header_gst_gst_h" = xyes
16942 then :
16943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16944 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 #include <gst/gst.h>
16949 main (void)
16951 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16953 return 0;
16955 _ACEOF
16956 if ac_fn_c_try_compile "$LINENO"
16957 then :
16958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16959 printf "%s\n" "yes" >&6; }
16960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16961 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16962 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16963 then :
16964 printf %s "(cached) " >&6
16965 else $as_nop
16966 ac_check_lib_save_LIBS=$LIBS
16967 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16969 /* end confdefs.h. */
16971 /* Override any GCC internal prototype to avoid an error.
16972 Use char because int might match the return type of a GCC
16973 builtin and then its argument prototype would still apply. */
16974 char gst_pad_new ();
16976 main (void)
16978 return gst_pad_new ();
16980 return 0;
16982 _ACEOF
16983 if ac_fn_c_try_link "$LINENO"
16984 then :
16985 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16986 else $as_nop
16987 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16990 conftest$ac_exeext conftest.$ac_ext
16991 LIBS=$ac_check_lib_save_LIBS
16993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16994 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16995 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16996 then :
17000 else $as_nop
17001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17002 printf "%s\n" "no" >&6; }
17003 ac_glib2_broken=yes
17004 enable_winegstreamer=${enable_winegstreamer:-no}
17005 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17010 CPPFLAGS=$ac_save_CPPFLAGS
17013 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17014 then :
17015 case "x$with_gstreamer" in
17016 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17017 xno) ;;
17018 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17019 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17020 esac
17021 enable_winegstreamer=${enable_winegstreamer:-no}
17024 ALSA_LIBS=""
17026 if test "x$with_alsa" != "xno"
17027 then
17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17029 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17030 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17031 then :
17032 printf %s "(cached) " >&6
17033 else $as_nop
17034 ac_check_lib_save_LIBS=$LIBS
17035 LIBS="-lasound $LIBS"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17042 char snd_pcm_hw_params_get_access_mask ();
17044 main (void)
17046 return snd_pcm_hw_params_get_access_mask ();
17048 return 0;
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"
17052 then :
17053 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17054 else $as_nop
17055 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17058 conftest$ac_exeext conftest.$ac_ext
17059 LIBS=$ac_check_lib_save_LIBS
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17062 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17063 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17064 then :
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067 #include <alsa/asoundlib.h>
17069 main (void)
17071 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17073 return 0;
17075 _ACEOF
17076 if ac_fn_c_try_compile "$LINENO"
17077 then :
17078 ALSA_LIBS="-lasound"
17080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17084 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17086 if test "x$with_oss" != xno
17087 then
17088 ac_save_CPPFLAGS="$CPPFLAGS"
17089 if test -f /etc/oss.conf
17090 then
17091 . /etc/oss.conf
17093 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17094 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17095 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17096 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17097 then :
17098 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17100 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17101 then :
17103 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17105 OSS4_CFLAGS="$ac_oss_incl"
17107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17108 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17109 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17110 then :
17111 printf %s "(cached) " >&6
17112 else $as_nop
17113 ac_check_lib_save_LIBS=$LIBS
17114 LIBS="-lossaudio $LIBS"
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17118 /* Override any GCC internal prototype to avoid an error.
17119 Use char because int might match the return type of a GCC
17120 builtin and then its argument prototype would still apply. */
17121 char _oss_ioctl ();
17123 main (void)
17125 return _oss_ioctl ();
17127 return 0;
17129 _ACEOF
17130 if ac_fn_c_try_link "$LINENO"
17131 then :
17132 ac_cv_lib_ossaudio__oss_ioctl=yes
17133 else $as_nop
17134 ac_cv_lib_ossaudio__oss_ioctl=no
17136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17137 conftest$ac_exeext conftest.$ac_ext
17138 LIBS=$ac_check_lib_save_LIBS
17140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17141 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17142 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17143 then :
17144 OSS4_LIBS="-lossaudio"
17152 CPPFLAGS="$ac_save_CPPFLAGS"
17154 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17155 then :
17156 case "x$with_oss" in
17157 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17158 xno) ;;
17159 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17160 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17161 esac
17162 enable_wineoss_drv=${enable_wineoss_drv:-no}
17165 if test "x$with_udev" != "xno"
17166 then
17167 rm -f conftest.err
17168 if ${UDEV_CFLAGS:+false} :
17169 then :
17170 if test ${PKG_CONFIG+y}
17171 then :
17172 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17176 if ${UDEV_LIBS:+false} :
17177 then :
17178 if test ${PKG_CONFIG+y}
17179 then :
17180 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17184 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17187 if test -s conftest.err; then
17188 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17189 cat conftest.err >&5
17191 rm -f conftest.err
17192 ac_save_CPPFLAGS=$CPPFLAGS
17193 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17194 for ac_header in libudev.h
17195 do :
17196 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17197 if test "x$ac_cv_header_libudev_h" = xyes
17198 then :
17199 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17201 printf %s "checking for udev_new in -ludev... " >&6; }
17202 if test ${ac_cv_lib_udev_udev_new+y}
17203 then :
17204 printf %s "(cached) " >&6
17205 else $as_nop
17206 ac_check_lib_save_LIBS=$LIBS
17207 LIBS="-ludev $UDEV_LIBS $LIBS"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17211 /* Override any GCC internal prototype to avoid an error.
17212 Use char because int might match the return type of a GCC
17213 builtin and then its argument prototype would still apply. */
17214 char udev_new ();
17216 main (void)
17218 return udev_new ();
17220 return 0;
17222 _ACEOF
17223 if ac_fn_c_try_link "$LINENO"
17224 then :
17225 ac_cv_lib_udev_udev_new=yes
17226 else $as_nop
17227 ac_cv_lib_udev_udev_new=no
17229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17230 conftest$ac_exeext conftest.$ac_ext
17231 LIBS=$ac_check_lib_save_LIBS
17233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17234 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17235 if test "x$ac_cv_lib_udev_udev_new" = xyes
17236 then :
17238 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17240 else $as_nop
17241 UDEV_LIBS=""
17244 else $as_nop
17245 UDEV_LIBS=""
17248 done
17249 CPPFLAGS=$ac_save_CPPFLAGS
17252 if test "x$UDEV_LIBS" = "x"
17253 then :
17254 case "x$with_udev" in
17255 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17256 xno) ;;
17257 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17258 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17259 esac
17263 if test "x$with_unwind" != xno
17264 then
17265 rm -f conftest.err
17266 if ${UNWIND_CFLAGS:+false} :
17267 then :
17268 if test ${PKG_CONFIG+y}
17269 then :
17270 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17274 if ${UNWIND_LIBS:+false} :
17275 then :
17276 if test ${PKG_CONFIG+y}
17277 then :
17278 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17282 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17285 if test -s conftest.err; then
17286 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17287 cat conftest.err >&5
17289 rm -f conftest.err
17290 ac_save_CPPFLAGS=$CPPFLAGS
17291 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17293 printf %s "checking for unw_step... " >&6; }
17294 if test ${wine_cv_have_unw_step+y}
17295 then :
17296 printf %s "(cached) " >&6
17297 else $as_nop
17298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17300 #define UNW_LOCAL_ONLY
17301 #include <libunwind.h>
17303 main (void)
17305 unw_cursor_t cursor; unw_step( &cursor );
17307 return 0;
17309 _ACEOF
17310 if ac_fn_c_try_link "$LINENO"
17311 then :
17312 wine_cv_have_unw_step="yes"
17313 else $as_nop
17314 wine_cv_have_unw_step="no"
17316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17317 conftest$ac_exeext conftest.$ac_ext
17319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17320 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17321 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17322 then
17323 save_libs=$LIBS
17324 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17325 LIBS="$UNWIND_LIBS $LIBS"
17326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17327 printf %s "checking for unw_step in libunwind... " >&6; }
17328 if test ${wine_cv_have_libunwind_unw_step+y}
17329 then :
17330 printf %s "(cached) " >&6
17331 else $as_nop
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 #define UNW_LOCAL_ONLY
17335 #include <libunwind.h>
17337 main (void)
17339 unw_cursor_t cursor; unw_step( &cursor );
17341 return 0;
17343 _ACEOF
17344 if ac_fn_c_try_link "$LINENO"
17345 then :
17346 wine_cv_have_libunwind_unw_step="yes"
17347 else $as_nop
17348 wine_cv_have_libunwind_unw_step="no"
17350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17351 conftest$ac_exeext conftest.$ac_ext
17353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17354 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17355 LIBS=$save_libs
17357 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17358 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17359 then
17361 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17364 CPPFLAGS=$ac_save_CPPFLAGS
17367 case $host in
17368 aarch64*|*-darwin*)
17369 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17370 then :
17371 case "x$with_unwind" in
17372 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17373 xno) ;;
17374 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17375 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17376 esac
17378 fi ;;
17379 esac
17381 if test "x$with_sdl" != "xno"
17382 then
17383 rm -f conftest.err
17384 if ${SDL2_CFLAGS:+false} :
17385 then :
17386 if test ${PKG_CONFIG+y}
17387 then :
17388 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17392 if ${SDL2_LIBS:+false} :
17393 then :
17394 if test ${PKG_CONFIG+y}
17395 then :
17396 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17400 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17403 if test -s conftest.err; then
17404 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17405 cat conftest.err >&5
17407 rm -f conftest.err
17408 ac_save_CPPFLAGS=$CPPFLAGS
17409 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17410 for ac_header in SDL.h
17411 do :
17412 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17413 if test "x$ac_cv_header_SDL_h" = xyes
17414 then :
17415 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17417 printf %s "checking for -lSDL2... " >&6; }
17418 if test ${ac_cv_lib_soname_SDL2+y}
17419 then :
17420 printf %s "(cached) " >&6
17421 else $as_nop
17422 ac_check_soname_save_LIBS=$LIBS
17423 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17427 /* Override any GCC internal prototype to avoid an error.
17428 Use char because int might match the return type of a GCC
17429 builtin and then its argument prototype would still apply. */
17430 char SDL_Init ();
17432 main (void)
17434 return SDL_Init ();
17436 return 0;
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"
17440 then :
17441 case "$LIBEXT" in
17442 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17443 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'` ;;
17444 *) 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'`
17445 if ${ac_cv_lib_soname_SDL2:+false} :
17446 then :
17447 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17448 fi ;;
17449 esac
17450 else $as_nop
17451 ac_cv_lib_soname_SDL2=
17453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17454 conftest$ac_exeext conftest.$ac_ext
17455 LIBS=$ac_check_soname_save_LIBS
17457 if ${ac_cv_lib_soname_SDL2:+false} :
17458 then :
17459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17460 printf "%s\n" "not found" >&6; }
17462 else $as_nop
17463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17464 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17466 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17472 done
17473 CPPFLAGS=$ac_save_CPPFLAGS
17476 if test "x$ac_cv_lib_soname_SDL2" = "x"
17477 then :
17478 case "x$with_sdl" in
17479 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17480 xno) ;;
17481 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17482 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17483 esac
17487 if test "x$with_capi" != "xno"
17488 then
17489 rm -f conftest.err
17490 if ${CAPI20_CFLAGS:+false} :
17491 then :
17492 if test ${PKG_CONFIG+y}
17493 then :
17494 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17498 if ${CAPI20_LIBS:+false} :
17499 then :
17500 if test ${PKG_CONFIG+y}
17501 then :
17502 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17509 if test -s conftest.err; then
17510 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17511 cat conftest.err >&5
17513 rm -f conftest.err
17514 ac_save_CPPFLAGS=$CPPFLAGS
17515 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17516 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17518 if test "x$ac_cv_header_capi20_h" = xyes
17519 then :
17520 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17523 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17525 if test "x$ac_cv_header_linux_capi_h" = xyes
17526 then :
17527 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17531 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17532 then
17533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17534 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17535 if test ${ac_cv_lib_capi20_capi20_register+y}
17536 then :
17537 printf %s "(cached) " >&6
17538 else $as_nop
17539 ac_check_lib_save_LIBS=$LIBS
17540 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17544 /* Override any GCC internal prototype to avoid an error.
17545 Use char because int might match the return type of a GCC
17546 builtin and then its argument prototype would still apply. */
17547 char capi20_register ();
17549 main (void)
17551 return capi20_register ();
17553 return 0;
17555 _ACEOF
17556 if ac_fn_c_try_link "$LINENO"
17557 then :
17558 ac_cv_lib_capi20_capi20_register=yes
17559 else $as_nop
17560 ac_cv_lib_capi20_capi20_register=no
17562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17563 conftest$ac_exeext conftest.$ac_ext
17564 LIBS=$ac_check_lib_save_LIBS
17566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17567 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17568 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17569 then :
17571 else $as_nop
17572 CAPI20_LIBS=""
17576 CPPFLAGS=$ac_save_CPPFLAGS
17579 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17580 then :
17581 case "x$with_capi" in
17582 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17583 xno) ;;
17584 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17585 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17586 esac
17587 enable_capi2032=${enable_capi2032:-no}
17590 if test "x$with_cups" != "xno"
17591 then
17592 rm -f conftest.err
17593 if ${CUPS_CFLAGS:+false} :
17594 then :
17595 if test ${PKG_CONFIG+y}
17596 then :
17597 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17600 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17601 if ${CUPS_LIBS:+false} :
17602 then :
17603 if test ${PKG_CONFIG+y}
17604 then :
17605 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17608 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17609 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17612 if test -s conftest.err; then
17613 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17614 cat conftest.err >&5
17616 rm -f conftest.err
17617 ac_save_CPPFLAGS=$CPPFLAGS
17618 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17619 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17620 if test "x$ac_cv_header_cups_cups_h" = xyes
17621 then :
17622 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17625 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17626 if test "x$ac_cv_header_cups_ppd_h" = xyes
17627 then :
17628 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17632 if test "$ac_cv_header_cups_cups_h" = "yes"
17633 then
17634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17635 printf %s "checking for -lcups... " >&6; }
17636 if test ${ac_cv_lib_soname_cups+y}
17637 then :
17638 printf %s "(cached) " >&6
17639 else $as_nop
17640 ac_check_soname_save_LIBS=$LIBS
17641 LIBS="-lcups $CUPS_LIBS $LIBS"
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17645 /* Override any GCC internal prototype to avoid an error.
17646 Use char because int might match the return type of a GCC
17647 builtin and then its argument prototype would still apply. */
17648 char cupsGetDefault ();
17650 main (void)
17652 return cupsGetDefault ();
17654 return 0;
17656 _ACEOF
17657 if ac_fn_c_try_link "$LINENO"
17658 then :
17659 case "$LIBEXT" in
17660 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17661 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'` ;;
17662 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17663 if ${ac_cv_lib_soname_cups:+false} :
17664 then :
17665 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17666 fi ;;
17667 esac
17668 else $as_nop
17669 ac_cv_lib_soname_cups=
17671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17672 conftest$ac_exeext conftest.$ac_ext
17673 LIBS=$ac_check_soname_save_LIBS
17675 if ${ac_cv_lib_soname_cups:+false} :
17676 then :
17677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17678 printf "%s\n" "not found" >&6; }
17679 CUPS_LIBS=""
17680 else $as_nop
17681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17682 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17684 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17688 else
17689 CUPS_CFLAGS=""
17690 CUPS_LIBS=""
17692 CPPFLAGS=$ac_save_CPPFLAGS
17695 if test "x$ac_cv_lib_soname_cups" = "x"
17696 then :
17697 case "x$with_cups" in
17698 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17699 xno) ;;
17700 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17701 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17702 esac
17706 if test "x$with_fontconfig" != "xno"
17707 then
17708 rm -f conftest.err
17709 if ${FONTCONFIG_CFLAGS:+false} :
17710 then :
17711 if test ${PKG_CONFIG+y}
17712 then :
17713 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17716 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17717 if ${FONTCONFIG_LIBS:+false} :
17718 then :
17719 if test ${PKG_CONFIG+y}
17720 then :
17721 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17724 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17728 if test -s conftest.err; then
17729 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17730 cat conftest.err >&5
17732 rm -f conftest.err
17733 ac_save_CPPFLAGS=$CPPFLAGS
17734 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17735 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17736 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17737 then :
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17739 printf %s "checking for -lfontconfig... " >&6; }
17740 if test ${ac_cv_lib_soname_fontconfig+y}
17741 then :
17742 printf %s "(cached) " >&6
17743 else $as_nop
17744 ac_check_soname_save_LIBS=$LIBS
17745 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17749 /* Override any GCC internal prototype to avoid an error.
17750 Use char because int might match the return type of a GCC
17751 builtin and then its argument prototype would still apply. */
17752 char FcInit ();
17754 main (void)
17756 return FcInit ();
17758 return 0;
17760 _ACEOF
17761 if ac_fn_c_try_link "$LINENO"
17762 then :
17763 case "$LIBEXT" in
17764 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17765 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'` ;;
17766 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17767 if ${ac_cv_lib_soname_fontconfig:+false} :
17768 then :
17769 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17770 fi ;;
17771 esac
17772 else $as_nop
17773 ac_cv_lib_soname_fontconfig=
17775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17776 conftest$ac_exeext conftest.$ac_ext
17777 LIBS=$ac_check_soname_save_LIBS
17779 if ${ac_cv_lib_soname_fontconfig:+false} :
17780 then :
17781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17782 printf "%s\n" "not found" >&6; }
17783 FONTCONFIG_CFLAGS=""
17784 else $as_nop
17785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17786 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17788 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17792 else $as_nop
17793 FONTCONFIG_CFLAGS=""
17796 CPPFLAGS=$ac_save_CPPFLAGS
17799 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17800 then :
17801 case "x$with_fontconfig" in
17802 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17803 xno) ;;
17804 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17805 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17806 esac
17810 if test "x$with_krb5" != "xno"
17811 then
17812 rm -f conftest.err
17813 if ${KRB5_CFLAGS:+false} :
17814 then :
17815 if test ${PKG_CONFIG+y}
17816 then :
17817 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17820 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17821 if ${KRB5_LIBS:+false} :
17822 then :
17823 if test ${PKG_CONFIG+y}
17824 then :
17825 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17828 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17832 if test -s conftest.err; then
17833 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17834 cat conftest.err >&5
17836 rm -f conftest.err
17837 ac_save_CPPFLAGS=$CPPFLAGS
17838 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17839 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17840 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17841 then :
17842 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17846 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17847 then
17848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17849 printf %s "checking for -lkrb5... " >&6; }
17850 if test ${ac_cv_lib_soname_krb5+y}
17851 then :
17852 printf %s "(cached) " >&6
17853 else $as_nop
17854 ac_check_soname_save_LIBS=$LIBS
17855 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17859 /* Override any GCC internal prototype to avoid an error.
17860 Use char because int might match the return type of a GCC
17861 builtin and then its argument prototype would still apply. */
17862 char krb5_is_config_principal ();
17864 main (void)
17866 return krb5_is_config_principal ();
17868 return 0;
17870 _ACEOF
17871 if ac_fn_c_try_link "$LINENO"
17872 then :
17873 case "$LIBEXT" in
17874 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17875 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'` ;;
17876 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17877 if ${ac_cv_lib_soname_krb5:+false} :
17878 then :
17879 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17880 fi ;;
17881 esac
17882 else $as_nop
17883 ac_cv_lib_soname_krb5=
17885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17886 conftest$ac_exeext conftest.$ac_ext
17887 LIBS=$ac_check_soname_save_LIBS
17889 if ${ac_cv_lib_soname_krb5:+false} :
17890 then :
17891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17892 printf "%s\n" "not found" >&6; }
17893 KRB5_CFLAGS=""
17894 else $as_nop
17895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17896 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17898 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17902 else
17903 KRB5_CFLAGS=""
17905 CPPFLAGS=$ac_save_CPPFLAGS
17908 if test "x$ac_cv_lib_soname_krb5" = "x"
17909 then :
17910 case "x$with_krb5" in
17911 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17912 xno) ;;
17913 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17914 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17915 esac
17918 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17920 if test "x$with_gssapi" != "xno"
17921 then
17922 rm -f conftest.err
17923 if ${GSSAPI_CFLAGS:+false} :
17924 then :
17925 if test ${PKG_CONFIG+y}
17926 then :
17927 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17930 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17931 if ${GSSAPI_LIBS:+false} :
17932 then :
17933 if test ${PKG_CONFIG+y}
17934 then :
17935 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17938 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17942 if test -s conftest.err; then
17943 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17944 cat conftest.err >&5
17946 rm -f conftest.err
17947 ac_save_CPPFLAGS=$CPPFLAGS
17948 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17949 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17950 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17951 then :
17952 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17955 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17956 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17957 then :
17958 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17962 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17963 then
17964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17965 printf %s "checking for -lgssapi_krb5... " >&6; }
17966 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17967 then :
17968 printf %s "(cached) " >&6
17969 else $as_nop
17970 ac_check_soname_save_LIBS=$LIBS
17971 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17975 /* Override any GCC internal prototype to avoid an error.
17976 Use char because int might match the return type of a GCC
17977 builtin and then its argument prototype would still apply. */
17978 char gss_init_sec_context ();
17980 main (void)
17982 return gss_init_sec_context ();
17984 return 0;
17986 _ACEOF
17987 if ac_fn_c_try_link "$LINENO"
17988 then :
17989 case "$LIBEXT" in
17990 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17991 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'` ;;
17992 *) 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'`
17993 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17994 then :
17995 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17996 fi ;;
17997 esac
17998 else $as_nop
17999 ac_cv_lib_soname_gssapi_krb5=
18001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18002 conftest$ac_exeext conftest.$ac_ext
18003 LIBS=$ac_check_soname_save_LIBS
18005 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18006 then :
18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18008 printf "%s\n" "not found" >&6; }
18009 GSSAPI_CFLAGS=""
18010 else $as_nop
18011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18012 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18014 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18018 else
18019 GSSAPI_CFLAGS=""
18021 CPPFLAGS=$ac_save_CPPFLAGS
18024 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18025 then :
18026 case "x$with_gssapi" in
18027 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18028 xno) ;;
18029 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18030 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18031 esac
18035 if test "$ac_cv_header_libprocstat_h" = "yes"
18036 then
18037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18038 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18039 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18040 then :
18041 printf %s "(cached) " >&6
18042 else $as_nop
18043 ac_check_lib_save_LIBS=$LIBS
18044 LIBS="-lprocstat $LIBS"
18045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18046 /* end confdefs.h. */
18048 /* Override any GCC internal prototype to avoid an error.
18049 Use char because int might match the return type of a GCC
18050 builtin and then its argument prototype would still apply. */
18051 char procstat_open_sysctl ();
18053 main (void)
18055 return procstat_open_sysctl ();
18057 return 0;
18059 _ACEOF
18060 if ac_fn_c_try_link "$LINENO"
18061 then :
18062 ac_cv_lib_procstat_procstat_open_sysctl=yes
18063 else $as_nop
18064 ac_cv_lib_procstat_procstat_open_sysctl=no
18066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18067 conftest$ac_exeext conftest.$ac_ext
18068 LIBS=$ac_check_lib_save_LIBS
18070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18071 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18072 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18073 then :
18075 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18077 PROCSTAT_LIBS="-lprocstat"
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18084 printf %s "checking for -lodbc... " >&6; }
18085 if test ${ac_cv_lib_soname_odbc+y}
18086 then :
18087 printf %s "(cached) " >&6
18088 else $as_nop
18089 ac_check_soname_save_LIBS=$LIBS
18090 LIBS="-lodbc $LIBS"
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18094 /* Override any GCC internal prototype to avoid an error.
18095 Use char because int might match the return type of a GCC
18096 builtin and then its argument prototype would still apply. */
18097 char SQLConnect ();
18099 main (void)
18101 return SQLConnect ();
18103 return 0;
18105 _ACEOF
18106 if ac_fn_c_try_link "$LINENO"
18107 then :
18108 case "$LIBEXT" in
18109 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18110 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'` ;;
18111 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18112 if ${ac_cv_lib_soname_odbc:+false} :
18113 then :
18114 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18115 fi ;;
18116 esac
18117 else $as_nop
18118 ac_cv_lib_soname_odbc=
18120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18121 conftest$ac_exeext conftest.$ac_ext
18122 LIBS=$ac_check_soname_save_LIBS
18124 if ${ac_cv_lib_soname_odbc:+false} :
18125 then :
18126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18127 printf "%s\n" "not found" >&6; }
18128 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18130 else $as_nop
18131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18132 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18134 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18139 if test "x$with_netapi" != "xno"
18140 then
18141 rm -f conftest.err
18142 if ${NETAPI_CFLAGS:+false} :
18143 then :
18144 if test ${PKG_CONFIG+y}
18145 then :
18146 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18150 if ${NETAPI_LIBS:+false} :
18151 then :
18152 if test ${PKG_CONFIG+y}
18153 then :
18154 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18161 if test -s conftest.err; then
18162 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18163 cat conftest.err >&5
18165 rm -f conftest.err
18166 ac_save_CPPFLAGS=$CPPFLAGS
18167 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18169 printf %s "checking for -lnetapi... " >&6; }
18170 if test ${ac_cv_lib_soname_netapi+y}
18171 then :
18172 printf %s "(cached) " >&6
18173 else $as_nop
18174 ac_check_soname_save_LIBS=$LIBS
18175 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18177 /* end confdefs.h. */
18179 /* Override any GCC internal prototype to avoid an error.
18180 Use char because int might match the return type of a GCC
18181 builtin and then its argument prototype would still apply. */
18182 char libnetapi_init ();
18184 main (void)
18186 return libnetapi_init ();
18188 return 0;
18190 _ACEOF
18191 if ac_fn_c_try_link "$LINENO"
18192 then :
18193 case "$LIBEXT" in
18194 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18195 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'` ;;
18196 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18197 if ${ac_cv_lib_soname_netapi:+false} :
18198 then :
18199 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18200 fi ;;
18201 esac
18202 else $as_nop
18203 ac_cv_lib_soname_netapi=
18205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18206 conftest$ac_exeext conftest.$ac_ext
18207 LIBS=$ac_check_soname_save_LIBS
18209 if ${ac_cv_lib_soname_netapi:+false} :
18210 then :
18211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18212 printf "%s\n" "not found" >&6; }
18213 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18215 else $as_nop
18216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18217 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18219 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18223 CPPFLAGS=$ac_save_CPPFLAGS
18226 if test "x$ac_cv_lib_soname_netapi" = "x"
18227 then :
18228 case "x$with_netapi" in
18229 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18230 xno) ;;
18231 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18232 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18233 esac
18234 enable_netapi=${enable_netapi:-no}
18238 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18239 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18240 then
18241 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18244 if test "x$with_vulkan" != "xno"
18245 then
18246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18247 printf %s "checking for -lvulkan... " >&6; }
18248 if test ${ac_cv_lib_soname_vulkan+y}
18249 then :
18250 printf %s "(cached) " >&6
18251 else $as_nop
18252 ac_check_soname_save_LIBS=$LIBS
18253 LIBS="-lvulkan $LIBS"
18254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18257 /* Override any GCC internal prototype to avoid an error.
18258 Use char because int might match the return type of a GCC
18259 builtin and then its argument prototype would still apply. */
18260 char vkGetInstanceProcAddr ();
18262 main (void)
18264 return vkGetInstanceProcAddr ();
18266 return 0;
18268 _ACEOF
18269 if ac_fn_c_try_link "$LINENO"
18270 then :
18271 case "$LIBEXT" in
18272 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18273 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'` ;;
18274 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18275 if ${ac_cv_lib_soname_vulkan:+false} :
18276 then :
18277 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18278 fi ;;
18279 esac
18280 else $as_nop
18281 ac_cv_lib_soname_vulkan=
18283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18284 conftest$ac_exeext conftest.$ac_ext
18285 LIBS=$ac_check_soname_save_LIBS
18287 if ${ac_cv_lib_soname_vulkan:+false} :
18288 then :
18289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18290 printf "%s\n" "not found" >&6; }
18292 else $as_nop
18293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18294 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18296 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18300 if test "x$ac_cv_lib_soname_vulkan" = "x"
18301 then
18302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18303 printf %s "checking for -lMoltenVK... " >&6; }
18304 if test ${ac_cv_lib_soname_MoltenVK+y}
18305 then :
18306 printf %s "(cached) " >&6
18307 else $as_nop
18308 ac_check_soname_save_LIBS=$LIBS
18309 LIBS="-lMoltenVK $LIBS"
18310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18311 /* end confdefs.h. */
18313 /* Override any GCC internal prototype to avoid an error.
18314 Use char because int might match the return type of a GCC
18315 builtin and then its argument prototype would still apply. */
18316 char vkGetInstanceProcAddr ();
18318 main (void)
18320 return vkGetInstanceProcAddr ();
18322 return 0;
18324 _ACEOF
18325 if ac_fn_c_try_link "$LINENO"
18326 then :
18327 case "$LIBEXT" in
18328 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18329 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'` ;;
18330 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18331 if ${ac_cv_lib_soname_MoltenVK:+false} :
18332 then :
18333 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18334 fi ;;
18335 esac
18336 else $as_nop
18337 ac_cv_lib_soname_MoltenVK=
18339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18340 conftest$ac_exeext conftest.$ac_ext
18341 LIBS=$ac_check_soname_save_LIBS
18343 if ${ac_cv_lib_soname_MoltenVK:+false} :
18344 then :
18345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18346 printf "%s\n" "not found" >&6; }
18348 else $as_nop
18349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18350 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18352 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18358 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18359 then :
18360 case "x$with_vulkan" in
18361 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18362 xno) ;;
18363 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18364 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18365 esac
18370 if test "x${GCC}" = "xyes"
18371 then
18372 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18374 saved_CFLAGS=$CFLAGS
18375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18376 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18377 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18378 then :
18379 printf %s "(cached) " >&6
18380 else $as_nop
18381 ac_wine_try_cflags_saved=$CFLAGS
18382 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18385 int main(int argc, char **argv) { return 0; }
18386 _ACEOF
18387 if ac_fn_c_try_link "$LINENO"
18388 then :
18389 ac_cv_cflags__Werror_unknown_warning_option=yes
18390 else $as_nop
18391 ac_cv_cflags__Werror_unknown_warning_option=no
18393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18394 conftest$ac_exeext conftest.$ac_ext
18395 CFLAGS=$ac_wine_try_cflags_saved
18397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18398 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18399 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18400 then :
18401 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18404 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18405 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18406 then :
18407 printf %s "(cached) " >&6
18408 else $as_nop
18409 ac_wine_try_cflags_saved=$CFLAGS
18410 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18413 int main(int argc, char **argv) { return 0; }
18414 _ACEOF
18415 if ac_fn_c_try_link "$LINENO"
18416 then :
18417 ac_cv_cflags__Werror_unused_command_line_argument=yes
18418 else $as_nop
18419 ac_cv_cflags__Werror_unused_command_line_argument=no
18421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18422 conftest$ac_exeext conftest.$ac_ext
18423 CFLAGS=$ac_wine_try_cflags_saved
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18426 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18427 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18428 then :
18429 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18432 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18433 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18434 then :
18435 printf %s "(cached) " >&6
18436 else $as_nop
18437 ac_wine_try_cflags_saved=$CFLAGS
18438 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 int main(int argc, char **argv) { return 0; }
18442 _ACEOF
18443 if ac_fn_c_try_link "$LINENO"
18444 then :
18445 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18446 else $as_nop
18447 ac_cv_cflags__Werror_ignored_optimization_argument=no
18449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18450 conftest$ac_exeext conftest.$ac_ext
18451 CFLAGS=$ac_wine_try_cflags_saved
18453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18454 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18455 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18456 then :
18457 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18460 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18461 if test ${ac_cv_cflags__fcf_protection_none+y}
18462 then :
18463 printf %s "(cached) " >&6
18464 else $as_nop
18465 ac_wine_try_cflags_saved=$CFLAGS
18466 CFLAGS="$CFLAGS -fcf-protection=none"
18467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18468 /* end confdefs.h. */
18469 int main(int argc, char **argv) { return 0; }
18470 _ACEOF
18471 if ac_fn_c_try_link "$LINENO"
18472 then :
18473 ac_cv_cflags__fcf_protection_none=yes
18474 else $as_nop
18475 ac_cv_cflags__fcf_protection_none=no
18477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18478 conftest$ac_exeext conftest.$ac_ext
18479 CFLAGS=$ac_wine_try_cflags_saved
18481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18482 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18483 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18484 then :
18485 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18488 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18489 if test ${ac_cv_cflags__fno_stack_protector+y}
18490 then :
18491 printf %s "(cached) " >&6
18492 else $as_nop
18493 ac_wine_try_cflags_saved=$CFLAGS
18494 CFLAGS="$CFLAGS -fno-stack-protector"
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18497 int main(int argc, char **argv) { return 0; }
18498 _ACEOF
18499 if ac_fn_c_try_link "$LINENO"
18500 then :
18501 ac_cv_cflags__fno_stack_protector=yes
18502 else $as_nop
18503 ac_cv_cflags__fno_stack_protector=no
18505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18506 conftest$ac_exeext conftest.$ac_ext
18507 CFLAGS=$ac_wine_try_cflags_saved
18509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18510 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18511 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18512 then :
18513 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18516 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18517 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18518 then :
18519 printf %s "(cached) " >&6
18520 else $as_nop
18521 ac_wine_try_cflags_saved=$CFLAGS
18522 CFLAGS="$CFLAGS -fno-strict-aliasing"
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525 int main(int argc, char **argv) { return 0; }
18526 _ACEOF
18527 if ac_fn_c_try_link "$LINENO"
18528 then :
18529 ac_cv_cflags__fno_strict_aliasing=yes
18530 else $as_nop
18531 ac_cv_cflags__fno_strict_aliasing=no
18533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18534 conftest$ac_exeext conftest.$ac_ext
18535 CFLAGS=$ac_wine_try_cflags_saved
18537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18538 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18539 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18540 then :
18541 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18544 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18545 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18546 then :
18547 printf %s "(cached) " >&6
18548 else $as_nop
18549 ac_wine_try_cflags_saved=$CFLAGS
18550 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18553 int main(int argc, char **argv) { return 0; }
18554 _ACEOF
18555 if ac_fn_c_try_link "$LINENO"
18556 then :
18557 ac_cv_cflags__Wdeclaration_after_statement=yes
18558 else $as_nop
18559 ac_cv_cflags__Wdeclaration_after_statement=no
18561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18562 conftest$ac_exeext conftest.$ac_ext
18563 CFLAGS=$ac_wine_try_cflags_saved
18565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18566 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18567 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18568 then :
18569 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18572 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18573 if test ${ac_cv_cflags__Wempty_body+y}
18574 then :
18575 printf %s "(cached) " >&6
18576 else $as_nop
18577 ac_wine_try_cflags_saved=$CFLAGS
18578 CFLAGS="$CFLAGS -Wempty-body"
18579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h. */
18581 int main(int argc, char **argv) { return 0; }
18582 _ACEOF
18583 if ac_fn_c_try_link "$LINENO"
18584 then :
18585 ac_cv_cflags__Wempty_body=yes
18586 else $as_nop
18587 ac_cv_cflags__Wempty_body=no
18589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18590 conftest$ac_exeext conftest.$ac_ext
18591 CFLAGS=$ac_wine_try_cflags_saved
18593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18594 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18595 if test "x$ac_cv_cflags__Wempty_body" = xyes
18596 then :
18597 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18600 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18601 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18602 then :
18603 printf %s "(cached) " >&6
18604 else $as_nop
18605 ac_wine_try_cflags_saved=$CFLAGS
18606 CFLAGS="$CFLAGS -Wignored-qualifiers"
18607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18609 int main(int argc, char **argv) { return 0; }
18610 _ACEOF
18611 if ac_fn_c_try_link "$LINENO"
18612 then :
18613 ac_cv_cflags__Wignored_qualifiers=yes
18614 else $as_nop
18615 ac_cv_cflags__Wignored_qualifiers=no
18617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18618 conftest$ac_exeext conftest.$ac_ext
18619 CFLAGS=$ac_wine_try_cflags_saved
18621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18622 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18623 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18624 then :
18625 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18628 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18629 if test ${ac_cv_cflags__Winit_self+y}
18630 then :
18631 printf %s "(cached) " >&6
18632 else $as_nop
18633 ac_wine_try_cflags_saved=$CFLAGS
18634 CFLAGS="$CFLAGS -Winit-self"
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637 int main(int argc, char **argv) { return 0; }
18638 _ACEOF
18639 if ac_fn_c_try_link "$LINENO"
18640 then :
18641 ac_cv_cflags__Winit_self=yes
18642 else $as_nop
18643 ac_cv_cflags__Winit_self=no
18645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18646 conftest$ac_exeext conftest.$ac_ext
18647 CFLAGS=$ac_wine_try_cflags_saved
18649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18650 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18651 if test "x$ac_cv_cflags__Winit_self" = xyes
18652 then :
18653 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18656 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18657 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18658 then :
18659 printf %s "(cached) " >&6
18660 else $as_nop
18661 ac_wine_try_cflags_saved=$CFLAGS
18662 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 int main(int argc, char **argv) { return 0; }
18666 _ACEOF
18667 if ac_fn_c_try_link "$LINENO"
18668 then :
18669 ac_cv_cflags__Wpacked_not_aligned=yes
18670 else $as_nop
18671 ac_cv_cflags__Wpacked_not_aligned=no
18673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18674 conftest$ac_exeext conftest.$ac_ext
18675 CFLAGS=$ac_wine_try_cflags_saved
18677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18678 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18679 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18680 then :
18681 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18684 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18685 if test ${ac_cv_cflags__Wpragma_pack+y}
18686 then :
18687 printf %s "(cached) " >&6
18688 else $as_nop
18689 ac_wine_try_cflags_saved=$CFLAGS
18690 CFLAGS="$CFLAGS -Wpragma-pack"
18691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18693 int main(int argc, char **argv) { return 0; }
18694 _ACEOF
18695 if ac_fn_c_try_link "$LINENO"
18696 then :
18697 ac_cv_cflags__Wpragma_pack=yes
18698 else $as_nop
18699 ac_cv_cflags__Wpragma_pack=no
18701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18702 conftest$ac_exeext conftest.$ac_ext
18703 CFLAGS=$ac_wine_try_cflags_saved
18705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18706 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18707 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18708 then :
18709 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18712 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18713 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18714 then :
18715 printf %s "(cached) " >&6
18716 else $as_nop
18717 ac_wine_try_cflags_saved=$CFLAGS
18718 CFLAGS="$CFLAGS -Wshift-overflow=2"
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18721 int main(int argc, char **argv) { return 0; }
18722 _ACEOF
18723 if ac_fn_c_try_link "$LINENO"
18724 then :
18725 ac_cv_cflags__Wshift_overflow_2=yes
18726 else $as_nop
18727 ac_cv_cflags__Wshift_overflow_2=no
18729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18730 conftest$ac_exeext conftest.$ac_ext
18731 CFLAGS=$ac_wine_try_cflags_saved
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18734 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18735 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18736 then :
18737 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18740 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18741 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18742 then :
18743 printf %s "(cached) " >&6
18744 else $as_nop
18745 ac_wine_try_cflags_saved=$CFLAGS
18746 CFLAGS="$CFLAGS -Wstrict-prototypes"
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749 int main(int argc, char **argv) { return 0; }
18750 _ACEOF
18751 if ac_fn_c_try_link "$LINENO"
18752 then :
18753 ac_cv_cflags__Wstrict_prototypes=yes
18754 else $as_nop
18755 ac_cv_cflags__Wstrict_prototypes=no
18757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18758 conftest$ac_exeext conftest.$ac_ext
18759 CFLAGS=$ac_wine_try_cflags_saved
18761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18762 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18763 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18764 then :
18765 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18768 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18769 if test ${ac_cv_cflags__Wtype_limits+y}
18770 then :
18771 printf %s "(cached) " >&6
18772 else $as_nop
18773 ac_wine_try_cflags_saved=$CFLAGS
18774 CFLAGS="$CFLAGS -Wtype-limits"
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18777 int main(int argc, char **argv) { return 0; }
18778 _ACEOF
18779 if ac_fn_c_try_link "$LINENO"
18780 then :
18781 ac_cv_cflags__Wtype_limits=yes
18782 else $as_nop
18783 ac_cv_cflags__Wtype_limits=no
18785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18786 conftest$ac_exeext conftest.$ac_ext
18787 CFLAGS=$ac_wine_try_cflags_saved
18789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18790 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18791 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18792 then :
18793 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18796 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18797 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18798 then :
18799 printf %s "(cached) " >&6
18800 else $as_nop
18801 ac_wine_try_cflags_saved=$CFLAGS
18802 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 int main(int argc, char **argv) { return 0; }
18806 _ACEOF
18807 if ac_fn_c_try_link "$LINENO"
18808 then :
18809 ac_cv_cflags__Wunused_but_set_parameter=yes
18810 else $as_nop
18811 ac_cv_cflags__Wunused_but_set_parameter=no
18813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18814 conftest$ac_exeext conftest.$ac_ext
18815 CFLAGS=$ac_wine_try_cflags_saved
18817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18818 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18819 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18820 then :
18821 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18824 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18825 if test ${ac_cv_cflags__Wvla+y}
18826 then :
18827 printf %s "(cached) " >&6
18828 else $as_nop
18829 ac_wine_try_cflags_saved=$CFLAGS
18830 CFLAGS="$CFLAGS -Wvla"
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 int main(int argc, char **argv) { return 0; }
18834 _ACEOF
18835 if ac_fn_c_try_link "$LINENO"
18836 then :
18837 ac_cv_cflags__Wvla=yes
18838 else $as_nop
18839 ac_cv_cflags__Wvla=no
18841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18842 conftest$ac_exeext conftest.$ac_ext
18843 CFLAGS=$ac_wine_try_cflags_saved
18845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18846 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18847 if test "x$ac_cv_cflags__Wvla" = xyes
18848 then :
18849 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18852 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18853 if test ${ac_cv_cflags__Wwrite_strings+y}
18854 then :
18855 printf %s "(cached) " >&6
18856 else $as_nop
18857 ac_wine_try_cflags_saved=$CFLAGS
18858 CFLAGS="$CFLAGS -Wwrite-strings"
18859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18861 int main(int argc, char **argv) { return 0; }
18862 _ACEOF
18863 if ac_fn_c_try_link "$LINENO"
18864 then :
18865 ac_cv_cflags__Wwrite_strings=yes
18866 else $as_nop
18867 ac_cv_cflags__Wwrite_strings=no
18869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18870 conftest$ac_exeext conftest.$ac_ext
18871 CFLAGS=$ac_wine_try_cflags_saved
18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18874 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18875 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18876 then :
18877 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18881 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18882 if test ${ac_cv_cflags__Wpointer_arith+y}
18883 then :
18884 printf %s "(cached) " >&6
18885 else $as_nop
18886 ac_wine_try_cflags_saved=$CFLAGS
18887 CFLAGS="$CFLAGS -Wpointer-arith"
18888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h. */
18890 int main(int argc, char **argv) { return 0; }
18891 _ACEOF
18892 if ac_fn_c_try_link "$LINENO"
18893 then :
18894 ac_cv_cflags__Wpointer_arith=yes
18895 else $as_nop
18896 ac_cv_cflags__Wpointer_arith=no
18898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18899 conftest$ac_exeext conftest.$ac_ext
18900 CFLAGS=$ac_wine_try_cflags_saved
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18903 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18904 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18905 then :
18906 saved_string_h_CFLAGS=$CFLAGS
18907 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18909 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18910 if test ${ac_cv_c_string_h_warnings+y}
18911 then :
18912 printf %s "(cached) " >&6
18913 else $as_nop
18914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18916 #include <string.h>
18918 main (void)
18922 return 0;
18924 _ACEOF
18925 if ac_fn_c_try_compile "$LINENO"
18926 then :
18927 ac_cv_c_string_h_warnings=no
18928 else $as_nop
18929 ac_cv_c_string_h_warnings=yes
18931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18934 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18935 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18936 CFLAGS=$saved_string_h_CFLAGS
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18940 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18941 if test ${ac_cv_cflags__Wlogical_op+y}
18942 then :
18943 printf %s "(cached) " >&6
18944 else $as_nop
18945 ac_wine_try_cflags_saved=$CFLAGS
18946 CFLAGS="$CFLAGS -Wlogical-op"
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 int main(int argc, char **argv) { return 0; }
18950 _ACEOF
18951 if ac_fn_c_try_link "$LINENO"
18952 then :
18953 ac_cv_cflags__Wlogical_op=yes
18954 else $as_nop
18955 ac_cv_cflags__Wlogical_op=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18958 conftest$ac_exeext conftest.$ac_ext
18959 CFLAGS=$ac_wine_try_cflags_saved
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18962 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18963 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18964 then :
18965 saved_string_h_CFLAGS=$CFLAGS
18966 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18968 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18969 if test ${ac_cv_c_logicalop_noisy+y}
18970 then :
18971 printf %s "(cached) " >&6
18972 else $as_nop
18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18975 #include <string.h>
18976 char*f(const char *h,char n) {return strchr(h,n);}
18978 main (void)
18982 return 0;
18984 _ACEOF
18985 if ac_fn_c_try_compile "$LINENO"
18986 then :
18987 ac_cv_c_logicalop_noisy=no
18988 else $as_nop
18989 ac_cv_c_logicalop_noisy=yes
18991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18994 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18995 CFLAGS=$saved_string_h_CFLAGS
18996 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19000 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19001 if test ${wine_cv_64bit_compare_swap+y}
19002 then :
19003 printf %s "(cached) " >&6
19004 else $as_nop
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19008 #error no
19009 #endif
19011 main (void)
19015 return 0;
19017 _ACEOF
19018 if ac_fn_c_try_compile "$LINENO"
19019 then :
19020 wine_cv_64bit_compare_swap="none needed"
19021 else $as_nop
19022 case $host_cpu in
19023 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19024 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19025 *) wine_cv_64bit_compare_swap="unknown" ;;
19026 esac
19027 if test "x$wine_cv_64bit_compare_swap" != xunknown
19028 then
19029 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19033 #error no
19034 #endif
19036 main (void)
19040 return 0;
19042 _ACEOF
19043 if ac_fn_c_try_compile "$LINENO"
19044 then :
19046 else $as_nop
19047 wine_cv_64bit_compare_swap="unknown"
19049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19050 CFLAGS=$saved_CFLAGS
19053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19056 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19057 case "$wine_cv_64bit_compare_swap" in
19058 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19059 "none needed") ;;
19060 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19061 esac
19063 ac_debug_format_seen=""
19064 for ac_flag in $CFLAGS; do
19065 case $ac_flag in
19066 -gdwarf*) ac_debug_format_seen=yes ;;
19067 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19068 esac
19069 done
19070 if test "x$ac_debug_format_seen" = xdefault
19071 then
19072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19073 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19074 if test ${ac_cv_cflags__gdwarf_4+y}
19075 then :
19076 printf %s "(cached) " >&6
19077 else $as_nop
19078 ac_wine_try_cflags_saved=$CFLAGS
19079 CFLAGS="$CFLAGS -gdwarf-4"
19080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19081 /* end confdefs.h. */
19082 int main(int argc, char **argv) { return 0; }
19083 _ACEOF
19084 if ac_fn_c_try_link "$LINENO"
19085 then :
19086 ac_cv_cflags__gdwarf_4=yes
19087 else $as_nop
19088 ac_cv_cflags__gdwarf_4=no
19090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19091 conftest$ac_exeext conftest.$ac_ext
19092 CFLAGS=$ac_wine_try_cflags_saved
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19095 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19096 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19097 then :
19098 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19102 MSVCRTFLAGS=""
19104 case $host_os in
19105 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19106 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19107 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19108 then :
19109 printf %s "(cached) " >&6
19110 else $as_nop
19111 ac_wine_try_cflags_saved=$CFLAGS
19112 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19114 /* end confdefs.h. */
19115 int main(int argc, char **argv) { return 0; }
19116 _ACEOF
19117 if ac_fn_c_try_link "$LINENO"
19118 then :
19119 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19120 else $as_nop
19121 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19124 conftest$ac_exeext conftest.$ac_ext
19125 CFLAGS=$ac_wine_try_cflags_saved
19127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19128 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19129 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19130 then :
19131 DELAYLOADFLAG="-Wl,-delayload,"
19133 fi ;;
19134 *) MSVCRTFLAGS="-D_WIN32"
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19136 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19137 if test ${ac_cv_cflags__fno_builtin+y}
19138 then :
19139 printf %s "(cached) " >&6
19140 else $as_nop
19141 ac_wine_try_cflags_saved=$CFLAGS
19142 CFLAGS="$CFLAGS -fno-builtin"
19143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19145 int main(int argc, char **argv) { return 0; }
19146 _ACEOF
19147 if ac_fn_c_try_link "$LINENO"
19148 then :
19149 ac_cv_cflags__fno_builtin=yes
19150 else $as_nop
19151 ac_cv_cflags__fno_builtin=no
19153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19154 conftest$ac_exeext conftest.$ac_ext
19155 CFLAGS=$ac_wine_try_cflags_saved
19157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19158 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19159 if test "x$ac_cv_cflags__fno_builtin" = xyes
19160 then :
19161 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19164 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19165 if test ${ac_cv_cflags__fshort_wchar+y}
19166 then :
19167 printf %s "(cached) " >&6
19168 else $as_nop
19169 ac_wine_try_cflags_saved=$CFLAGS
19170 CFLAGS="$CFLAGS -fshort-wchar"
19171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19173 int main(int argc, char **argv) { return 0; }
19174 _ACEOF
19175 if ac_fn_c_try_link "$LINENO"
19176 then :
19177 ac_cv_cflags__fshort_wchar=yes
19178 else $as_nop
19179 ac_cv_cflags__fshort_wchar=no
19181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19182 conftest$ac_exeext conftest.$ac_ext
19183 CFLAGS=$ac_wine_try_cflags_saved
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19186 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19187 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19188 then :
19189 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19192 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19193 if test ${ac_cv_cflags__fvisibility_hidden+y}
19194 then :
19195 printf %s "(cached) " >&6
19196 else $as_nop
19197 ac_wine_try_cflags_saved=$CFLAGS
19198 CFLAGS="$CFLAGS -fvisibility=hidden"
19199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19200 /* end confdefs.h. */
19201 int main(int argc, char **argv) { return 0; }
19202 _ACEOF
19203 if ac_fn_c_try_link "$LINENO"
19204 then :
19205 ac_cv_cflags__fvisibility_hidden=yes
19206 else $as_nop
19207 ac_cv_cflags__fvisibility_hidden=no
19209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19210 conftest$ac_exeext conftest.$ac_ext
19211 CFLAGS=$ac_wine_try_cflags_saved
19213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19214 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19215 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19216 then :
19217 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19220 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19221 if test ${ac_cv_cflags__Wno_format+y}
19222 then :
19223 printf %s "(cached) " >&6
19224 else $as_nop
19225 ac_wine_try_cflags_saved=$CFLAGS
19226 CFLAGS="$CFLAGS -Wno-format"
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19229 int main(int argc, char **argv) { return 0; }
19230 _ACEOF
19231 if ac_fn_c_try_link "$LINENO"
19232 then :
19233 ac_cv_cflags__Wno_format=yes
19234 else $as_nop
19235 ac_cv_cflags__Wno_format=no
19237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19238 conftest$ac_exeext conftest.$ac_ext
19239 CFLAGS=$ac_wine_try_cflags_saved
19241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19242 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19243 if test "x$ac_cv_cflags__Wno_format" = xyes
19244 then :
19245 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19246 fi ;;
19247 esac
19249 case $host_cpu in
19250 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19251 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19252 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19253 then :
19254 printf %s "(cached) " >&6
19255 else $as_nop
19256 ac_wine_try_cflags_saved=$CFLAGS
19257 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 int main(int argc, char **argv) { return 0; }
19261 _ACEOF
19262 if ac_fn_c_try_link "$LINENO"
19263 then :
19264 ac_cv_cflags__fno_omit_frame_pointer=yes
19265 else $as_nop
19266 ac_cv_cflags__fno_omit_frame_pointer=no
19268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19269 conftest$ac_exeext conftest.$ac_ext
19270 CFLAGS=$ac_wine_try_cflags_saved
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19273 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19274 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19275 then :
19276 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19277 fi ;;
19278 *x86_64*)
19279 case $host_os in
19280 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19281 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19282 if test ${ac_cv_cflags__Wno_format+y}
19283 then :
19284 printf %s "(cached) " >&6
19285 else $as_nop
19286 ac_wine_try_cflags_saved=$CFLAGS
19287 CFLAGS="$CFLAGS -Wno-format"
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19290 int main(int argc, char **argv) { return 0; }
19291 _ACEOF
19292 if ac_fn_c_try_link "$LINENO"
19293 then :
19294 ac_cv_cflags__Wno_format=yes
19295 else $as_nop
19296 ac_cv_cflags__Wno_format=no
19298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19299 conftest$ac_exeext conftest.$ac_ext
19300 CFLAGS=$ac_wine_try_cflags_saved
19302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19303 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19304 if test "x$ac_cv_cflags__Wno_format" = xyes
19305 then :
19306 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19307 fi ;;
19308 *) if test -z "$PE_ARCHS"
19309 then
19310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19311 printf %s "checking for working -mabi=ms... " >&6; }
19312 if test ${ac_cv_mabi_ms+y}
19313 then :
19314 printf %s "(cached) " >&6
19315 else $as_nop
19316 CFLAGS="$CFLAGS -mabi=ms"
19317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19318 /* end confdefs.h. */
19319 #include <stdarg.h>
19320 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19322 main (void)
19326 return 0;
19328 _ACEOF
19329 if ac_fn_c_try_compile "$LINENO"
19330 then :
19331 ac_cv_mabi_ms=yes
19332 else $as_nop
19333 ac_cv_mabi_ms=no
19335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19336 CFLAGS=$saved_CFLAGS
19338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19339 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19340 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
19342 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19343 esac ;;
19344 arm*)
19345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19346 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19347 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19348 then :
19349 printf %s "(cached) " >&6
19350 else $as_nop
19351 ac_wine_try_cflags_saved=$CFLAGS
19352 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19354 /* end confdefs.h. */
19355 int main(int argc, char **argv) { return 0; }
19356 _ACEOF
19357 if ac_fn_c_try_link "$LINENO"
19358 then :
19359 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19360 else $as_nop
19361 ac_cv_cflags__Wincompatible_function_pointer_types=no
19363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19364 conftest$ac_exeext conftest.$ac_ext
19365 CFLAGS=$ac_wine_try_cflags_saved
19367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19368 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19369 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19370 then :
19371 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19372 fi ;;
19373 esac
19375 CFLAGS=$saved_CFLAGS
19377 if test "x$enable_werror" = "xyes"
19378 then
19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19380 printf %s "checking whether the compiler supports -Werror... " >&6; }
19381 if test ${ac_cv_cflags__Werror+y}
19382 then :
19383 printf %s "(cached) " >&6
19384 else $as_nop
19385 ac_wine_try_cflags_saved=$CFLAGS
19386 CFLAGS="$CFLAGS -Werror"
19387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19388 /* end confdefs.h. */
19389 int main(int argc, char **argv) { return 0; }
19390 _ACEOF
19391 if ac_fn_c_try_link "$LINENO"
19392 then :
19393 ac_cv_cflags__Werror=yes
19394 else $as_nop
19395 ac_cv_cflags__Werror=no
19397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19398 conftest$ac_exeext conftest.$ac_ext
19399 CFLAGS=$ac_wine_try_cflags_saved
19401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19402 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19403 if test "x$ac_cv_cflags__Werror" = xyes
19404 then :
19405 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19408 if test "x$enable_build_id" = "xyes"
19409 then
19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19411 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19412 if test ${ac_cv_cflags__Wl___build_id+y}
19413 then :
19414 printf %s "(cached) " >&6
19415 else $as_nop
19416 ac_wine_try_cflags_saved=$CFLAGS
19417 CFLAGS="$CFLAGS -Wl,--build-id"
19418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19419 /* end confdefs.h. */
19420 int main(int argc, char **argv) { return 0; }
19421 _ACEOF
19422 if ac_fn_c_try_link "$LINENO"
19423 then :
19424 ac_cv_cflags__Wl___build_id=yes
19425 else $as_nop
19426 ac_cv_cflags__Wl___build_id=no
19428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19429 conftest$ac_exeext conftest.$ac_ext
19430 CFLAGS=$ac_wine_try_cflags_saved
19432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19433 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19434 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19435 then :
19436 CFLAGS="$CFLAGS -Wl,--build-id"
19437 LDFLAGS="$LDFLAGS -Wl,--build-id"
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19444 printf %s "checking for the need to disable Fortify... " >&6; }
19445 if test ${ac_cv_c_fortify_enabled+y}
19446 then :
19447 printf %s "(cached) " >&6
19448 else $as_nop
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19451 #include <string.h>
19453 main (void)
19455 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19456 #error Fortify enabled
19457 #endif
19459 return 0;
19461 _ACEOF
19462 if ac_fn_c_try_compile "$LINENO"
19463 then :
19464 ac_cv_c_fortify_enabled=no
19465 else $as_nop
19466 ac_cv_c_fortify_enabled=yes
19468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19471 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19472 if test "$ac_cv_c_fortify_enabled" = yes
19473 then
19474 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19479 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19480 if test ${ac_cv_c_cfi_support+y}
19481 then :
19482 printf %s "(cached) " >&6
19483 else $as_nop
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19488 main (void)
19492 return 0;
19494 _ACEOF
19495 if ac_fn_c_try_compile "$LINENO"
19496 then :
19497 ac_cv_c_cfi_support="yes"
19498 else $as_nop
19499 ac_cv_c_cfi_support="no"
19501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19504 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19505 if test "$ac_cv_c_cfi_support" = "yes"
19506 then
19507 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19508 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19509 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19510 elif test $HOST_ARCH = x86_64
19511 then
19512 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19516 case "$HOST_ARCH,$PE_ARCHS" in
19517 x86_64,*i386*) wine_binary="wine" ;;
19518 x86_64,*) wine_binary="wine64" ;;
19519 *) wine_binary="wine" ;;
19520 esac
19521 WINELOADER_PROGRAMS="$wine_binary"
19524 case $host_os in
19525 linux*)
19526 case $host_cpu in
19527 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19528 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19529 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19531 esac
19533 darwin*|macosx*)
19534 if test "$wine_can_build_preloader" = "yes"
19535 then
19536 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19537 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19540 esac
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19544 printf %s "checking for library containing dlopen... " >&6; }
19545 if test ${ac_cv_search_dlopen+y}
19546 then :
19547 printf %s "(cached) " >&6
19548 else $as_nop
19549 ac_func_search_save_LIBS=$LIBS
19550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19553 /* Override any GCC internal prototype to avoid an error.
19554 Use char because int might match the return type of a GCC
19555 builtin and then its argument prototype would still apply. */
19556 char dlopen ();
19558 main (void)
19560 return dlopen ();
19562 return 0;
19564 _ACEOF
19565 for ac_lib in '' dl
19567 if test -z "$ac_lib"; then
19568 ac_res="none required"
19569 else
19570 ac_res=-l$ac_lib
19571 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19573 if ac_fn_c_try_link "$LINENO"
19574 then :
19575 ac_cv_search_dlopen=$ac_res
19577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19578 conftest$ac_exeext
19579 if test ${ac_cv_search_dlopen+y}
19580 then :
19581 break
19583 done
19584 if test ${ac_cv_search_dlopen+y}
19585 then :
19587 else $as_nop
19588 ac_cv_search_dlopen=no
19590 rm conftest.$ac_ext
19591 LIBS=$ac_func_search_save_LIBS
19593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19594 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19595 ac_res=$ac_cv_search_dlopen
19596 if test "$ac_res" != no
19597 then :
19598 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19604 printf %s "checking for library containing gethostbyname... " >&6; }
19605 if test ${ac_cv_search_gethostbyname+y}
19606 then :
19607 printf %s "(cached) " >&6
19608 else $as_nop
19609 ac_func_search_save_LIBS=$LIBS
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19613 /* Override any GCC internal prototype to avoid an error.
19614 Use char because int might match the return type of a GCC
19615 builtin and then its argument prototype would still apply. */
19616 char gethostbyname ();
19618 main (void)
19620 return gethostbyname ();
19622 return 0;
19624 _ACEOF
19625 for ac_lib in '' nsl
19627 if test -z "$ac_lib"; then
19628 ac_res="none required"
19629 else
19630 ac_res=-l$ac_lib
19631 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19633 if ac_fn_c_try_link "$LINENO"
19634 then :
19635 ac_cv_search_gethostbyname=$ac_res
19637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19638 conftest$ac_exeext
19639 if test ${ac_cv_search_gethostbyname+y}
19640 then :
19641 break
19643 done
19644 if test ${ac_cv_search_gethostbyname+y}
19645 then :
19647 else $as_nop
19648 ac_cv_search_gethostbyname=no
19650 rm conftest.$ac_ext
19651 LIBS=$ac_func_search_save_LIBS
19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19654 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19655 ac_res=$ac_cv_search_gethostbyname
19656 if test "$ac_res" != no
19657 then :
19658 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19664 printf %s "checking for library containing connect... " >&6; }
19665 if test ${ac_cv_search_connect+y}
19666 then :
19667 printf %s "(cached) " >&6
19668 else $as_nop
19669 ac_func_search_save_LIBS=$LIBS
19670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19673 /* Override any GCC internal prototype to avoid an error.
19674 Use char because int might match the return type of a GCC
19675 builtin and then its argument prototype would still apply. */
19676 char connect ();
19678 main (void)
19680 return connect ();
19682 return 0;
19684 _ACEOF
19685 for ac_lib in '' socket
19687 if test -z "$ac_lib"; then
19688 ac_res="none required"
19689 else
19690 ac_res=-l$ac_lib
19691 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19693 if ac_fn_c_try_link "$LINENO"
19694 then :
19695 ac_cv_search_connect=$ac_res
19697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19698 conftest$ac_exeext
19699 if test ${ac_cv_search_connect+y}
19700 then :
19701 break
19703 done
19704 if test ${ac_cv_search_connect+y}
19705 then :
19707 else $as_nop
19708 ac_cv_search_connect=no
19710 rm conftest.$ac_ext
19711 LIBS=$ac_func_search_save_LIBS
19713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19714 printf "%s\n" "$ac_cv_search_connect" >&6; }
19715 ac_res=$ac_cv_search_connect
19716 if test "$ac_res" != no
19717 then :
19718 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19724 printf %s "checking for library containing inet_aton... " >&6; }
19725 if test ${ac_cv_search_inet_aton+y}
19726 then :
19727 printf %s "(cached) " >&6
19728 else $as_nop
19729 ac_func_search_save_LIBS=$LIBS
19730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19733 /* Override any GCC internal prototype to avoid an error.
19734 Use char because int might match the return type of a GCC
19735 builtin and then its argument prototype would still apply. */
19736 char inet_aton ();
19738 main (void)
19740 return inet_aton ();
19742 return 0;
19744 _ACEOF
19745 for ac_lib in '' resolv
19747 if test -z "$ac_lib"; then
19748 ac_res="none required"
19749 else
19750 ac_res=-l$ac_lib
19751 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19753 if ac_fn_c_try_link "$LINENO"
19754 then :
19755 ac_cv_search_inet_aton=$ac_res
19757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19758 conftest$ac_exeext
19759 if test ${ac_cv_search_inet_aton+y}
19760 then :
19761 break
19763 done
19764 if test ${ac_cv_search_inet_aton+y}
19765 then :
19767 else $as_nop
19768 ac_cv_search_inet_aton=no
19770 rm conftest.$ac_ext
19771 LIBS=$ac_func_search_save_LIBS
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19774 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19775 ac_res=$ac_cv_search_inet_aton
19776 if test "$ac_res" != no
19777 then :
19778 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19783 ac_save_CFLAGS="$CFLAGS"
19784 CFLAGS="$CFLAGS $BUILTINFLAG"
19785 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19786 if test "x$ac_cv_func_dladdr1" = xyes
19787 then :
19788 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19791 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19792 if test "x$ac_cv_func_dlinfo" = xyes
19793 then :
19794 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19797 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19798 if test "x$ac_cv_func_epoll_create" = xyes
19799 then :
19800 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19803 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19804 if test "x$ac_cv_func_fstatfs" = xyes
19805 then :
19806 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19809 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19810 if test "x$ac_cv_func_futimens" = xyes
19811 then :
19812 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19815 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19816 if test "x$ac_cv_func_futimes" = xyes
19817 then :
19818 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19821 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19822 if test "x$ac_cv_func_futimesat" = xyes
19823 then :
19824 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19827 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19828 if test "x$ac_cv_func_getaddrinfo" = xyes
19829 then :
19830 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19833 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19834 if test "x$ac_cv_func_getattrlist" = xyes
19835 then :
19836 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19839 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19840 if test "x$ac_cv_func_getauxval" = xyes
19841 then :
19842 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19845 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19846 if test "x$ac_cv_func_getifaddrs" = xyes
19847 then :
19848 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19851 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19852 if test "x$ac_cv_func_getrandom" = xyes
19853 then :
19854 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19857 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19858 if test "x$ac_cv_func_kqueue" = xyes
19859 then :
19860 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19863 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19864 if test "x$ac_cv_func_mach_continuous_time" = xyes
19865 then :
19866 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19869 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19870 if test "x$ac_cv_func_pipe2" = xyes
19871 then :
19872 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19875 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19876 if test "x$ac_cv_func_port_create" = xyes
19877 then :
19878 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19881 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19882 if test "x$ac_cv_func_posix_fadvise" = xyes
19883 then :
19884 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19887 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19888 if test "x$ac_cv_func_posix_fallocate" = xyes
19889 then :
19890 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19893 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19894 if test "x$ac_cv_func_prctl" = xyes
19895 then :
19896 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19899 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19900 if test "x$ac_cv_func_proc_pidinfo" = xyes
19901 then :
19902 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19905 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19906 if test "x$ac_cv_func_sched_yield" = xyes
19907 then :
19908 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19911 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19912 if test "x$ac_cv_func_setproctitle" = xyes
19913 then :
19914 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19917 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19918 if test "x$ac_cv_func_setprogname" = xyes
19919 then :
19920 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19923 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19924 if test "x$ac_cv_func_sigprocmask" = xyes
19925 then :
19926 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19929 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19930 if test "x$ac_cv_func_sysinfo" = xyes
19931 then :
19932 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19935 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19936 if test "x$ac_cv_func_tcdrain" = xyes
19937 then :
19938 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19941 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19942 if test "x$ac_cv_func_thr_kill2" = xyes
19943 then :
19944 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19948 CFLAGS="$ac_save_CFLAGS"
19950 case $host_os in
19951 darwin*|macosx*) ;;
19952 *) ac_save_LIBS=$LIBS
19953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19954 printf %s "checking for library containing clock_gettime... " >&6; }
19955 if test ${ac_cv_search_clock_gettime+y}
19956 then :
19957 printf %s "(cached) " >&6
19958 else $as_nop
19959 ac_func_search_save_LIBS=$LIBS
19960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19961 /* end confdefs.h. */
19963 /* Override any GCC internal prototype to avoid an error.
19964 Use char because int might match the return type of a GCC
19965 builtin and then its argument prototype would still apply. */
19966 char clock_gettime ();
19968 main (void)
19970 return clock_gettime ();
19972 return 0;
19974 _ACEOF
19975 for ac_lib in '' rt
19977 if test -z "$ac_lib"; then
19978 ac_res="none required"
19979 else
19980 ac_res=-l$ac_lib
19981 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19983 if ac_fn_c_try_link "$LINENO"
19984 then :
19985 ac_cv_search_clock_gettime=$ac_res
19987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19988 conftest$ac_exeext
19989 if test ${ac_cv_search_clock_gettime+y}
19990 then :
19991 break
19993 done
19994 if test ${ac_cv_search_clock_gettime+y}
19995 then :
19997 else $as_nop
19998 ac_cv_search_clock_gettime=no
20000 rm conftest.$ac_ext
20001 LIBS=$ac_func_search_save_LIBS
20003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20004 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20005 ac_res=$ac_cv_search_clock_gettime
20006 if test "$ac_res" != no
20007 then :
20008 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20010 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20012 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20016 LIBS=$ac_save_LIBS
20018 esac
20020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20021 printf %s "checking for sched_setaffinity... " >&6; }
20022 if test ${wine_cv_have_sched_setaffinity+y}
20023 then :
20024 printf %s "(cached) " >&6
20025 else $as_nop
20026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20028 #include <sched.h>
20030 main (void)
20032 sched_setaffinity(0, 0, 0);
20034 return 0;
20036 _ACEOF
20037 if ac_fn_c_try_link "$LINENO"
20038 then :
20039 wine_cv_have_sched_setaffinity=yes
20040 else $as_nop
20041 wine_cv_have_sched_setaffinity=no
20043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20044 conftest$ac_exeext conftest.$ac_ext
20046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20047 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20048 if test "$wine_cv_have_sched_setaffinity" = "yes"
20049 then
20051 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20057 printf %s "checking for inline... " >&6; }
20058 if test ${ac_cv_c_inline+y}
20059 then :
20060 printf %s "(cached) " >&6
20061 else $as_nop
20062 ac_cv_c_inline=no
20063 for ac_kw in inline __inline__ __inline; do
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20066 #ifndef __cplusplus
20067 typedef int foo_t;
20068 static $ac_kw foo_t static_foo (void) {return 0; }
20069 $ac_kw foo_t foo (void) {return 0; }
20070 #endif
20072 _ACEOF
20073 if ac_fn_c_try_compile "$LINENO"
20074 then :
20075 ac_cv_c_inline=$ac_kw
20077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20078 test "$ac_cv_c_inline" != no && break
20079 done
20082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20083 printf "%s\n" "$ac_cv_c_inline" >&6; }
20085 case $ac_cv_c_inline in
20086 inline | yes) ;;
20088 case $ac_cv_c_inline in
20089 no) ac_val=;;
20090 *) ac_val=$ac_cv_c_inline;;
20091 esac
20092 cat >>confdefs.h <<_ACEOF
20093 #ifndef __cplusplus
20094 #define inline $ac_val
20095 #endif
20096 _ACEOF
20098 esac
20100 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20102 if test "x$ac_cv_type_request_sense" = xyes
20103 then :
20105 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20111 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20112 #include <sys/socket.h>
20113 #ifdef HAVE_SYS_SOCKETVAR_H
20114 #include <sys/socketvar.h>
20115 #endif
20116 #ifdef HAVE_NET_ROUTE_H
20117 #include <net/route.h>
20118 #endif
20119 #ifdef HAVE_NETINET_IN_H
20120 #include <netinet/in.h>
20121 #endif
20122 #ifdef HAVE_NETINET_IN_SYSTM_H
20123 #include <netinet/in_systm.h>
20124 #endif
20125 #ifdef HAVE_NETINET_IP_H
20126 #include <netinet/ip.h>
20127 #endif
20128 #ifdef HAVE_NETINET_IN_PCB_H
20129 #include <netinet/in_pcb.h>
20130 #endif
20132 if test "x$ac_cv_type_struct_xinpgen" = xyes
20133 then :
20135 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20142 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20143 if test ${wine_cv_linux_gethostbyname_r_6+y}
20144 then :
20145 printf %s "(cached) " >&6
20146 else $as_nop
20147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20148 /* end confdefs.h. */
20149 #include <netdb.h>
20151 main (void)
20154 char *name=0;
20155 struct hostent he;
20156 struct hostent *result;
20157 char *buf=0;
20158 int bufsize=0;
20159 int errnr;
20160 char *addr=0;
20161 int addrlen=0;
20162 int addrtype=0;
20163 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20164 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20167 return 0;
20169 _ACEOF
20170 if ac_fn_c_try_link "$LINENO"
20171 then :
20172 wine_cv_linux_gethostbyname_r_6=yes
20173 else $as_nop
20174 wine_cv_linux_gethostbyname_r_6=no
20177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20178 conftest$ac_exeext conftest.$ac_ext
20181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20182 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20183 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20184 then
20186 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20190 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20191 #include <sys/socket.h>
20192 #ifdef HAVE_SYS_UN_H
20193 # include <sys/un.h>
20194 #endif
20196 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20197 then :
20199 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20203 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20204 #include <sys/socket.h>
20205 #ifdef HAVE_SYS_UN_H
20206 # include <sys/un.h>
20207 #endif
20209 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20210 then :
20212 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20218 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20219 #ifdef HAVE_SCSI_SG_H
20220 #include <scsi/sg.h>
20221 #endif
20223 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20224 then :
20226 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20230 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>
20231 #ifdef HAVE_SCSI_SG_H
20232 #include <scsi/sg.h>
20233 #endif
20235 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20236 then :
20238 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20244 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20246 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20247 then :
20249 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20255 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20256 #ifdef HAVE_SYS_MTIO_H
20257 #include <sys/mtio.h>
20258 #endif
20260 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20261 then :
20263 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20267 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20268 #ifdef HAVE_SYS_MTIO_H
20269 #include <sys/mtio.h>
20270 #endif
20272 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20273 then :
20275 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20279 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20280 #ifdef HAVE_SYS_MTIO_H
20281 #include <sys/mtio.h>
20282 #endif
20284 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20285 then :
20287 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20293 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20294 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20295 then :
20297 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20301 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20302 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20303 then :
20305 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20309 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20310 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20311 then :
20313 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20317 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20318 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20319 then :
20321 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20325 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20326 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20327 then :
20329 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20333 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20334 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20335 then :
20337 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20341 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20342 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20343 then :
20345 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20349 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20350 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20351 then :
20353 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20357 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20358 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20359 then :
20361 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20365 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20366 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20367 then :
20369 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20373 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20374 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20375 then :
20377 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20383 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>
20384 #ifdef HAVE_NETINET_IN_H
20385 #include <netinet/in.h>
20386 #endif
20388 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20397 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
20398 #include <resolv.h>
20399 #endif
20401 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20410 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20411 #include <netinet/in.h>
20412 #endif
20414 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20415 then :
20417 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20423 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20424 #ifdef HAVE_SYS_SOCKETVAR_H
20425 #include <sys/socketvar.h>
20426 #endif
20427 #ifdef HAVE_NETINET_IN_H
20428 #include <netinet/in.h>
20429 #endif
20430 #ifdef HAVE_NETINET_IP_VAR_H
20431 #include <netinet/ip_var.h>
20432 #endif
20434 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20435 then :
20437 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20443 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
20444 #include <netinet/ip_var.h>
20445 #endif
20447 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20448 then :
20450 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20456 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20457 #ifdef HAVE_SYS_SOCKETVAR_H
20458 #include <sys/socketvar.h>
20459 #endif
20460 #ifdef HAVE_NETINET_IN_H
20461 #include <netinet/in.h>
20462 #endif
20463 #ifdef HAVE_NETINET6_IP6_VAR_H
20464 #include <netinet6/ip6_var.h>
20465 #endif
20467 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20468 then :
20470 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20476 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20477 #ifdef HAVE_SYS_SOCKETVAR_H
20478 #include <sys/socketvar.h>
20479 #endif
20480 #ifdef HAVE_NETINET_IN_H
20481 #include <netinet/in.h>
20482 #endif
20483 #ifdef HAVE_NETINET_IP_H
20484 #include <netinet/ip.h>
20485 #endif
20486 #ifdef HAVE_NETINET_IP_ICMP_H
20487 #include <netinet/ip_icmp.h>
20488 #endif
20489 #ifdef HAVE_NETINET_ICMP_VAR_H
20490 #include <netinet/icmp_var.h>
20491 #endif
20493 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20494 then :
20496 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20502 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20503 #ifdef HAVE_SYS_SOCKETVAR_H
20504 #include <sys/socketvar.h>
20505 #endif
20506 #ifdef HAVE_NETINET_IN_H
20507 #include <netinet/in.h>
20508 #endif
20509 #ifdef HAVE_NETINET_ICMP6_H
20510 #include <netinet/icmp6.h>
20511 #endif
20513 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20514 then :
20516 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20522 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20523 #ifdef HAVE_SYS_SOCKETVAR_H
20524 #include <sys/socketvar.h>
20525 #endif
20526 #ifdef HAVE_NETINET_IN_H
20527 #include <netinet/in.h>
20528 #endif
20529 #ifdef HAVE_NETINET_TCP_H
20530 #include <netinet/tcp.h>
20531 #endif
20532 #ifdef HAVE_NETINET_TCP_VAR_H
20533 #include <netinet/tcp_var.h>
20534 #endif
20536 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20537 then :
20539 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20545 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
20546 #include <netinet/tcp_var.h>
20547 #endif
20549 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20550 then :
20552 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20558 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20559 #ifdef HAVE_NETINET_IN_H
20560 #include <netinet/in.h>
20561 #endif
20562 #ifdef HAVE_NETINET_IP_VAR_H
20563 #include <netinet/ip_var.h>
20564 #endif
20565 #ifdef HAVE_NETINET_UDP_H
20566 #include <netinet/udp.h>
20567 #endif
20568 #ifdef HAVE_NETINET_UDP_VAR_H
20569 #include <netinet/udp_var.h>
20570 #endif
20572 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20573 then :
20575 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20581 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20582 #ifdef HAVE_NET_IF_H
20583 # include <net/if.h>
20584 #endif
20586 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20587 then :
20589 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20595 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20596 # include <sys/sysinfo.h>
20597 #endif
20599 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20606 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20607 # include <sys/sysinfo.h>
20608 #endif
20610 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20611 then :
20613 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20619 LIBS="$ac_save_LIBS"
20621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20622 printf %s "checking for __builtin_popcount... " >&6; }
20623 if test ${ac_cv_have___builtin_popcount+y}
20624 then :
20625 printf %s "(cached) " >&6
20626 else $as_nop
20627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h. */
20631 main (void)
20633 return __builtin_popcount(1)
20635 return 0;
20637 _ACEOF
20638 if ac_fn_c_try_link "$LINENO"
20639 then :
20640 ac_cv_have___builtin_popcount="yes"
20641 else $as_nop
20642 ac_cv_have___builtin_popcount="no"
20644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20645 conftest$ac_exeext conftest.$ac_ext
20647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20648 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20649 if test "$ac_cv_have___builtin_popcount" = "yes"
20650 then
20652 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20657 printf %s "checking for __clear_cache... " >&6; }
20658 if test ${ac_cv_have___clear_cache+y}
20659 then :
20660 printf %s "(cached) " >&6
20661 else $as_nop
20662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20663 /* end confdefs.h. */
20666 main (void)
20668 __clear_cache((void*)0, (void*)0); return 0;
20670 return 0;
20672 _ACEOF
20673 if ac_fn_c_try_link "$LINENO"
20674 then :
20675 ac_cv_have___clear_cache="yes"
20676 else $as_nop
20677 ac_cv_have___clear_cache="no"
20679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20680 conftest$ac_exeext conftest.$ac_ext
20682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20683 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20684 if test "$ac_cv_have___clear_cache" = "yes"
20685 then
20687 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20692 case $host_cpu in
20693 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20694 printf %s "checking whether we need to define __i386__... " >&6; }
20695 if test ${ac_cv_cpp_def___i386__+y}
20696 then :
20697 printf %s "(cached) " >&6
20698 else $as_nop
20699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20700 /* end confdefs.h. */
20701 #ifndef __i386__
20703 #endif
20704 _ACEOF
20705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20706 $EGREP "yes" >/dev/null 2>&1
20707 then :
20708 ac_cv_cpp_def___i386__=yes
20709 else $as_nop
20710 ac_cv_cpp_def___i386__=no
20712 rm -rf conftest*
20715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20716 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20717 if test "x$ac_cv_cpp_def___i386__" = xyes
20718 then :
20719 CFLAGS="$CFLAGS -D__i386__"
20720 LINTFLAGS="$LINTFLAGS -D__i386__"
20721 fi ;;
20722 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20723 printf %s "checking whether we need to define __x86_64__... " >&6; }
20724 if test ${ac_cv_cpp_def___x86_64__+y}
20725 then :
20726 printf %s "(cached) " >&6
20727 else $as_nop
20728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729 /* end confdefs.h. */
20730 #ifndef __x86_64__
20732 #endif
20733 _ACEOF
20734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20735 $EGREP "yes" >/dev/null 2>&1
20736 then :
20737 ac_cv_cpp_def___x86_64__=yes
20738 else $as_nop
20739 ac_cv_cpp_def___x86_64__=no
20741 rm -rf conftest*
20744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20745 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20746 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20747 then :
20748 CFLAGS="$CFLAGS -D__x86_64__"
20749 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20750 fi ;;
20751 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20752 printf %s "checking whether we need to define __sparc64__... " >&6; }
20753 if test ${ac_cv_cpp_def___sparc64__+y}
20754 then :
20755 printf %s "(cached) " >&6
20756 else $as_nop
20757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20758 /* end confdefs.h. */
20759 #ifndef __sparc64__
20761 #endif
20762 _ACEOF
20763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20764 $EGREP "yes" >/dev/null 2>&1
20765 then :
20766 ac_cv_cpp_def___sparc64__=yes
20767 else $as_nop
20768 ac_cv_cpp_def___sparc64__=no
20770 rm -rf conftest*
20773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20774 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20775 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20776 then :
20777 CFLAGS="$CFLAGS -D__sparc64__"
20778 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20779 fi ;;
20780 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20781 printf %s "checking whether we need to define __sparc__... " >&6; }
20782 if test ${ac_cv_cpp_def___sparc__+y}
20783 then :
20784 printf %s "(cached) " >&6
20785 else $as_nop
20786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20787 /* end confdefs.h. */
20788 #ifndef __sparc__
20790 #endif
20791 _ACEOF
20792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20793 $EGREP "yes" >/dev/null 2>&1
20794 then :
20795 ac_cv_cpp_def___sparc__=yes
20796 else $as_nop
20797 ac_cv_cpp_def___sparc__=no
20799 rm -rf conftest*
20802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20803 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20804 if test "x$ac_cv_cpp_def___sparc__" = xyes
20805 then :
20806 CFLAGS="$CFLAGS -D__sparc__"
20807 LINTFLAGS="$LINTFLAGS -D__sparc__"
20808 fi ;;
20809 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20810 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20811 if test ${ac_cv_cpp_def___powerpc64__+y}
20812 then :
20813 printf %s "(cached) " >&6
20814 else $as_nop
20815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20817 #ifndef __powerpc64__
20819 #endif
20820 _ACEOF
20821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20822 $EGREP "yes" >/dev/null 2>&1
20823 then :
20824 ac_cv_cpp_def___powerpc64__=yes
20825 else $as_nop
20826 ac_cv_cpp_def___powerpc64__=no
20828 rm -rf conftest*
20831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20832 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20833 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20834 then :
20835 CFLAGS="$CFLAGS -D__powerpc64__"
20836 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20837 fi ;;
20838 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20839 printf %s "checking whether we need to define __powerpc__... " >&6; }
20840 if test ${ac_cv_cpp_def___powerpc__+y}
20841 then :
20842 printf %s "(cached) " >&6
20843 else $as_nop
20844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20845 /* end confdefs.h. */
20846 #ifndef __powerpc__
20848 #endif
20849 _ACEOF
20850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20851 $EGREP "yes" >/dev/null 2>&1
20852 then :
20853 ac_cv_cpp_def___powerpc__=yes
20854 else $as_nop
20855 ac_cv_cpp_def___powerpc__=no
20857 rm -rf conftest*
20860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20861 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20862 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20863 then :
20864 CFLAGS="$CFLAGS -D__powerpc__"
20865 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20866 fi ;;
20867 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20868 printf %s "checking whether we need to define __aarch64__... " >&6; }
20869 if test ${ac_cv_cpp_def___aarch64__+y}
20870 then :
20871 printf %s "(cached) " >&6
20872 else $as_nop
20873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h. */
20875 #ifndef __aarch64__
20877 #endif
20878 _ACEOF
20879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20880 $EGREP "yes" >/dev/null 2>&1
20881 then :
20882 ac_cv_cpp_def___aarch64__=yes
20883 else $as_nop
20884 ac_cv_cpp_def___aarch64__=no
20886 rm -rf conftest*
20889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20890 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20891 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20892 then :
20893 CFLAGS="$CFLAGS -D__aarch64__"
20894 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20895 fi ;;
20896 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20897 printf %s "checking whether we need to define __arm__... " >&6; }
20898 if test ${ac_cv_cpp_def___arm__+y}
20899 then :
20900 printf %s "(cached) " >&6
20901 else $as_nop
20902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20904 #ifndef __arm__
20906 #endif
20907 _ACEOF
20908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20909 $EGREP "yes" >/dev/null 2>&1
20910 then :
20911 ac_cv_cpp_def___arm__=yes
20912 else $as_nop
20913 ac_cv_cpp_def___arm__=no
20915 rm -rf conftest*
20918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20919 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20920 if test "x$ac_cv_cpp_def___arm__" = xyes
20921 then :
20922 CFLAGS="$CFLAGS -D__arm__"
20923 LINTFLAGS="$LINTFLAGS -D__arm__"
20924 fi ;;
20925 esac
20927 case $host_vendor in
20928 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20929 printf %s "checking whether we need to define __sun__... " >&6; }
20930 if test ${ac_cv_cpp_def___sun__+y}
20931 then :
20932 printf %s "(cached) " >&6
20933 else $as_nop
20934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20936 #ifndef __sun__
20938 #endif
20939 _ACEOF
20940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20941 $EGREP "yes" >/dev/null 2>&1
20942 then :
20943 ac_cv_cpp_def___sun__=yes
20944 else $as_nop
20945 ac_cv_cpp_def___sun__=no
20947 rm -rf conftest*
20950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20951 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20952 if test "x$ac_cv_cpp_def___sun__" = xyes
20953 then :
20954 CFLAGS="$CFLAGS -D__sun__"
20955 LINTFLAGS="$LINTFLAGS -D__sun__"
20956 fi ;;
20957 esac
20963 ac_config_commands="$ac_config_commands include/stamp-h"
20965 printf %s "creating Makefile rules..." >&6
20967 makedep_flags=""
20968 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20970 wine_srcdir=
20971 test "$srcdir" = . || wine_srcdir="$srcdir/"
20973 ac_config_links="$ac_config_links wine:tools/winewrapper"
20974 wine_fn_config_symlink wine
20975 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
20976 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20977 wine_fn_config_symlink wine64
20980 wine_fn_config_makefile dlls/acledit enable_acledit
20981 wine_fn_config_makefile dlls/aclui enable_aclui
20982 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20983 wine_fn_config_makefile dlls/activeds enable_activeds
20984 wine_fn_config_makefile dlls/activeds/tests enable_tests
20985 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20986 wine_fn_config_makefile dlls/adsldp enable_adsldp
20987 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20988 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20989 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20990 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20991 wine_fn_config_makefile dlls/advpack enable_advpack
20992 wine_fn_config_makefile dlls/advpack/tests enable_tests
20993 wine_fn_config_makefile dlls/amsi enable_amsi
20994 wine_fn_config_makefile dlls/amstream enable_amstream
20995 wine_fn_config_makefile dlls/amstream/tests enable_tests
20996 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20997 wine_fn_config_makefile dlls/apphelp enable_apphelp
20998 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20999 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21000 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21001 wine_fn_config_makefile dlls/atl enable_atl
21002 wine_fn_config_makefile dlls/atl/tests enable_tests
21003 wine_fn_config_makefile dlls/atl100 enable_atl100
21004 wine_fn_config_makefile dlls/atl100/tests enable_tests
21005 wine_fn_config_makefile dlls/atl110 enable_atl110
21006 wine_fn_config_makefile dlls/atl110/tests enable_tests
21007 wine_fn_config_makefile dlls/atl80 enable_atl80
21008 wine_fn_config_makefile dlls/atl80/tests enable_tests
21009 wine_fn_config_makefile dlls/atl90 enable_atl90
21010 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21011 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21012 wine_fn_config_makefile dlls/atmlib enable_atmlib
21013 wine_fn_config_makefile dlls/authz enable_authz
21014 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21015 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21016 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21017 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21018 wine_fn_config_makefile dlls/avrt enable_avrt
21019 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21020 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21021 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21022 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21023 wine_fn_config_makefile dlls/browseui enable_browseui
21024 wine_fn_config_makefile dlls/browseui/tests enable_tests
21025 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21026 wine_fn_config_makefile dlls/cabinet enable_cabinet
21027 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21028 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21029 wine_fn_config_makefile dlls/cards enable_cards
21030 wine_fn_config_makefile dlls/cdosys enable_cdosys
21031 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21032 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21033 wine_fn_config_makefile dlls/clusapi enable_clusapi
21034 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21035 wine_fn_config_makefile dlls/combase enable_combase
21036 wine_fn_config_makefile dlls/combase/tests enable_tests
21037 wine_fn_config_makefile dlls/comcat enable_comcat
21038 wine_fn_config_makefile dlls/comcat/tests enable_tests
21039 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21040 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21041 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21042 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21043 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21044 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21045 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21046 wine_fn_config_makefile dlls/compstui enable_compstui
21047 wine_fn_config_makefile dlls/compstui/tests enable_tests
21048 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21049 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21050 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21051 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21052 wine_fn_config_makefile dlls/connect enable_connect
21053 wine_fn_config_makefile dlls/credui enable_credui
21054 wine_fn_config_makefile dlls/credui/tests enable_tests
21055 wine_fn_config_makefile dlls/crtdll enable_crtdll
21056 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21057 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21058 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21059 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21060 wine_fn_config_makefile dlls/cryptext enable_cryptext
21061 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21062 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21063 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21064 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21065 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21066 wine_fn_config_makefile dlls/cryptui enable_cryptui
21067 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21068 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21069 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21070 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21071 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21072 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21073 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21074 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21075 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21076 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21077 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21078 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21079 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21080 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21081 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21082 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21083 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21084 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21085 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21086 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21087 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21088 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21089 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21090 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21091 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21092 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21093 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21094 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21095 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21096 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21097 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21098 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21099 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21100 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21101 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21102 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21103 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21104 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21105 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21106 wine_fn_config_makefile dlls/d3dim enable_d3dim
21107 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21108 wine_fn_config_makefile dlls/d3drm enable_d3drm
21109 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21110 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21111 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21112 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21113 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21114 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21115 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21116 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21117 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21118 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21119 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21120 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21121 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21122 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21123 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21124 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21125 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21126 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21127 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21128 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21129 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21130 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21131 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21132 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21133 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21134 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21135 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21136 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21137 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21138 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21139 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21140 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21141 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21142 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21143 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21144 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21145 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21146 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21147 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21148 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21149 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21150 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21151 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21152 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21153 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21154 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21155 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21156 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21157 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21158 wine_fn_config_makefile dlls/davclnt enable_davclnt
21159 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21160 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21161 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21162 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21163 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21164 wine_fn_config_makefile dlls/dcomp enable_dcomp
21165 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21166 wine_fn_config_makefile dlls/ddraw enable_ddraw
21167 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21168 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21169 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21170 wine_fn_config_makefile dlls/devenum enable_devenum
21171 wine_fn_config_makefile dlls/devenum/tests enable_tests
21172 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21173 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21174 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21175 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21176 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21177 wine_fn_config_makefile dlls/difxapi enable_difxapi
21178 wine_fn_config_makefile dlls/dinput enable_dinput
21179 wine_fn_config_makefile dlls/dinput/tests enable_tests
21180 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21181 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21182 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21183 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21184 wine_fn_config_makefile dlls/dispex enable_dispex
21185 wine_fn_config_makefile dlls/dispex/tests enable_tests
21186 wine_fn_config_makefile dlls/display.drv16 enable_win16
21187 wine_fn_config_makefile dlls/dmband enable_dmband
21188 wine_fn_config_makefile dlls/dmband/tests enable_tests
21189 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21190 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21191 wine_fn_config_makefile dlls/dmime enable_dmime
21192 wine_fn_config_makefile dlls/dmime/tests enable_tests
21193 wine_fn_config_makefile dlls/dmloader enable_dmloader
21194 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21195 wine_fn_config_makefile dlls/dmscript enable_dmscript
21196 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21197 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21198 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21199 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21200 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21201 wine_fn_config_makefile dlls/dmusic enable_dmusic
21202 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21203 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21204 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21205 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21206 wine_fn_config_makefile dlls/dplay enable_dplay
21207 wine_fn_config_makefile dlls/dplayx enable_dplayx
21208 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21209 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21210 wine_fn_config_makefile dlls/dpnet enable_dpnet
21211 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21212 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21213 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21214 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21215 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21216 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21217 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21218 wine_fn_config_makefile dlls/drmclien enable_drmclien
21219 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21220 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21221 wine_fn_config_makefile dlls/dsound enable_dsound
21222 wine_fn_config_makefile dlls/dsound/tests enable_tests
21223 wine_fn_config_makefile dlls/dsquery enable_dsquery
21224 wine_fn_config_makefile dlls/dssenh enable_dssenh
21225 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21226 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21227 wine_fn_config_makefile dlls/dswave enable_dswave
21228 wine_fn_config_makefile dlls/dswave/tests enable_tests
21229 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21230 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21231 wine_fn_config_makefile dlls/dwrite enable_dwrite
21232 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21233 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21234 wine_fn_config_makefile dlls/dxcore enable_dxcore
21235 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21236 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21237 wine_fn_config_makefile dlls/dxgi enable_dxgi
21238 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21239 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21240 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21241 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21242 wine_fn_config_makefile dlls/esent enable_esent
21243 wine_fn_config_makefile dlls/evr enable_evr
21244 wine_fn_config_makefile dlls/evr/tests enable_tests
21245 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21246 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21247 wine_fn_config_makefile dlls/faultrep enable_faultrep
21248 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21249 wine_fn_config_makefile dlls/feclient enable_feclient
21250 wine_fn_config_makefile dlls/fltlib enable_fltlib
21251 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21252 wine_fn_config_makefile dlls/fntcache enable_fntcache
21253 wine_fn_config_makefile dlls/fontsub enable_fontsub
21254 wine_fn_config_makefile dlls/fusion enable_fusion
21255 wine_fn_config_makefile dlls/fusion/tests enable_tests
21256 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21257 wine_fn_config_makefile dlls/gameux enable_gameux
21258 wine_fn_config_makefile dlls/gameux/tests enable_tests
21259 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21260 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21261 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21262 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21263 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21264 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21265 wine_fn_config_makefile dlls/geolocation enable_geolocation
21266 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21267 wine_fn_config_makefile dlls/glu32 enable_glu32
21268 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21269 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21270 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21271 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21272 wine_fn_config_makefile dlls/hal enable_hal
21273 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21274 wine_fn_config_makefile dlls/hid enable_hid
21275 wine_fn_config_makefile dlls/hid/tests enable_tests
21276 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21277 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21278 wine_fn_config_makefile dlls/hlink enable_hlink
21279 wine_fn_config_makefile dlls/hlink/tests enable_tests
21280 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21281 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21282 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21283 wine_fn_config_makefile dlls/http.sys enable_http_sys
21284 wine_fn_config_makefile dlls/httpapi enable_httpapi
21285 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21286 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21287 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21288 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21289 wine_fn_config_makefile dlls/iccvid enable_iccvid
21290 wine_fn_config_makefile dlls/icmp enable_icmp
21291 wine_fn_config_makefile dlls/ieframe enable_ieframe
21292 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21293 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21294 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21295 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21296 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21297 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21298 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21299 wine_fn_config_makefile dlls/imm32 enable_imm32
21300 wine_fn_config_makefile dlls/imm32/tests enable_tests
21301 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21302 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21303 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21304 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21305 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21306 wine_fn_config_makefile dlls/infosoft enable_infosoft
21307 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21308 wine_fn_config_makefile dlls/initpki enable_initpki
21309 wine_fn_config_makefile dlls/inkobj enable_inkobj
21310 wine_fn_config_makefile dlls/inseng enable_inseng
21311 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21312 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21313 wine_fn_config_makefile dlls/iprop enable_iprop
21314 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21315 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21316 wine_fn_config_makefile dlls/itircl enable_itircl
21317 wine_fn_config_makefile dlls/itss enable_itss
21318 wine_fn_config_makefile dlls/itss/tests enable_tests
21319 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21320 wine_fn_config_makefile dlls/jscript enable_jscript
21321 wine_fn_config_makefile dlls/jscript/tests enable_tests
21322 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21323 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21324 wine_fn_config_makefile dlls/kerberos enable_kerberos
21325 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21326 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21327 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21328 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21329 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21330 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21331 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21332 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21333 wine_fn_config_makefile dlls/ksuser enable_ksuser
21334 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21335 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21336 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21337 wine_fn_config_makefile dlls/loadperf enable_loadperf
21338 wine_fn_config_makefile dlls/localspl enable_localspl
21339 wine_fn_config_makefile dlls/localspl/tests enable_tests
21340 wine_fn_config_makefile dlls/localui enable_localui
21341 wine_fn_config_makefile dlls/localui/tests enable_tests
21342 wine_fn_config_makefile dlls/lz32 enable_lz32
21343 wine_fn_config_makefile dlls/lz32/tests enable_tests
21344 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21345 wine_fn_config_makefile dlls/magnification enable_magnification
21346 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21347 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21348 wine_fn_config_makefile dlls/mapistub enable_mapistub
21349 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21350 wine_fn_config_makefile dlls/mcicda enable_mcicda
21351 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21352 wine_fn_config_makefile dlls/mciseq enable_mciseq
21353 wine_fn_config_makefile dlls/mciwave enable_mciwave
21354 wine_fn_config_makefile dlls/mf enable_mf
21355 wine_fn_config_makefile dlls/mf/tests enable_tests
21356 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21357 wine_fn_config_makefile dlls/mferror enable_mferror
21358 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21359 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21360 wine_fn_config_makefile dlls/mfplat enable_mfplat
21361 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21362 wine_fn_config_makefile dlls/mfplay enable_mfplay
21363 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21364 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21365 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21366 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21367 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21368 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21369 wine_fn_config_makefile dlls/midimap enable_midimap
21370 wine_fn_config_makefile dlls/mlang enable_mlang
21371 wine_fn_config_makefile dlls/mlang/tests enable_tests
21372 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21373 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21374 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21375 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21376 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21377 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21378 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21379 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21380 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21381 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21382 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21383 wine_fn_config_makefile dlls/mpr enable_mpr
21384 wine_fn_config_makefile dlls/mpr/tests enable_tests
21385 wine_fn_config_makefile dlls/mprapi enable_mprapi
21386 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21387 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21388 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21389 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21390 wine_fn_config_makefile dlls/msado15 enable_msado15
21391 wine_fn_config_makefile dlls/msado15/tests enable_tests
21392 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21393 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21394 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21395 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21396 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21397 wine_fn_config_makefile dlls/mscms enable_mscms
21398 wine_fn_config_makefile dlls/mscms/tests enable_tests
21399 wine_fn_config_makefile dlls/mscoree enable_mscoree
21400 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21401 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21402 wine_fn_config_makefile dlls/msctf enable_msctf
21403 wine_fn_config_makefile dlls/msctf/tests enable_tests
21404 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21405 wine_fn_config_makefile dlls/msctfp enable_msctfp
21406 wine_fn_config_makefile dlls/msdaps enable_msdaps
21407 wine_fn_config_makefile dlls/msdasql enable_msdasql
21408 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21409 wine_fn_config_makefile dlls/msdelta enable_msdelta
21410 wine_fn_config_makefile dlls/msdmo enable_msdmo
21411 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21412 wine_fn_config_makefile dlls/msdrm enable_msdrm
21413 wine_fn_config_makefile dlls/msftedit enable_msftedit
21414 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21415 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21416 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21417 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21418 wine_fn_config_makefile dlls/mshtml enable_mshtml
21419 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21420 wine_fn_config_makefile dlls/msi enable_msi
21421 wine_fn_config_makefile dlls/msi/tests enable_tests
21422 wine_fn_config_makefile dlls/msident enable_msident
21423 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21424 wine_fn_config_makefile dlls/msimsg enable_msimsg
21425 wine_fn_config_makefile dlls/msimtf enable_msimtf
21426 wine_fn_config_makefile dlls/msisip enable_msisip
21427 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21428 wine_fn_config_makefile dlls/msls31 enable_msls31
21429 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21430 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21431 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21432 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21433 wine_fn_config_makefile dlls/msports enable_msports
21434 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21435 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21436 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21437 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21438 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21439 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21440 wine_fn_config_makefile dlls/mstask enable_mstask
21441 wine_fn_config_makefile dlls/mstask/tests enable_tests
21442 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21443 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21444 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21445 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21446 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21447 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21448 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21449 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21450 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21451 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21452 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21453 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21454 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21455 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21456 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21457 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21458 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21459 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21460 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21461 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21462 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21463 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21464 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21465 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21466 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21467 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21468 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21469 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21470 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21471 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21472 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21473 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21474 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21475 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21476 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21477 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21478 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21479 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21480 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21481 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21482 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21483 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21484 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21485 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21486 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21487 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21488 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21489 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21490 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21491 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21492 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21493 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21494 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21495 wine_fn_config_makefile dlls/mswsock enable_mswsock
21496 wine_fn_config_makefile dlls/msxml enable_msxml
21497 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21498 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21499 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21500 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21501 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21502 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21503 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21504 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21505 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21506 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21507 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21508 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21509 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21510 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21511 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21512 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21513 wine_fn_config_makefile dlls/netprofm enable_netprofm
21514 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21515 wine_fn_config_makefile dlls/netutils enable_netutils
21516 wine_fn_config_makefile dlls/newdev enable_newdev
21517 wine_fn_config_makefile dlls/ninput enable_ninput
21518 wine_fn_config_makefile dlls/ninput/tests enable_tests
21519 wine_fn_config_makefile dlls/normaliz enable_normaliz
21520 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21521 wine_fn_config_makefile dlls/npptools enable_npptools
21522 wine_fn_config_makefile dlls/nsi enable_nsi
21523 wine_fn_config_makefile dlls/nsi/tests enable_tests
21524 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21525 wine_fn_config_makefile dlls/ntdll enable_ntdll
21526 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21527 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21528 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21529 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21530 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21531 wine_fn_config_makefile dlls/ntprint enable_ntprint
21532 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21533 wine_fn_config_makefile dlls/objsel enable_objsel
21534 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21535 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21536 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21537 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21538 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21539 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21540 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21541 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21542 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21543 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21544 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21545 wine_fn_config_makefile dlls/ole32 enable_ole32
21546 wine_fn_config_makefile dlls/ole32/tests enable_tests
21547 wine_fn_config_makefile dlls/oleacc enable_oleacc
21548 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21549 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21550 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21551 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21552 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21553 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21554 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21555 wine_fn_config_makefile dlls/oledlg enable_oledlg
21556 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21557 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21558 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21559 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21560 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21561 wine_fn_config_makefile dlls/opcservices enable_opcservices
21562 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21563 wine_fn_config_makefile dlls/opencl enable_opencl
21564 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21565 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21566 wine_fn_config_makefile dlls/packager enable_packager
21567 wine_fn_config_makefile dlls/packager/tests enable_tests
21568 wine_fn_config_makefile dlls/pdh enable_pdh
21569 wine_fn_config_makefile dlls/pdh/tests enable_tests
21570 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21571 wine_fn_config_makefile dlls/pidgen enable_pidgen
21572 wine_fn_config_makefile dlls/powrprof enable_powrprof
21573 wine_fn_config_makefile dlls/printui enable_printui
21574 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21575 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21576 wine_fn_config_makefile dlls/propsys enable_propsys
21577 wine_fn_config_makefile dlls/propsys/tests enable_tests
21578 wine_fn_config_makefile dlls/psapi enable_psapi
21579 wine_fn_config_makefile dlls/psapi/tests enable_tests
21580 wine_fn_config_makefile dlls/pstorec enable_pstorec
21581 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21582 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21583 wine_fn_config_makefile dlls/qasf enable_qasf
21584 wine_fn_config_makefile dlls/qasf/tests enable_tests
21585 wine_fn_config_makefile dlls/qcap enable_qcap
21586 wine_fn_config_makefile dlls/qcap/tests enable_tests
21587 wine_fn_config_makefile dlls/qdvd enable_qdvd
21588 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21589 wine_fn_config_makefile dlls/qedit enable_qedit
21590 wine_fn_config_makefile dlls/qedit/tests enable_tests
21591 wine_fn_config_makefile dlls/qmgr enable_qmgr
21592 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21593 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21594 wine_fn_config_makefile dlls/quartz enable_quartz
21595 wine_fn_config_makefile dlls/quartz/tests enable_tests
21596 wine_fn_config_makefile dlls/query enable_query
21597 wine_fn_config_makefile dlls/qwave enable_qwave
21598 wine_fn_config_makefile dlls/qwave/tests enable_tests
21599 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21600 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21601 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21602 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21603 wine_fn_config_makefile dlls/regapi enable_regapi
21604 wine_fn_config_makefile dlls/resutils enable_resutils
21605 wine_fn_config_makefile dlls/riched20 enable_riched20
21606 wine_fn_config_makefile dlls/riched20/tests enable_tests
21607 wine_fn_config_makefile dlls/riched32 enable_riched32
21608 wine_fn_config_makefile dlls/riched32/tests enable_tests
21609 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21610 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21611 wine_fn_config_makefile dlls/rsabase enable_rsabase
21612 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21613 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21614 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21615 wine_fn_config_makefile dlls/rtutils enable_rtutils
21616 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21617 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21618 wine_fn_config_makefile dlls/samlib enable_samlib
21619 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21620 wine_fn_config_makefile dlls/sapi enable_sapi
21621 wine_fn_config_makefile dlls/sapi/tests enable_tests
21622 wine_fn_config_makefile dlls/sas enable_sas
21623 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21624 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21625 wine_fn_config_makefile dlls/sccbase enable_sccbase
21626 wine_fn_config_makefile dlls/schannel enable_schannel
21627 wine_fn_config_makefile dlls/schannel/tests enable_tests
21628 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21629 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21630 wine_fn_config_makefile dlls/scrobj enable_scrobj
21631 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21632 wine_fn_config_makefile dlls/scrrun enable_scrrun
21633 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21634 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21635 wine_fn_config_makefile dlls/sechost enable_sechost
21636 wine_fn_config_makefile dlls/secur32 enable_secur32
21637 wine_fn_config_makefile dlls/secur32/tests enable_tests
21638 wine_fn_config_makefile dlls/security enable_security
21639 wine_fn_config_makefile dlls/sensapi enable_sensapi
21640 wine_fn_config_makefile dlls/serialui enable_serialui
21641 wine_fn_config_makefile dlls/serialui/tests enable_tests
21642 wine_fn_config_makefile dlls/setupapi enable_setupapi
21643 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21644 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21645 wine_fn_config_makefile dlls/sfc enable_sfc
21646 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21647 wine_fn_config_makefile dlls/shcore enable_shcore
21648 wine_fn_config_makefile dlls/shcore/tests enable_tests
21649 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21650 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21651 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21652 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21653 wine_fn_config_makefile dlls/shell32 enable_shell32
21654 wine_fn_config_makefile dlls/shell32/tests enable_tests
21655 wine_fn_config_makefile dlls/shfolder enable_shfolder
21656 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21657 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21658 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21659 wine_fn_config_makefile dlls/slc enable_slc
21660 wine_fn_config_makefile dlls/slc/tests enable_tests
21661 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21662 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21663 wine_fn_config_makefile dlls/softpub enable_softpub
21664 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21665 wine_fn_config_makefile dlls/spoolss enable_spoolss
21666 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21667 wine_fn_config_makefile dlls/sppc enable_sppc
21668 wine_fn_config_makefile dlls/srclient enable_srclient
21669 wine_fn_config_makefile dlls/srvcli enable_srvcli
21670 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
21671 wine_fn_config_makefile dlls/sspicli enable_sspicli
21672 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21673 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21674 wine_fn_config_makefile dlls/sti enable_sti
21675 wine_fn_config_makefile dlls/sti/tests enable_tests
21676 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21677 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21678 wine_fn_config_makefile dlls/strmdll enable_strmdll
21679 wine_fn_config_makefile dlls/svrapi enable_svrapi
21680 wine_fn_config_makefile dlls/sxs enable_sxs
21681 wine_fn_config_makefile dlls/sxs/tests enable_tests
21682 wine_fn_config_makefile dlls/system.drv16 enable_win16
21683 wine_fn_config_makefile dlls/t2embed enable_t2embed
21684 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21685 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21686 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21687 wine_fn_config_makefile dlls/taskschd enable_taskschd
21688 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21689 wine_fn_config_makefile dlls/tbs enable_tbs
21690 wine_fn_config_makefile dlls/tdh enable_tdh
21691 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21692 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21693 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21694 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21695 wine_fn_config_makefile dlls/traffic enable_traffic
21696 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21697 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21698 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21699 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21700 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21701 wine_fn_config_makefile dlls/tzres enable_tzres
21702 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21703 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21704 wine_fn_config_makefile dlls/uianimation enable_uianimation
21705 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21706 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21707 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21708 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21709 wine_fn_config_makefile dlls/unicows enable_unicows
21710 wine_fn_config_makefile dlls/updspapi enable_updspapi
21711 wine_fn_config_makefile dlls/url enable_url
21712 wine_fn_config_makefile dlls/urlmon enable_urlmon
21713 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21714 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21715 wine_fn_config_makefile dlls/user.exe16 enable_win16
21716 wine_fn_config_makefile dlls/user32 enable_user32
21717 wine_fn_config_makefile dlls/user32/tests enable_tests
21718 wine_fn_config_makefile dlls/userenv enable_userenv
21719 wine_fn_config_makefile dlls/userenv/tests enable_tests
21720 wine_fn_config_makefile dlls/usp10 enable_usp10
21721 wine_fn_config_makefile dlls/usp10/tests enable_tests
21722 wine_fn_config_makefile dlls/utildll enable_utildll
21723 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21724 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21725 wine_fn_config_makefile dlls/vbscript enable_vbscript
21726 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21727 wine_fn_config_makefile dlls/vcomp enable_vcomp
21728 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21729 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21730 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21731 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21732 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21733 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21734 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21735 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21736 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21737 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21738 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21739 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21740 wine_fn_config_makefile dlls/version enable_version
21741 wine_fn_config_makefile dlls/version/tests enable_tests
21742 wine_fn_config_makefile dlls/vga enable_vga
21743 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21744 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21745 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21746 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21747 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21748 wine_fn_config_makefile dlls/vssapi enable_vssapi
21749 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21750 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21751 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21752 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21753 wine_fn_config_makefile dlls/w32skrnl enable_win16
21754 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21755 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21756 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21757 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21758 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21759 wine_fn_config_makefile dlls/wdscore enable_wdscore
21760 wine_fn_config_makefile dlls/webservices enable_webservices
21761 wine_fn_config_makefile dlls/webservices/tests enable_tests
21762 wine_fn_config_makefile dlls/websocket enable_websocket
21763 wine_fn_config_makefile dlls/wer enable_wer
21764 wine_fn_config_makefile dlls/wer/tests enable_tests
21765 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21766 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21767 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21768 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21769 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21770 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21771 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21772 wine_fn_config_makefile dlls/win32u enable_win32u
21773 wine_fn_config_makefile dlls/win32u/tests enable_tests
21774 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21775 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21776 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21777 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
21778 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
21779 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21780 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21781 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21782 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21783 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21784 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21785 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21786 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21787 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21788 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21789 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21790 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21791 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21792 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21793 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
21794 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
21795 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21796 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21797 wine_fn_config_makefile dlls/windows.media enable_windows_media
21798 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21799 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21800 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21801 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21802 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21803 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21804 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
21805 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
21806 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21807 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21808 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21809 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21810 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21811 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21812 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21813 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21814 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21815 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21816 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21817 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21818 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21819 wine_fn_config_makefile dlls/wined3d enable_wined3d
21820 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21821 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21822 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21823 wine_fn_config_makefile dlls/winemapi enable_winemapi
21824 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21825 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21826 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21827 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21828 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21829 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21830 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21831 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21832 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21833 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21834 wine_fn_config_makefile dlls/wing32 enable_wing32
21835 wine_fn_config_makefile dlls/winhttp enable_winhttp
21836 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21837 wine_fn_config_makefile dlls/wininet enable_wininet
21838 wine_fn_config_makefile dlls/wininet/tests enable_tests
21839 wine_fn_config_makefile dlls/winmm enable_winmm
21840 wine_fn_config_makefile dlls/winmm/tests enable_tests
21841 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21842 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21843 wine_fn_config_makefile dlls/winprint enable_winprint
21844 wine_fn_config_makefile dlls/winscard enable_winscard
21845 wine_fn_config_makefile dlls/winscard/tests enable_tests
21846 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21847 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21848 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21849 wine_fn_config_makefile dlls/winsta enable_winsta
21850 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21851 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21852 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21853 wine_fn_config_makefile dlls/wintrust enable_wintrust
21854 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21855 wine_fn_config_makefile dlls/wintypes enable_wintypes
21856 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21857 wine_fn_config_makefile dlls/winusb enable_winusb
21858 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21859 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21860 wine_fn_config_makefile dlls/wlanui enable_wlanui
21861 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21862 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21863 wine_fn_config_makefile dlls/wldp enable_wldp
21864 wine_fn_config_makefile dlls/wmasf enable_wmasf
21865 wine_fn_config_makefile dlls/wmi enable_wmi
21866 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21867 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21868 wine_fn_config_makefile dlls/wmp enable_wmp
21869 wine_fn_config_makefile dlls/wmp/tests enable_tests
21870 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21871 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21872 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21873 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21874 wine_fn_config_makefile dlls/wofutil enable_wofutil
21875 wine_fn_config_makefile dlls/wow32 enable_win16
21876 wine_fn_config_makefile dlls/wow64 enable_wow64
21877 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21878 wine_fn_config_makefile dlls/wow64win enable_wow64win
21879 wine_fn_config_makefile dlls/wpc enable_wpc
21880 wine_fn_config_makefile dlls/wpc/tests enable_tests
21881 wine_fn_config_makefile dlls/wpcap enable_wpcap
21882 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21883 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21884 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21885 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21886 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21887 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21888 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21889 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21890 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21891 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21892 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21893 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21894 wine_fn_config_makefile dlls/wuapi enable_wuapi
21895 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21896 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21897 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21898 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21899 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21900 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21901 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21902 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21903 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21904 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21905 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21906 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21907 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21908 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21909 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21910 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21911 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21912 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21913 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21914 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21915 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21916 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21917 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21918 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21919 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21920 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21921 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21922 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21923 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21924 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21925 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21926 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21927 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21928 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21929 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21930 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21931 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21932 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
21933 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21934 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21935 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21936 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21937 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21938 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21939 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21940 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21941 wine_fn_config_makefile dlls/xmllite enable_xmllite
21942 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21943 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21944 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21945 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21946 wine_fn_config_makefile fonts enable_fonts
21947 wine_fn_config_makefile include enable_include
21948 wine_fn_config_makefile libs/adsiid enable_adsiid
21949 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21950 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21951 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21952 wine_fn_config_makefile libs/dxguid enable_dxguid
21953 wine_fn_config_makefile libs/faudio enable_faudio
21954 wine_fn_config_makefile libs/gsm enable_gsm
21955 wine_fn_config_makefile libs/jpeg enable_jpeg
21956 wine_fn_config_makefile libs/jxr enable_jxr
21957 wine_fn_config_makefile libs/lcms2 enable_lcms2
21958 wine_fn_config_makefile libs/ldap enable_ldap
21959 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21960 wine_fn_config_makefile libs/mpg123 enable_mpg123
21961 wine_fn_config_makefile libs/musl enable_musl
21962 wine_fn_config_makefile libs/png enable_png
21963 wine_fn_config_makefile libs/strmbase enable_strmbase
21964 wine_fn_config_makefile libs/strmiids enable_strmiids
21965 wine_fn_config_makefile libs/tiff enable_tiff
21966 wine_fn_config_makefile libs/uuid enable_uuid
21967 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21968 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21969 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21970 wine_fn_config_makefile libs/xml2 enable_xml2
21971 wine_fn_config_makefile libs/xslt enable_xslt
21972 wine_fn_config_makefile libs/zlib enable_zlib
21973 wine_fn_config_makefile libs/zydis enable_zydis
21974 wine_fn_config_makefile loader enable_loader
21975 wine_fn_config_makefile nls enable_nls
21976 wine_fn_config_makefile po enable_po
21977 wine_fn_config_makefile programs/arp enable_arp
21978 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21979 wine_fn_config_makefile programs/attrib enable_attrib
21980 wine_fn_config_makefile programs/cabarc enable_cabarc
21981 wine_fn_config_makefile programs/cacls enable_cacls
21982 wine_fn_config_makefile programs/certutil enable_certutil
21983 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21984 wine_fn_config_makefile programs/clock enable_clock
21985 wine_fn_config_makefile programs/cmd enable_cmd
21986 wine_fn_config_makefile programs/cmd/tests enable_tests
21987 wine_fn_config_makefile programs/conhost enable_conhost
21988 wine_fn_config_makefile programs/conhost/tests enable_tests
21989 wine_fn_config_makefile programs/control enable_control
21990 wine_fn_config_makefile programs/cscript enable_cscript
21991 wine_fn_config_makefile programs/dism enable_dism
21992 wine_fn_config_makefile programs/dllhost enable_dllhost
21993 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21994 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21995 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21996 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21997 wine_fn_config_makefile programs/eject enable_eject
21998 wine_fn_config_makefile programs/expand enable_expand
21999 wine_fn_config_makefile programs/explorer enable_explorer
22000 wine_fn_config_makefile programs/explorer/tests enable_tests
22001 wine_fn_config_makefile programs/extrac32 enable_extrac32
22002 wine_fn_config_makefile programs/fc enable_fc
22003 wine_fn_config_makefile programs/find enable_find
22004 wine_fn_config_makefile programs/find/tests enable_tests
22005 wine_fn_config_makefile programs/findstr enable_findstr
22006 wine_fn_config_makefile programs/findstr/tests enable_tests
22007 wine_fn_config_makefile programs/fsutil enable_fsutil
22008 wine_fn_config_makefile programs/fsutil/tests enable_tests
22009 wine_fn_config_makefile programs/hh enable_hh
22010 wine_fn_config_makefile programs/hostname enable_hostname
22011 wine_fn_config_makefile programs/icacls enable_icacls
22012 wine_fn_config_makefile programs/icinfo enable_icinfo
22013 wine_fn_config_makefile programs/iexplore enable_iexplore
22014 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22015 wine_fn_config_makefile programs/klist enable_klist
22016 wine_fn_config_makefile programs/lodctr enable_lodctr
22017 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22018 wine_fn_config_makefile programs/mshta enable_mshta
22019 wine_fn_config_makefile programs/msidb enable_msidb
22020 wine_fn_config_makefile programs/msiexec enable_msiexec
22021 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22022 wine_fn_config_makefile programs/net enable_net
22023 wine_fn_config_makefile programs/netsh enable_netsh
22024 wine_fn_config_makefile programs/netstat enable_netstat
22025 wine_fn_config_makefile programs/ngen enable_ngen
22026 wine_fn_config_makefile programs/notepad enable_notepad
22027 wine_fn_config_makefile programs/oleview enable_oleview
22028 wine_fn_config_makefile programs/ping enable_ping
22029 wine_fn_config_makefile programs/plugplay enable_plugplay
22030 wine_fn_config_makefile programs/pnputil enable_pnputil
22031 wine_fn_config_makefile programs/powershell enable_powershell
22032 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22033 wine_fn_config_makefile programs/progman enable_progman
22034 wine_fn_config_makefile programs/reg enable_reg
22035 wine_fn_config_makefile programs/reg/tests enable_tests
22036 wine_fn_config_makefile programs/regasm enable_regasm
22037 wine_fn_config_makefile programs/regedit enable_regedit
22038 wine_fn_config_makefile programs/regedit/tests enable_tests
22039 wine_fn_config_makefile programs/regini enable_regini
22040 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22041 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22042 wine_fn_config_makefile programs/robocopy enable_robocopy
22043 wine_fn_config_makefile programs/rpcss enable_rpcss
22044 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22045 wine_fn_config_makefile programs/rundll32 enable_rundll32
22046 wine_fn_config_makefile programs/sc enable_sc
22047 wine_fn_config_makefile programs/sc/tests enable_tests
22048 wine_fn_config_makefile programs/schtasks enable_schtasks
22049 wine_fn_config_makefile programs/schtasks/tests enable_tests
22050 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22051 wine_fn_config_makefile programs/secedit enable_secedit
22052 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22053 wine_fn_config_makefile programs/services enable_services
22054 wine_fn_config_makefile programs/services/tests enable_tests
22055 wine_fn_config_makefile programs/setx enable_setx
22056 wine_fn_config_makefile programs/shutdown enable_shutdown
22057 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22058 wine_fn_config_makefile programs/start enable_start
22059 wine_fn_config_makefile programs/subst enable_subst
22060 wine_fn_config_makefile programs/svchost enable_svchost
22061 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22062 wine_fn_config_makefile programs/taskkill enable_taskkill
22063 wine_fn_config_makefile programs/tasklist enable_tasklist
22064 wine_fn_config_makefile programs/tasklist/tests enable_tests
22065 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22066 wine_fn_config_makefile programs/termsv enable_termsv
22067 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22068 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22069 wine_fn_config_makefile programs/view enable_view
22070 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22071 wine_fn_config_makefile programs/where enable_where
22072 wine_fn_config_makefile programs/whoami enable_whoami
22073 wine_fn_config_makefile programs/wineboot enable_wineboot
22074 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22075 wine_fn_config_makefile programs/winecfg enable_winecfg
22076 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22077 wine_fn_config_makefile programs/winedbg enable_winedbg
22078 wine_fn_config_makefile programs/winedevice enable_winedevice
22079 wine_fn_config_makefile programs/winefile enable_winefile
22080 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22081 wine_fn_config_makefile programs/winemine enable_winemine
22082 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22083 wine_fn_config_makefile programs/winepath enable_winepath
22084 wine_fn_config_makefile programs/winetest enable_winetest
22085 wine_fn_config_makefile programs/winevdm enable_win16
22086 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22087 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22088 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22089 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22090 wine_fn_config_makefile programs/winver enable_winver
22091 wine_fn_config_makefile programs/wmic enable_wmic
22092 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22093 wine_fn_config_makefile programs/wordpad enable_wordpad
22094 wine_fn_config_makefile programs/write enable_write
22095 wine_fn_config_makefile programs/wscript enable_wscript
22096 wine_fn_config_makefile programs/wscript/tests enable_tests
22097 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22098 wine_fn_config_makefile programs/wusa enable_wusa
22099 wine_fn_config_makefile programs/xcopy enable_xcopy
22100 wine_fn_config_makefile programs/xcopy/tests enable_tests
22101 wine_fn_config_makefile server enable_server
22102 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22103 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22104 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22105 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22106 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22107 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22108 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22109 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22110 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22113 as_fn_append CONFIGURE_TARGETS " TAGS"
22114 as_fn_append CONFIGURE_TARGETS " tags"
22115 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22116 as_fn_append CONFIGURE_TARGETS " config.log"
22117 as_fn_append CONFIGURE_TARGETS " config.status"
22118 as_fn_append CONFIGURE_TARGETS " include/config.h"
22119 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22120 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22122 if test "x$enable_tools" != xno
22123 then
22124 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22125 ac_config_commands="$ac_config_commands tools/makedep"
22129 ac_config_commands="$ac_config_commands Makefile"
22133 SHELL=/bin/sh
22136 as_fn_append wine_rules "
22137 all: wine
22138 @echo \"Wine build complete.\"
22139 .INIT: Makefile
22140 .MAKEFILEDEPS:
22141 all: Makefile
22142 Makefile: config.status \$(MAKEDEP)
22143 @./config.status Makefile
22144 depend: \$(MAKEDEP)
22145 \$(MAKEDEP)$makedep_flags"
22148 as_fn_append wine_rules "
22149 config.status: ${wine_srcdir}configure
22150 @./config.status --recheck
22151 include/config.h: include/stamp-h
22152 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22153 @./config.status include/config.h include/stamp-h"
22155 if test "x$enable_maintainer_mode" = xyes
22156 then
22157 as_fn_append wine_rules "
22158 configure: configure.ac aclocal.m4
22159 autoconf --warnings=all
22160 include/config.h.in: include/stamp-h.in
22161 include/stamp-h.in: configure.ac aclocal.m4
22162 autoheader --warnings=all
22163 @echo timestamp > \$@"
22166 if test "x$enable_tools" != xno
22167 then
22168 as_fn_append wine_rules "
22169 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22170 @./config.status tools/makedep
22171 Makefile: tools/makedep$ac_exeext"
22172 else
22173 as_fn_append wine_rules "
22174 \$(MAKEDEP):
22175 @echo \"You need to run make in $toolsdir first\" && false"
22179 if test -n "$with_wine64"
22180 then
22181 case "$with_wine64" in
22182 /*) reldir="" ;;
22183 *) reldir="../" ;;
22184 esac
22185 rm -f fonts server 2>/dev/null
22186 as_fn_append wine_rules "
22187 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22188 loader/wine64 loader/wine64-preloader:
22189 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22190 $with_wine64/loader/wine:
22191 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22192 $with_wine64/loader/wine-preloader:
22193 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22194 clean::
22195 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22196 else
22197 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22198 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22199 fonts \
22200 loader/wine.inf \
22201 nls \
22202 programs/msidb/msidb \
22203 programs/msiexec/msiexec \
22204 programs/notepad/notepad \
22205 programs/regedit/regedit \
22206 programs/regsvr32/regsvr32 \
22207 programs/wineboot/wineboot \
22208 programs/winecfg/winecfg \
22209 programs/wineconsole/wineconsole \
22210 programs/winedbg/winedbg \
22211 programs/winefile/winefile \
22212 programs/winemine/winemine \
22213 programs/winepath/winepath \
22214 server/wineserver"
22216 case $host_os in
22217 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22218 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22219 esac
22223 as_fn_append wine_rules "
22224 distclean:: clean
22225 rm -rf autom4te.cache
22226 maintainer-clean::
22227 rm -f configure include/config.h.in"
22230 as_fn_append wine_rules "
22231 dlls/ntdll/unix/version.c: dummy
22232 @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)
22233 programs/winetest/build.rc: dummy
22234 @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)
22235 programs/winetest/build.nfo:
22236 @-\$(CC) -v 2>\$@
22237 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
22238 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22239 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22242 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22244 as_fn_append wine_rules "
22245 TAGS etags:
22246 rm -f TAGS
22247 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22248 tags ctags:
22249 rm -f tags
22250 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22251 dummy:
22252 .PHONY: depend dummy install-manpages"
22254 printf "%s\n" " done" >&6
22255 cat >confcache <<\_ACEOF
22256 # This file is a shell script that caches the results of configure
22257 # tests run on this system so they can be shared between configure
22258 # scripts and configure runs, see configure's option --config-cache.
22259 # It is not useful on other systems. If it contains results you don't
22260 # want to keep, you may remove or edit it.
22262 # config.status only pays attention to the cache file if you give it
22263 # the --recheck option to rerun configure.
22265 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22266 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22267 # following values.
22269 _ACEOF
22271 # The following way of writing the cache mishandles newlines in values,
22272 # but we know of no workaround that is simple, portable, and efficient.
22273 # So, we kill variables containing newlines.
22274 # Ultrix sh set writes to stderr and can't be redirected directly,
22275 # and sets the high bit in the cache file unless we assign to the vars.
22277 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22278 eval ac_val=\$$ac_var
22279 case $ac_val in #(
22280 *${as_nl}*)
22281 case $ac_var in #(
22282 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22283 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22284 esac
22285 case $ac_var in #(
22286 _ | IFS | as_nl) ;; #(
22287 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22288 *) { eval $ac_var=; unset $ac_var;} ;;
22289 esac ;;
22290 esac
22291 done
22293 (set) 2>&1 |
22294 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22295 *${as_nl}ac_space=\ *)
22296 # `set' does not quote correctly, so add quotes: double-quote
22297 # substitution turns \\\\ into \\, and sed turns \\ into \.
22298 sed -n \
22299 "s/'/'\\\\''/g;
22300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22301 ;; #(
22303 # `set' quotes correctly as required by POSIX, so do not add quotes.
22304 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22306 esac |
22307 sort
22309 sed '
22310 /^ac_cv_env_/b end
22311 t clear
22312 :clear
22313 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22314 t end
22315 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22316 :end' >>confcache
22317 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22318 if test -w "$cache_file"; then
22319 if test "x$cache_file" != "x/dev/null"; then
22320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22321 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22322 if test ! -f "$cache_file" || test -h "$cache_file"; then
22323 cat confcache >"$cache_file"
22324 else
22325 case $cache_file in #(
22326 */* | ?:*)
22327 mv -f confcache "$cache_file"$$ &&
22328 mv -f "$cache_file"$$ "$cache_file" ;; #(
22330 mv -f confcache "$cache_file" ;;
22331 esac
22334 else
22335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22336 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22339 rm -f confcache
22341 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22342 # Let make expand exec_prefix.
22343 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22345 DEFS=-DHAVE_CONFIG_H
22347 ac_libobjs=
22348 ac_ltlibobjs=
22350 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22351 # 1. Remove the extension, and $U if already installed.
22352 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22353 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22354 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22355 # will be set to the directory where LIBOBJS objects are built.
22356 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22357 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22358 done
22359 LIBOBJS=$ac_libobjs
22361 LTLIBOBJS=$ac_ltlibobjs
22365 : "${CONFIG_STATUS=./config.status}"
22366 ac_write_fail=0
22367 ac_clean_files_save=$ac_clean_files
22368 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22370 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22371 as_write_fail=0
22372 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22373 #! $SHELL
22374 # Generated by $as_me.
22375 # Run this file to recreate the current configuration.
22376 # Compiler output produced by configure, useful for debugging
22377 # configure, is in config.log if it exists.
22379 debug=false
22380 ac_cs_recheck=false
22381 ac_cs_silent=false
22383 SHELL=\${CONFIG_SHELL-$SHELL}
22384 export SHELL
22385 _ASEOF
22386 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22387 ## -------------------- ##
22388 ## M4sh Initialization. ##
22389 ## -------------------- ##
22391 # Be more Bourne compatible
22392 DUALCASE=1; export DUALCASE # for MKS sh
22393 as_nop=:
22394 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22395 then :
22396 emulate sh
22397 NULLCMD=:
22398 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22399 # is contrary to our usage. Disable this feature.
22400 alias -g '${1+"$@"}'='"$@"'
22401 setopt NO_GLOB_SUBST
22402 else $as_nop
22403 case `(set -o) 2>/dev/null` in #(
22404 *posix*) :
22405 set -o posix ;; #(
22406 *) :
22408 esac
22413 # Reset variables that may have inherited troublesome values from
22414 # the environment.
22416 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22417 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22418 # side effect of setting IFS to empty, thus disabling word splitting.)
22419 # Quoting is to prevent editors from complaining about space-tab.
22420 as_nl='
22422 export as_nl
22423 IFS=" "" $as_nl"
22425 PS1='$ '
22426 PS2='> '
22427 PS4='+ '
22429 # Ensure predictable behavior from utilities with locale-dependent output.
22430 LC_ALL=C
22431 export LC_ALL
22432 LANGUAGE=C
22433 export LANGUAGE
22435 # We cannot yet rely on "unset" to work, but we need these variables
22436 # to be unset--not just set to an empty or harmless value--now, to
22437 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22438 # also avoids known problems related to "unset" and subshell syntax
22439 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22440 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22441 do eval test \${$as_var+y} \
22442 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22443 done
22445 # Ensure that fds 0, 1, and 2 are open.
22446 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22447 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22448 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22450 # The user is always right.
22451 if ${PATH_SEPARATOR+false} :; then
22452 PATH_SEPARATOR=:
22453 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22454 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22455 PATH_SEPARATOR=';'
22460 # Find who we are. Look in the path if we contain no directory separator.
22461 as_myself=
22462 case $0 in #((
22463 *[\\/]* ) as_myself=$0 ;;
22464 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22465 for as_dir in $PATH
22467 IFS=$as_save_IFS
22468 case $as_dir in #(((
22469 '') as_dir=./ ;;
22470 */) ;;
22471 *) as_dir=$as_dir/ ;;
22472 esac
22473 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22474 done
22475 IFS=$as_save_IFS
22478 esac
22479 # We did not find ourselves, most probably we were run as `sh COMMAND'
22480 # in which case we are not to be found in the path.
22481 if test "x$as_myself" = x; then
22482 as_myself=$0
22484 if test ! -f "$as_myself"; then
22485 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22486 exit 1
22491 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22492 # ----------------------------------------
22493 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22494 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22495 # script with STATUS, using 1 if that was 0.
22496 as_fn_error ()
22498 as_status=$1; test $as_status -eq 0 && as_status=1
22499 if test "$4"; then
22500 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22503 printf "%s\n" "$as_me: error: $2" >&2
22504 as_fn_exit $as_status
22505 } # as_fn_error
22509 # as_fn_set_status STATUS
22510 # -----------------------
22511 # Set $? to STATUS, without forking.
22512 as_fn_set_status ()
22514 return $1
22515 } # as_fn_set_status
22517 # as_fn_exit STATUS
22518 # -----------------
22519 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22520 as_fn_exit ()
22522 set +e
22523 as_fn_set_status $1
22524 exit $1
22525 } # as_fn_exit
22527 # as_fn_unset VAR
22528 # ---------------
22529 # Portably unset VAR.
22530 as_fn_unset ()
22532 { eval $1=; unset $1;}
22534 as_unset=as_fn_unset
22536 # as_fn_append VAR VALUE
22537 # ----------------------
22538 # Append the text in VALUE to the end of the definition contained in VAR. Take
22539 # advantage of any shell optimizations that allow amortized linear growth over
22540 # repeated appends, instead of the typical quadratic growth present in naive
22541 # implementations.
22542 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22543 then :
22544 eval 'as_fn_append ()
22546 eval $1+=\$2
22548 else $as_nop
22549 as_fn_append ()
22551 eval $1=\$$1\$2
22553 fi # as_fn_append
22555 # as_fn_arith ARG...
22556 # ------------------
22557 # Perform arithmetic evaluation on the ARGs, and store the result in the
22558 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22559 # must be portable across $(()) and expr.
22560 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22561 then :
22562 eval 'as_fn_arith ()
22564 as_val=$(( $* ))
22566 else $as_nop
22567 as_fn_arith ()
22569 as_val=`expr "$@" || test $? -eq 1`
22571 fi # as_fn_arith
22574 if expr a : '\(a\)' >/dev/null 2>&1 &&
22575 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22576 as_expr=expr
22577 else
22578 as_expr=false
22581 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22582 as_basename=basename
22583 else
22584 as_basename=false
22587 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22588 as_dirname=dirname
22589 else
22590 as_dirname=false
22593 as_me=`$as_basename -- "$0" ||
22594 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22595 X"$0" : 'X\(//\)$' \| \
22596 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22597 printf "%s\n" X/"$0" |
22598 sed '/^.*\/\([^/][^/]*\)\/*$/{
22599 s//\1/
22602 /^X\/\(\/\/\)$/{
22603 s//\1/
22606 /^X\/\(\/\).*/{
22607 s//\1/
22610 s/.*/./; q'`
22612 # Avoid depending upon Character Ranges.
22613 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22614 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22615 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22616 as_cr_digits='0123456789'
22617 as_cr_alnum=$as_cr_Letters$as_cr_digits
22620 # Determine whether it's possible to make 'echo' print without a newline.
22621 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22622 # for compatibility with existing Makefiles.
22623 ECHO_C= ECHO_N= ECHO_T=
22624 case `echo -n x` in #(((((
22625 -n*)
22626 case `echo 'xy\c'` in
22627 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22628 xy) ECHO_C='\c';;
22629 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22630 ECHO_T=' ';;
22631 esac;;
22633 ECHO_N='-n';;
22634 esac
22636 # For backward compatibility with old third-party macros, we provide
22637 # the shell variables $as_echo and $as_echo_n. New code should use
22638 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22639 as_echo='printf %s\n'
22640 as_echo_n='printf %s'
22642 rm -f conf$$ conf$$.exe conf$$.file
22643 if test -d conf$$.dir; then
22644 rm -f conf$$.dir/conf$$.file
22645 else
22646 rm -f conf$$.dir
22647 mkdir conf$$.dir 2>/dev/null
22649 if (echo >conf$$.file) 2>/dev/null; then
22650 if ln -s conf$$.file conf$$ 2>/dev/null; then
22651 as_ln_s='ln -s'
22652 # ... but there are two gotchas:
22653 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22654 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22655 # In both cases, we have to default to `cp -pR'.
22656 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22657 as_ln_s='cp -pR'
22658 elif ln conf$$.file conf$$ 2>/dev/null; then
22659 as_ln_s=ln
22660 else
22661 as_ln_s='cp -pR'
22663 else
22664 as_ln_s='cp -pR'
22666 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22667 rmdir conf$$.dir 2>/dev/null
22670 # as_fn_mkdir_p
22671 # -------------
22672 # Create "$as_dir" as a directory, including parents if necessary.
22673 as_fn_mkdir_p ()
22676 case $as_dir in #(
22677 -*) as_dir=./$as_dir;;
22678 esac
22679 test -d "$as_dir" || eval $as_mkdir_p || {
22680 as_dirs=
22681 while :; do
22682 case $as_dir in #(
22683 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22684 *) as_qdir=$as_dir;;
22685 esac
22686 as_dirs="'$as_qdir' $as_dirs"
22687 as_dir=`$as_dirname -- "$as_dir" ||
22688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22689 X"$as_dir" : 'X\(//\)[^/]' \| \
22690 X"$as_dir" : 'X\(//\)$' \| \
22691 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22692 printf "%s\n" X"$as_dir" |
22693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22694 s//\1/
22697 /^X\(\/\/\)[^/].*/{
22698 s//\1/
22701 /^X\(\/\/\)$/{
22702 s//\1/
22705 /^X\(\/\).*/{
22706 s//\1/
22709 s/.*/./; q'`
22710 test -d "$as_dir" && break
22711 done
22712 test -z "$as_dirs" || eval "mkdir $as_dirs"
22713 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22716 } # as_fn_mkdir_p
22717 if mkdir -p . 2>/dev/null; then
22718 as_mkdir_p='mkdir -p "$as_dir"'
22719 else
22720 test -d ./-p && rmdir ./-p
22721 as_mkdir_p=false
22725 # as_fn_executable_p FILE
22726 # -----------------------
22727 # Test if FILE is an executable regular file.
22728 as_fn_executable_p ()
22730 test -f "$1" && test -x "$1"
22731 } # as_fn_executable_p
22732 as_test_x='test -x'
22733 as_executable_p=as_fn_executable_p
22735 # Sed expression to map a string onto a valid CPP name.
22736 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22738 # Sed expression to map a string onto a valid variable name.
22739 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22742 exec 6>&1
22743 ## ----------------------------------- ##
22744 ## Main body of $CONFIG_STATUS script. ##
22745 ## ----------------------------------- ##
22746 _ASEOF
22747 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22750 # Save the log message, to keep $0 and so on meaningful, and to
22751 # report actual input values of CONFIG_FILES etc. instead of their
22752 # values after options handling.
22753 ac_log="
22754 This file was extended by Wine $as_me 8.17, which was
22755 generated by GNU Autoconf 2.71. Invocation command line was
22757 CONFIG_FILES = $CONFIG_FILES
22758 CONFIG_HEADERS = $CONFIG_HEADERS
22759 CONFIG_LINKS = $CONFIG_LINKS
22760 CONFIG_COMMANDS = $CONFIG_COMMANDS
22761 $ $0 $@
22763 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22766 _ACEOF
22769 case $ac_config_headers in *"
22770 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22771 esac
22774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22775 # Files that config.status was made for.
22776 config_headers="$ac_config_headers"
22777 config_links="$ac_config_links"
22778 config_commands="$ac_config_commands"
22780 _ACEOF
22782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22783 ac_cs_usage="\
22784 \`$as_me' instantiates files and other configuration actions
22785 from templates according to the current configuration. Unless the files
22786 and actions are specified as TAGs, all are instantiated by default.
22788 Usage: $0 [OPTION]... [TAG]...
22790 -h, --help print this help, then exit
22791 -V, --version print version number and configuration settings, then exit
22792 --config print configuration, then exit
22793 -q, --quiet, --silent
22794 do not print progress messages
22795 -d, --debug don't remove temporary files
22796 --recheck update $as_me by reconfiguring in the same conditions
22797 --header=FILE[:TEMPLATE]
22798 instantiate the configuration header FILE
22800 Configuration headers:
22801 $config_headers
22803 Configuration links:
22804 $config_links
22806 Configuration commands:
22807 $config_commands
22809 Report bugs to <wine-devel@winehq.org>.
22810 Wine home page: <https://www.winehq.org>."
22812 _ACEOF
22813 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22814 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22816 ac_cs_config='$ac_cs_config_escaped'
22817 ac_cs_version="\\
22818 Wine config.status 8.17
22819 configured by $0, generated by GNU Autoconf 2.71,
22820 with options \\"\$ac_cs_config\\"
22822 Copyright (C) 2021 Free Software Foundation, Inc.
22823 This config.status script is free software; the Free Software Foundation
22824 gives unlimited permission to copy, distribute and modify it."
22826 ac_pwd='$ac_pwd'
22827 srcdir='$srcdir'
22828 test -n "\$AWK" || AWK=awk
22829 _ACEOF
22831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22832 # The default lists apply if the user does not specify any file.
22833 ac_need_defaults=:
22834 while test $# != 0
22836 case $1 in
22837 --*=?*)
22838 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22839 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22840 ac_shift=:
22842 --*=)
22843 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22844 ac_optarg=
22845 ac_shift=:
22848 ac_option=$1
22849 ac_optarg=$2
22850 ac_shift=shift
22852 esac
22854 case $ac_option in
22855 # Handling of the options.
22856 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22857 ac_cs_recheck=: ;;
22858 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22859 printf "%s\n" "$ac_cs_version"; exit ;;
22860 --config | --confi | --conf | --con | --co | --c )
22861 printf "%s\n" "$ac_cs_config"; exit ;;
22862 --debug | --debu | --deb | --de | --d | -d )
22863 debug=: ;;
22864 --header | --heade | --head | --hea )
22865 $ac_shift
22866 case $ac_optarg in
22867 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22868 esac
22869 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22870 ac_need_defaults=false;;
22871 --he | --h)
22872 # Conflict between --help and --header
22873 as_fn_error $? "ambiguous option: \`$1'
22874 Try \`$0 --help' for more information.";;
22875 --help | --hel | -h )
22876 printf "%s\n" "$ac_cs_usage"; exit ;;
22877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22878 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22879 ac_cs_silent=: ;;
22881 # This is an error.
22882 -*) as_fn_error $? "unrecognized option: \`$1'
22883 Try \`$0 --help' for more information." ;;
22885 *) as_fn_append ac_config_targets " $1"
22886 ac_need_defaults=false ;;
22888 esac
22889 shift
22890 done
22892 ac_configure_extra_args=
22894 if $ac_cs_silent; then
22895 exec 6>/dev/null
22896 ac_configure_extra_args="$ac_configure_extra_args --silent"
22899 _ACEOF
22900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22901 if \$ac_cs_recheck; then
22902 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22903 shift
22904 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22905 CONFIG_SHELL='$SHELL'
22906 export CONFIG_SHELL
22907 exec "\$@"
22910 _ACEOF
22911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22912 exec 5>>config.log
22914 echo
22915 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22916 ## Running $as_me. ##
22917 _ASBOX
22918 printf "%s\n" "$ac_log"
22919 } >&5
22921 _ACEOF
22922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22924 # INIT-COMMANDS
22926 wine_fn_output_makedep ()
22928 as_dir=tools; as_fn_mkdir_p
22929 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22931 wine_fn_output_makefile ()
22933 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22934 # This Makefile understands the following targets:
22936 # all (default): build wine
22937 # clean: remove all intermediate files
22938 # distclean: also remove all files created by configure
22939 # test: run tests
22940 # testclean: clean test results to force running all tests again
22941 # install-lib: install libraries needed to run applications
22942 # install-dev: install development environment
22943 # install: install everything
22944 # uninstall: uninstall everything
22945 # ctags: create a tags file for vim and others.
22946 # etags: create a TAGS file for Emacs.
22948 SHELL = $SHELL
22949 PATH_SEPARATOR = $PATH_SEPARATOR
22950 PACKAGE_NAME = $PACKAGE_NAME
22951 PACKAGE_TARNAME = $PACKAGE_TARNAME
22952 PACKAGE_VERSION = $PACKAGE_VERSION
22953 PACKAGE_STRING = $PACKAGE_STRING
22954 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22955 PACKAGE_URL = $PACKAGE_URL
22956 exec_prefix = $exec_prefix
22957 prefix = $prefix
22958 program_transform_name = $program_transform_name
22959 bindir = $bindir
22960 sbindir = $sbindir
22961 libexecdir = $libexecdir
22962 datarootdir = $datarootdir
22963 datadir = $datadir
22964 sysconfdir = $sysconfdir
22965 sharedstatedir = $sharedstatedir
22966 localstatedir = $localstatedir
22967 runstatedir = $runstatedir
22968 includedir = $includedir
22969 oldincludedir = $oldincludedir
22970 docdir = $docdir
22971 infodir = $infodir
22972 htmldir = $htmldir
22973 dvidir = $dvidir
22974 pdfdir = $pdfdir
22975 psdir = $psdir
22976 libdir = $libdir
22977 localedir = $localedir
22978 mandir = $mandir
22979 DEFS = $DEFS
22980 ECHO_C = $ECHO_C
22981 ECHO_N = $ECHO_N
22982 ECHO_T = $ECHO_T
22983 LIBS = $LIBS
22984 build_alias = $build_alias
22985 host_alias = $host_alias
22986 target_alias = $target_alias
22987 system_dllpath = $system_dllpath
22988 build = $build
22989 build_cpu = $build_cpu
22990 build_vendor = $build_vendor
22991 build_os = $build_os
22992 host = $host
22993 host_cpu = $host_cpu
22994 host_vendor = $host_vendor
22995 host_os = $host_os
22996 dlldir = $dlldir
22997 fontdir = $fontdir
22998 nlsdir = $nlsdir
22999 srcdir = $srcdir
23000 SET_MAKE = $SET_MAKE
23001 CC = $CC
23002 CFLAGS = $CFLAGS
23003 LDFLAGS = $LDFLAGS
23004 CPPFLAGS = $CPPFLAGS
23005 ac_ct_CC = $ac_ct_CC
23006 EXEEXT = $EXEEXT
23007 OBJEXT = $OBJEXT
23008 CXX = $CXX
23009 CXXFLAGS = $CXXFLAGS
23010 ac_ct_CXX = $ac_ct_CXX
23011 CPPBIN = $CPPBIN
23012 LD = $LD
23013 TARGETFLAGS = $TARGETFLAGS
23014 toolsext = $toolsext
23015 HOST_ARCH = $HOST_ARCH
23016 aarch64_CC = $aarch64_CC
23017 aarch64_CFLAGS = $aarch64_CFLAGS
23018 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23019 aarch64_LDFLAGS = $aarch64_LDFLAGS
23020 aarch64_DEBUG = $aarch64_DEBUG
23021 aarch64_TARGET = $aarch64_TARGET
23022 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23023 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23024 arm_CC = $arm_CC
23025 arm_CFLAGS = $arm_CFLAGS
23026 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23027 arm_LDFLAGS = $arm_LDFLAGS
23028 arm_DEBUG = $arm_DEBUG
23029 arm_TARGET = $arm_TARGET
23030 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23031 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23032 i386_CC = $i386_CC
23033 i386_CFLAGS = $i386_CFLAGS
23034 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23035 i386_LDFLAGS = $i386_LDFLAGS
23036 i386_DEBUG = $i386_DEBUG
23037 i386_TARGET = $i386_TARGET
23038 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23039 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23040 x86_64_CC = $x86_64_CC
23041 x86_64_CFLAGS = $x86_64_CFLAGS
23042 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23043 x86_64_LDFLAGS = $x86_64_LDFLAGS
23044 x86_64_DEBUG = $x86_64_DEBUG
23045 x86_64_TARGET = $x86_64_TARGET
23046 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23047 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23048 toolsdir = $toolsdir
23049 MAKEDEP = $MAKEDEP
23050 RUNTESTFLAGS = $RUNTESTFLAGS
23051 SED_CMD = $SED_CMD
23052 FLEX = $FLEX
23053 BISON = $BISON
23054 AR = $AR
23055 ac_ct_AR = $ac_ct_AR
23056 STRIP = $STRIP
23057 RANLIB = $RANLIB
23058 LN_S = $LN_S
23059 GREP = $GREP
23060 EGREP = $EGREP
23061 LDCONFIG = $LDCONFIG
23062 MSGFMT = $MSGFMT
23063 PKG_CONFIG = $PKG_CONFIG
23064 FONTFORGE = $FONTFORGE
23065 RSVG = $RSVG
23066 CONVERT = $CONVERT
23067 ICOTOOL = $ICOTOOL
23068 I386_LIBS = $I386_LIBS
23069 OPENGL_LIBS = $OPENGL_LIBS
23070 DLLFLAGS = $DLLFLAGS
23071 LDDLLFLAGS = $LDDLLFLAGS
23072 LDEXECFLAGS = $LDEXECFLAGS
23073 EXTRACFLAGS = $EXTRACFLAGS
23074 UNIXDLLFLAGS = $UNIXDLLFLAGS
23075 UNIXLDFLAGS = $UNIXLDFLAGS
23076 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23077 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23078 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23079 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23080 DLLEXT = $DLLEXT
23081 LDD = $LDD
23082 OTOOL = $OTOOL
23083 READELF = $READELF
23084 SUBDIRS = $SUBDIRS
23085 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23086 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23087 CARBON_LIBS = $CARBON_LIBS
23088 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23089 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23090 IOKIT_LIBS = $IOKIT_LIBS
23091 METAL_LIBS = $METAL_LIBS
23092 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23093 CORESERVICES_LIBS = $CORESERVICES_LIBS
23094 APPKIT_LIBS = $APPKIT_LIBS
23095 SECURITY_LIBS = $SECURITY_LIBS
23096 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23097 COREAUDIO_LIBS = $COREAUDIO_LIBS
23098 OPENCL_LIBS = $OPENCL_LIBS
23099 OBJC = $OBJC
23100 OBJCFLAGS = $OBJCFLAGS
23101 ac_ct_OBJC = $ac_ct_OBJC
23102 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23103 PE_ARCHS = $PE_ARCHS
23104 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23105 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23106 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23107 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23108 GSM_PE_LIBS = $GSM_PE_LIBS
23109 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23110 JPEG_PE_LIBS = $JPEG_PE_LIBS
23111 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23112 JXR_PE_LIBS = $JXR_PE_LIBS
23113 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23114 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23115 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23116 LDAP_PE_LIBS = $LDAP_PE_LIBS
23117 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23118 MPG123_PE_LIBS = $MPG123_PE_LIBS
23119 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23120 MUSL_PE_LIBS = $MUSL_PE_LIBS
23121 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23122 PNG_PE_LIBS = $PNG_PE_LIBS
23123 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23124 TIFF_PE_LIBS = $TIFF_PE_LIBS
23125 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23126 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23127 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23128 XML2_PE_LIBS = $XML2_PE_LIBS
23129 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23130 XSLT_PE_LIBS = $XSLT_PE_LIBS
23131 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23132 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23133 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23134 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23135 PTHREAD_LIBS = $PTHREAD_LIBS
23136 XMKMF = $XMKMF
23137 CPP = $CPP
23138 X_CFLAGS = $X_CFLAGS
23139 X_PRE_LIBS = $X_PRE_LIBS
23140 X_LIBS = $X_LIBS
23141 X_EXTRA_LIBS = $X_EXTRA_LIBS
23142 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23143 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23144 WAYLAND_SCANNER = $WAYLAND_SCANNER
23145 PCAP_LIBS = $PCAP_LIBS
23146 PCSCLITE_LIBS = $PCSCLITE_LIBS
23147 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23148 INOTIFY_LIBS = $INOTIFY_LIBS
23149 DBUS_CFLAGS = $DBUS_CFLAGS
23150 DBUS_LIBS = $DBUS_LIBS
23151 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23152 GNUTLS_LIBS = $GNUTLS_LIBS
23153 SANE_CFLAGS = $SANE_CFLAGS
23154 SANE_LIBS = $SANE_LIBS
23155 USB_CFLAGS = $USB_CFLAGS
23156 USB_LIBS = $USB_LIBS
23157 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23158 GPHOTO2_LIBS = $GPHOTO2_LIBS
23159 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23160 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23161 RESOLV_LIBS = $RESOLV_LIBS
23162 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23163 FREETYPE_LIBS = $FREETYPE_LIBS
23164 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23165 PULSE_CFLAGS = $PULSE_CFLAGS
23166 PULSE_LIBS = $PULSE_LIBS
23167 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23168 GSTREAMER_LIBS = $GSTREAMER_LIBS
23169 ALSA_LIBS = $ALSA_LIBS
23170 OSS4_CFLAGS = $OSS4_CFLAGS
23171 OSS4_LIBS = $OSS4_LIBS
23172 UDEV_CFLAGS = $UDEV_CFLAGS
23173 UDEV_LIBS = $UDEV_LIBS
23174 UNWIND_CFLAGS = $UNWIND_CFLAGS
23175 UNWIND_LIBS = $UNWIND_LIBS
23176 SDL2_CFLAGS = $SDL2_CFLAGS
23177 SDL2_LIBS = $SDL2_LIBS
23178 CAPI20_CFLAGS = $CAPI20_CFLAGS
23179 CAPI20_LIBS = $CAPI20_LIBS
23180 CUPS_CFLAGS = $CUPS_CFLAGS
23181 CUPS_LIBS = $CUPS_LIBS
23182 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23183 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23184 KRB5_CFLAGS = $KRB5_CFLAGS
23185 KRB5_LIBS = $KRB5_LIBS
23186 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23187 GSSAPI_LIBS = $GSSAPI_LIBS
23188 PROCSTAT_LIBS = $PROCSTAT_LIBS
23189 NETAPI_CFLAGS = $NETAPI_CFLAGS
23190 NETAPI_LIBS = $NETAPI_LIBS
23191 MSVCRTFLAGS = $MSVCRTFLAGS
23192 DELAYLOADFLAG = $DELAYLOADFLAG
23193 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23194 RT_LIBS = $RT_LIBS
23195 TAGSFLAGS = $TAGSFLAGS
23196 LIBOBJS = $LIBOBJS
23197 LTLIBOBJS = $LTLIBOBJS
23198 $SET_MAKE
23199 $wine_rules
23200 _WINE_EOF
23201 as_fn_error $? "could not create Makefile" "$LINENO" 5
23204 _ACEOF
23206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23208 # Handling of arguments.
23209 for ac_config_target in $ac_config_targets
23211 case $ac_config_target in
23212 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23213 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23214 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23215 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23216 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23217 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23219 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23220 esac
23221 done
23224 # If the user did not use the arguments to specify the items to instantiate,
23225 # then the envvar interface is used. Set only those that are not.
23226 # We use the long form for the default assignment because of an extremely
23227 # bizarre bug on SunOS 4.1.3.
23228 if $ac_need_defaults; then
23229 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23230 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23231 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23234 # Have a temporary directory for convenience. Make it in the build tree
23235 # simply because there is no reason against having it here, and in addition,
23236 # creating and moving files from /tmp can sometimes cause problems.
23237 # Hook for its removal unless debugging.
23238 # Note that there is a small window in which the directory will not be cleaned:
23239 # after its creation but before its name has been assigned to `$tmp'.
23240 $debug ||
23242 tmp= ac_tmp=
23243 trap 'exit_status=$?
23244 : "${ac_tmp:=$tmp}"
23245 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23247 trap 'as_fn_exit 1' 1 2 13 15
23249 # Create a (secure) tmp directory for tmp files.
23252 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23253 test -d "$tmp"
23254 } ||
23256 tmp=./conf$$-$RANDOM
23257 (umask 077 && mkdir "$tmp")
23258 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23259 ac_tmp=$tmp
23261 # Set up the scripts for CONFIG_HEADERS section.
23262 # No need to generate them if there are no CONFIG_HEADERS.
23263 # This happens for instance with `./config.status Makefile'.
23264 if test -n "$CONFIG_HEADERS"; then
23265 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23266 BEGIN {
23267 _ACEOF
23269 # Transform confdefs.h into an awk script `defines.awk', embedded as
23270 # here-document in config.status, that substitutes the proper values into
23271 # config.h.in to produce config.h.
23273 # Create a delimiter string that does not exist in confdefs.h, to ease
23274 # handling of long lines.
23275 ac_delim='%!_!# '
23276 for ac_last_try in false false :; do
23277 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23278 if test -z "$ac_tt"; then
23279 break
23280 elif $ac_last_try; then
23281 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23282 else
23283 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23285 done
23287 # For the awk script, D is an array of macro values keyed by name,
23288 # likewise P contains macro parameters if any. Preserve backslash
23289 # newline sequences.
23291 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23292 sed -n '
23293 s/.\{148\}/&'"$ac_delim"'/g
23294 t rset
23295 :rset
23296 s/^[ ]*#[ ]*define[ ][ ]*/ /
23297 t def
23299 :def
23300 s/\\$//
23301 t bsnl
23302 s/["\\]/\\&/g
23303 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23304 D["\1"]=" \3"/p
23305 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23307 :bsnl
23308 s/["\\]/\\&/g
23309 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23310 D["\1"]=" \3\\\\\\n"\\/p
23311 t cont
23312 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23313 t cont
23315 :cont
23317 s/.\{148\}/&'"$ac_delim"'/g
23318 t clear
23319 :clear
23320 s/\\$//
23321 t bsnlc
23322 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23324 :bsnlc
23325 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23326 b cont
23327 ' <confdefs.h | sed '
23328 s/'"$ac_delim"'/"\\\
23329 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23332 for (key in D) D_is_set[key] = 1
23333 FS = "\a"
23335 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23336 line = \$ 0
23337 split(line, arg, " ")
23338 if (arg[1] == "#") {
23339 defundef = arg[2]
23340 mac1 = arg[3]
23341 } else {
23342 defundef = substr(arg[1], 2)
23343 mac1 = arg[2]
23345 split(mac1, mac2, "(") #)
23346 macro = mac2[1]
23347 prefix = substr(line, 1, index(line, defundef) - 1)
23348 if (D_is_set[macro]) {
23349 # Preserve the white space surrounding the "#".
23350 print prefix "define", macro P[macro] D[macro]
23351 next
23352 } else {
23353 # Replace #undef with comments. This is necessary, for example,
23354 # in the case of _POSIX_SOURCE, which is predefined and required
23355 # on some systems where configure will not decide to define it.
23356 if (defundef == "undef") {
23357 print "/*", prefix defundef, macro, "*/"
23358 next
23362 { print }
23363 _ACAWK
23364 _ACEOF
23365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23366 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23367 fi # test -n "$CONFIG_HEADERS"
23370 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23371 shift
23372 for ac_tag
23374 case $ac_tag in
23375 :[FHLC]) ac_mode=$ac_tag; continue;;
23376 esac
23377 case $ac_mode$ac_tag in
23378 :[FHL]*:*);;
23379 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23380 :[FH]-) ac_tag=-:-;;
23381 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23382 esac
23383 ac_save_IFS=$IFS
23384 IFS=:
23385 set x $ac_tag
23386 IFS=$ac_save_IFS
23387 shift
23388 ac_file=$1
23389 shift
23391 case $ac_mode in
23392 :L) ac_source=$1;;
23393 :[FH])
23394 ac_file_inputs=
23395 for ac_f
23397 case $ac_f in
23398 -) ac_f="$ac_tmp/stdin";;
23399 *) # Look for the file first in the build tree, then in the source tree
23400 # (if the path is not absolute). The absolute path cannot be DOS-style,
23401 # because $ac_f cannot contain `:'.
23402 test -f "$ac_f" ||
23403 case $ac_f in
23404 [\\/$]*) false;;
23405 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23406 esac ||
23407 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23408 esac
23409 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23410 as_fn_append ac_file_inputs " '$ac_f'"
23411 done
23413 # Let's still pretend it is `configure' which instantiates (i.e., don't
23414 # use $as_me), people would be surprised to read:
23415 # /* config.h. Generated by config.status. */
23416 configure_input='Generated from '`
23417 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23418 `' by configure.'
23419 if test x"$ac_file" != x-; then
23420 configure_input="$ac_file. $configure_input"
23421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23422 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23424 # Neutralize special characters interpreted by sed in replacement strings.
23425 case $configure_input in #(
23426 *\&* | *\|* | *\\* )
23427 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23428 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23429 *) ac_sed_conf_input=$configure_input;;
23430 esac
23432 case $ac_tag in
23433 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23434 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23435 esac
23437 esac
23439 ac_dir=`$as_dirname -- "$ac_file" ||
23440 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23441 X"$ac_file" : 'X\(//\)[^/]' \| \
23442 X"$ac_file" : 'X\(//\)$' \| \
23443 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23444 printf "%s\n" X"$ac_file" |
23445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23446 s//\1/
23449 /^X\(\/\/\)[^/].*/{
23450 s//\1/
23453 /^X\(\/\/\)$/{
23454 s//\1/
23457 /^X\(\/\).*/{
23458 s//\1/
23461 s/.*/./; q'`
23462 as_dir="$ac_dir"; as_fn_mkdir_p
23463 ac_builddir=.
23465 case "$ac_dir" in
23466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23468 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23469 # A ".." for each directory in $ac_dir_suffix.
23470 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23471 case $ac_top_builddir_sub in
23472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23474 esac ;;
23475 esac
23476 ac_abs_top_builddir=$ac_pwd
23477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23478 # for backward compatibility:
23479 ac_top_builddir=$ac_top_build_prefix
23481 case $srcdir in
23482 .) # We are building in place.
23483 ac_srcdir=.
23484 ac_top_srcdir=$ac_top_builddir_sub
23485 ac_abs_top_srcdir=$ac_pwd ;;
23486 [\\/]* | ?:[\\/]* ) # Absolute name.
23487 ac_srcdir=$srcdir$ac_dir_suffix;
23488 ac_top_srcdir=$srcdir
23489 ac_abs_top_srcdir=$srcdir ;;
23490 *) # Relative name.
23491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23492 ac_top_srcdir=$ac_top_build_prefix$srcdir
23493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23494 esac
23495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23498 case $ac_mode in
23502 # CONFIG_HEADER
23504 if test x"$ac_file" != x-; then
23506 printf "%s\n" "/* $configure_input */" >&1 \
23507 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23508 } >"$ac_tmp/config.h" \
23509 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23510 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23512 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23513 else
23514 rm -f "$ac_file"
23515 mv "$ac_tmp/config.h" "$ac_file" \
23516 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23518 else
23519 printf "%s\n" "/* $configure_input */" >&1 \
23520 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23521 || as_fn_error $? "could not create -" "$LINENO" 5
23526 # CONFIG_LINK
23529 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23531 else
23532 # Prefer the file from the source tree if names are identical.
23533 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23534 ac_source=$srcdir/$ac_source
23537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23538 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23540 if test ! -r "$ac_source"; then
23541 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23543 rm -f "$ac_file"
23545 # Try a relative symlink, then a hard link, then a copy.
23546 case $ac_source in
23547 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23548 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23549 esac
23550 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23551 ln "$ac_source" "$ac_file" 2>/dev/null ||
23552 cp -p "$ac_source" "$ac_file" ||
23553 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23556 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23557 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23559 esac
23562 case $ac_file$ac_mode in
23563 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23564 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23565 "Makefile":C) wine_fn_output_makefile Makefile ;;
23567 esac
23568 done # for ac_tag
23571 as_fn_exit 0
23572 _ACEOF
23573 ac_clean_files=$ac_clean_files_save
23575 test $ac_write_fail = 0 ||
23576 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23579 # configure is writing to config.log, and then calls config.status.
23580 # config.status does its own redirection, appending to config.log.
23581 # Unfortunately, on DOS this fails, as config.log is still kept open
23582 # by configure, so config.status won't be able to write to it; its
23583 # output is simply discarded. So we exec the FD to /dev/null,
23584 # effectively closing config.log, so it can be properly (re)opened and
23585 # appended to by config.status. When coming back to configure, we
23586 # need to make the FD available again.
23587 if test "$no_create" != yes; then
23588 ac_cs_success=:
23589 ac_config_status_args=
23590 test "$silent" = yes &&
23591 ac_config_status_args="$ac_config_status_args --quiet"
23592 exec 5>/dev/null
23593 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23594 exec 5>>config.log
23595 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23596 # would make configure fail if this is the last instruction.
23597 $ac_cs_success || as_fn_exit 1
23599 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23601 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23605 if test "$no_create" = "yes"
23606 then
23607 exit 0
23610 ac_save_IFS="$IFS"
23611 if test "x$wine_notices" != x; then
23612 echo >&6
23613 IFS="|"
23614 for msg in $wine_notices; do
23615 IFS="$ac_save_IFS"
23616 if ${msg:+false} :
23617 then :
23619 else $as_nop
23620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23621 printf "%s\n" "$as_me: $msg" >&6;}
23623 done
23625 IFS="|"
23626 for msg in $wine_warnings; do
23627 IFS="$ac_save_IFS"
23628 if ${msg:+false} :
23629 then :
23631 else $as_nop
23632 echo >&2
23633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23634 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23636 done
23637 IFS="$ac_save_IFS"
23639 printf "%s\n" "
23640 $as_me: Finished. Do '${ac_make}' to compile Wine.
23641 " >&6