cmd: Use CRT's popen instead of rewriting it.
[wine.git] / configure
blob0468aea1422cdb961f8962dd9558c18b985ed5e3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.8.
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='9.8'
615 PACKAGE_STRING='Wine 9.8'
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_EGL_LIBS
706 WAYLAND_EGL_CFLAGS
707 EGL_LIBS
708 EGL_CFLAGS
709 XKBREGISTRY_LIBS
710 XKBREGISTRY_CFLAGS
711 XKBCOMMON_LIBS
712 XKBCOMMON_CFLAGS
713 WAYLAND_SCANNER
714 WAYLAND_CLIENT_LIBS
715 WAYLAND_CLIENT_CFLAGS
716 X_EXTRA_LIBS
717 X_LIBS
718 X_PRE_LIBS
719 X_CFLAGS
721 XMKMF
722 PTHREAD_LIBS
723 ZYDIS_PE_LIBS
724 ZYDIS_PE_CFLAGS
725 ZLIB_PE_LIBS
726 ZLIB_PE_CFLAGS
727 XSLT_PE_LIBS
728 XSLT_PE_CFLAGS
729 XML2_PE_LIBS
730 XML2_PE_CFLAGS
731 VKD3D_PE_LIBS
732 VKD3D_PE_CFLAGS
733 TIFF_PE_LIBS
734 TIFF_PE_CFLAGS
735 PNG_PE_LIBS
736 PNG_PE_CFLAGS
737 MUSL_PE_LIBS
738 MUSL_PE_CFLAGS
739 MPG123_PE_LIBS
740 MPG123_PE_CFLAGS
741 LDAP_PE_LIBS
742 LDAP_PE_CFLAGS
743 LCMS2_PE_LIBS
744 LCMS2_PE_CFLAGS
745 JXR_PE_LIBS
746 JXR_PE_CFLAGS
747 JPEG_PE_LIBS
748 JPEG_PE_CFLAGS
749 GSM_PE_LIBS
750 GSM_PE_CFLAGS
751 FLUIDSYNTH_PE_LIBS
752 FLUIDSYNTH_PE_CFLAGS
753 FAUDIO_PE_LIBS
754 FAUDIO_PE_CFLAGS
755 MINGW_PKG_CONFIG
756 PE_ARCHS
757 WINELOADER_DEPENDS
758 ac_ct_OBJC
759 OBJCFLAGS
760 OBJC
761 OPENCL_LIBS
762 COREAUDIO_LIBS
763 SYSTEMCONFIGURATION_LIBS
764 SECURITY_LIBS
765 APPKIT_LIBS
766 CORESERVICES_LIBS
767 APPLICATIONSERVICES_LIBS
768 METAL_LIBS
769 IOKIT_LIBS
770 DISKARBITRATION_LIBS
771 COREFOUNDATION_LIBS
772 CARBON_LIBS
773 CONFIGURE_TARGETS
774 DISABLED_SUBDIRS
775 SUBDIRS
776 READELF
777 OTOOL
779 DLLEXT
780 WINEPRELOADER_LDFLAGS
781 WINELOADER_LDFLAGS
782 TOP_INSTALL_DEV
783 TOP_INSTALL_LIB
784 UNIXLDFLAGS
785 UNIXDLLFLAGS
786 EXTRACFLAGS
787 LDEXECFLAGS
788 LDDLLFLAGS
789 DLLFLAGS
790 OPENGL_LIBS
791 I386_LIBS
792 ICOTOOL
793 CONVERT
794 RSVG
795 FONTFORGE
796 PKG_CONFIG
797 MSGFMT
798 LDCONFIG
799 EGREP
800 GREP
801 LN_S
802 RANLIB
803 STRIP
804 ac_ct_AR
806 BISON
807 FLEX
808 SED_CMD
809 RUNTESTFLAGS
810 MAKEDEP
811 toolsdir
812 x86_64_DISABLED_SUBDIRS
813 x86_64_DELAYLOADFLAG
814 x86_64_TARGET
815 x86_64_DEBUG
816 x86_64_LDFLAGS
817 x86_64_EXTRACFLAGS
818 x86_64_CFLAGS
819 x86_64_CC
820 i386_DISABLED_SUBDIRS
821 i386_DELAYLOADFLAG
822 i386_TARGET
823 i386_DEBUG
824 i386_LDFLAGS
825 i386_EXTRACFLAGS
826 i386_CFLAGS
827 i386_CC
828 arm64ec_DISABLED_SUBDIRS
829 arm64ec_DELAYLOADFLAG
830 arm64ec_TARGET
831 arm64ec_DEBUG
832 arm64ec_LDFLAGS
833 arm64ec_EXTRACFLAGS
834 arm64ec_CFLAGS
835 arm64ec_CC
836 arm_DISABLED_SUBDIRS
837 arm_DELAYLOADFLAG
838 arm_TARGET
839 arm_DEBUG
840 arm_LDFLAGS
841 arm_EXTRACFLAGS
842 arm_CFLAGS
843 arm_CC
844 aarch64_DISABLED_SUBDIRS
845 aarch64_DELAYLOADFLAG
846 aarch64_TARGET
847 aarch64_DEBUG
848 aarch64_LDFLAGS
849 aarch64_EXTRACFLAGS
850 aarch64_CFLAGS
851 aarch64_CC
852 HOST_ARCH
853 toolsext
854 TARGETFLAGS
856 CPPBIN
857 ac_ct_CXX
858 CXXFLAGS
860 OBJEXT
861 EXEEXT
862 ac_ct_CC
863 CPPFLAGS
864 LDFLAGS
865 CFLAGS
867 SET_MAKE
868 srcdir
869 nlsdir
870 fontdir
871 dlldir
872 host_os
873 host_vendor
874 host_cpu
875 host
876 build_os
877 build_vendor
878 build_cpu
879 build
880 system_dllpath
881 target_alias
882 host_alias
883 build_alias
884 LIBS
885 ECHO_T
886 ECHO_N
887 ECHO_C
888 DEFS
889 mandir
890 localedir
891 libdir
892 psdir
893 pdfdir
894 dvidir
895 htmldir
896 infodir
897 docdir
898 oldincludedir
899 includedir
900 runstatedir
901 localstatedir
902 sharedstatedir
903 sysconfdir
904 datadir
905 datarootdir
906 libexecdir
907 sbindir
908 bindir
909 program_transform_name
910 prefix
911 exec_prefix
912 PACKAGE_URL
913 PACKAGE_BUGREPORT
914 PACKAGE_STRING
915 PACKAGE_VERSION
916 PACKAGE_TARNAME
917 PACKAGE_NAME
918 PATH_SEPARATOR
919 SHELL'
920 ac_subst_files=''
921 ac_user_opts='
922 enable_option_checking
923 enable_archs
924 enable_win16
925 enable_win64
926 enable_tests
927 enable_build_id
928 enable_maintainer_mode
929 enable_silent_rules
930 enable_werror
931 with_alsa
932 with_capi
933 with_coreaudio
934 with_cups
935 with_dbus
936 with_fontconfig
937 with_freetype
938 with_gettext
939 with_gettextpo
940 with_gphoto
941 with_gnutls
942 with_gssapi
943 with_gstreamer
944 with_inotify
945 with_krb5
946 with_mingw
947 with_netapi
948 with_opencl
949 with_opengl
950 with_osmesa
951 with_oss
952 with_pcap
953 with_pcsclite
954 with_pthread
955 with_pulse
956 with_sane
957 with_sdl
958 with_udev
959 with_unwind
960 with_usb
961 with_v4l2
962 with_vulkan
963 with_wayland
964 with_xcomposite
965 with_xcursor
966 with_xfixes
967 with_xinerama
968 with_xinput
969 with_xinput2
970 with_xrandr
971 with_xrender
972 with_xshape
973 with_xshm
974 with_xxf86vm
975 with_system_dllpath
976 with_wine_tools
977 with_wine64
978 enable_largefile
979 with_x
980 enable_acledit
981 enable_aclui
982 enable_activeds_tlb
983 enable_activeds
984 enable_actxprxy
985 enable_adsldp
986 enable_adsldpc
987 enable_advapi32
988 enable_advpack
989 enable_amsi
990 enable_amstream
991 enable_apisetschema
992 enable_apphelp
993 enable_appwiz_cpl
994 enable_appxdeploymentclient
995 enable_atl
996 enable_atl100
997 enable_atl110
998 enable_atl80
999 enable_atl90
1000 enable_atlthunk
1001 enable_atmlib
1002 enable_authz
1003 enable_avicap32
1004 enable_avifil32
1005 enable_avrt
1006 enable_bcrypt
1007 enable_bcryptprimitives
1008 enable_bluetoothapis
1009 enable_browseui
1010 enable_bthprops_cpl
1011 enable_cabinet
1012 enable_capi2032
1013 enable_cards
1014 enable_cdosys
1015 enable_cfgmgr32
1016 enable_clusapi
1017 enable_cng_sys
1018 enable_combase
1019 enable_comcat
1020 enable_comctl32
1021 enable_comdlg32
1022 enable_coml2
1023 enable_compstui
1024 enable_comsvcs
1025 enable_concrt140
1026 enable_connect
1027 enable_credui
1028 enable_crtdll
1029 enable_crypt32
1030 enable_cryptdlg
1031 enable_cryptdll
1032 enable_cryptext
1033 enable_cryptnet
1034 enable_cryptowinrt
1035 enable_cryptsp
1036 enable_cryptui
1037 enable_ctapi32
1038 enable_ctl3d32
1039 enable_d2d1
1040 enable_d3d10
1041 enable_d3d10_1
1042 enable_d3d10core
1043 enable_d3d11
1044 enable_d3d12
1045 enable_d3d12core
1046 enable_d3d8
1047 enable_d3d8thk
1048 enable_d3d9
1049 enable_d3dcompiler_33
1050 enable_d3dcompiler_34
1051 enable_d3dcompiler_35
1052 enable_d3dcompiler_36
1053 enable_d3dcompiler_37
1054 enable_d3dcompiler_38
1055 enable_d3dcompiler_39
1056 enable_d3dcompiler_40
1057 enable_d3dcompiler_41
1058 enable_d3dcompiler_42
1059 enable_d3dcompiler_43
1060 enable_d3dcompiler_46
1061 enable_d3dcompiler_47
1062 enable_d3dim
1063 enable_d3dim700
1064 enable_d3drm
1065 enable_d3dx10_33
1066 enable_d3dx10_34
1067 enable_d3dx10_35
1068 enable_d3dx10_36
1069 enable_d3dx10_37
1070 enable_d3dx10_38
1071 enable_d3dx10_39
1072 enable_d3dx10_40
1073 enable_d3dx10_41
1074 enable_d3dx10_42
1075 enable_d3dx10_43
1076 enable_d3dx11_42
1077 enable_d3dx11_43
1078 enable_d3dx9_24
1079 enable_d3dx9_25
1080 enable_d3dx9_26
1081 enable_d3dx9_27
1082 enable_d3dx9_28
1083 enable_d3dx9_29
1084 enable_d3dx9_30
1085 enable_d3dx9_31
1086 enable_d3dx9_32
1087 enable_d3dx9_33
1088 enable_d3dx9_34
1089 enable_d3dx9_35
1090 enable_d3dx9_36
1091 enable_d3dx9_37
1092 enable_d3dx9_38
1093 enable_d3dx9_39
1094 enable_d3dx9_40
1095 enable_d3dx9_41
1096 enable_d3dx9_42
1097 enable_d3dx9_43
1098 enable_d3dxof
1099 enable_davclnt
1100 enable_dbgeng
1101 enable_dbghelp
1102 enable_dciman32
1103 enable_dcomp
1104 enable_ddraw
1105 enable_ddrawex
1106 enable_devenum
1107 enable_dhcpcsvc
1108 enable_dhcpcsvc6
1109 enable_dhtmled_ocx
1110 enable_diasymreader
1111 enable_difxapi
1112 enable_dinput
1113 enable_dinput8
1114 enable_directmanipulation
1115 enable_dispex
1116 enable_dmband
1117 enable_dmcompos
1118 enable_dmime
1119 enable_dmloader
1120 enable_dmscript
1121 enable_dmstyle
1122 enable_dmsynth
1123 enable_dmusic
1124 enable_dmusic32
1125 enable_dnsapi
1126 enable_dplay
1127 enable_dplayx
1128 enable_dpnaddr
1129 enable_dpnet
1130 enable_dpnhpast
1131 enable_dpnhupnp
1132 enable_dpnlobby
1133 enable_dpvoice
1134 enable_dpwsockx
1135 enable_drmclien
1136 enable_dsdmo
1137 enable_dsound
1138 enable_dsquery
1139 enable_dssenh
1140 enable_dsuiext
1141 enable_dswave
1142 enable_dwmapi
1143 enable_dwrite
1144 enable_dx8vb
1145 enable_dxcore
1146 enable_dxdiagn
1147 enable_dxgi
1148 enable_dxtrans
1149 enable_dxva2
1150 enable_esent
1151 enable_evr
1152 enable_explorerframe
1153 enable_faultrep
1154 enable_feclient
1155 enable_fltlib
1156 enable_fltmgr_sys
1157 enable_fntcache
1158 enable_fontsub
1159 enable_fusion
1160 enable_fwpuclnt
1161 enable_gameux
1162 enable_gamingtcui
1163 enable_gdi32
1164 enable_gdiplus
1165 enable_geolocation
1166 enable_glu32
1167 enable_gphoto2_ds
1168 enable_gpkcsp
1169 enable_graphicscapture
1170 enable_hal
1171 enable_hhctrl_ocx
1172 enable_hid
1173 enable_hidclass_sys
1174 enable_hidparse_sys
1175 enable_hlink
1176 enable_hnetcfg
1177 enable_hrtfapo
1178 enable_http_sys
1179 enable_httpapi
1180 enable_hvsimanagementapi
1181 enable_ia2comproxy
1182 enable_iccvid
1183 enable_icmp
1184 enable_ieframe
1185 enable_ieproxy
1186 enable_imaadp32_acm
1187 enable_imagehlp
1188 enable_imm32
1189 enable_inetcomm
1190 enable_inetcpl_cpl
1191 enable_inetmib1
1192 enable_infosoft
1193 enable_initpki
1194 enable_inkobj
1195 enable_inseng
1196 enable_iphlpapi
1197 enable_iprop
1198 enable_ir50_32
1199 enable_irprops_cpl
1200 enable_itircl
1201 enable_itss
1202 enable_joy_cpl
1203 enable_jscript
1204 enable_jsproxy
1205 enable_kerberos
1206 enable_kernel32
1207 enable_kernelbase
1208 enable_ksecdd_sys
1209 enable_ksproxy_ax
1210 enable_ksuser
1211 enable_ktmw32
1212 enable_l3codeca_acm
1213 enable_light_msstyles
1214 enable_loadperf
1215 enable_localspl
1216 enable_localui
1217 enable_lz32
1218 enable_magnification
1219 enable_mapi32
1220 enable_mapistub
1221 enable_mciavi32
1222 enable_mcicda
1223 enable_mciqtz32
1224 enable_mciseq
1225 enable_mciwave
1226 enable_mf
1227 enable_mf3216
1228 enable_mferror
1229 enable_mfmediaengine
1230 enable_mfplat
1231 enable_mfplay
1232 enable_mfreadwrite
1233 enable_mfsrcsnk
1234 enable_mgmtapi
1235 enable_midimap
1236 enable_mlang
1237 enable_mmcndmgr
1238 enable_mmdevapi
1239 enable_mouhid_sys
1240 enable_mountmgr_sys
1241 enable_mp3dmod
1242 enable_mpr
1243 enable_mprapi
1244 enable_msacm32_drv
1245 enable_msacm32
1246 enable_msado15
1247 enable_msadp32_acm
1248 enable_msasn1
1249 enable_msauddecmft
1250 enable_mscat32
1251 enable_mscms
1252 enable_mscoree
1253 enable_mscorwks
1254 enable_msctf
1255 enable_msctfmonitor
1256 enable_msctfp
1257 enable_msdaps
1258 enable_msdasql
1259 enable_msdelta
1260 enable_msdmo
1261 enable_msdrm
1262 enable_msftedit
1263 enable_msg711_acm
1264 enable_msgsm32_acm
1265 enable_mshtml_tlb
1266 enable_mshtml
1267 enable_msi
1268 enable_msident
1269 enable_msimg32
1270 enable_msimsg
1271 enable_msimtf
1272 enable_msisip
1273 enable_msisys_ocx
1274 enable_msls31
1275 enable_msmpeg2vdec
1276 enable_msnet32
1277 enable_mspatcha
1278 enable_msports
1279 enable_msrle32
1280 enable_msscript_ocx
1281 enable_mssign32
1282 enable_mssip32
1283 enable_mstask
1284 enable_msttsengine
1285 enable_msv1_0
1286 enable_msvcirt
1287 enable_msvcm80
1288 enable_msvcm90
1289 enable_msvcp100
1290 enable_msvcp110
1291 enable_msvcp120
1292 enable_msvcp120_app
1293 enable_msvcp140
1294 enable_msvcp140_1
1295 enable_msvcp140_2
1296 enable_msvcp140_atomic_wait
1297 enable_msvcp140_codecvt_ids
1298 enable_msvcp60
1299 enable_msvcp70
1300 enable_msvcp71
1301 enable_msvcp80
1302 enable_msvcp90
1303 enable_msvcp_win
1304 enable_msvcr100
1305 enable_msvcr110
1306 enable_msvcr120
1307 enable_msvcr120_app
1308 enable_msvcr70
1309 enable_msvcr71
1310 enable_msvcr80
1311 enable_msvcr90
1312 enable_msvcrt
1313 enable_msvcrt20
1314 enable_msvcrt40
1315 enable_msvcrtd
1316 enable_msvfw32
1317 enable_msvidc32
1318 enable_mswsock
1319 enable_msxml
1320 enable_msxml2
1321 enable_msxml3
1322 enable_msxml4
1323 enable_msxml6
1324 enable_mtxdm
1325 enable_ncrypt
1326 enable_nddeapi
1327 enable_ndis_sys
1328 enable_netapi32
1329 enable_netcfgx
1330 enable_netio_sys
1331 enable_netprofm
1332 enable_netutils
1333 enable_newdev
1334 enable_ninput
1335 enable_normaliz
1336 enable_npmshtml
1337 enable_npptools
1338 enable_nsi
1339 enable_nsiproxy_sys
1340 enable_ntdll
1341 enable_ntdsapi
1342 enable_ntoskrnl_exe
1343 enable_ntprint
1344 enable_objsel
1345 enable_odbc32
1346 enable_odbcbcp
1347 enable_odbccp32
1348 enable_odbccu32
1349 enable_ole32
1350 enable_oleacc
1351 enable_oleaut32
1352 enable_olecli32
1353 enable_oledb32
1354 enable_oledlg
1355 enable_olepro32
1356 enable_olesvr32
1357 enable_olethk32
1358 enable_opcservices
1359 enable_opencl
1360 enable_opengl32
1361 enable_packager
1362 enable_pdh
1363 enable_photometadatahandler
1364 enable_pidgen
1365 enable_powrprof
1366 enable_printui
1367 enable_prntvpt
1368 enable_propsys
1369 enable_psapi
1370 enable_pstorec
1371 enable_pwrshplugin
1372 enable_qasf
1373 enable_qcap
1374 enable_qdvd
1375 enable_qedit
1376 enable_qmgr
1377 enable_qmgrprxy
1378 enable_quartz
1379 enable_query
1380 enable_qwave
1381 enable_rasapi32
1382 enable_rasdlg
1383 enable_regapi
1384 enable_resutils
1385 enable_riched20
1386 enable_riched32
1387 enable_rpcrt4
1388 enable_rsabase
1389 enable_rsaenh
1390 enable_rstrtmgr
1391 enable_rtutils
1392 enable_rtworkq
1393 enable_samlib
1394 enable_sane_ds
1395 enable_sapi
1396 enable_sas
1397 enable_scarddlg
1398 enable_scardsvr
1399 enable_sccbase
1400 enable_schannel
1401 enable_schedsvc
1402 enable_scrobj
1403 enable_scrrun
1404 enable_scsiport_sys
1405 enable_sechost
1406 enable_secur32
1407 enable_security
1408 enable_sensapi
1409 enable_serialui
1410 enable_setupapi
1411 enable_sfc
1412 enable_sfc_os
1413 enable_shcore
1414 enable_shdoclc
1415 enable_shdocvw
1416 enable_shell32
1417 enable_shfolder
1418 enable_shlwapi
1419 enable_slbcsp
1420 enable_slc
1421 enable_snmpapi
1422 enable_softpub
1423 enable_spoolss
1424 enable_sppc
1425 enable_srclient
1426 enable_srvcli
1427 enable_srvsvc
1428 enable_sspicli
1429 enable_stdole2_tlb
1430 enable_stdole32_tlb
1431 enable_sti
1432 enable_strmdll
1433 enable_svrapi
1434 enable_sxs
1435 enable_t2embed
1436 enable_tapi32
1437 enable_taskschd
1438 enable_tbs
1439 enable_tdh
1440 enable_tdi_sys
1441 enable_threadpoolwinrt
1442 enable_traffic
1443 enable_twain_32
1444 enable_twinapi_appcore
1445 enable_tzres
1446 enable_ucrtbase
1447 enable_uianimation
1448 enable_uiautomationcore
1449 enable_uiribbon
1450 enable_unicows
1451 enable_updspapi
1452 enable_url
1453 enable_urlmon
1454 enable_usbd_sys
1455 enable_user32
1456 enable_userenv
1457 enable_usp10
1458 enable_utildll
1459 enable_uxtheme
1460 enable_vbscript
1461 enable_vcomp
1462 enable_vcomp100
1463 enable_vcomp110
1464 enable_vcomp120
1465 enable_vcomp140
1466 enable_vcomp90
1467 enable_vcruntime140
1468 enable_vcruntime140_1
1469 enable_vdmdbg
1470 enable_version
1471 enable_vga
1472 enable_virtdisk
1473 enable_vssapi
1474 enable_vulkan_1
1475 enable_wbemdisp
1476 enable_wbemprox
1477 enable_wdscore
1478 enable_webservices
1479 enable_websocket
1480 enable_wer
1481 enable_wevtapi
1482 enable_wevtsvc
1483 enable_wiaservc
1484 enable_wimgapi
1485 enable_win32u
1486 enable_windows_applicationmodel
1487 enable_windows_devices_bluetooth
1488 enable_windows_devices_enumeration
1489 enable_windows_devices_usb
1490 enable_windows_gaming_input
1491 enable_windows_gaming_ui_gamebar
1492 enable_windows_globalization
1493 enable_windows_media_devices
1494 enable_windows_media_mediacontrol
1495 enable_windows_media_speech
1496 enable_windows_media
1497 enable_windows_networking_hostname
1498 enable_windows_networking
1499 enable_windows_perception_stub
1500 enable_windows_security_authentication_onlineid
1501 enable_windows_security_credentials_ui_userconsentverifier
1502 enable_windows_storage_applicationdata
1503 enable_windows_system_profile_systemmanufacturers
1504 enable_windows_ui
1505 enable_windowscodecs
1506 enable_windowscodecsext
1507 enable_winealsa_drv
1508 enable_wineandroid_drv
1509 enable_winebus_sys
1510 enable_winecoreaudio_drv
1511 enable_winecrt0
1512 enable_wined3d
1513 enable_winegstreamer
1514 enable_winehid_sys
1515 enable_winemac_drv
1516 enable_winemapi
1517 enable_wineoss_drv
1518 enable_wineps_drv
1519 enable_winepulse_drv
1520 enable_wineusb_sys
1521 enable_winevulkan
1522 enable_winewayland_drv
1523 enable_winex11_drv
1524 enable_winexinput_sys
1525 enable_wing32
1526 enable_winhttp
1527 enable_wininet
1528 enable_winmm
1529 enable_winnls32
1530 enable_winprint
1531 enable_winscard
1532 enable_winspool_drv
1533 enable_winsta
1534 enable_wintab32
1535 enable_wintrust
1536 enable_wintypes
1537 enable_winusb
1538 enable_wlanapi
1539 enable_wlanui
1540 enable_wldap32
1541 enable_wldp
1542 enable_wmasf
1543 enable_wmi
1544 enable_wmiutils
1545 enable_wmp
1546 enable_wmphoto
1547 enable_wmvcore
1548 enable_wnaspi32
1549 enable_wofutil
1550 enable_wow64
1551 enable_wow64cpu
1552 enable_wow64win
1553 enable_wpc
1554 enable_wpcap
1555 enable_ws2_32
1556 enable_wsdapi
1557 enable_wshom_ocx
1558 enable_wsnmp32
1559 enable_wsock32
1560 enable_wtsapi32
1561 enable_wuapi
1562 enable_wuaueng
1563 enable_x3daudio1_0
1564 enable_x3daudio1_1
1565 enable_x3daudio1_2
1566 enable_x3daudio1_3
1567 enable_x3daudio1_4
1568 enable_x3daudio1_5
1569 enable_x3daudio1_6
1570 enable_x3daudio1_7
1571 enable_xactengine2_0
1572 enable_xactengine2_4
1573 enable_xactengine2_7
1574 enable_xactengine2_9
1575 enable_xactengine3_0
1576 enable_xactengine3_1
1577 enable_xactengine3_2
1578 enable_xactengine3_3
1579 enable_xactengine3_4
1580 enable_xactengine3_5
1581 enable_xactengine3_6
1582 enable_xactengine3_7
1583 enable_xapofx1_1
1584 enable_xapofx1_2
1585 enable_xapofx1_3
1586 enable_xapofx1_4
1587 enable_xapofx1_5
1588 enable_xaudio2_0
1589 enable_xaudio2_1
1590 enable_xaudio2_2
1591 enable_xaudio2_3
1592 enable_xaudio2_4
1593 enable_xaudio2_5
1594 enable_xaudio2_6
1595 enable_xaudio2_7
1596 enable_xaudio2_8
1597 enable_xaudio2_9
1598 enable_xinput1_1
1599 enable_xinput1_2
1600 enable_xinput1_3
1601 enable_xinput1_4
1602 enable_xinput9_1_0
1603 enable_xinputuap
1604 enable_xmllite
1605 enable_xolehlp
1606 enable_xpsprint
1607 enable_xpssvcs
1608 enable_fonts
1609 enable_include
1610 enable_adsiid
1611 enable_dmoguids
1612 enable_dxerr8
1613 enable_dxerr9
1614 enable_dxguid
1615 enable_faudio
1616 enable_fluidsynth
1617 enable_gsm
1618 enable_jpeg
1619 enable_jxr
1620 enable_lcms2
1621 enable_ldap
1622 enable_mfuuid
1623 enable_mpg123
1624 enable_musl
1625 enable_png
1626 enable_strmbase
1627 enable_strmiids
1628 enable_tiff
1629 enable_uuid
1630 enable_vkd3d
1631 enable_wbemuuid
1632 enable_wmcodecdspuuid
1633 enable_xml2
1634 enable_xslt
1635 enable_zlib
1636 enable_zydis
1637 enable_loader
1638 enable_nls
1639 enable_po
1640 enable_arp
1641 enable_aspnet_regiis
1642 enable_attrib
1643 enable_cabarc
1644 enable_cacls
1645 enable_certutil
1646 enable_chcp_com
1647 enable_clock
1648 enable_cmd
1649 enable_conhost
1650 enable_control
1651 enable_cscript
1652 enable_dism
1653 enable_dllhost
1654 enable_dplaysvr
1655 enable_dpnsvr
1656 enable_dpvsetup
1657 enable_dxdiag
1658 enable_eject
1659 enable_expand
1660 enable_explorer
1661 enable_extrac32
1662 enable_fc
1663 enable_find
1664 enable_findstr
1665 enable_fsutil
1666 enable_hh
1667 enable_hostname
1668 enable_icacls
1669 enable_icinfo
1670 enable_iexplore
1671 enable_ipconfig
1672 enable_klist
1673 enable_lodctr
1674 enable_mofcomp
1675 enable_mshta
1676 enable_msidb
1677 enable_msiexec
1678 enable_msinfo32
1679 enable_net
1680 enable_netsh
1681 enable_netstat
1682 enable_ngen
1683 enable_notepad
1684 enable_oleview
1685 enable_ping
1686 enable_plugplay
1687 enable_pnputil
1688 enable_powershell
1689 enable_presentationfontcache
1690 enable_progman
1691 enable_reg
1692 enable_regasm
1693 enable_regedit
1694 enable_regini
1695 enable_regsvcs
1696 enable_regsvr32
1697 enable_robocopy
1698 enable_rpcss
1699 enable_rundll32
1700 enable_sc
1701 enable_schtasks
1702 enable_sdbinst
1703 enable_secedit
1704 enable_servicemodelreg
1705 enable_services
1706 enable_setx
1707 enable_shutdown
1708 enable_spoolsv
1709 enable_start
1710 enable_subst
1711 enable_svchost
1712 enable_systeminfo
1713 enable_taskkill
1714 enable_tasklist
1715 enable_taskmgr
1716 enable_termsv
1717 enable_uninstaller
1718 enable_unlodctr
1719 enable_view
1720 enable_wevtutil
1721 enable_where
1722 enable_whoami
1723 enable_wineboot
1724 enable_winebrowser
1725 enable_winecfg
1726 enable_wineconsole
1727 enable_winedbg
1728 enable_winedevice
1729 enable_winefile
1730 enable_winemenubuilder
1731 enable_winemine
1732 enable_winemsibuilder
1733 enable_winepath
1734 enable_winetest
1735 enable_winhlp32
1736 enable_winmgmt
1737 enable_winver
1738 enable_wmic
1739 enable_wmplayer
1740 enable_wordpad
1741 enable_write
1742 enable_wscript
1743 enable_wuauserv
1744 enable_wusa
1745 enable_xcopy
1746 enable_server
1747 enable_tools
1748 enable_sfnt2fon
1749 enable_widl
1750 enable_winebuild
1751 enable_winedump
1752 enable_winegcc
1753 enable_winemaker
1754 enable_wmc
1755 enable_wrc
1757 ac_precious_vars='build_alias
1758 host_alias
1759 target_alias
1761 CFLAGS
1762 LDFLAGS
1763 LIBS
1764 CPPFLAGS
1766 CXXFLAGS
1768 OBJC
1769 OBJCFLAGS
1770 FAUDIO_PE_CFLAGS
1771 FAUDIO_PE_LIBS
1772 FLUIDSYNTH_PE_CFLAGS
1773 FLUIDSYNTH_PE_LIBS
1774 GSM_PE_CFLAGS
1775 GSM_PE_LIBS
1776 JPEG_PE_CFLAGS
1777 JPEG_PE_LIBS
1778 JXR_PE_CFLAGS
1779 JXR_PE_LIBS
1780 LCMS2_PE_CFLAGS
1781 LCMS2_PE_LIBS
1782 LDAP_PE_CFLAGS
1783 LDAP_PE_LIBS
1784 MPG123_PE_CFLAGS
1785 MPG123_PE_LIBS
1786 MUSL_PE_CFLAGS
1787 MUSL_PE_LIBS
1788 PNG_PE_CFLAGS
1789 PNG_PE_LIBS
1790 TIFF_PE_CFLAGS
1791 TIFF_PE_LIBS
1792 VKD3D_PE_CFLAGS
1793 VKD3D_PE_LIBS
1794 XML2_PE_CFLAGS
1795 XML2_PE_LIBS
1796 XSLT_PE_CFLAGS
1797 XSLT_PE_LIBS
1798 ZLIB_PE_CFLAGS
1799 ZLIB_PE_LIBS
1800 ZYDIS_PE_CFLAGS
1801 ZYDIS_PE_LIBS
1802 XMKMF
1804 WAYLAND_CLIENT_CFLAGS
1805 WAYLAND_CLIENT_LIBS
1806 XKBCOMMON_CFLAGS
1807 XKBCOMMON_LIBS
1808 XKBREGISTRY_CFLAGS
1809 XKBREGISTRY_LIBS
1810 EGL_CFLAGS
1811 EGL_LIBS
1812 WAYLAND_EGL_CFLAGS
1813 WAYLAND_EGL_LIBS
1814 INOTIFY_CFLAGS
1815 INOTIFY_LIBS
1816 DBUS_CFLAGS
1817 DBUS_LIBS
1818 GNUTLS_CFLAGS
1819 GNUTLS_LIBS
1820 SANE_CFLAGS
1821 SANE_LIBS
1822 USB_CFLAGS
1823 USB_LIBS
1824 GPHOTO2_CFLAGS
1825 GPHOTO2_LIBS
1826 GPHOTO2_PORT_CFLAGS
1827 GPHOTO2_PORT_LIBS
1828 FREETYPE_CFLAGS
1829 FREETYPE_LIBS
1830 PULSE_CFLAGS
1831 PULSE_LIBS
1832 GSTREAMER_CFLAGS
1833 GSTREAMER_LIBS
1834 UDEV_CFLAGS
1835 UDEV_LIBS
1836 UNWIND_CFLAGS
1837 UNWIND_LIBS
1838 SDL2_CFLAGS
1839 SDL2_LIBS
1840 CAPI20_CFLAGS
1841 CAPI20_LIBS
1842 CUPS_CFLAGS
1843 CUPS_LIBS
1844 FONTCONFIG_CFLAGS
1845 FONTCONFIG_LIBS
1846 KRB5_CFLAGS
1847 KRB5_LIBS
1848 GSSAPI_CFLAGS
1849 GSSAPI_LIBS
1850 NETAPI_CFLAGS
1851 NETAPI_LIBS'
1854 # Initialize some variables set by options.
1855 ac_init_help=
1856 ac_init_version=false
1857 ac_unrecognized_opts=
1858 ac_unrecognized_sep=
1859 # The variables have the same names as the options, with
1860 # dashes changed to underlines.
1861 cache_file=/dev/null
1862 exec_prefix=NONE
1863 no_create=
1864 no_recursion=
1865 prefix=NONE
1866 program_prefix=NONE
1867 program_suffix=NONE
1868 program_transform_name=s,x,x,
1869 silent=
1870 site=
1871 srcdir=
1872 verbose=
1873 x_includes=NONE
1874 x_libraries=NONE
1876 # Installation directory options.
1877 # These are left unexpanded so users can "make install exec_prefix=/foo"
1878 # and all the variables that are supposed to be based on exec_prefix
1879 # by default will actually change.
1880 # Use braces instead of parens because sh, perl, etc. also accept them.
1881 # (The list follows the same order as the GNU Coding Standards.)
1882 bindir='${exec_prefix}/bin'
1883 sbindir='${exec_prefix}/sbin'
1884 libexecdir='${exec_prefix}/libexec'
1885 datarootdir='${prefix}/share'
1886 datadir='${datarootdir}'
1887 sysconfdir='${prefix}/etc'
1888 sharedstatedir='${prefix}/com'
1889 localstatedir='${prefix}/var'
1890 runstatedir='${localstatedir}/run'
1891 includedir='${prefix}/include'
1892 oldincludedir='/usr/include'
1893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1894 infodir='${datarootdir}/info'
1895 htmldir='${docdir}'
1896 dvidir='${docdir}'
1897 pdfdir='${docdir}'
1898 psdir='${docdir}'
1899 libdir='${exec_prefix}/lib'
1900 localedir='${datarootdir}/locale'
1901 mandir='${datarootdir}/man'
1903 ac_prev=
1904 ac_dashdash=
1905 for ac_option
1907 # If the previous option needs an argument, assign it.
1908 if test -n "$ac_prev"; then
1909 eval $ac_prev=\$ac_option
1910 ac_prev=
1911 continue
1914 case $ac_option in
1915 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1916 *=) ac_optarg= ;;
1917 *) ac_optarg=yes ;;
1918 esac
1920 case $ac_dashdash$ac_option in
1922 ac_dashdash=yes ;;
1924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1925 ac_prev=bindir ;;
1926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1927 bindir=$ac_optarg ;;
1929 -build | --build | --buil | --bui | --bu)
1930 ac_prev=build_alias ;;
1931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1932 build_alias=$ac_optarg ;;
1934 -cache-file | --cache-file | --cache-fil | --cache-fi \
1935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1936 ac_prev=cache_file ;;
1937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1939 cache_file=$ac_optarg ;;
1941 --config-cache | -C)
1942 cache_file=config.cache ;;
1944 -datadir | --datadir | --datadi | --datad)
1945 ac_prev=datadir ;;
1946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1947 datadir=$ac_optarg ;;
1949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1950 | --dataroo | --dataro | --datar)
1951 ac_prev=datarootdir ;;
1952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1954 datarootdir=$ac_optarg ;;
1956 -disable-* | --disable-*)
1957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1958 # Reject names that are not valid shell variable names.
1959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1960 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1961 ac_useropt_orig=$ac_useropt
1962 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1963 case $ac_user_opts in
1965 "enable_$ac_useropt"
1966 "*) ;;
1967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1968 ac_unrecognized_sep=', ';;
1969 esac
1970 eval enable_$ac_useropt=no ;;
1972 -docdir | --docdir | --docdi | --doc | --do)
1973 ac_prev=docdir ;;
1974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1975 docdir=$ac_optarg ;;
1977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1978 ac_prev=dvidir ;;
1979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1980 dvidir=$ac_optarg ;;
1982 -enable-* | --enable-*)
1983 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1984 # Reject names that are not valid shell variable names.
1985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1986 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1987 ac_useropt_orig=$ac_useropt
1988 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1989 case $ac_user_opts in
1991 "enable_$ac_useropt"
1992 "*) ;;
1993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1994 ac_unrecognized_sep=', ';;
1995 esac
1996 eval enable_$ac_useropt=\$ac_optarg ;;
1998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2000 | --exec | --exe | --ex)
2001 ac_prev=exec_prefix ;;
2002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2004 | --exec=* | --exe=* | --ex=*)
2005 exec_prefix=$ac_optarg ;;
2007 -gas | --gas | --ga | --g)
2008 # Obsolete; use --with-gas.
2009 with_gas=yes ;;
2011 -help | --help | --hel | --he | -h)
2012 ac_init_help=long ;;
2013 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2014 ac_init_help=recursive ;;
2015 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2016 ac_init_help=short ;;
2018 -host | --host | --hos | --ho)
2019 ac_prev=host_alias ;;
2020 -host=* | --host=* | --hos=* | --ho=*)
2021 host_alias=$ac_optarg ;;
2023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2024 ac_prev=htmldir ;;
2025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2026 | --ht=*)
2027 htmldir=$ac_optarg ;;
2029 -includedir | --includedir | --includedi | --included | --include \
2030 | --includ | --inclu | --incl | --inc)
2031 ac_prev=includedir ;;
2032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2033 | --includ=* | --inclu=* | --incl=* | --inc=*)
2034 includedir=$ac_optarg ;;
2036 -infodir | --infodir | --infodi | --infod | --info | --inf)
2037 ac_prev=infodir ;;
2038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2039 infodir=$ac_optarg ;;
2041 -libdir | --libdir | --libdi | --libd)
2042 ac_prev=libdir ;;
2043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2044 libdir=$ac_optarg ;;
2046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2047 | --libexe | --libex | --libe)
2048 ac_prev=libexecdir ;;
2049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2050 | --libexe=* | --libex=* | --libe=*)
2051 libexecdir=$ac_optarg ;;
2053 -localedir | --localedir | --localedi | --localed | --locale)
2054 ac_prev=localedir ;;
2055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2056 localedir=$ac_optarg ;;
2058 -localstatedir | --localstatedir | --localstatedi | --localstated \
2059 | --localstate | --localstat | --localsta | --localst | --locals)
2060 ac_prev=localstatedir ;;
2061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2063 localstatedir=$ac_optarg ;;
2065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2066 ac_prev=mandir ;;
2067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2068 mandir=$ac_optarg ;;
2070 -nfp | --nfp | --nf)
2071 # Obsolete; use --without-fp.
2072 with_fp=no ;;
2074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2075 | --no-cr | --no-c | -n)
2076 no_create=yes ;;
2078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2080 no_recursion=yes ;;
2082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2084 | --oldin | --oldi | --old | --ol | --o)
2085 ac_prev=oldincludedir ;;
2086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2089 oldincludedir=$ac_optarg ;;
2091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2092 ac_prev=prefix ;;
2093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2094 prefix=$ac_optarg ;;
2096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2097 | --program-pre | --program-pr | --program-p)
2098 ac_prev=program_prefix ;;
2099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2101 program_prefix=$ac_optarg ;;
2103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2104 | --program-suf | --program-su | --program-s)
2105 ac_prev=program_suffix ;;
2106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2108 program_suffix=$ac_optarg ;;
2110 -program-transform-name | --program-transform-name \
2111 | --program-transform-nam | --program-transform-na \
2112 | --program-transform-n | --program-transform- \
2113 | --program-transform | --program-transfor \
2114 | --program-transfo | --program-transf \
2115 | --program-trans | --program-tran \
2116 | --progr-tra | --program-tr | --program-t)
2117 ac_prev=program_transform_name ;;
2118 -program-transform-name=* | --program-transform-name=* \
2119 | --program-transform-nam=* | --program-transform-na=* \
2120 | --program-transform-n=* | --program-transform-=* \
2121 | --program-transform=* | --program-transfor=* \
2122 | --program-transfo=* | --program-transf=* \
2123 | --program-trans=* | --program-tran=* \
2124 | --progr-tra=* | --program-tr=* | --program-t=*)
2125 program_transform_name=$ac_optarg ;;
2127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2128 ac_prev=pdfdir ;;
2129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2130 pdfdir=$ac_optarg ;;
2132 -psdir | --psdir | --psdi | --psd | --ps)
2133 ac_prev=psdir ;;
2134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2135 psdir=$ac_optarg ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2139 silent=yes ;;
2141 -runstatedir | --runstatedir | --runstatedi | --runstated \
2142 | --runstate | --runstat | --runsta | --runst | --runs \
2143 | --run | --ru | --r)
2144 ac_prev=runstatedir ;;
2145 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2146 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2147 | --run=* | --ru=* | --r=*)
2148 runstatedir=$ac_optarg ;;
2150 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2151 ac_prev=sbindir ;;
2152 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2153 | --sbi=* | --sb=*)
2154 sbindir=$ac_optarg ;;
2156 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2157 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2158 | --sharedst | --shareds | --shared | --share | --shar \
2159 | --sha | --sh)
2160 ac_prev=sharedstatedir ;;
2161 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2162 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2163 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2164 | --sha=* | --sh=*)
2165 sharedstatedir=$ac_optarg ;;
2167 -site | --site | --sit)
2168 ac_prev=site ;;
2169 -site=* | --site=* | --sit=*)
2170 site=$ac_optarg ;;
2172 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2173 ac_prev=srcdir ;;
2174 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2175 srcdir=$ac_optarg ;;
2177 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2178 | --syscon | --sysco | --sysc | --sys | --sy)
2179 ac_prev=sysconfdir ;;
2180 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2181 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2182 sysconfdir=$ac_optarg ;;
2184 -target | --target | --targe | --targ | --tar | --ta | --t)
2185 ac_prev=target_alias ;;
2186 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2187 target_alias=$ac_optarg ;;
2189 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2190 verbose=yes ;;
2192 -version | --version | --versio | --versi | --vers | -V)
2193 ac_init_version=: ;;
2195 -with-* | --with-*)
2196 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2197 # Reject names that are not valid shell variable names.
2198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2199 as_fn_error $? "invalid package name: \`$ac_useropt'"
2200 ac_useropt_orig=$ac_useropt
2201 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2202 case $ac_user_opts in
2204 "with_$ac_useropt"
2205 "*) ;;
2206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2207 ac_unrecognized_sep=', ';;
2208 esac
2209 eval with_$ac_useropt=\$ac_optarg ;;
2211 -without-* | --without-*)
2212 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2213 # Reject names that are not valid shell variable names.
2214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2215 as_fn_error $? "invalid package name: \`$ac_useropt'"
2216 ac_useropt_orig=$ac_useropt
2217 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2218 case $ac_user_opts in
2220 "with_$ac_useropt"
2221 "*) ;;
2222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2223 ac_unrecognized_sep=', ';;
2224 esac
2225 eval with_$ac_useropt=no ;;
2227 --x)
2228 # Obsolete; use --with-x.
2229 with_x=yes ;;
2231 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2232 | --x-incl | --x-inc | --x-in | --x-i)
2233 ac_prev=x_includes ;;
2234 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2235 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2236 x_includes=$ac_optarg ;;
2238 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2239 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2240 ac_prev=x_libraries ;;
2241 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2242 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2243 x_libraries=$ac_optarg ;;
2245 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2246 Try \`$0 --help' for more information"
2249 *=*)
2250 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2251 # Reject names that are not valid shell variable names.
2252 case $ac_envvar in #(
2253 '' | [0-9]* | *[!_$as_cr_alnum]* )
2254 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2255 esac
2256 eval $ac_envvar=\$ac_optarg
2257 export $ac_envvar ;;
2260 # FIXME: should be removed in autoconf 3.0.
2261 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2263 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2264 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2267 esac
2268 done
2270 if test -n "$ac_prev"; then
2271 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2272 as_fn_error $? "missing argument to $ac_option"
2275 if test -n "$ac_unrecognized_opts"; then
2276 case $enable_option_checking in
2277 no) ;;
2278 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2279 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2280 esac
2283 # Check all directory arguments for consistency.
2284 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2285 datadir sysconfdir sharedstatedir localstatedir includedir \
2286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2287 libdir localedir mandir runstatedir
2289 eval ac_val=\$$ac_var
2290 # Remove trailing slashes.
2291 case $ac_val in
2292 */ )
2293 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2294 eval $ac_var=\$ac_val;;
2295 esac
2296 # Be sure to have absolute directory names.
2297 case $ac_val in
2298 [\\/$]* | ?:[\\/]* ) continue;;
2299 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2300 esac
2301 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2302 done
2304 # There might be people who depend on the old broken behavior: `$host'
2305 # used to hold the argument of --host etc.
2306 # FIXME: To remove some day.
2307 build=$build_alias
2308 host=$host_alias
2309 target=$target_alias
2311 # FIXME: To remove some day.
2312 if test "x$host_alias" != x; then
2313 if test "x$build_alias" = x; then
2314 cross_compiling=maybe
2315 elif test "x$build_alias" != "x$host_alias"; then
2316 cross_compiling=yes
2320 ac_tool_prefix=
2321 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2323 test "$silent" = yes && exec 6>/dev/null
2326 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2327 ac_ls_di=`ls -di .` &&
2328 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2329 as_fn_error $? "working directory cannot be determined"
2330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2331 as_fn_error $? "pwd does not report name of working directory"
2334 # Find the source files, if location was not specified.
2335 if test -z "$srcdir"; then
2336 ac_srcdir_defaulted=yes
2337 # Try the directory containing this script, then the parent directory.
2338 ac_confdir=`$as_dirname -- "$as_myself" ||
2339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2340 X"$as_myself" : 'X\(//\)[^/]' \| \
2341 X"$as_myself" : 'X\(//\)$' \| \
2342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2343 printf "%s\n" X"$as_myself" |
2344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2345 s//\1/
2348 /^X\(\/\/\)[^/].*/{
2349 s//\1/
2352 /^X\(\/\/\)$/{
2353 s//\1/
2356 /^X\(\/\).*/{
2357 s//\1/
2360 s/.*/./; q'`
2361 srcdir=$ac_confdir
2362 if test ! -r "$srcdir/$ac_unique_file"; then
2363 srcdir=..
2365 else
2366 ac_srcdir_defaulted=no
2368 if test ! -r "$srcdir/$ac_unique_file"; then
2369 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2370 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2372 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2373 ac_abs_confdir=`(
2374 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2375 pwd)`
2376 # When building in place, set srcdir=.
2377 if test "$ac_abs_confdir" = "$ac_pwd"; then
2378 srcdir=.
2380 # Remove unnecessary trailing slashes from srcdir.
2381 # Double slashes in file names in object file debugging info
2382 # mess up M-x gdb in Emacs.
2383 case $srcdir in
2384 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2385 esac
2386 for ac_var in $ac_precious_vars; do
2387 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2388 eval ac_env_${ac_var}_value=\$${ac_var}
2389 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2390 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2391 done
2394 # Report the --help message.
2396 if test "$ac_init_help" = "long"; then
2397 # Omit some internal or obsolete options to make the list less imposing.
2398 # This message is too long to be a string in the A/UX 3.1 sh.
2399 cat <<_ACEOF
2400 \`configure' configures Wine 9.8 to adapt to many kinds of systems.
2402 Usage: $0 [OPTION]... [VAR=VALUE]...
2404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2405 VAR=VALUE. See below for descriptions of some of the useful variables.
2407 Defaults for the options are specified in brackets.
2409 Configuration:
2410 -h, --help display this help and exit
2411 --help=short display options specific to this package
2412 --help=recursive display the short help of all the included packages
2413 -V, --version display version information and exit
2414 -q, --quiet, --silent do not print \`checking ...' messages
2415 --cache-file=FILE cache test results in FILE [disabled]
2416 -C, --config-cache alias for \`--cache-file=config.cache'
2417 -n, --no-create do not create output files
2418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2420 Installation directories:
2421 --prefix=PREFIX install architecture-independent files in PREFIX
2422 [$ac_default_prefix]
2423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2424 [PREFIX]
2426 By default, \`make install' will install all the files in
2427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2429 for instance \`--prefix=\$HOME'.
2431 For better control, use the options below.
2433 Fine tuning of the installation directories:
2434 --bindir=DIR user executables [EPREFIX/bin]
2435 --sbindir=DIR system admin executables [EPREFIX/sbin]
2436 --libexecdir=DIR program executables [EPREFIX/libexec]
2437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2440 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2441 --libdir=DIR object code libraries [EPREFIX/lib]
2442 --includedir=DIR C header files [PREFIX/include]
2443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2446 --infodir=DIR info documentation [DATAROOTDIR/info]
2447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2448 --mandir=DIR man documentation [DATAROOTDIR/man]
2449 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2450 --htmldir=DIR html documentation [DOCDIR]
2451 --dvidir=DIR dvi documentation [DOCDIR]
2452 --pdfdir=DIR pdf documentation [DOCDIR]
2453 --psdir=DIR ps documentation [DOCDIR]
2454 _ACEOF
2456 cat <<\_ACEOF
2458 X features:
2459 --x-includes=DIR X include files are in DIR
2460 --x-libraries=DIR X library files are in DIR
2462 System types:
2463 --build=BUILD configure for building on BUILD [guessed]
2464 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2465 _ACEOF
2468 if test -n "$ac_init_help"; then
2469 case $ac_init_help in
2470 short | recursive ) echo "Configuration of Wine 9.8:";;
2471 esac
2472 cat <<\_ACEOF
2474 Optional Features:
2475 --disable-option-checking ignore unrecognized --enable/--with options
2476 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2477 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2478 --enable-archs={i386,x86_64,arm,aarch64}
2479 enable multiple architectures for PE compilation
2480 --disable-win16 do not include Win16 support
2481 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2482 binaries)
2483 --disable-tests do not build the regression tests
2484 --enable-build-id include .buildid section in output objects
2485 --enable-maintainer-mode
2486 enable maintainer-specific build rules
2487 --enable-silent-rules use silent build rules (override: "make V=1")
2488 --enable-werror treat compilation warnings as errors
2489 --disable-largefile omit support for large files
2491 Optional Packages:
2492 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2493 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2494 --without-alsa do not use the Alsa sound support
2495 --without-capi do not use CAPI (ISDN support)
2496 --without-coreaudio do not use the CoreAudio sound support
2497 --without-cups do not use CUPS
2498 --without-dbus do not use DBus (dynamic device support)
2499 --without-fontconfig do not use fontconfig
2500 --without-freetype do not use the FreeType library
2501 --without-gettext do not use gettext
2502 --with-gettextpo use the GetTextPO library to rebuild po files
2503 --without-gphoto do not use gphoto (Digital Camera support)
2504 --without-gnutls do not use GnuTLS (schannel support)
2505 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2506 --without-gstreamer do not use GStreamer (codecs support)
2507 --without-inotify do not use inotify (filesystem change notifications)
2508 --without-krb5 do not use krb5 (Kerberos)
2509 --without-mingw do not use the MinGW cross-compiler
2510 --without-netapi do not use the Samba NetAPI library
2511 --without-opencl do not use OpenCL
2512 --without-opengl do not use OpenGL
2513 --without-osmesa do not use the OSMesa library
2514 --without-oss do not use the OSS sound support
2515 --without-pcap do not use the Packet Capture library
2516 --without-pcsclite do not use PCSC lite
2517 --without-pthread do not use the pthread library
2518 --without-pulse do not use PulseAudio sound support
2519 --without-sane do not use SANE (scanner support)
2520 --without-sdl do not use SDL
2521 --without-udev do not use udev (plug and play support)
2522 --without-unwind do not use the libunwind library (exception
2523 handling)
2524 --without-usb do not use the libusb library
2525 --without-v4l2 do not use v4l2 (video capture)
2526 --without-vulkan do not use Vulkan
2527 --without-wayland do not build the Wayland driver
2528 --without-xcomposite do not use the Xcomposite extension
2529 --without-xcursor do not use the Xcursor extension
2530 --without-xfixes do not use Xfixes for clipboard change notifications
2531 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2532 --without-xinput do not use the Xinput extension
2533 --without-xinput2 do not use the Xinput 2 extension
2534 --without-xrandr do not use Xrandr (multi-monitor support)
2535 --without-xrender do not use the Xrender extension
2536 --without-xshape do not use the Xshape extension
2537 --without-xshm do not use XShm (shared memory extension)
2538 --without-xxf86vm do not use XFree video mode extension
2539 --with-system-dllpath=PATH
2540 load external PE dependencies from colon-separated
2541 path PATH
2542 --with-wine-tools=DIR use Wine tools from directory DIR
2543 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2544 --with-x use the X Window System
2546 Some influential environment variables:
2547 CC C compiler command
2548 CFLAGS C compiler flags
2549 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2550 nonstandard directory <lib dir>
2551 LIBS libraries to pass to the linker, e.g. -l<library>
2552 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2553 you have headers in a nonstandard directory <include dir>
2554 CXX C++ compiler command
2555 CXXFLAGS C++ compiler flags
2556 OBJC Objective C compiler command
2557 OBJCFLAGS Objective C compiler flags
2558 FAUDIO_PE_CFLAGS
2559 C compiler flags for the PE faudio, overriding the bundled
2560 version
2561 FAUDIO_PE_LIBS
2562 Linker flags for the PE faudio, overriding the bundled version
2563 FLUIDSYNTH_PE_CFLAGS
2564 C compiler flags for the PE fluidsynth, overriding the bundled
2565 version
2566 FLUIDSYNTH_PE_LIBS
2567 Linker flags for the PE fluidsynth, overriding the bundled
2568 version
2569 GSM_PE_CFLAGS
2570 C compiler flags for the PE gsm, overriding the bundled version
2571 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2572 JPEG_PE_CFLAGS
2573 C compiler flags for the PE jpeg, overriding the bundled version
2574 JPEG_PE_LIBS
2575 Linker flags for the PE jpeg, overriding the bundled version
2576 JXR_PE_CFLAGS
2577 C compiler flags for the PE jxr, overriding the bundled version
2578 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2579 LCMS2_PE_CFLAGS
2580 C compiler flags for the PE lcms2, overriding the bundled
2581 version
2582 LCMS2_PE_LIBS
2583 Linker flags for the PE lcms2, overriding the bundled version
2584 LDAP_PE_CFLAGS
2585 C compiler flags for the PE ldap, overriding the bundled version
2586 LDAP_PE_LIBS
2587 Linker flags for the PE ldap, overriding the bundled version
2588 MPG123_PE_CFLAGS
2589 C compiler flags for the PE mpg123, overriding the bundled
2590 version
2591 MPG123_PE_LIBS
2592 Linker flags for the PE mpg123, overriding the bundled version
2593 MUSL_PE_CFLAGS
2594 C compiler flags for the PE musl, overriding the bundled version
2595 MUSL_PE_LIBS
2596 Linker flags for the PE musl, overriding the bundled version
2597 PNG_PE_CFLAGS
2598 C compiler flags for the PE png, overriding the bundled version
2599 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2600 TIFF_PE_CFLAGS
2601 C compiler flags for the PE tiff, overriding the bundled version
2602 TIFF_PE_LIBS
2603 Linker flags for the PE tiff, overriding the bundled version
2604 VKD3D_PE_CFLAGS
2605 C compiler flags for the PE vkd3d, overriding the bundled
2606 version
2607 VKD3D_PE_LIBS
2608 Linker flags for the PE vkd3d, overriding the bundled version
2609 XML2_PE_CFLAGS
2610 C compiler flags for the PE xml2, overriding the bundled version
2611 XML2_PE_LIBS
2612 Linker flags for the PE xml2, overriding the bundled version
2613 XSLT_PE_CFLAGS
2614 C compiler flags for the PE xslt, overriding the bundled version
2615 XSLT_PE_LIBS
2616 Linker flags for the PE xslt, overriding the bundled version
2617 ZLIB_PE_CFLAGS
2618 C compiler flags for the PE zlib, overriding the bundled version
2619 ZLIB_PE_LIBS
2620 Linker flags for the PE zlib, overriding the bundled version
2621 ZYDIS_PE_CFLAGS
2622 C compiler flags for the PE zydis, overriding the bundled
2623 version
2624 ZYDIS_PE_LIBS
2625 Linker flags for the PE zydis, overriding the bundled version
2626 XMKMF Path to xmkmf, Makefile generator for X Window System
2627 CPP C preprocessor
2628 WAYLAND_CLIENT_CFLAGS
2629 C compiler flags for wayland-client, overriding pkg-config
2630 WAYLAND_CLIENT_LIBS
2631 Linker flags for wayland-client, overriding pkg-config
2632 XKBCOMMON_CFLAGS
2633 C compiler flags for xkbcommon, overriding pkg-config
2634 XKBCOMMON_LIBS
2635 Linker flags for xkbcommon, overriding pkg-config
2636 XKBREGISTRY_CFLAGS
2637 C compiler flags for xkbregistry, overriding pkg-config
2638 XKBREGISTRY_LIBS
2639 Linker flags for xkbregistry, overriding pkg-config
2640 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2641 EGL_LIBS Linker flags for egl, overriding pkg-config
2642 WAYLAND_EGL_CFLAGS
2643 C compiler flags for wayland-egl, overriding pkg-config
2644 WAYLAND_EGL_LIBS
2645 Linker flags for wayland-egl, overriding pkg-config
2646 INOTIFY_CFLAGS
2647 C compiler flags for libinotify, overriding pkg-config
2648 INOTIFY_LIBS
2649 Linker flags for libinotify, overriding pkg-config
2650 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2651 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2652 GNUTLS_CFLAGS
2653 C compiler flags for gnutls, overriding pkg-config
2654 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2655 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2656 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2657 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2658 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2659 GPHOTO2_CFLAGS
2660 C compiler flags for libgphoto2, overriding pkg-config
2661 GPHOTO2_LIBS
2662 Linker flags for libgphoto2, overriding pkg-config
2663 GPHOTO2_PORT_CFLAGS
2664 C compiler flags for libgphoto2_port, overriding pkg-config
2665 GPHOTO2_PORT_LIBS
2666 Linker flags for libgphoto2_port, overriding pkg-config
2667 FREETYPE_CFLAGS
2668 C compiler flags for freetype2, overriding pkg-config
2669 FREETYPE_LIBS
2670 Linker flags for freetype2, overriding pkg-config
2671 PULSE_CFLAGS
2672 C compiler flags for libpulse, overriding pkg-config
2673 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2674 GSTREAMER_CFLAGS
2675 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2676 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2677 GSTREAMER_LIBS
2678 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2679 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2680 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2681 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2682 UNWIND_CFLAGS
2683 C compiler flags for libunwind, overriding pkg-config
2684 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2685 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2686 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2687 CAPI20_CFLAGS
2688 C compiler flags for capi20, overriding pkg-config
2689 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2690 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2691 CUPS_LIBS Linker flags for cups, overriding pkg-config
2692 FONTCONFIG_CFLAGS
2693 C compiler flags for fontconfig, overriding pkg-config
2694 FONTCONFIG_LIBS
2695 Linker flags for fontconfig, overriding pkg-config
2696 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2697 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2698 GSSAPI_CFLAGS
2699 C compiler flags for krb5-gssapi, overriding pkg-config
2700 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2701 NETAPI_CFLAGS
2702 C compiler flags for netapi, overriding pkg-config
2703 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2705 Use these variables to override the choices made by `configure' or to help
2706 it to find libraries and programs with nonstandard names/locations.
2708 Report bugs to <wine-devel@winehq.org>.
2709 Wine home page: <https://www.winehq.org>.
2710 _ACEOF
2711 ac_status=$?
2714 if test "$ac_init_help" = "recursive"; then
2715 # If there are subdirs, report their specific --help.
2716 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2717 test -d "$ac_dir" ||
2718 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2719 continue
2720 ac_builddir=.
2722 case "$ac_dir" in
2723 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2725 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2726 # A ".." for each directory in $ac_dir_suffix.
2727 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2728 case $ac_top_builddir_sub in
2729 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2730 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2731 esac ;;
2732 esac
2733 ac_abs_top_builddir=$ac_pwd
2734 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2735 # for backward compatibility:
2736 ac_top_builddir=$ac_top_build_prefix
2738 case $srcdir in
2739 .) # We are building in place.
2740 ac_srcdir=.
2741 ac_top_srcdir=$ac_top_builddir_sub
2742 ac_abs_top_srcdir=$ac_pwd ;;
2743 [\\/]* | ?:[\\/]* ) # Absolute name.
2744 ac_srcdir=$srcdir$ac_dir_suffix;
2745 ac_top_srcdir=$srcdir
2746 ac_abs_top_srcdir=$srcdir ;;
2747 *) # Relative name.
2748 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2749 ac_top_srcdir=$ac_top_build_prefix$srcdir
2750 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2751 esac
2752 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2754 cd "$ac_dir" || { ac_status=$?; continue; }
2755 # Check for configure.gnu first; this name is used for a wrapper for
2756 # Metaconfig's "Configure" on case-insensitive file systems.
2757 if test -f "$ac_srcdir/configure.gnu"; then
2758 echo &&
2759 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2760 elif test -f "$ac_srcdir/configure"; then
2761 echo &&
2762 $SHELL "$ac_srcdir/configure" --help=recursive
2763 else
2764 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2765 fi || ac_status=$?
2766 cd "$ac_pwd" || { ac_status=$?; break; }
2767 done
2770 test -n "$ac_init_help" && exit $ac_status
2771 if $ac_init_version; then
2772 cat <<\_ACEOF
2773 Wine configure 9.8
2774 generated by GNU Autoconf 2.71
2776 Copyright (C) 2021 Free Software Foundation, Inc.
2777 This configure script is free software; the Free Software Foundation
2778 gives unlimited permission to copy, distribute and modify it.
2779 _ACEOF
2780 exit
2783 ## ------------------------ ##
2784 ## Autoconf initialization. ##
2785 ## ------------------------ ##
2787 # ac_fn_c_try_compile LINENO
2788 # --------------------------
2789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2790 ac_fn_c_try_compile ()
2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2793 rm -f conftest.$ac_objext conftest.beam
2794 if { { ac_try="$ac_compile"
2795 case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 printf "%s\n" "$ac_try_echo"; } >&5
2801 (eval "$ac_compile") 2>conftest.err
2802 ac_status=$?
2803 if test -s conftest.err; then
2804 grep -v '^ *+' conftest.err >conftest.er1
2805 cat conftest.er1 >&5
2806 mv -f conftest.er1 conftest.err
2808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; } && {
2810 test -z "$ac_c_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext
2813 then :
2814 ac_retval=0
2815 else $as_nop
2816 printf "%s\n" "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_c_try_compile
2826 # ac_fn_cxx_try_compile LINENO
2827 # ----------------------------
2828 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_cxx_try_compile ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext conftest.beam
2833 if { { ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 printf "%s\n" "$ac_try_echo"; } >&5
2840 (eval "$ac_compile") 2>conftest.err
2841 ac_status=$?
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_cxx_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.$ac_objext
2852 then :
2853 ac_retval=0
2854 else $as_nop
2855 printf "%s\n" "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 ac_retval=1
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 as_fn_set_status $ac_retval
2863 } # ac_fn_cxx_try_compile
2865 # ac_fn_c_try_link LINENO
2866 # -----------------------
2867 # Try to link conftest.$ac_ext, and return whether this succeeded.
2868 ac_fn_c_try_link ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2872 if { { ac_try="$ac_link"
2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 printf "%s\n" "$ac_try_echo"; } >&5
2879 (eval "$ac_link") 2>conftest.err
2880 ac_status=$?
2881 if test -s conftest.err; then
2882 grep -v '^ *+' conftest.err >conftest.er1
2883 cat conftest.er1 >&5
2884 mv -f conftest.er1 conftest.err
2886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887 test $ac_status = 0; } && {
2888 test -z "$ac_c_werror_flag" ||
2889 test ! -s conftest.err
2890 } && test -s conftest$ac_exeext && {
2891 test "$cross_compiling" = yes ||
2892 test -x conftest$ac_exeext
2894 then :
2895 ac_retval=0
2896 else $as_nop
2897 printf "%s\n" "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.$ac_ext >&5
2900 ac_retval=1
2902 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2903 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2904 # interfere with the next link command; also delete a directory that is
2905 # left behind by Apple's compiler. We do this before executing the actions.
2906 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2908 as_fn_set_status $ac_retval
2910 } # ac_fn_c_try_link
2912 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2913 # -------------------------------------------------------
2914 # Tests whether HEADER exists and can be compiled using the include files in
2915 # INCLUDES, setting the cache variable VAR accordingly.
2916 ac_fn_c_check_header_compile ()
2918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2920 printf %s "checking for $2... " >&6; }
2921 if eval test \${$3+y}
2922 then :
2923 printf %s "(cached) " >&6
2924 else $as_nop
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2928 #include <$2>
2929 _ACEOF
2930 if ac_fn_c_try_compile "$LINENO"
2931 then :
2932 eval "$3=yes"
2933 else $as_nop
2934 eval "$3=no"
2936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2938 eval ac_res=\$$3
2939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2940 printf "%s\n" "$ac_res" >&6; }
2941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2943 } # ac_fn_c_check_header_compile
2945 # ac_fn_objc_try_compile LINENO
2946 # -----------------------------
2947 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2948 ac_fn_objc_try_compile ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 rm -f conftest.$ac_objext conftest.beam
2952 if { { ac_try="$ac_compile"
2953 case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2956 esac
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 printf "%s\n" "$ac_try_echo"; } >&5
2959 (eval "$ac_compile") 2>conftest.err
2960 ac_status=$?
2961 if test -s conftest.err; then
2962 grep -v '^ *+' conftest.err >conftest.er1
2963 cat conftest.er1 >&5
2964 mv -f conftest.er1 conftest.err
2966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; } && {
2968 test -z "$ac_objc_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.$ac_objext
2971 then :
2972 ac_retval=0
2973 else $as_nop
2974 printf "%s\n" "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2977 ac_retval=1
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 as_fn_set_status $ac_retval
2982 } # ac_fn_objc_try_compile
2984 # ac_fn_c_check_func LINENO FUNC VAR
2985 # ----------------------------------
2986 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2987 ac_fn_c_check_func ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2991 printf %s "checking for $2... " >&6; }
2992 if eval test \${$3+y}
2993 then :
2994 printf %s "(cached) " >&6
2995 else $as_nop
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
2998 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3000 #define $2 innocuous_$2
3002 /* System header to define __stub macros and hopefully few prototypes,
3003 which can conflict with char $2 (); below. */
3005 #include <limits.h>
3006 #undef $2
3008 /* Override any GCC internal prototype to avoid an error.
3009 Use char because int might match the return type of a GCC
3010 builtin and then its argument prototype would still apply. */
3011 #ifdef __cplusplus
3012 extern "C"
3013 #endif
3014 char $2 ();
3015 /* The GNU C library defines this for functions which it implements
3016 to always fail with ENOSYS. Some functions are actually named
3017 something starting with __ and the normal name is an alias. */
3018 #if defined __stub_$2 || defined __stub___$2
3019 choke me
3020 #endif
3023 main (void)
3025 return $2 ();
3027 return 0;
3029 _ACEOF
3030 if ac_fn_c_try_link "$LINENO"
3031 then :
3032 eval "$3=yes"
3033 else $as_nop
3034 eval "$3=no"
3036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3037 conftest$ac_exeext conftest.$ac_ext
3039 eval ac_res=\$$3
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 printf "%s\n" "$ac_res" >&6; }
3042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3044 } # ac_fn_c_check_func
3046 # ac_fn_c_try_cpp LINENO
3047 # ----------------------
3048 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3049 ac_fn_c_try_cpp ()
3051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3052 if { { ac_try="$ac_cpp conftest.$ac_ext"
3053 case "(($ac_try" in
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3056 esac
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 printf "%s\n" "$ac_try_echo"; } >&5
3059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3060 ac_status=$?
3061 if test -s conftest.err; then
3062 grep -v '^ *+' conftest.err >conftest.er1
3063 cat conftest.er1 >&5
3064 mv -f conftest.er1 conftest.err
3066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3067 test $ac_status = 0; } > conftest.i && {
3068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3069 test ! -s conftest.err
3071 then :
3072 ac_retval=0
3073 else $as_nop
3074 printf "%s\n" "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3077 ac_retval=1
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 as_fn_set_status $ac_retval
3082 } # ac_fn_c_try_cpp
3084 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3085 # ----------------------------------------------------
3086 # Tries to find if the field MEMBER exists in type AGGR, after including
3087 # INCLUDES, setting cache variable VAR accordingly.
3088 ac_fn_c_check_member ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3092 printf %s "checking for $2.$3... " >&6; }
3093 if eval test \${$4+y}
3094 then :
3095 printf %s "(cached) " >&6
3096 else $as_nop
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3101 main (void)
3103 static $2 ac_aggr;
3104 if (ac_aggr.$3)
3105 return 0;
3107 return 0;
3109 _ACEOF
3110 if ac_fn_c_try_compile "$LINENO"
3111 then :
3112 eval "$4=yes"
3113 else $as_nop
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3118 main (void)
3120 static $2 ac_aggr;
3121 if (sizeof ac_aggr.$3)
3122 return 0;
3124 return 0;
3126 _ACEOF
3127 if ac_fn_c_try_compile "$LINENO"
3128 then :
3129 eval "$4=yes"
3130 else $as_nop
3131 eval "$4=no"
3133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3137 eval ac_res=\$$4
3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3139 printf "%s\n" "$ac_res" >&6; }
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 } # ac_fn_c_check_member
3144 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3145 # -------------------------------------------
3146 # Tests whether TYPE exists after having included INCLUDES, setting cache
3147 # variable VAR accordingly.
3148 ac_fn_c_check_type ()
3150 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3152 printf %s "checking for $2... " >&6; }
3153 if eval test \${$3+y}
3154 then :
3155 printf %s "(cached) " >&6
3156 else $as_nop
3157 eval "$3=no"
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3162 main (void)
3164 if (sizeof ($2))
3165 return 0;
3167 return 0;
3169 _ACEOF
3170 if ac_fn_c_try_compile "$LINENO"
3171 then :
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3176 main (void)
3178 if (sizeof (($2)))
3179 return 0;
3181 return 0;
3183 _ACEOF
3184 if ac_fn_c_try_compile "$LINENO"
3185 then :
3187 else $as_nop
3188 eval "$3=yes"
3190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3194 eval ac_res=\$$3
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3196 printf "%s\n" "$ac_res" >&6; }
3197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 } # ac_fn_c_check_type
3200 ac_configure_args_raw=
3201 for ac_arg
3203 case $ac_arg in
3204 *\'*)
3205 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3206 esac
3207 as_fn_append ac_configure_args_raw " '$ac_arg'"
3208 done
3210 case $ac_configure_args_raw in
3211 *$as_nl*)
3212 ac_safe_unquote= ;;
3214 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3215 ac_unsafe_a="$ac_unsafe_z#~"
3216 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3217 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3218 esac
3220 cat >config.log <<_ACEOF
3221 This file contains any messages produced by compilers while
3222 running configure, to aid debugging if configure makes a mistake.
3224 It was created by Wine $as_me 9.8, which was
3225 generated by GNU Autoconf 2.71. Invocation command line was
3227 $ $0$ac_configure_args_raw
3229 _ACEOF
3230 exec 5>>config.log
3232 cat <<_ASUNAME
3233 ## --------- ##
3234 ## Platform. ##
3235 ## --------- ##
3237 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3238 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3239 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3240 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3241 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3243 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3244 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3246 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3247 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3248 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3249 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3250 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3251 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3252 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3254 _ASUNAME
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 for as_dir in $PATH
3259 IFS=$as_save_IFS
3260 case $as_dir in #(((
3261 '') as_dir=./ ;;
3262 */) ;;
3263 *) as_dir=$as_dir/ ;;
3264 esac
3265 printf "%s\n" "PATH: $as_dir"
3266 done
3267 IFS=$as_save_IFS
3269 } >&5
3271 cat >&5 <<_ACEOF
3274 ## ----------- ##
3275 ## Core tests. ##
3276 ## ----------- ##
3278 _ACEOF
3281 # Keep a trace of the command line.
3282 # Strip out --no-create and --no-recursion so they do not pile up.
3283 # Strip out --silent because we don't want to record it for future runs.
3284 # Also quote any args containing shell meta-characters.
3285 # Make two passes to allow for proper duplicate-argument suppression.
3286 ac_configure_args=
3287 ac_configure_args0=
3288 ac_configure_args1=
3289 ac_must_keep_next=false
3290 for ac_pass in 1 2
3292 for ac_arg
3294 case $ac_arg in
3295 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3297 | -silent | --silent | --silen | --sile | --sil)
3298 continue ;;
3299 *\'*)
3300 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3301 esac
3302 case $ac_pass in
3303 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3305 as_fn_append ac_configure_args1 " '$ac_arg'"
3306 if test $ac_must_keep_next = true; then
3307 ac_must_keep_next=false # Got value, back to normal.
3308 else
3309 case $ac_arg in
3310 *=* | --config-cache | -C | -disable-* | --disable-* \
3311 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3312 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3313 | -with-* | --with-* | -without-* | --without-* | --x)
3314 case "$ac_configure_args0 " in
3315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3316 esac
3318 -* ) ac_must_keep_next=true ;;
3319 esac
3321 as_fn_append ac_configure_args " '$ac_arg'"
3323 esac
3324 done
3325 done
3326 { ac_configure_args0=; unset ac_configure_args0;}
3327 { ac_configure_args1=; unset ac_configure_args1;}
3329 # When interrupted or exit'd, cleanup temporary files, and complete
3330 # config.log. We remove comments because anyway the quotes in there
3331 # would cause problems or look ugly.
3332 # WARNING: Use '\'' to represent an apostrophe within the trap.
3333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3334 trap 'exit_status=$?
3335 # Sanitize IFS.
3336 IFS=" "" $as_nl"
3337 # Save into config.log some information that might help in debugging.
3339 echo
3341 printf "%s\n" "## ---------------- ##
3342 ## Cache variables. ##
3343 ## ---------------- ##"
3344 echo
3345 # The following way of writing the cache mishandles newlines in values,
3347 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3348 eval ac_val=\$$ac_var
3349 case $ac_val in #(
3350 *${as_nl}*)
3351 case $ac_var in #(
3352 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3353 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3354 esac
3355 case $ac_var in #(
3356 _ | IFS | as_nl) ;; #(
3357 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3358 *) { eval $ac_var=; unset $ac_var;} ;;
3359 esac ;;
3360 esac
3361 done
3362 (set) 2>&1 |
3363 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3364 *${as_nl}ac_space=\ *)
3365 sed -n \
3366 "s/'\''/'\''\\\\'\'''\''/g;
3367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3368 ;; #(
3370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3372 esac |
3373 sort
3375 echo
3377 printf "%s\n" "## ----------------- ##
3378 ## Output variables. ##
3379 ## ----------------- ##"
3380 echo
3381 for ac_var in $ac_subst_vars
3383 eval ac_val=\$$ac_var
3384 case $ac_val in
3385 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3386 esac
3387 printf "%s\n" "$ac_var='\''$ac_val'\''"
3388 done | sort
3389 echo
3391 if test -n "$ac_subst_files"; then
3392 printf "%s\n" "## ------------------- ##
3393 ## File substitutions. ##
3394 ## ------------------- ##"
3395 echo
3396 for ac_var in $ac_subst_files
3398 eval ac_val=\$$ac_var
3399 case $ac_val in
3400 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3401 esac
3402 printf "%s\n" "$ac_var='\''$ac_val'\''"
3403 done | sort
3404 echo
3407 if test -s confdefs.h; then
3408 printf "%s\n" "## ----------- ##
3409 ## confdefs.h. ##
3410 ## ----------- ##"
3411 echo
3412 cat confdefs.h
3413 echo
3415 test "$ac_signal" != 0 &&
3416 printf "%s\n" "$as_me: caught signal $ac_signal"
3417 printf "%s\n" "$as_me: exit $exit_status"
3418 } >&5
3419 rm -f core *.core core.conftest.* &&
3420 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3421 exit $exit_status
3423 for ac_signal in 1 2 13 15; do
3424 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3425 done
3426 ac_signal=0
3428 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3429 rm -f -r conftest* confdefs.h
3431 printf "%s\n" "/* confdefs.h */" > confdefs.h
3433 # Predefined preprocessor variables.
3435 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3437 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3439 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3441 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3443 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3445 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3448 # Let the site file select an alternate cache file if it wants to.
3449 # Prefer an explicitly selected file to automatically selected ones.
3450 if test -n "$CONFIG_SITE"; then
3451 ac_site_files="$CONFIG_SITE"
3452 elif test "x$prefix" != xNONE; then
3453 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3454 else
3455 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3458 for ac_site_file in $ac_site_files
3460 case $ac_site_file in #(
3461 */*) :
3462 ;; #(
3463 *) :
3464 ac_site_file=./$ac_site_file ;;
3465 esac
3466 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3468 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3469 sed 's/^/| /' "$ac_site_file" >&5
3470 . "$ac_site_file" \
3471 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $? "failed to load site script $ac_site_file
3474 See \`config.log' for more details" "$LINENO" 5; }
3476 done
3478 if test -r "$cache_file"; then
3479 # Some versions of bash will fail to source /dev/null (special files
3480 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3481 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3483 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3484 case $cache_file in
3485 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3486 *) . "./$cache_file";;
3487 esac
3489 else
3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3491 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3492 >$cache_file
3495 # Test code for whether the C compiler supports C89 (global declarations)
3496 ac_c_conftest_c89_globals='
3497 /* Does the compiler advertise C89 conformance?
3498 Do not test the value of __STDC__, because some compilers set it to 0
3499 while being otherwise adequately conformant. */
3500 #if !defined __STDC__
3501 # error "Compiler does not advertise C89 conformance"
3502 #endif
3504 #include <stddef.h>
3505 #include <stdarg.h>
3506 struct stat;
3507 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3508 struct buf { int x; };
3509 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3510 static char *e (p, i)
3511 char **p;
3512 int i;
3514 return p[i];
3516 static char *f (char * (*g) (char **, int), char **p, ...)
3518 char *s;
3519 va_list v;
3520 va_start (v,p);
3521 s = g (p, va_arg (v,int));
3522 va_end (v);
3523 return s;
3526 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3527 function prototypes and stuff, but not \xHH hex character constants.
3528 These do not provoke an error unfortunately, instead are silently treated
3529 as an "x". The following induces an error, until -std is added to get
3530 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3531 array size at least. It is necessary to write \x00 == 0 to get something
3532 that is true only with -std. */
3533 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3535 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3536 inside strings and character constants. */
3537 #define FOO(x) '\''x'\''
3538 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3540 int test (int i, double x);
3541 struct s1 {int (*f) (int a);};
3542 struct s2 {int (*f) (double a);};
3543 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3544 int, int);'
3546 # Test code for whether the C compiler supports C89 (body of main).
3547 ac_c_conftest_c89_main='
3548 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3551 # Test code for whether the C compiler supports C99 (global declarations)
3552 ac_c_conftest_c99_globals='
3553 // Does the compiler advertise C99 conformance?
3554 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3555 # error "Compiler does not advertise C99 conformance"
3556 #endif
3558 #include <stdbool.h>
3559 extern int puts (const char *);
3560 extern int printf (const char *, ...);
3561 extern int dprintf (int, const char *, ...);
3562 extern void *malloc (size_t);
3564 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3565 // dprintf is used instead of fprintf to avoid needing to declare
3566 // FILE and stderr.
3567 #define debug(...) dprintf (2, __VA_ARGS__)
3568 #define showlist(...) puts (#__VA_ARGS__)
3569 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3570 static void
3571 test_varargs_macros (void)
3573 int x = 1234;
3574 int y = 5678;
3575 debug ("Flag");
3576 debug ("X = %d\n", x);
3577 showlist (The first, second, and third items.);
3578 report (x>y, "x is %d but y is %d", x, y);
3581 // Check long long types.
3582 #define BIG64 18446744073709551615ull
3583 #define BIG32 4294967295ul
3584 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3585 #if !BIG_OK
3586 #error "your preprocessor is broken"
3587 #endif
3588 #if BIG_OK
3589 #else
3590 #error "your preprocessor is broken"
3591 #endif
3592 static long long int bignum = -9223372036854775807LL;
3593 static unsigned long long int ubignum = BIG64;
3595 struct incomplete_array
3597 int datasize;
3598 double data[];
3601 struct named_init {
3602 int number;
3603 const wchar_t *name;
3604 double average;
3607 typedef const char *ccp;
3609 static inline int
3610 test_restrict (ccp restrict text)
3612 // See if C++-style comments work.
3613 // Iterate through items via the restricted pointer.
3614 // Also check for declarations in for loops.
3615 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3616 continue;
3617 return 0;
3620 // Check varargs and va_copy.
3621 static bool
3622 test_varargs (const char *format, ...)
3624 va_list args;
3625 va_start (args, format);
3626 va_list args_copy;
3627 va_copy (args_copy, args);
3629 const char *str = "";
3630 int number = 0;
3631 float fnumber = 0;
3633 while (*format)
3635 switch (*format++)
3637 case '\''s'\'': // string
3638 str = va_arg (args_copy, const char *);
3639 break;
3640 case '\''d'\'': // int
3641 number = va_arg (args_copy, int);
3642 break;
3643 case '\''f'\'': // float
3644 fnumber = va_arg (args_copy, double);
3645 break;
3646 default:
3647 break;
3650 va_end (args_copy);
3651 va_end (args);
3653 return *str && number && fnumber;
3657 # Test code for whether the C compiler supports C99 (body of main).
3658 ac_c_conftest_c99_main='
3659 // Check bool.
3660 _Bool success = false;
3661 success |= (argc != 0);
3663 // Check restrict.
3664 if (test_restrict ("String literal") == 0)
3665 success = true;
3666 char *restrict newvar = "Another string";
3668 // Check varargs.
3669 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3670 test_varargs_macros ();
3672 // Check flexible array members.
3673 struct incomplete_array *ia =
3674 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3675 ia->datasize = 10;
3676 for (int i = 0; i < ia->datasize; ++i)
3677 ia->data[i] = i * 1.234;
3679 // Check named initializers.
3680 struct named_init ni = {
3681 .number = 34,
3682 .name = L"Test wide string",
3683 .average = 543.34343,
3686 ni.number = 58;
3688 int dynamic_array[ni.number];
3689 dynamic_array[0] = argv[0][0];
3690 dynamic_array[ni.number - 1] = 543;
3692 // work around unused variable warnings
3693 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3694 || dynamic_array[ni.number - 1] != 543);
3697 # Test code for whether the C compiler supports C11 (global declarations)
3698 ac_c_conftest_c11_globals='
3699 // Does the compiler advertise C11 conformance?
3700 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3701 # error "Compiler does not advertise C11 conformance"
3702 #endif
3704 // Check _Alignas.
3705 char _Alignas (double) aligned_as_double;
3706 char _Alignas (0) no_special_alignment;
3707 extern char aligned_as_int;
3708 char _Alignas (0) _Alignas (int) aligned_as_int;
3710 // Check _Alignof.
3711 enum
3713 int_alignment = _Alignof (int),
3714 int_array_alignment = _Alignof (int[100]),
3715 char_alignment = _Alignof (char)
3717 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3719 // Check _Noreturn.
3720 int _Noreturn does_not_return (void) { for (;;) continue; }
3722 // Check _Static_assert.
3723 struct test_static_assert
3725 int x;
3726 _Static_assert (sizeof (int) <= sizeof (long int),
3727 "_Static_assert does not work in struct");
3728 long int y;
3731 // Check UTF-8 literals.
3732 #define u8 syntax error!
3733 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3735 // Check duplicate typedefs.
3736 typedef long *long_ptr;
3737 typedef long int *long_ptr;
3738 typedef long_ptr long_ptr;
3740 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3741 struct anonymous
3743 union {
3744 struct { int i; int j; };
3745 struct { int k; long int l; } w;
3747 int m;
3748 } v1;
3751 # Test code for whether the C compiler supports C11 (body of main).
3752 ac_c_conftest_c11_main='
3753 _Static_assert ((offsetof (struct anonymous, i)
3754 == offsetof (struct anonymous, w.k)),
3755 "Anonymous union alignment botch");
3756 v1.i = 2;
3757 v1.w.k = 5;
3758 ok |= v1.i != 5;
3761 # Test code for whether the C compiler supports C11 (complete).
3762 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3763 ${ac_c_conftest_c99_globals}
3764 ${ac_c_conftest_c11_globals}
3767 main (int argc, char **argv)
3769 int ok = 0;
3770 ${ac_c_conftest_c89_main}
3771 ${ac_c_conftest_c99_main}
3772 ${ac_c_conftest_c11_main}
3773 return ok;
3777 # Test code for whether the C compiler supports C99 (complete).
3778 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3779 ${ac_c_conftest_c99_globals}
3782 main (int argc, char **argv)
3784 int ok = 0;
3785 ${ac_c_conftest_c89_main}
3786 ${ac_c_conftest_c99_main}
3787 return ok;
3791 # Test code for whether the C compiler supports C89 (complete).
3792 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3795 main (int argc, char **argv)
3797 int ok = 0;
3798 ${ac_c_conftest_c89_main}
3799 return ok;
3803 # Test code for whether the C++ compiler supports C++98 (global declarations)
3804 ac_cxx_conftest_cxx98_globals='
3805 // Does the compiler advertise C++98 conformance?
3806 #if !defined __cplusplus || __cplusplus < 199711L
3807 # error "Compiler does not advertise C++98 conformance"
3808 #endif
3810 // These inclusions are to reject old compilers that
3811 // lack the unsuffixed header files.
3812 #include <cstdlib>
3813 #include <exception>
3815 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3816 extern void assert (int);
3817 namespace std {
3818 extern int strcmp (const char *, const char *);
3821 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3822 using std::exception;
3823 using std::strcmp;
3825 namespace {
3827 void test_exception_syntax()
3829 try {
3830 throw "test";
3831 } catch (const char *s) {
3832 // Extra parentheses suppress a warning when building autoconf itself,
3833 // due to lint rules shared with more typical C programs.
3834 assert (!(strcmp) (s, "test"));
3838 template <typename T> struct test_template
3840 T const val;
3841 explicit test_template(T t) : val(t) {}
3842 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3845 } // anonymous namespace
3848 # Test code for whether the C++ compiler supports C++98 (body of main)
3849 ac_cxx_conftest_cxx98_main='
3850 assert (argc);
3851 assert (! argv[0]);
3853 test_exception_syntax ();
3854 test_template<double> tt (2.0);
3855 assert (tt.add (4) == 6.0);
3856 assert (true && !false);
3860 # Test code for whether the C++ compiler supports C++11 (global declarations)
3861 ac_cxx_conftest_cxx11_globals='
3862 // Does the compiler advertise C++ 2011 conformance?
3863 #if !defined __cplusplus || __cplusplus < 201103L
3864 # error "Compiler does not advertise C++11 conformance"
3865 #endif
3867 namespace cxx11test
3869 constexpr int get_val() { return 20; }
3871 struct testinit
3873 int i;
3874 double d;
3877 class delegate
3879 public:
3880 delegate(int n) : n(n) {}
3881 delegate(): delegate(2354) {}
3883 virtual int getval() { return this->n; };
3884 protected:
3885 int n;
3888 class overridden : public delegate
3890 public:
3891 overridden(int n): delegate(n) {}
3892 virtual int getval() override final { return this->n * 2; }
3895 class nocopy
3897 public:
3898 nocopy(int i): i(i) {}
3899 nocopy() = default;
3900 nocopy(const nocopy&) = delete;
3901 nocopy & operator=(const nocopy&) = delete;
3902 private:
3903 int i;
3906 // for testing lambda expressions
3907 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3909 return f(v);
3912 // for testing variadic templates and trailing return types
3913 template <typename V> auto sum(V first) -> V
3915 return first;
3917 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3919 return first + sum(rest...);
3924 # Test code for whether the C++ compiler supports C++11 (body of main)
3925 ac_cxx_conftest_cxx11_main='
3927 // Test auto and decltype
3928 auto a1 = 6538;
3929 auto a2 = 48573953.4;
3930 auto a3 = "String literal";
3932 int total = 0;
3933 for (auto i = a3; *i; ++i) { total += *i; }
3935 decltype(a2) a4 = 34895.034;
3938 // Test constexpr
3939 short sa[cxx11test::get_val()] = { 0 };
3942 // Test initializer lists
3943 cxx11test::testinit il = { 4323, 435234.23544 };
3946 // Test range-based for
3947 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3948 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3949 for (auto &x : array) { x += 23; }
3952 // Test lambda expressions
3953 using cxx11test::eval;
3954 assert (eval ([](int x) { return x*2; }, 21) == 42);
3955 double d = 2.0;
3956 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3957 assert (d == 5.0);
3958 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3959 assert (d == 5.0);
3962 // Test use of variadic templates
3963 using cxx11test::sum;
3964 auto a = sum(1);
3965 auto b = sum(1, 2);
3966 auto c = sum(1.0, 2.0, 3.0);
3969 // Test constructor delegation
3970 cxx11test::delegate d1;
3971 cxx11test::delegate d2();
3972 cxx11test::delegate d3(45);
3975 // Test override and final
3976 cxx11test::overridden o1(55464);
3979 // Test nullptr
3980 char *c = nullptr;
3983 // Test template brackets
3984 test_template<::test_template<int>> v(test_template<int>(12));
3987 // Unicode literals
3988 char const *utf8 = u8"UTF-8 string \u2500";
3989 char16_t const *utf16 = u"UTF-8 string \u2500";
3990 char32_t const *utf32 = U"UTF-32 string \u2500";
3994 # Test code for whether the C compiler supports C++11 (complete).
3995 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3996 ${ac_cxx_conftest_cxx11_globals}
3999 main (int argc, char **argv)
4001 int ok = 0;
4002 ${ac_cxx_conftest_cxx98_main}
4003 ${ac_cxx_conftest_cxx11_main}
4004 return ok;
4008 # Test code for whether the C compiler supports C++98 (complete).
4009 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4011 main (int argc, char **argv)
4013 int ok = 0;
4014 ${ac_cxx_conftest_cxx98_main}
4015 return ok;
4019 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4020 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4021 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4022 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4023 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4024 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4025 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4026 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4027 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4029 # Auxiliary files required by this configure script.
4030 ac_aux_files="config.guess config.sub"
4032 # Locations in which to look for auxiliary files.
4033 ac_aux_dir_candidates="${srcdir}/tools"
4035 # Search for a directory containing all of the required auxiliary files,
4036 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4037 # If we don't find one directory that contains all the files we need,
4038 # we report the set of missing files from the *first* directory in
4039 # $ac_aux_dir_candidates and give up.
4040 ac_missing_aux_files=""
4041 ac_first_candidate=:
4042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 as_found=false
4045 for as_dir in $ac_aux_dir_candidates
4047 IFS=$as_save_IFS
4048 case $as_dir in #(((
4049 '') as_dir=./ ;;
4050 */) ;;
4051 *) as_dir=$as_dir/ ;;
4052 esac
4053 as_found=:
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4056 ac_aux_dir_found=yes
4057 ac_install_sh=
4058 for ac_aux in $ac_aux_files
4060 # As a special case, if "install-sh" is required, that requirement
4061 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4062 # and $ac_install_sh is set appropriately for whichever one is found.
4063 if test x"$ac_aux" = x"install-sh"
4064 then
4065 if test -f "${as_dir}install-sh"; then
4066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4067 ac_install_sh="${as_dir}install-sh -c"
4068 elif test -f "${as_dir}install.sh"; then
4069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4070 ac_install_sh="${as_dir}install.sh -c"
4071 elif test -f "${as_dir}shtool"; then
4072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4073 ac_install_sh="${as_dir}shtool install -c"
4074 else
4075 ac_aux_dir_found=no
4076 if $ac_first_candidate; then
4077 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4078 else
4079 break
4082 else
4083 if test -f "${as_dir}${ac_aux}"; then
4084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4085 else
4086 ac_aux_dir_found=no
4087 if $ac_first_candidate; then
4088 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4089 else
4090 break
4094 done
4095 if test "$ac_aux_dir_found" = yes; then
4096 ac_aux_dir="$as_dir"
4097 break
4099 ac_first_candidate=false
4101 as_found=false
4102 done
4103 IFS=$as_save_IFS
4104 if $as_found
4105 then :
4107 else $as_nop
4108 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4112 # These three variables are undocumented and unsupported,
4113 # and are intended to be withdrawn in a future Autoconf release.
4114 # They can cause serious problems if a builder's source tree is in a directory
4115 # whose full name contains unusual characters.
4116 if test -f "${ac_aux_dir}config.guess"; then
4117 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4119 if test -f "${ac_aux_dir}config.sub"; then
4120 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4122 if test -f "$ac_aux_dir/configure"; then
4123 ac_configure="$SHELL ${ac_aux_dir}configure"
4126 # Check that the precious variables saved in the cache have kept the same
4127 # value.
4128 ac_cache_corrupted=false
4129 for ac_var in $ac_precious_vars; do
4130 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4131 eval ac_new_set=\$ac_env_${ac_var}_set
4132 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4133 eval ac_new_val=\$ac_env_${ac_var}_value
4134 case $ac_old_set,$ac_new_set in
4135 set,)
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4137 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4138 ac_cache_corrupted=: ;;
4139 ,set)
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4141 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4142 ac_cache_corrupted=: ;;
4143 ,);;
4145 if test "x$ac_old_val" != "x$ac_new_val"; then
4146 # differences in whitespace do not lead to failure.
4147 ac_old_val_w=`echo x $ac_old_val`
4148 ac_new_val_w=`echo x $ac_new_val`
4149 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4151 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4152 ac_cache_corrupted=:
4153 else
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4155 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4156 eval $ac_var=\$ac_old_val
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4159 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4161 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4162 fi;;
4163 esac
4164 # Pass precious variables to config.status.
4165 if test "$ac_new_set" = set; then
4166 case $ac_new_val in
4167 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4168 *) ac_arg=$ac_var=$ac_new_val ;;
4169 esac
4170 case " $ac_configure_args " in
4171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4172 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4173 esac
4175 done
4176 if $ac_cache_corrupted; then
4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4180 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4181 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4182 and start over" "$LINENO" 5
4184 ## -------------------- ##
4185 ## Main body of script. ##
4186 ## -------------------- ##
4188 ac_ext=c
4189 ac_cpp='$CPP $CPPFLAGS'
4190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196 ac_config_headers="$ac_config_headers include/config.h"
4200 libwine_version="1.0"
4203 # Check whether --enable-archs was given.
4204 if test ${enable_archs+y}
4205 then :
4206 enableval=$enable_archs;
4209 # Check whether --enable-win16 was given.
4210 if test ${enable_win16+y}
4211 then :
4212 enableval=$enable_win16;
4215 # Check whether --enable-win64 was given.
4216 if test ${enable_win64+y}
4217 then :
4218 enableval=$enable_win64;
4221 # Check whether --enable-tests was given.
4222 if test ${enable_tests+y}
4223 then :
4224 enableval=$enable_tests;
4227 # Check whether --enable-build-id was given.
4228 if test ${enable_build_id+y}
4229 then :
4230 enableval=$enable_build_id;
4233 # Check whether --enable-maintainer-mode was given.
4234 if test ${enable_maintainer_mode+y}
4235 then :
4236 enableval=$enable_maintainer_mode;
4239 # Check whether --enable-silent-rules was given.
4240 if test ${enable_silent_rules+y}
4241 then :
4242 enableval=$enable_silent_rules;
4245 # Check whether --enable-werror was given.
4246 if test ${enable_werror+y}
4247 then :
4248 enableval=$enable_werror;
4253 # Check whether --with-alsa was given.
4254 if test ${with_alsa+y}
4255 then :
4256 withval=$with_alsa;
4260 # Check whether --with-capi was given.
4261 if test ${with_capi+y}
4262 then :
4263 withval=$with_capi;
4267 # Check whether --with-coreaudio was given.
4268 if test ${with_coreaudio+y}
4269 then :
4270 withval=$with_coreaudio;
4274 # Check whether --with-cups was given.
4275 if test ${with_cups+y}
4276 then :
4277 withval=$with_cups;
4281 # Check whether --with-dbus was given.
4282 if test ${with_dbus+y}
4283 then :
4284 withval=$with_dbus;
4288 # Check whether --with-fontconfig was given.
4289 if test ${with_fontconfig+y}
4290 then :
4291 withval=$with_fontconfig;
4295 # Check whether --with-freetype was given.
4296 if test ${with_freetype+y}
4297 then :
4298 withval=$with_freetype;
4302 # Check whether --with-gettext was given.
4303 if test ${with_gettext+y}
4304 then :
4305 withval=$with_gettext;
4309 # Check whether --with-gettextpo was given.
4310 if test ${with_gettextpo+y}
4311 then :
4312 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4316 # Check whether --with-gphoto was given.
4317 if test ${with_gphoto+y}
4318 then :
4319 withval=$with_gphoto;
4323 # Check whether --with-gnutls was given.
4324 if test ${with_gnutls+y}
4325 then :
4326 withval=$with_gnutls;
4330 # Check whether --with-gssapi was given.
4331 if test ${with_gssapi+y}
4332 then :
4333 withval=$with_gssapi;
4337 # Check whether --with-gstreamer was given.
4338 if test ${with_gstreamer+y}
4339 then :
4340 withval=$with_gstreamer;
4344 # Check whether --with-inotify was given.
4345 if test ${with_inotify+y}
4346 then :
4347 withval=$with_inotify;
4351 # Check whether --with-krb5 was given.
4352 if test ${with_krb5+y}
4353 then :
4354 withval=$with_krb5;
4358 # Check whether --with-mingw was given.
4359 if test ${with_mingw+y}
4360 then :
4361 withval=$with_mingw;
4365 # Check whether --with-netapi was given.
4366 if test ${with_netapi+y}
4367 then :
4368 withval=$with_netapi;
4372 # Check whether --with-opencl was given.
4373 if test ${with_opencl+y}
4374 then :
4375 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4379 # Check whether --with-opengl was given.
4380 if test ${with_opengl+y}
4381 then :
4382 withval=$with_opengl;
4386 # Check whether --with-osmesa was given.
4387 if test ${with_osmesa+y}
4388 then :
4389 withval=$with_osmesa;
4393 # Check whether --with-oss was given.
4394 if test ${with_oss+y}
4395 then :
4396 withval=$with_oss;
4400 # Check whether --with-pcap was given.
4401 if test ${with_pcap+y}
4402 then :
4403 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4407 # Check whether --with-pcsclite was given.
4408 if test ${with_pcsclite+y}
4409 then :
4410 withval=$with_pcsclite;
4414 # Check whether --with-pthread was given.
4415 if test ${with_pthread+y}
4416 then :
4417 withval=$with_pthread;
4421 # Check whether --with-pulse was given.
4422 if test ${with_pulse+y}
4423 then :
4424 withval=$with_pulse;
4428 # Check whether --with-sane was given.
4429 if test ${with_sane+y}
4430 then :
4431 withval=$with_sane;
4435 # Check whether --with-sdl was given.
4436 if test ${with_sdl+y}
4437 then :
4438 withval=$with_sdl;
4442 # Check whether --with-udev was given.
4443 if test ${with_udev+y}
4444 then :
4445 withval=$with_udev;
4449 # Check whether --with-unwind was given.
4450 if test ${with_unwind+y}
4451 then :
4452 withval=$with_unwind;
4456 # Check whether --with-usb was given.
4457 if test ${with_usb+y}
4458 then :
4459 withval=$with_usb;
4463 # Check whether --with-v4l2 was given.
4464 if test ${with_v4l2+y}
4465 then :
4466 withval=$with_v4l2;
4470 # Check whether --with-vulkan was given.
4471 if test ${with_vulkan+y}
4472 then :
4473 withval=$with_vulkan;
4477 # Check whether --with-wayland was given.
4478 if test ${with_wayland+y}
4479 then :
4480 withval=$with_wayland;
4484 # Check whether --with-xcomposite was given.
4485 if test ${with_xcomposite+y}
4486 then :
4487 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4491 # Check whether --with-xcursor was given.
4492 if test ${with_xcursor+y}
4493 then :
4494 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4498 # Check whether --with-xfixes was given.
4499 if test ${with_xfixes+y}
4500 then :
4501 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4505 # Check whether --with-xinerama was given.
4506 if test ${with_xinerama+y}
4507 then :
4508 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4512 # Check whether --with-xinput was given.
4513 if test ${with_xinput+y}
4514 then :
4515 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4519 # Check whether --with-xinput2 was given.
4520 if test ${with_xinput2+y}
4521 then :
4522 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4526 # Check whether --with-xrandr was given.
4527 if test ${with_xrandr+y}
4528 then :
4529 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4533 # Check whether --with-xrender was given.
4534 if test ${with_xrender+y}
4535 then :
4536 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4540 # Check whether --with-xshape was given.
4541 if test ${with_xshape+y}
4542 then :
4543 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4547 # Check whether --with-xshm was given.
4548 if test ${with_xshm+y}
4549 then :
4550 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4554 # Check whether --with-xxf86vm was given.
4555 if test ${with_xxf86vm+y}
4556 then :
4557 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
4562 # Check whether --with-system-dllpath was given.
4563 if test ${with_system_dllpath+y}
4564 then :
4565 withval=$with_system_dllpath; system_dllpath=$withval
4570 # Check whether --with-wine-tools was given.
4571 if test ${with_wine_tools+y}
4572 then :
4573 withval=$with_wine_tools;
4577 # Check whether --with-wine64 was given.
4578 if test ${with_wine64+y}
4579 then :
4580 withval=$with_wine64;
4587 # Make sure we can run config.sub.
4588 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4589 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4592 printf %s "checking build system type... " >&6; }
4593 if test ${ac_cv_build+y}
4594 then :
4595 printf %s "(cached) " >&6
4596 else $as_nop
4597 ac_build_alias=$build_alias
4598 test "x$ac_build_alias" = x &&
4599 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4600 test "x$ac_build_alias" = x &&
4601 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4602 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4603 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4607 printf "%s\n" "$ac_cv_build" >&6; }
4608 case $ac_cv_build in
4609 *-*-*) ;;
4610 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4611 esac
4612 build=$ac_cv_build
4613 ac_save_IFS=$IFS; IFS='-'
4614 set x $ac_cv_build
4615 shift
4616 build_cpu=$1
4617 build_vendor=$2
4618 shift; shift
4619 # Remember, the first character of IFS is used to create $*,
4620 # except with old shells:
4621 build_os=$*
4622 IFS=$ac_save_IFS
4623 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4627 printf %s "checking host system type... " >&6; }
4628 if test ${ac_cv_host+y}
4629 then :
4630 printf %s "(cached) " >&6
4631 else $as_nop
4632 if test "x$host_alias" = x; then
4633 ac_cv_host=$ac_cv_build
4634 else
4635 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4636 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4641 printf "%s\n" "$ac_cv_host" >&6; }
4642 case $ac_cv_host in
4643 *-*-*) ;;
4644 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4645 esac
4646 host=$ac_cv_host
4647 ac_save_IFS=$IFS; IFS='-'
4648 set x $ac_cv_host
4649 shift
4650 host_cpu=$1
4651 host_vendor=$2
4652 shift; shift
4653 # Remember, the first character of IFS is used to create $*,
4654 # except with old shells:
4655 host_os=$*
4656 IFS=$ac_save_IFS
4657 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4661 dlldir=\${libdir}/wine
4663 fontdir=\${datadir}/wine/fonts
4665 nlsdir=\${datadir}/wine/nls
4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4671 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4672 set x ${MAKE-make}
4673 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4674 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4675 then :
4676 printf %s "(cached) " >&6
4677 else $as_nop
4678 cat >conftest.make <<\_ACEOF
4679 SHELL = /bin/sh
4680 all:
4681 @echo '@@@%%%=$(MAKE)=@@@%%%'
4682 _ACEOF
4683 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4684 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4685 *@@@%%%=?*=@@@%%%*)
4686 eval ac_cv_prog_make_${ac_make}_set=yes;;
4688 eval ac_cv_prog_make_${ac_make}_set=no;;
4689 esac
4690 rm -f conftest.make
4692 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 printf "%s\n" "yes" >&6; }
4695 SET_MAKE=
4696 else
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 printf "%s\n" "no" >&6; }
4699 SET_MAKE="MAKE=${MAKE-make}"
4711 ac_ext=c
4712 ac_cpp='$CPP $CPPFLAGS'
4713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4716 if test -n "$ac_tool_prefix"; then
4717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4718 set dummy ${ac_tool_prefix}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_CC+y}
4722 then :
4723 printf %s "(cached) " >&6
4724 else $as_nop
4725 if test -n "$CC"; then
4726 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}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 CC=$ac_cv_prog_CC
4750 if test -n "$CC"; then
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4752 printf "%s\n" "$CC" >&6; }
4753 else
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 printf "%s\n" "no" >&6; }
4760 if test -z "$ac_cv_prog_CC"; then
4761 ac_ct_CC=$CC
4762 # Extract the first word of "gcc", so it can be a program name with args.
4763 set dummy gcc; ac_word=$2
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 printf %s "checking for $ac_word... " >&6; }
4766 if test ${ac_cv_prog_ac_ct_CC+y}
4767 then :
4768 printf %s "(cached) " >&6
4769 else $as_nop
4770 if test -n "$ac_ct_CC"; then
4771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4772 else
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH
4776 IFS=$as_save_IFS
4777 case $as_dir in #(((
4778 '') as_dir=./ ;;
4779 */) ;;
4780 *) as_dir=$as_dir/ ;;
4781 esac
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_ac_ct_CC="gcc"
4785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4786 break 2
4788 done
4789 done
4790 IFS=$as_save_IFS
4794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4795 if test -n "$ac_ct_CC"; then
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4797 printf "%s\n" "$ac_ct_CC" >&6; }
4798 else
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 printf "%s\n" "no" >&6; }
4803 if test "x$ac_ct_CC" = x; then
4804 CC=""
4805 else
4806 case $cross_compiling:$ac_tool_warned in
4807 yes:)
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4809 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4810 ac_tool_warned=yes ;;
4811 esac
4812 CC=$ac_ct_CC
4814 else
4815 CC="$ac_cv_prog_CC"
4818 if test -z "$CC"; then
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4821 set dummy ${ac_tool_prefix}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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH
4834 IFS=$as_save_IFS
4835 case $as_dir in #(((
4836 '') as_dir=./ ;;
4837 */) ;;
4838 *) as_dir=$as_dir/ ;;
4839 esac
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_CC="${ac_tool_prefix}cc"
4843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4848 IFS=$as_save_IFS
4852 CC=$ac_cv_prog_CC
4853 if test -n "$CC"; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 printf "%s\n" "$CC" >&6; }
4856 else
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4864 if test -z "$CC"; then
4865 # Extract the first word of "cc", so it can be a program name with args.
4866 set dummy cc; ac_word=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s "checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_CC+y}
4870 then :
4871 printf %s "(cached) " >&6
4872 else $as_nop
4873 if test -n "$CC"; then
4874 ac_cv_prog_CC="$CC" # Let the user override the test.
4875 else
4876 ac_prog_rejected=no
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 for as_dir in $PATH
4880 IFS=$as_save_IFS
4881 case $as_dir in #(((
4882 '') as_dir=./ ;;
4883 */) ;;
4884 *) as_dir=$as_dir/ ;;
4885 esac
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4888 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4889 ac_prog_rejected=yes
4890 continue
4892 ac_cv_prog_CC="cc"
4893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4894 break 2
4896 done
4897 done
4898 IFS=$as_save_IFS
4900 if test $ac_prog_rejected = yes; then
4901 # We found a bogon in the path, so make sure we never use it.
4902 set dummy $ac_cv_prog_CC
4903 shift
4904 if test $# != 0; then
4905 # We chose a different compiler from the bogus one.
4906 # However, it has the same basename, so the bogon will be chosen
4907 # first if we set CC to just the basename; use the full file name.
4908 shift
4909 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4914 CC=$ac_cv_prog_CC
4915 if test -n "$CC"; then
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4917 printf "%s\n" "$CC" >&6; }
4918 else
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 printf "%s\n" "no" >&6; }
4925 if test -z "$CC"; then
4926 if test -n "$ac_tool_prefix"; then
4927 for ac_prog in cl.exe
4929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 printf %s "checking for $ac_word... " >&6; }
4933 if test ${ac_cv_prog_CC+y}
4934 then :
4935 printf %s "(cached) " >&6
4936 else $as_nop
4937 if test -n "$CC"; then
4938 ac_cv_prog_CC="$CC" # Let the user override the test.
4939 else
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH
4943 IFS=$as_save_IFS
4944 case $as_dir in #(((
4945 '') as_dir=./ ;;
4946 */) ;;
4947 *) as_dir=$as_dir/ ;;
4948 esac
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 CC=$ac_cv_prog_CC
4962 if test -n "$CC"; then
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4964 printf "%s\n" "$CC" >&6; }
4965 else
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 printf "%s\n" "no" >&6; }
4971 test -n "$CC" && break
4972 done
4974 if test -z "$CC"; then
4975 ac_ct_CC=$CC
4976 for ac_prog in cl.exe
4978 # Extract the first word of "$ac_prog", so it can be a program name with args.
4979 set dummy $ac_prog; ac_word=$2
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 printf %s "checking for $ac_word... " >&6; }
4982 if test ${ac_cv_prog_ac_ct_CC+y}
4983 then :
4984 printf %s "(cached) " >&6
4985 else $as_nop
4986 if test -n "$ac_ct_CC"; then
4987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4988 else
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 for as_dir in $PATH
4992 IFS=$as_save_IFS
4993 case $as_dir in #(((
4994 '') as_dir=./ ;;
4995 */) ;;
4996 *) as_dir=$as_dir/ ;;
4997 esac
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_ac_ct_CC="$ac_prog"
5001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5011 if test -n "$ac_ct_CC"; then
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5013 printf "%s\n" "$ac_ct_CC" >&6; }
5014 else
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 printf "%s\n" "no" >&6; }
5020 test -n "$ac_ct_CC" && break
5021 done
5023 if test "x$ac_ct_CC" = x; then
5024 CC=""
5025 else
5026 case $cross_compiling:$ac_tool_warned in
5027 yes:)
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned=yes ;;
5031 esac
5032 CC=$ac_ct_CC
5037 if test -z "$CC"; then
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5040 set dummy ${ac_tool_prefix}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_CC+y}
5044 then :
5045 printf %s "(cached) " >&6
5046 else $as_nop
5047 if test -n "$CC"; then
5048 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}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 CC=$ac_cv_prog_CC
5072 if test -n "$CC"; then
5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5074 printf "%s\n" "$CC" >&6; }
5075 else
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 printf "%s\n" "no" >&6; }
5082 if test -z "$ac_cv_prog_CC"; then
5083 ac_ct_CC=$CC
5084 # Extract the first word of "clang", so it can be a program name with args.
5085 set dummy clang; ac_word=$2
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 printf %s "checking for $ac_word... " >&6; }
5088 if test ${ac_cv_prog_ac_ct_CC+y}
5089 then :
5090 printf %s "(cached) " >&6
5091 else $as_nop
5092 if test -n "$ac_ct_CC"; then
5093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5094 else
5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 for as_dir in $PATH
5098 IFS=$as_save_IFS
5099 case $as_dir in #(((
5100 '') as_dir=./ ;;
5101 */) ;;
5102 *) as_dir=$as_dir/ ;;
5103 esac
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5106 ac_cv_prog_ac_ct_CC="clang"
5107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5108 break 2
5110 done
5111 done
5112 IFS=$as_save_IFS
5116 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5117 if test -n "$ac_ct_CC"; then
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5119 printf "%s\n" "$ac_ct_CC" >&6; }
5120 else
5121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 printf "%s\n" "no" >&6; }
5125 if test "x$ac_ct_CC" = x; then
5126 CC=""
5127 else
5128 case $cross_compiling:$ac_tool_warned in
5129 yes:)
5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5131 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5132 ac_tool_warned=yes ;;
5133 esac
5134 CC=$ac_ct_CC
5136 else
5137 CC="$ac_cv_prog_CC"
5143 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5144 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5145 as_fn_error $? "no acceptable C compiler found in \$PATH
5146 See \`config.log' for more details" "$LINENO" 5; }
5148 # Provide some information about the compiler.
5149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5150 set X $ac_compile
5151 ac_compiler=$2
5152 for ac_option in --version -v -V -qversion -version; do
5153 { { ac_try="$ac_compiler $ac_option >&5"
5154 case "(($ac_try" in
5155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5156 *) ac_try_echo=$ac_try;;
5157 esac
5158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5159 printf "%s\n" "$ac_try_echo"; } >&5
5160 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5161 ac_status=$?
5162 if test -s conftest.err; then
5163 sed '10a\
5164 ... rest of stderr output deleted ...
5165 10q' conftest.err >conftest.er1
5166 cat conftest.er1 >&5
5168 rm -f conftest.er1 conftest.err
5169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5170 test $ac_status = 0; }
5171 done
5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5177 main (void)
5181 return 0;
5183 _ACEOF
5184 ac_clean_files_save=$ac_clean_files
5185 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5186 # Try to create an executable without -o first, disregard a.out.
5187 # It will help us diagnose broken compilers, and finding out an intuition
5188 # of exeext.
5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5190 printf %s "checking whether the C compiler works... " >&6; }
5191 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5193 # The possible output files:
5194 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5196 ac_rmfiles=
5197 for ac_file in $ac_files
5199 case $ac_file in
5200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5201 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5202 esac
5203 done
5204 rm -f $ac_rmfiles
5206 if { { ac_try="$ac_link_default"
5207 case "(($ac_try" in
5208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5209 *) ac_try_echo=$ac_try;;
5210 esac
5211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5212 printf "%s\n" "$ac_try_echo"; } >&5
5213 (eval "$ac_link_default") 2>&5
5214 ac_status=$?
5215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5216 test $ac_status = 0; }
5217 then :
5218 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5219 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5220 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5221 # so that the user can short-circuit this test for compilers unknown to
5222 # Autoconf.
5223 for ac_file in $ac_files ''
5225 test -f "$ac_file" || continue
5226 case $ac_file in
5227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5229 [ab].out )
5230 # We found the default executable, but exeext='' is most
5231 # certainly right.
5232 break;;
5233 *.* )
5234 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5235 then :; else
5236 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5238 # We set ac_cv_exeext here because the later test for it is not
5239 # safe: cross compilers may not add the suffix if given an `-o'
5240 # argument, so we may need to know it at that point already.
5241 # Even if this section looks crufty: it has the advantage of
5242 # actually working.
5243 break;;
5245 break;;
5246 esac
5247 done
5248 test "$ac_cv_exeext" = no && ac_cv_exeext=
5250 else $as_nop
5251 ac_file=''
5253 if test -z "$ac_file"
5254 then :
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 printf "%s\n" "no" >&6; }
5257 printf "%s\n" "$as_me: failed program was:" >&5
5258 sed 's/^/| /' conftest.$ac_ext >&5
5260 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5261 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5262 as_fn_error 77 "C compiler cannot create executables
5263 See \`config.log' for more details" "$LINENO" 5; }
5264 else $as_nop
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 printf "%s\n" "yes" >&6; }
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5269 printf %s "checking for C compiler default output file name... " >&6; }
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5271 printf "%s\n" "$ac_file" >&6; }
5272 ac_exeext=$ac_cv_exeext
5274 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5275 ac_clean_files=$ac_clean_files_save
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5277 printf %s "checking for suffix of executables... " >&6; }
5278 if { { ac_try="$ac_link"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 printf "%s\n" "$ac_try_echo"; } >&5
5285 (eval "$ac_link") 2>&5
5286 ac_status=$?
5287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288 test $ac_status = 0; }
5289 then :
5290 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5291 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5292 # work properly (i.e., refer to `conftest.exe'), while it won't with
5293 # `rm'.
5294 for ac_file in conftest.exe conftest conftest.*; do
5295 test -f "$ac_file" || continue
5296 case $ac_file in
5297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5298 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5299 break;;
5300 * ) break;;
5301 esac
5302 done
5303 else $as_nop
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5307 See \`config.log' for more details" "$LINENO" 5; }
5309 rm -f conftest conftest$ac_cv_exeext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5311 printf "%s\n" "$ac_cv_exeext" >&6; }
5313 rm -f conftest.$ac_ext
5314 EXEEXT=$ac_cv_exeext
5315 ac_exeext=$EXEEXT
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5318 #include <stdio.h>
5320 main (void)
5322 FILE *f = fopen ("conftest.out", "w");
5323 return ferror (f) || fclose (f) != 0;
5326 return 0;
5328 _ACEOF
5329 ac_clean_files="$ac_clean_files conftest.out"
5330 # Check that the compiler produces executables we can run. If not, either
5331 # the compiler is broken, or we cross compile.
5332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5333 printf %s "checking whether we are cross compiling... " >&6; }
5334 if test "$cross_compiling" != yes; then
5335 { { ac_try="$ac_link"
5336 case "(($ac_try" in
5337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5338 *) ac_try_echo=$ac_try;;
5339 esac
5340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5341 printf "%s\n" "$ac_try_echo"; } >&5
5342 (eval "$ac_link") 2>&5
5343 ac_status=$?
5344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5345 test $ac_status = 0; }
5346 if { ac_try='./conftest$ac_cv_exeext'
5347 { { case "(($ac_try" in
5348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5349 *) ac_try_echo=$ac_try;;
5350 esac
5351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5352 printf "%s\n" "$ac_try_echo"; } >&5
5353 (eval "$ac_try") 2>&5
5354 ac_status=$?
5355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356 test $ac_status = 0; }; }; then
5357 cross_compiling=no
5358 else
5359 if test "$cross_compiling" = maybe; then
5360 cross_compiling=yes
5361 else
5362 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error 77 "cannot run C compiled programs.
5365 If you meant to cross compile, use \`--host'.
5366 See \`config.log' for more details" "$LINENO" 5; }
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5371 printf "%s\n" "$cross_compiling" >&6; }
5373 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5374 ac_clean_files=$ac_clean_files_save
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5376 printf %s "checking for suffix of object files... " >&6; }
5377 if test ${ac_cv_objext+y}
5378 then :
5379 printf %s "(cached) " >&6
5380 else $as_nop
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main (void)
5389 return 0;
5391 _ACEOF
5392 rm -f conftest.o conftest.obj
5393 if { { ac_try="$ac_compile"
5394 case "(($ac_try" in
5395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5396 *) ac_try_echo=$ac_try;;
5397 esac
5398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5399 printf "%s\n" "$ac_try_echo"; } >&5
5400 (eval "$ac_compile") 2>&5
5401 ac_status=$?
5402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5403 test $ac_status = 0; }
5404 then :
5405 for ac_file in conftest.o conftest.obj conftest.*; do
5406 test -f "$ac_file" || continue;
5407 case $ac_file in
5408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5409 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5410 break;;
5411 esac
5412 done
5413 else $as_nop
5414 printf "%s\n" "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5417 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5418 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5419 as_fn_error $? "cannot compute suffix of object files: cannot compile
5420 See \`config.log' for more details" "$LINENO" 5; }
5422 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5425 printf "%s\n" "$ac_cv_objext" >&6; }
5426 OBJEXT=$ac_cv_objext
5427 ac_objext=$OBJEXT
5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5429 printf %s "checking whether the compiler supports GNU C... " >&6; }
5430 if test ${ac_cv_c_compiler_gnu+y}
5431 then :
5432 printf %s "(cached) " >&6
5433 else $as_nop
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5438 main (void)
5440 #ifndef __GNUC__
5441 choke me
5442 #endif
5445 return 0;
5447 _ACEOF
5448 if ac_fn_c_try_compile "$LINENO"
5449 then :
5450 ac_compiler_gnu=yes
5451 else $as_nop
5452 ac_compiler_gnu=no
5454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5455 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5459 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5462 if test $ac_compiler_gnu = yes; then
5463 GCC=yes
5464 else
5465 GCC=
5467 ac_test_CFLAGS=${CFLAGS+y}
5468 ac_save_CFLAGS=$CFLAGS
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5470 printf %s "checking whether $CC accepts -g... " >&6; }
5471 if test ${ac_cv_prog_cc_g+y}
5472 then :
5473 printf %s "(cached) " >&6
5474 else $as_nop
5475 ac_save_c_werror_flag=$ac_c_werror_flag
5476 ac_c_werror_flag=yes
5477 ac_cv_prog_cc_g=no
5478 CFLAGS="-g"
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5483 main (void)
5487 return 0;
5489 _ACEOF
5490 if ac_fn_c_try_compile "$LINENO"
5491 then :
5492 ac_cv_prog_cc_g=yes
5493 else $as_nop
5494 CFLAGS=""
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5499 main (void)
5503 return 0;
5505 _ACEOF
5506 if ac_fn_c_try_compile "$LINENO"
5507 then :
5509 else $as_nop
5510 ac_c_werror_flag=$ac_save_c_werror_flag
5511 CFLAGS="-g"
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5516 main (void)
5520 return 0;
5522 _ACEOF
5523 if ac_fn_c_try_compile "$LINENO"
5524 then :
5525 ac_cv_prog_cc_g=yes
5527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5532 ac_c_werror_flag=$ac_save_c_werror_flag
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5535 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5536 if test $ac_test_CFLAGS; then
5537 CFLAGS=$ac_save_CFLAGS
5538 elif test $ac_cv_prog_cc_g = yes; then
5539 if test "$GCC" = yes; then
5540 CFLAGS="-g -O2"
5541 else
5542 CFLAGS="-g"
5544 else
5545 if test "$GCC" = yes; then
5546 CFLAGS="-O2"
5547 else
5548 CFLAGS=
5551 ac_prog_cc_stdc=no
5552 if test x$ac_prog_cc_stdc = xno
5553 then :
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5555 printf %s "checking for $CC option to enable C11 features... " >&6; }
5556 if test ${ac_cv_prog_cc_c11+y}
5557 then :
5558 printf %s "(cached) " >&6
5559 else $as_nop
5560 ac_cv_prog_cc_c11=no
5561 ac_save_CC=$CC
5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563 /* end confdefs.h. */
5564 $ac_c_conftest_c11_program
5565 _ACEOF
5566 for ac_arg in '' -std=gnu11
5568 CC="$ac_save_CC $ac_arg"
5569 if ac_fn_c_try_compile "$LINENO"
5570 then :
5571 ac_cv_prog_cc_c11=$ac_arg
5573 rm -f core conftest.err conftest.$ac_objext conftest.beam
5574 test "x$ac_cv_prog_cc_c11" != "xno" && break
5575 done
5576 rm -f conftest.$ac_ext
5577 CC=$ac_save_CC
5580 if test "x$ac_cv_prog_cc_c11" = xno
5581 then :
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5583 printf "%s\n" "unsupported" >&6; }
5584 else $as_nop
5585 if test "x$ac_cv_prog_cc_c11" = x
5586 then :
5587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5588 printf "%s\n" "none needed" >&6; }
5589 else $as_nop
5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5591 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5592 CC="$CC $ac_cv_prog_cc_c11"
5594 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5595 ac_prog_cc_stdc=c11
5598 if test x$ac_prog_cc_stdc = xno
5599 then :
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5601 printf %s "checking for $CC option to enable C99 features... " >&6; }
5602 if test ${ac_cv_prog_cc_c99+y}
5603 then :
5604 printf %s "(cached) " >&6
5605 else $as_nop
5606 ac_cv_prog_cc_c99=no
5607 ac_save_CC=$CC
5608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5610 $ac_c_conftest_c99_program
5611 _ACEOF
5612 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5614 CC="$ac_save_CC $ac_arg"
5615 if ac_fn_c_try_compile "$LINENO"
5616 then :
5617 ac_cv_prog_cc_c99=$ac_arg
5619 rm -f core conftest.err conftest.$ac_objext conftest.beam
5620 test "x$ac_cv_prog_cc_c99" != "xno" && break
5621 done
5622 rm -f conftest.$ac_ext
5623 CC=$ac_save_CC
5626 if test "x$ac_cv_prog_cc_c99" = xno
5627 then :
5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5629 printf "%s\n" "unsupported" >&6; }
5630 else $as_nop
5631 if test "x$ac_cv_prog_cc_c99" = x
5632 then :
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5634 printf "%s\n" "none needed" >&6; }
5635 else $as_nop
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5637 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5638 CC="$CC $ac_cv_prog_cc_c99"
5640 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5641 ac_prog_cc_stdc=c99
5644 if test x$ac_prog_cc_stdc = xno
5645 then :
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5647 printf %s "checking for $CC option to enable C89 features... " >&6; }
5648 if test ${ac_cv_prog_cc_c89+y}
5649 then :
5650 printf %s "(cached) " >&6
5651 else $as_nop
5652 ac_cv_prog_cc_c89=no
5653 ac_save_CC=$CC
5654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5656 $ac_c_conftest_c89_program
5657 _ACEOF
5658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5660 CC="$ac_save_CC $ac_arg"
5661 if ac_fn_c_try_compile "$LINENO"
5662 then :
5663 ac_cv_prog_cc_c89=$ac_arg
5665 rm -f core conftest.err conftest.$ac_objext conftest.beam
5666 test "x$ac_cv_prog_cc_c89" != "xno" && break
5667 done
5668 rm -f conftest.$ac_ext
5669 CC=$ac_save_CC
5672 if test "x$ac_cv_prog_cc_c89" = xno
5673 then :
5674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5675 printf "%s\n" "unsupported" >&6; }
5676 else $as_nop
5677 if test "x$ac_cv_prog_cc_c89" = x
5678 then :
5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5680 printf "%s\n" "none needed" >&6; }
5681 else $as_nop
5682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5683 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5684 CC="$CC $ac_cv_prog_cc_c89"
5686 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5687 ac_prog_cc_stdc=c89
5691 ac_ext=c
5692 ac_cpp='$CPP $CPPFLAGS'
5693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5703 ac_ext=cpp
5704 ac_cpp='$CXXCPP $CPPFLAGS'
5705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5708 if test -z "$CXX"; then
5709 if test -n "$CCC"; then
5710 CXX=$CCC
5711 else
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 printf %s "checking for $ac_word... " >&6; }
5719 if test ${ac_cv_prog_CXX+y}
5720 then :
5721 printf %s "(cached) " >&6
5722 else $as_nop
5723 if test -n "$CXX"; then
5724 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 case $as_dir in #(((
5731 '') as_dir=./ ;;
5732 */) ;;
5733 *) as_dir=$as_dir/ ;;
5734 esac
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 CXX=$ac_cv_prog_CXX
5748 if test -n "$CXX"; then
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5750 printf "%s\n" "$CXX" >&6; }
5751 else
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 printf "%s\n" "no" >&6; }
5757 test -n "$CXX" && break
5758 done
5760 if test -z "$CXX"; then
5761 ac_ct_CXX=$CXX
5762 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set dummy $ac_prog; ac_word=$2
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 printf %s "checking for $ac_word... " >&6; }
5768 if test ${ac_cv_prog_ac_ct_CXX+y}
5769 then :
5770 printf %s "(cached) " >&6
5771 else $as_nop
5772 if test -n "$ac_ct_CXX"; then
5773 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5774 else
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH
5778 IFS=$as_save_IFS
5779 case $as_dir in #(((
5780 '') as_dir=./ ;;
5781 */) ;;
5782 *) as_dir=$as_dir/ ;;
5783 esac
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_ac_ct_CXX="$ac_prog"
5787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5797 if test -n "$ac_ct_CXX"; then
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5799 printf "%s\n" "$ac_ct_CXX" >&6; }
5800 else
5801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 printf "%s\n" "no" >&6; }
5806 test -n "$ac_ct_CXX" && break
5807 done
5809 if test "x$ac_ct_CXX" = x; then
5810 CXX="g++"
5811 else
5812 case $cross_compiling:$ac_tool_warned in
5813 yes:)
5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5815 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5816 ac_tool_warned=yes ;;
5817 esac
5818 CXX=$ac_ct_CXX
5824 # Provide some information about the compiler.
5825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5826 set X $ac_compile
5827 ac_compiler=$2
5828 for ac_option in --version -v -V -qversion; do
5829 { { ac_try="$ac_compiler $ac_option >&5"
5830 case "(($ac_try" in
5831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5832 *) ac_try_echo=$ac_try;;
5833 esac
5834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5835 printf "%s\n" "$ac_try_echo"; } >&5
5836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5837 ac_status=$?
5838 if test -s conftest.err; then
5839 sed '10a\
5840 ... rest of stderr output deleted ...
5841 10q' conftest.err >conftest.er1
5842 cat conftest.er1 >&5
5844 rm -f conftest.er1 conftest.err
5845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5846 test $ac_status = 0; }
5847 done
5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5850 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5851 if test ${ac_cv_cxx_compiler_gnu+y}
5852 then :
5853 printf %s "(cached) " >&6
5854 else $as_nop
5855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5859 main (void)
5861 #ifndef __GNUC__
5862 choke me
5863 #endif
5866 return 0;
5868 _ACEOF
5869 if ac_fn_cxx_try_compile "$LINENO"
5870 then :
5871 ac_compiler_gnu=yes
5872 else $as_nop
5873 ac_compiler_gnu=no
5875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5876 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5880 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5883 if test $ac_compiler_gnu = yes; then
5884 GXX=yes
5885 else
5886 GXX=
5888 ac_test_CXXFLAGS=${CXXFLAGS+y}
5889 ac_save_CXXFLAGS=$CXXFLAGS
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5891 printf %s "checking whether $CXX accepts -g... " >&6; }
5892 if test ${ac_cv_prog_cxx_g+y}
5893 then :
5894 printf %s "(cached) " >&6
5895 else $as_nop
5896 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5897 ac_cxx_werror_flag=yes
5898 ac_cv_prog_cxx_g=no
5899 CXXFLAGS="-g"
5900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5901 /* end confdefs.h. */
5904 main (void)
5908 return 0;
5910 _ACEOF
5911 if ac_fn_cxx_try_compile "$LINENO"
5912 then :
5913 ac_cv_prog_cxx_g=yes
5914 else $as_nop
5915 CXXFLAGS=""
5916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5920 main (void)
5924 return 0;
5926 _ACEOF
5927 if ac_fn_cxx_try_compile "$LINENO"
5928 then :
5930 else $as_nop
5931 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5932 CXXFLAGS="-g"
5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5937 main (void)
5941 return 0;
5943 _ACEOF
5944 if ac_fn_cxx_try_compile "$LINENO"
5945 then :
5946 ac_cv_prog_cxx_g=yes
5948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5953 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5956 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5957 if test $ac_test_CXXFLAGS; then
5958 CXXFLAGS=$ac_save_CXXFLAGS
5959 elif test $ac_cv_prog_cxx_g = yes; then
5960 if test "$GXX" = yes; then
5961 CXXFLAGS="-g -O2"
5962 else
5963 CXXFLAGS="-g"
5965 else
5966 if test "$GXX" = yes; then
5967 CXXFLAGS="-O2"
5968 else
5969 CXXFLAGS=
5972 ac_prog_cxx_stdcxx=no
5973 if test x$ac_prog_cxx_stdcxx = xno
5974 then :
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5976 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5977 if test ${ac_cv_prog_cxx_cxx11+y}
5978 then :
5979 printf %s "(cached) " >&6
5980 else $as_nop
5981 ac_cv_prog_cxx_cxx11=no
5982 ac_save_CXX=$CXX
5983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5985 $ac_cxx_conftest_cxx11_program
5986 _ACEOF
5987 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5989 CXX="$ac_save_CXX $ac_arg"
5990 if ac_fn_cxx_try_compile "$LINENO"
5991 then :
5992 ac_cv_prog_cxx_cxx11=$ac_arg
5994 rm -f core conftest.err conftest.$ac_objext conftest.beam
5995 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5996 done
5997 rm -f conftest.$ac_ext
5998 CXX=$ac_save_CXX
6001 if test "x$ac_cv_prog_cxx_cxx11" = xno
6002 then :
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6004 printf "%s\n" "unsupported" >&6; }
6005 else $as_nop
6006 if test "x$ac_cv_prog_cxx_cxx11" = x
6007 then :
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6009 printf "%s\n" "none needed" >&6; }
6010 else $as_nop
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6012 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6013 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6015 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6016 ac_prog_cxx_stdcxx=cxx11
6019 if test x$ac_prog_cxx_stdcxx = xno
6020 then :
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6022 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6023 if test ${ac_cv_prog_cxx_cxx98+y}
6024 then :
6025 printf %s "(cached) " >&6
6026 else $as_nop
6027 ac_cv_prog_cxx_cxx98=no
6028 ac_save_CXX=$CXX
6029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6031 $ac_cxx_conftest_cxx98_program
6032 _ACEOF
6033 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6035 CXX="$ac_save_CXX $ac_arg"
6036 if ac_fn_cxx_try_compile "$LINENO"
6037 then :
6038 ac_cv_prog_cxx_cxx98=$ac_arg
6040 rm -f core conftest.err conftest.$ac_objext conftest.beam
6041 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6042 done
6043 rm -f conftest.$ac_ext
6044 CXX=$ac_save_CXX
6047 if test "x$ac_cv_prog_cxx_cxx98" = xno
6048 then :
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6050 printf "%s\n" "unsupported" >&6; }
6051 else $as_nop
6052 if test "x$ac_cv_prog_cxx_cxx98" = x
6053 then :
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6055 printf "%s\n" "none needed" >&6; }
6056 else $as_nop
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6058 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6059 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6061 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6062 ac_prog_cxx_stdcxx=cxx98
6066 ac_ext=c
6067 ac_cpp='$CPP $CPPFLAGS'
6068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6072 if test -n "$ac_tool_prefix"; then
6073 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6074 set dummy ${ac_tool_prefix}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_CPPBIN+y}
6078 then :
6079 printf %s "(cached) " >&6
6080 else $as_nop
6081 if test -n "$CPPBIN"; then
6082 ac_cv_prog_CPPBIN="$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_CPPBIN="${ac_tool_prefix}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 CPPBIN=$ac_cv_prog_CPPBIN
6106 if test -n "$CPPBIN"; then
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6108 printf "%s\n" "$CPPBIN" >&6; }
6109 else
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 printf "%s\n" "no" >&6; }
6116 if test -z "$ac_cv_prog_CPPBIN"; then
6117 ac_ct_CPPBIN=$CPPBIN
6118 # Extract the first word of "cpp", so it can be a program name with args.
6119 set dummy cpp; ac_word=$2
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 printf %s "checking for $ac_word... " >&6; }
6122 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6123 then :
6124 printf %s "(cached) " >&6
6125 else $as_nop
6126 if test -n "$ac_ct_CPPBIN"; then
6127 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6132 IFS=$as_save_IFS
6133 case $as_dir in #(((
6134 '') as_dir=./ ;;
6135 */) ;;
6136 *) as_dir=$as_dir/ ;;
6137 esac
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_ac_ct_CPPBIN="cpp"
6141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6151 if test -n "$ac_ct_CPPBIN"; then
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6153 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6154 else
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 printf "%s\n" "no" >&6; }
6159 if test "x$ac_ct_CPPBIN" = x; then
6160 CPPBIN="cpp"
6161 else
6162 case $cross_compiling:$ac_tool_warned in
6163 yes:)
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6165 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6166 ac_tool_warned=yes ;;
6167 esac
6168 CPPBIN=$ac_ct_CPPBIN
6170 else
6171 CPPBIN="$ac_cv_prog_CPPBIN"
6175 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6177 if test -n "$ac_tool_prefix"; then
6178 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6179 set dummy ${ac_tool_prefix}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_LD+y}
6183 then :
6184 printf %s "(cached) " >&6
6185 else $as_nop
6186 if test -n "$LD"; then
6187 ac_cv_prog_LD="$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_LD="${ac_tool_prefix}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 LD=$ac_cv_prog_LD
6211 if test -n "$LD"; then
6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6213 printf "%s\n" "$LD" >&6; }
6214 else
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 printf "%s\n" "no" >&6; }
6221 if test -z "$ac_cv_prog_LD"; then
6222 ac_ct_LD=$LD
6223 # Extract the first word of "ld", so it can be a program name with args.
6224 set dummy ld; ac_word=$2
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 printf %s "checking for $ac_word... " >&6; }
6227 if test ${ac_cv_prog_ac_ct_LD+y}
6228 then :
6229 printf %s "(cached) " >&6
6230 else $as_nop
6231 if test -n "$ac_ct_LD"; then
6232 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6233 else
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 for as_dir in $PATH
6237 IFS=$as_save_IFS
6238 case $as_dir in #(((
6239 '') as_dir=./ ;;
6240 */) ;;
6241 *) as_dir=$as_dir/ ;;
6242 esac
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_ac_ct_LD="ld"
6246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6247 break 2
6249 done
6250 done
6251 IFS=$as_save_IFS
6255 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6256 if test -n "$ac_ct_LD"; then
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6258 printf "%s\n" "$ac_ct_LD" >&6; }
6259 else
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 printf "%s\n" "no" >&6; }
6264 if test "x$ac_ct_LD" = x; then
6265 LD=""
6266 else
6267 case $cross_compiling:$ac_tool_warned in
6268 yes:)
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned=yes ;;
6272 esac
6273 LD=$ac_ct_LD
6275 else
6276 LD="$ac_cv_prog_LD"
6280 case $host in
6281 *-darwin*)
6282 with_fontconfig=${with_fontconfig:-no}
6284 *-mingw32*|*-cygwin*)
6285 enable_win16=${enable_win16:-no}
6286 with_mingw=${with_mingw:-no}
6288 esac
6291 case $host in
6292 x86_64*|amd64*)
6293 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6294 then
6295 CC="$CC -m32"
6296 CXX="$CXX -m32"
6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6299 printf %s "checking whether $CC works... " >&6; }
6300 if test ${wine_cv_cc_m32+y}
6301 then :
6302 printf %s "(cached) " >&6
6303 else $as_nop
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6308 main (void)
6312 return 0;
6314 _ACEOF
6315 if ac_fn_c_try_link "$LINENO"
6316 then :
6317 wine_cv_cc_m32=yes
6318 else $as_nop
6319 wine_cv_cc_m32=no
6321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6322 conftest$ac_exeext conftest.$ac_ext
6324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6325 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6326 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
6327 host_cpu="i386"
6328 notice_platform="32-bit "
6329 TARGETFLAGS="$TARGETFLAGS -m32"
6330 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6331 export PKG_CONFIG_LIBDIR
6332 else
6333 CC="$CC -m64"
6334 CXX="$CXX -m64"
6335 host_cpu="x86_64"
6336 notice_platform="64-bit "
6337 TARGETFLAGS="$TARGETFLAGS -m64"
6340 arm*)
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6342 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6343 if test ${wine_cv_thumb2+y}
6344 then :
6345 printf %s "(cached) " >&6
6346 else $as_nop
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6351 main (void)
6353 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6355 return 0;
6357 _ACEOF
6358 if ac_fn_c_try_link "$LINENO"
6359 then :
6360 wine_cv_thumb2=yes
6361 else $as_nop
6362 wine_cv_thumb2=no
6364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6365 conftest$ac_exeext conftest.$ac_ext
6367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6368 printf "%s\n" "$wine_cv_thumb2" >&6; }
6369 if test x"$wine_cv_thumb2" = xyes
6370 then
6371 CFLAGS="$CFLAGS -mthumb"
6372 else
6373 CFLAGS="$CFLAGS -marm"
6375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6376 printf %s "checking whether $CC supports floating point instructions... " >&6; }
6377 if test ${wine_cv_float_abi+y}
6378 then :
6379 printf %s "(cached) " >&6
6380 else $as_nop
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6385 main (void)
6387 asm("vmrs r2,fpscr");
6389 return 0;
6391 _ACEOF
6392 if ac_fn_c_try_link "$LINENO"
6393 then :
6394 wine_cv_float_abi=yes
6395 else $as_nop
6396 wine_cv_float_abi=no
6398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6399 conftest$ac_exeext conftest.$ac_ext
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6402 printf "%s\n" "$wine_cv_float_abi" >&6; }
6403 test $wine_cv_float_abi != no || as_fn_error $? "The ARM target needs to support floating point instructions." "$LINENO" 5
6405 esac
6407 if test "x$enable_win64" = "xyes"
6408 then
6409 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6410 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6413 case $build_os in
6414 cygwin*|mingw32*) toolsext=".exe"
6416 *) toolsext=""
6418 esac
6420 HOST_ARCH=unknown
6421 case "$host_cpu" in
6422 aarch64*) HOST_ARCH=aarch64 ;;
6423 arm*) HOST_ARCH=arm ;;
6424 i[3456789]86*) HOST_ARCH=i386 ;;
6425 x86_64) HOST_ARCH=x86_64 ;;
6426 esac
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6430 printf %s "checking for the directory containing the Wine tools... " >&6; }
6431 if test ${wine_cv_toolsdir+y}
6432 then :
6433 printf %s "(cached) " >&6
6434 else $as_nop
6435 wine_cv_toolsdir="$with_wine_tools"
6436 if test -z "$with_wine_tools"; then
6437 if test "$cross_compiling" = "yes"; then
6438 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6439 elif test -n "$with_wine64"; then
6440 wine_cv_toolsdir="$with_wine64"
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6445 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6446 if test -z "$wine_cv_toolsdir"; then
6447 wine_makedep=tools/makedep$toolsext
6448 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6449 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6450 enable_tools=${enable_tools:-no}
6451 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6452 else
6453 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6455 toolsdir=$wine_cv_toolsdir
6457 MAKEDEP=$wine_makedep
6459 RUNTESTFLAGS="-q -P wine"
6461 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'"
6464 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6465 then
6466 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6469 for ac_prog in flex
6471 # Extract the first word of "$ac_prog", so it can be a program name with args.
6472 set dummy $ac_prog; ac_word=$2
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 printf %s "checking for $ac_word... " >&6; }
6475 if test ${ac_cv_prog_FLEX+y}
6476 then :
6477 printf %s "(cached) " >&6
6478 else $as_nop
6479 if test -n "$FLEX"; then
6480 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 case $as_dir in #(((
6487 '') as_dir=./ ;;
6488 */) ;;
6489 *) as_dir=$as_dir/ ;;
6490 esac
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_FLEX="$ac_prog"
6494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6503 FLEX=$ac_cv_prog_FLEX
6504 if test -n "$FLEX"; then
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6506 printf "%s\n" "$FLEX" >&6; }
6507 else
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 printf "%s\n" "no" >&6; }
6513 test -n "$FLEX" && break
6514 done
6515 test -n "$FLEX" || FLEX="none"
6517 if test "$FLEX" = "none"
6518 then
6519 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6522 printf %s "checking whether flex is recent enough... " >&6; }
6523 if test ${wine_cv_recent_flex+y}
6524 then :
6525 printf %s "(cached) " >&6
6526 else $as_nop
6527 cat >conftest.l <<EOF
6528 %top{
6529 #include "prediluvian.h"
6533 if $FLEX -t conftest.l >/dev/null 2>&5
6534 then
6535 wine_cv_recent_flex=yes
6536 else
6537 wine_cv_recent_flex=no
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6541 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6542 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
6544 for ac_prog in bison
6546 # Extract the first word of "$ac_prog", so it can be a program name with args.
6547 set dummy $ac_prog; ac_word=$2
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 printf %s "checking for $ac_word... " >&6; }
6550 if test ${ac_cv_prog_BISON+y}
6551 then :
6552 printf %s "(cached) " >&6
6553 else $as_nop
6554 if test -n "$BISON"; then
6555 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 case $as_dir in #(((
6562 '') as_dir=./ ;;
6563 */) ;;
6564 *) as_dir=$as_dir/ ;;
6565 esac
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6568 ac_cv_prog_BISON="$ac_prog"
6569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6570 break 2
6572 done
6573 done
6574 IFS=$as_save_IFS
6578 BISON=$ac_cv_prog_BISON
6579 if test -n "$BISON"; then
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6581 printf "%s\n" "$BISON" >&6; }
6582 else
6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 printf "%s\n" "no" >&6; }
6588 test -n "$BISON" && break
6589 done
6590 test -n "$BISON" || BISON="none"
6592 if test "$BISON" = "none"
6593 then
6594 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6597 printf %s "checking whether bison is recent enough... " >&6; }
6598 if test ${wine_cv_recent_bison+y}
6599 then :
6600 printf %s "(cached) " >&6
6601 else $as_nop
6602 cat >conftest.y <<EOF
6603 %define parse.error verbose
6605 empty: ;
6607 if $BISON conftest.y >/dev/null 2>&5
6608 then
6609 wine_cv_recent_bison=yes
6610 else
6611 wine_cv_recent_bison=no
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6615 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6616 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
6618 if test -n "$ac_tool_prefix"; then
6619 for ac_prog in ar gar
6621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 printf %s "checking for $ac_word... " >&6; }
6625 if test ${ac_cv_prog_AR+y}
6626 then :
6627 printf %s "(cached) " >&6
6628 else $as_nop
6629 if test -n "$AR"; then
6630 ac_cv_prog_AR="$AR" # Let the user override the test.
6631 else
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $PATH
6635 IFS=$as_save_IFS
6636 case $as_dir in #(((
6637 '') as_dir=./ ;;
6638 */) ;;
6639 *) as_dir=$as_dir/ ;;
6640 esac
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6645 break 2
6647 done
6648 done
6649 IFS=$as_save_IFS
6653 AR=$ac_cv_prog_AR
6654 if test -n "$AR"; then
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6656 printf "%s\n" "$AR" >&6; }
6657 else
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 printf "%s\n" "no" >&6; }
6663 test -n "$AR" && break
6664 done
6666 if test -z "$AR"; then
6667 ac_ct_AR=$AR
6668 for ac_prog in ar gar
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy $ac_prog; ac_word=$2
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 printf %s "checking for $ac_word... " >&6; }
6674 if test ${ac_cv_prog_ac_ct_AR+y}
6675 then :
6676 printf %s "(cached) " >&6
6677 else $as_nop
6678 if test -n "$ac_ct_AR"; then
6679 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6680 else
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 for as_dir in $PATH
6684 IFS=$as_save_IFS
6685 case $as_dir in #(((
6686 '') as_dir=./ ;;
6687 */) ;;
6688 *) as_dir=$as_dir/ ;;
6689 esac
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_ac_ct_AR="$ac_prog"
6693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6694 break 2
6696 done
6697 done
6698 IFS=$as_save_IFS
6702 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6703 if test -n "$ac_ct_AR"; then
6704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6705 printf "%s\n" "$ac_ct_AR" >&6; }
6706 else
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 printf "%s\n" "no" >&6; }
6712 test -n "$ac_ct_AR" && break
6713 done
6715 if test "x$ac_ct_AR" = x; then
6716 AR="ar"
6717 else
6718 case $cross_compiling:$ac_tool_warned in
6719 yes:)
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned=yes ;;
6723 esac
6724 AR=$ac_ct_AR
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6730 set dummy ${ac_tool_prefix}strip; ac_word=$2
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s "checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_STRIP+y}
6734 then :
6735 printf %s "(cached) " >&6
6736 else $as_nop
6737 if test -n "$STRIP"; then
6738 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6739 else
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in $PATH
6743 IFS=$as_save_IFS
6744 case $as_dir in #(((
6745 '') as_dir=./ ;;
6746 */) ;;
6747 *) as_dir=$as_dir/ ;;
6748 esac
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6753 break 2
6755 done
6756 done
6757 IFS=$as_save_IFS
6761 STRIP=$ac_cv_prog_STRIP
6762 if test -n "$STRIP"; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6764 printf "%s\n" "$STRIP" >&6; }
6765 else
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
6772 if test -z "$ac_cv_prog_STRIP"; then
6773 ac_ct_STRIP=$STRIP
6774 # Extract the first word of "strip", so it can be a program name with args.
6775 set dummy strip; ac_word=$2
6776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 printf %s "checking for $ac_word... " >&6; }
6778 if test ${ac_cv_prog_ac_ct_STRIP+y}
6779 then :
6780 printf %s "(cached) " >&6
6781 else $as_nop
6782 if test -n "$ac_ct_STRIP"; then
6783 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6784 else
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 for as_dir in $PATH
6788 IFS=$as_save_IFS
6789 case $as_dir in #(((
6790 '') as_dir=./ ;;
6791 */) ;;
6792 *) as_dir=$as_dir/ ;;
6793 esac
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_ac_ct_STRIP="strip"
6797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6798 break 2
6800 done
6801 done
6802 IFS=$as_save_IFS
6806 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6807 if test -n "$ac_ct_STRIP"; then
6808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6809 printf "%s\n" "$ac_ct_STRIP" >&6; }
6810 else
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 printf "%s\n" "no" >&6; }
6815 if test "x$ac_ct_STRIP" = x; then
6816 STRIP="strip"
6817 else
6818 case $cross_compiling:$ac_tool_warned in
6819 yes:)
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned=yes ;;
6823 esac
6824 STRIP=$ac_ct_STRIP
6826 else
6827 STRIP="$ac_cv_prog_STRIP"
6830 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6832 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 printf %s "checking for $ac_word... " >&6; }
6835 if test ${ac_cv_prog_RANLIB+y}
6836 then :
6837 printf %s "(cached) " >&6
6838 else $as_nop
6839 if test -n "$RANLIB"; then
6840 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6845 IFS=$as_save_IFS
6846 case $as_dir in #(((
6847 '') as_dir=./ ;;
6848 */) ;;
6849 *) as_dir=$as_dir/ ;;
6850 esac
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6855 break 2
6857 done
6858 done
6859 IFS=$as_save_IFS
6863 RANLIB=$ac_cv_prog_RANLIB
6864 if test -n "$RANLIB"; then
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6866 printf "%s\n" "$RANLIB" >&6; }
6867 else
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 printf "%s\n" "no" >&6; }
6874 if test -z "$ac_cv_prog_RANLIB"; then
6875 ac_ct_RANLIB=$RANLIB
6876 # Extract the first word of "ranlib", so it can be a program name with args.
6877 set dummy ranlib; ac_word=$2
6878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6879 printf %s "checking for $ac_word... " >&6; }
6880 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6881 then :
6882 printf %s "(cached) " >&6
6883 else $as_nop
6884 if test -n "$ac_ct_RANLIB"; then
6885 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6886 else
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888 for as_dir in $PATH
6890 IFS=$as_save_IFS
6891 case $as_dir in #(((
6892 '') as_dir=./ ;;
6893 */) ;;
6894 *) as_dir=$as_dir/ ;;
6895 esac
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_ac_ct_RANLIB="ranlib"
6899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6900 break 2
6902 done
6903 done
6904 IFS=$as_save_IFS
6908 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6909 if test -n "$ac_ct_RANLIB"; then
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6911 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6912 else
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 printf "%s\n" "no" >&6; }
6917 if test "x$ac_ct_RANLIB" = x; then
6918 RANLIB=":"
6919 else
6920 case $cross_compiling:$ac_tool_warned in
6921 yes:)
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned=yes ;;
6925 esac
6926 RANLIB=$ac_ct_RANLIB
6928 else
6929 RANLIB="$ac_cv_prog_RANLIB"
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6933 printf %s "checking whether ln -s works... " >&6; }
6934 LN_S=$as_ln_s
6935 if test "$LN_S" = "ln -s"; then
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6937 printf "%s\n" "yes" >&6; }
6938 else
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6940 printf "%s\n" "no, using $LN_S" >&6; }
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6944 printf %s "checking for grep that handles long lines and -e... " >&6; }
6945 if test ${ac_cv_path_GREP+y}
6946 then :
6947 printf %s "(cached) " >&6
6948 else $as_nop
6949 if test -z "$GREP"; then
6950 ac_path_GREP_found=false
6951 # Loop through the user's path and test for each of PROGNAME-LIST
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6955 IFS=$as_save_IFS
6956 case $as_dir in #(((
6957 '') as_dir=./ ;;
6958 */) ;;
6959 *) as_dir=$as_dir/ ;;
6960 esac
6961 for ac_prog in grep ggrep
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6965 as_fn_executable_p "$ac_path_GREP" || continue
6966 # Check for GNU ac_path_GREP and select it if it is found.
6967 # Check for GNU $ac_path_GREP
6968 case `"$ac_path_GREP" --version 2>&1` in
6969 *GNU*)
6970 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6972 ac_count=0
6973 printf %s 0123456789 >"conftest.in"
6974 while :
6976 cat "conftest.in" "conftest.in" >"conftest.tmp"
6977 mv "conftest.tmp" "conftest.in"
6978 cp "conftest.in" "conftest.nl"
6979 printf "%s\n" 'GREP' >> "conftest.nl"
6980 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6981 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6982 as_fn_arith $ac_count + 1 && ac_count=$as_val
6983 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6984 # Best one so far, save it but keep looking for a better one
6985 ac_cv_path_GREP="$ac_path_GREP"
6986 ac_path_GREP_max=$ac_count
6988 # 10*(2^10) chars as input seems more than enough
6989 test $ac_count -gt 10 && break
6990 done
6991 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6992 esac
6994 $ac_path_GREP_found && break 3
6995 done
6996 done
6997 done
6998 IFS=$as_save_IFS
6999 if test -z "$ac_cv_path_GREP"; then
7000 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7002 else
7003 ac_cv_path_GREP=$GREP
7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7008 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7009 GREP="$ac_cv_path_GREP"
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7013 printf %s "checking for egrep... " >&6; }
7014 if test ${ac_cv_path_EGREP+y}
7015 then :
7016 printf %s "(cached) " >&6
7017 else $as_nop
7018 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7019 then ac_cv_path_EGREP="$GREP -E"
7020 else
7021 if test -z "$EGREP"; then
7022 ac_path_EGREP_found=false
7023 # Loop through the user's path and test for each of PROGNAME-LIST
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7027 IFS=$as_save_IFS
7028 case $as_dir in #(((
7029 '') as_dir=./ ;;
7030 */) ;;
7031 *) as_dir=$as_dir/ ;;
7032 esac
7033 for ac_prog in egrep
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7037 as_fn_executable_p "$ac_path_EGREP" || continue
7038 # Check for GNU ac_path_EGREP and select it if it is found.
7039 # Check for GNU $ac_path_EGREP
7040 case `"$ac_path_EGREP" --version 2>&1` in
7041 *GNU*)
7042 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7044 ac_count=0
7045 printf %s 0123456789 >"conftest.in"
7046 while :
7048 cat "conftest.in" "conftest.in" >"conftest.tmp"
7049 mv "conftest.tmp" "conftest.in"
7050 cp "conftest.in" "conftest.nl"
7051 printf "%s\n" 'EGREP' >> "conftest.nl"
7052 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7053 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7054 as_fn_arith $ac_count + 1 && ac_count=$as_val
7055 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7056 # Best one so far, save it but keep looking for a better one
7057 ac_cv_path_EGREP="$ac_path_EGREP"
7058 ac_path_EGREP_max=$ac_count
7060 # 10*(2^10) chars as input seems more than enough
7061 test $ac_count -gt 10 && break
7062 done
7063 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7064 esac
7066 $ac_path_EGREP_found && break 3
7067 done
7068 done
7069 done
7070 IFS=$as_save_IFS
7071 if test -z "$ac_cv_path_EGREP"; then
7072 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7074 else
7075 ac_cv_path_EGREP=$EGREP
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7081 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7082 EGREP="$ac_cv_path_EGREP"
7085 # Extract the first word of "ldconfig", so it can be a program name with args.
7086 set dummy ldconfig; ac_word=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s "checking for $ac_word... " >&6; }
7089 if test ${ac_cv_path_LDCONFIG+y}
7090 then :
7091 printf %s "(cached) " >&6
7092 else $as_nop
7093 case $LDCONFIG in
7094 [\\/]* | ?:[\\/]*)
7095 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in /sbin /usr/sbin $PATH
7101 IFS=$as_save_IFS
7102 case $as_dir in #(((
7103 '') as_dir=./ ;;
7104 */) ;;
7105 *) as_dir=$as_dir/ ;;
7106 esac
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7109 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7111 break 2
7113 done
7114 done
7115 IFS=$as_save_IFS
7117 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7119 esac
7121 LDCONFIG=$ac_cv_path_LDCONFIG
7122 if test -n "$LDCONFIG"; then
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7124 printf "%s\n" "$LDCONFIG" >&6; }
7125 else
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 printf "%s\n" "no" >&6; }
7131 for ac_prog in msgfmt
7133 # Extract the first word of "$ac_prog", so it can be a program name with args.
7134 set dummy $ac_prog; ac_word=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s "checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_MSGFMT+y}
7138 then :
7139 printf %s "(cached) " >&6
7140 else $as_nop
7141 if test -n "$MSGFMT"; then
7142 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7143 else
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 for as_dir in $PATH
7147 IFS=$as_save_IFS
7148 case $as_dir in #(((
7149 '') as_dir=./ ;;
7150 */) ;;
7151 *) as_dir=$as_dir/ ;;
7152 esac
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_MSGFMT="$ac_prog"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7157 break 2
7159 done
7160 done
7161 IFS=$as_save_IFS
7165 MSGFMT=$ac_cv_prog_MSGFMT
7166 if test -n "$MSGFMT"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7168 printf "%s\n" "$MSGFMT" >&6; }
7169 else
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7175 test -n "$MSGFMT" && break
7176 done
7177 test -n "$MSGFMT" || MSGFMT="false"
7179 if test ${ac_tool_prefix+y}
7180 then :
7181 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7182 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 printf %s "checking for $ac_word... " >&6; }
7185 if test ${ac_cv_prog_PKG_CONFIG+y}
7186 then :
7187 printf %s "(cached) " >&6
7188 else $as_nop
7189 if test -n "$PKG_CONFIG"; then
7190 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7191 else
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193 for as_dir in $PATH
7195 IFS=$as_save_IFS
7196 case $as_dir in #(((
7197 '') as_dir=./ ;;
7198 */) ;;
7199 *) as_dir=$as_dir/ ;;
7200 esac
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7205 break 2
7207 done
7208 done
7209 IFS=$as_save_IFS
7213 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7214 if test -n "$PKG_CONFIG"; then
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7216 printf "%s\n" "$PKG_CONFIG" >&6; }
7217 else
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 printf "%s\n" "no" >&6; }
7224 if ${ac_cv_prog_PKG_CONFIG:+false} :
7225 then :
7226 if test "x$cross_compiling" = xyes
7227 then :
7229 else $as_nop
7230 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7231 # Extract the first word of "pkg-config", so it can be a program name with args.
7232 set dummy pkg-config; ac_word=$2
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 printf %s "checking for $ac_word... " >&6; }
7235 if test ${ac_cv_prog_PKG_CONFIG+y}
7236 then :
7237 printf %s "(cached) " >&6
7238 else $as_nop
7239 if test -n "$PKG_CONFIG"; then
7240 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7245 IFS=$as_save_IFS
7246 case $as_dir in #(((
7247 '') as_dir=./ ;;
7248 */) ;;
7249 *) as_dir=$as_dir/ ;;
7250 esac
7251 for ac_exec_ext in '' $ac_executable_extensions; do
7252 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7253 ac_cv_prog_PKG_CONFIG="pkg-config"
7254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7255 break 2
7257 done
7258 done
7259 IFS=$as_save_IFS
7263 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7264 if test -n "$PKG_CONFIG"; then
7265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7266 printf "%s\n" "$PKG_CONFIG" >&6; }
7267 else
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 printf "%s\n" "no" >&6; }
7274 else $as_nop
7275 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7278 if test "x$enable_maintainer_mode" != "xyes"
7279 then
7280 FONTFORGE=""
7281 RSVG=""
7282 CONVERT=""
7283 ICOTOOL=""
7284 else
7285 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7286 for ac_prog in fontforge
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy $ac_prog; ac_word=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s "checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_FONTFORGE+y}
7293 then :
7294 printf %s "(cached) " >&6
7295 else $as_nop
7296 if test -n "$FONTFORGE"; then
7297 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7298 else
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 for as_dir in $PATH
7302 IFS=$as_save_IFS
7303 case $as_dir in #(((
7304 '') as_dir=./ ;;
7305 */) ;;
7306 *) as_dir=$as_dir/ ;;
7307 esac
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_FONTFORGE="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7312 break 2
7314 done
7315 done
7316 IFS=$as_save_IFS
7320 FONTFORGE=$ac_cv_prog_FONTFORGE
7321 if test -n "$FONTFORGE"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7323 printf "%s\n" "$FONTFORGE" >&6; }
7324 else
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$FONTFORGE" && break
7331 done
7332 test -n "$FONTFORGE" || FONTFORGE="false"
7334 for ac_prog in rsvg-convert rsvg
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy $ac_prog; ac_word=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s "checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_RSVG+y}
7341 then :
7342 printf %s "(cached) " >&6
7343 else $as_nop
7344 if test -n "$RSVG"; then
7345 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7350 IFS=$as_save_IFS
7351 case $as_dir in #(((
7352 '') as_dir=./ ;;
7353 */) ;;
7354 *) as_dir=$as_dir/ ;;
7355 esac
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_RSVG="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7360 break 2
7362 done
7363 done
7364 IFS=$as_save_IFS
7368 RSVG=$ac_cv_prog_RSVG
7369 if test -n "$RSVG"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7371 printf "%s\n" "$RSVG" >&6; }
7372 else
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$RSVG" && break
7379 done
7380 test -n "$RSVG" || RSVG="false"
7382 for ac_prog in convert
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy $ac_prog; ac_word=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s "checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_CONVERT+y}
7389 then :
7390 printf %s "(cached) " >&6
7391 else $as_nop
7392 if test -n "$CONVERT"; then
7393 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7394 else
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 for as_dir in $PATH
7398 IFS=$as_save_IFS
7399 case $as_dir in #(((
7400 '') as_dir=./ ;;
7401 */) ;;
7402 *) as_dir=$as_dir/ ;;
7403 esac
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_CONVERT="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 CONVERT=$ac_cv_prog_CONVERT
7417 if test -n "$CONVERT"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7419 printf "%s\n" "$CONVERT" >&6; }
7420 else
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$CONVERT" && break
7427 done
7428 test -n "$CONVERT" || CONVERT="false"
7430 for ac_prog in icotool
7432 # Extract the first word of "$ac_prog", so it can be a program name with args.
7433 set dummy $ac_prog; ac_word=$2
7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 printf %s "checking for $ac_word... " >&6; }
7436 if test ${ac_cv_prog_ICOTOOL+y}
7437 then :
7438 printf %s "(cached) " >&6
7439 else $as_nop
7440 if test -n "$ICOTOOL"; then
7441 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7446 IFS=$as_save_IFS
7447 case $as_dir in #(((
7448 '') as_dir=./ ;;
7449 */) ;;
7450 *) as_dir=$as_dir/ ;;
7451 esac
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_ICOTOOL="$ac_prog"
7455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7456 break 2
7458 done
7459 done
7460 IFS=$as_save_IFS
7464 ICOTOOL=$ac_cv_prog_ICOTOOL
7465 if test -n "$ICOTOOL"; then
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7467 printf "%s\n" "$ICOTOOL" >&6; }
7468 else
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 printf "%s\n" "no" >&6; }
7474 test -n "$ICOTOOL" && break
7475 done
7476 test -n "$ICOTOOL" || ICOTOOL="false"
7478 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7479 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7481 if test "$CONVERT" = false
7482 then
7483 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7484 else
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7486 printf %s "checking for recent enough imagemagick... " >&6; }
7487 convert_version=`convert --version | head -n1`
7488 if test "x$convert_version" != "x"
7489 then
7490 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7491 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7492 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7493 then
7494 CONVERT=false
7497 if test "$CONVERT" = false
7498 then
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7500 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7501 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7502 else
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7508 if test "$ICOTOOL" = false
7509 then
7510 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7511 else
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7513 printf %s "checking for recent enough icotool... " >&6; }
7514 icotool_version=`icotool --version | head -n1`
7515 if test "x$icotool_version" != "x"
7516 then
7517 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7518 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7519 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7520 then
7521 ICOTOOL=false
7522 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7525 if test "$ICOTOOL" = false
7526 then
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7528 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7529 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7530 else
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7536 with_gettext=yes
7537 with_gettextpo=yes
7539 enable_werror=yes
7542 test "x$with_gettext" != xno || MSGFMT=false
7543 if test "$MSGFMT" != "false"
7544 then
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7546 printf %s "checking whether msgfmt supports contexts... " >&6; }
7547 if test ${wine_cv_msgfmt_contexts+y}
7548 then :
7549 printf %s "(cached) " >&6
7550 else $as_nop
7551 cat >conftest.po <<EOF
7552 # comment
7553 msgctxt "ctxt"
7554 msgid "id"
7555 msgstr "str"
7557 if $MSGFMT -o /dev/null conftest.po 2>&5
7558 then
7559 wine_cv_msgfmt_contexts=yes
7560 else
7561 wine_cv_msgfmt_contexts=no
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7565 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7566 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7568 if test "$MSGFMT" = false
7569 then :
7570 case "x$with_gettext" in
7571 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7572 xno) ;;
7573 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7574 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7575 esac
7576 enable_po=${enable_po:-no}
7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7581 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7582 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7583 then :
7584 printf %s "(cached) " >&6
7585 else $as_nop
7586 ac_check_lib_save_LIBS=$LIBS
7587 LIBS="-li386 $LIBS"
7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7591 /* Override any GCC internal prototype to avoid an error.
7592 Use char because int might match the return type of a GCC
7593 builtin and then its argument prototype would still apply. */
7594 char i386_set_ldt ();
7596 main (void)
7598 return i386_set_ldt ();
7600 return 0;
7602 _ACEOF
7603 if ac_fn_c_try_link "$LINENO"
7604 then :
7605 ac_cv_lib_i386_i386_set_ldt=yes
7606 else $as_nop
7607 ac_cv_lib_i386_i386_set_ldt=no
7609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7610 conftest$ac_exeext conftest.$ac_ext
7611 LIBS=$ac_check_lib_save_LIBS
7613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7614 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7615 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7616 then :
7617 I386_LIBS="-li386"
7622 OPENGL_LIBS=""
7626 # Check whether --enable-largefile was given.
7627 if test ${enable_largefile+y}
7628 then :
7629 enableval=$enable_largefile;
7632 if test "$enable_largefile" != no; then
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7635 printf %s "checking for special C compiler options needed for large files... " >&6; }
7636 if test ${ac_cv_sys_largefile_CC+y}
7637 then :
7638 printf %s "(cached) " >&6
7639 else $as_nop
7640 ac_cv_sys_largefile_CC=no
7641 if test "$GCC" != yes; then
7642 ac_save_CC=$CC
7643 while :; do
7644 # IRIX 6.2 and later do not support large files by default,
7645 # so use the C compiler's -n32 option if that helps.
7646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7648 #include <sys/types.h>
7649 /* Check that off_t can represent 2**63 - 1 correctly.
7650 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7651 since some C++ compilers masquerading as C compilers
7652 incorrectly reject 9223372036854775807. */
7653 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7654 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7655 && LARGE_OFF_T % 2147483647 == 1)
7656 ? 1 : -1];
7658 main (void)
7662 return 0;
7664 _ACEOF
7665 if ac_fn_c_try_compile "$LINENO"
7666 then :
7667 break
7669 rm -f core conftest.err conftest.$ac_objext conftest.beam
7670 CC="$CC -n32"
7671 if ac_fn_c_try_compile "$LINENO"
7672 then :
7673 ac_cv_sys_largefile_CC=' -n32'; break
7675 rm -f core conftest.err conftest.$ac_objext conftest.beam
7676 break
7677 done
7678 CC=$ac_save_CC
7679 rm -f conftest.$ac_ext
7682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7683 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7684 if test "$ac_cv_sys_largefile_CC" != no; then
7685 CC=$CC$ac_cv_sys_largefile_CC
7688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7689 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7690 if test ${ac_cv_sys_file_offset_bits+y}
7691 then :
7692 printf %s "(cached) " >&6
7693 else $as_nop
7694 while :; do
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7697 #include <sys/types.h>
7698 /* Check that off_t can represent 2**63 - 1 correctly.
7699 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7700 since some C++ compilers masquerading as C compilers
7701 incorrectly reject 9223372036854775807. */
7702 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7703 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7704 && LARGE_OFF_T % 2147483647 == 1)
7705 ? 1 : -1];
7707 main (void)
7711 return 0;
7713 _ACEOF
7714 if ac_fn_c_try_compile "$LINENO"
7715 then :
7716 ac_cv_sys_file_offset_bits=no; break
7718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 /* end confdefs.h. */
7721 #define _FILE_OFFSET_BITS 64
7722 #include <sys/types.h>
7723 /* Check that off_t can represent 2**63 - 1 correctly.
7724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7725 since some C++ compilers masquerading as C compilers
7726 incorrectly reject 9223372036854775807. */
7727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7729 && LARGE_OFF_T % 2147483647 == 1)
7730 ? 1 : -1];
7732 main (void)
7736 return 0;
7738 _ACEOF
7739 if ac_fn_c_try_compile "$LINENO"
7740 then :
7741 ac_cv_sys_file_offset_bits=64; break
7743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7744 ac_cv_sys_file_offset_bits=unknown
7745 break
7746 done
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7749 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7750 case $ac_cv_sys_file_offset_bits in #(
7751 no | unknown) ;;
7753 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7755 esac
7756 rm -rf conftest*
7757 if test $ac_cv_sys_file_offset_bits = unknown; then
7758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7759 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7760 if test ${ac_cv_sys_large_files+y}
7761 then :
7762 printf %s "(cached) " >&6
7763 else $as_nop
7764 while :; do
7765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7766 /* end confdefs.h. */
7767 #include <sys/types.h>
7768 /* Check that off_t can represent 2**63 - 1 correctly.
7769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7770 since some C++ compilers masquerading as C compilers
7771 incorrectly reject 9223372036854775807. */
7772 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7774 && LARGE_OFF_T % 2147483647 == 1)
7775 ? 1 : -1];
7777 main (void)
7781 return 0;
7783 _ACEOF
7784 if ac_fn_c_try_compile "$LINENO"
7785 then :
7786 ac_cv_sys_large_files=no; break
7788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7791 #define _LARGE_FILES 1
7792 #include <sys/types.h>
7793 /* Check that off_t can represent 2**63 - 1 correctly.
7794 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7795 since some C++ compilers masquerading as C compilers
7796 incorrectly reject 9223372036854775807. */
7797 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7798 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7799 && LARGE_OFF_T % 2147483647 == 1)
7800 ? 1 : -1];
7802 main (void)
7806 return 0;
7808 _ACEOF
7809 if ac_fn_c_try_compile "$LINENO"
7810 then :
7811 ac_cv_sys_large_files=1; break
7813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7814 ac_cv_sys_large_files=unknown
7815 break
7816 done
7818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7819 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7820 case $ac_cv_sys_large_files in #(
7821 no | unknown) ;;
7823 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7825 esac
7826 rm -rf conftest*
7830 test "$ac_cv_sys_file_offset_bits" = 64 &&
7831 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7834 ac_header= ac_cache=
7835 for ac_item in $ac_header_c_list
7837 if test $ac_cache; then
7838 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7839 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7840 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7842 ac_header= ac_cache=
7843 elif test $ac_header; then
7844 ac_cache=$ac_item
7845 else
7846 ac_header=$ac_item
7848 done
7857 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7858 then :
7860 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7863 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_CL_cl_h" = xyes
7865 then :
7866 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_EGL_egl_h" = xyes
7871 then :
7872 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7877 then :
7878 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_arpa_inet_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "asm/termbits.h" "ac_cv_header_asm_termbits_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_asm_termbits_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_ASM_TERMBITS_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_asm_types_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_asm_user_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_elf_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_float_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_gettext_po_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_libproc_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_link_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_filter_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_input_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_major_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_param_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_serial_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_types_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_linux_wireless_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_lwp_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_mach_mach_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_machine_cpu_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_mntent_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_netdb_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_netinet_in_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_port_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_pwd_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_sched_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_scsi_sg_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_stdint_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_attr_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_auxv_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_cdio_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_epoll_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_event_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_extattr_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_filio_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_ipc_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_link_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_modem_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_mtio_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_param_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_prctl_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_queue_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_random_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_resource_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_shm_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_signal_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_sockio_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_strtio_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_syscall_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_times_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_uio_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_user_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_utsname_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_vnode_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_xattr_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_syscall_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_utime_h" = xyes
8327 then :
8328 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8333 then :
8334 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8339 then :
8340 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8346 then :
8348 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8352 if test $ac_cv_header_sys_mkdev_h = no; then
8353 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8355 then :
8357 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8363 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8364 if test ${ac_cv_header_stat_broken+y}
8365 then :
8366 printf %s "(cached) " >&6
8367 else $as_nop
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 #include <sys/types.h>
8371 #include <sys/stat.h>
8373 #if defined S_ISBLK && defined S_IFDIR
8374 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8375 #endif
8377 #if defined S_ISBLK && defined S_IFCHR
8378 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8379 #endif
8381 #if defined S_ISLNK && defined S_IFREG
8382 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8383 #endif
8385 #if defined S_ISSOCK && defined S_IFREG
8386 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8387 #endif
8389 _ACEOF
8390 if ac_fn_c_try_compile "$LINENO"
8391 then :
8392 ac_cv_header_stat_broken=no
8393 else $as_nop
8394 ac_cv_header_stat_broken=yes
8396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8399 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8400 if test $ac_cv_header_stat_broken = yes; then
8402 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8408 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8409 #ifdef HAVE_SYS_PARAM_H
8410 # include <sys/param.h>
8411 #endif
8413 if test "x$ac_cv_header_sys_conf_h" = xyes
8414 then :
8415 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8418 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8419 #ifdef HAVE_SYS_PARAM_H
8420 # include <sys/param.h>
8421 #endif
8423 if test "x$ac_cv_header_sys_mount_h" = xyes
8424 then :
8425 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8428 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8429 #ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8431 #endif
8433 if test "x$ac_cv_header_sys_statfs_h" = xyes
8434 then :
8435 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8438 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8439 #ifdef HAVE_SYS_PARAM_H
8440 # include <sys/param.h>
8441 #endif
8443 if test "x$ac_cv_header_sys_user_h" = xyes
8444 then :
8445 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8448 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8449 #ifdef HAVE_SYS_PARAM_H
8450 # include <sys/param.h>
8451 #endif
8453 if test "x$ac_cv_header_sys_vfs_h" = xyes
8454 then :
8455 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8460 saved_sysctl_h_CFLAGS=$CFLAGS
8461 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8462 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8463 #ifdef HAVE_SYS_PARAM_H
8464 # include <sys/param.h>
8465 #endif
8467 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8468 then :
8469 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8473 CFLAGS=$saved_sysctl_h_CFLAGS
8475 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8476 #include <sys/socket.h>
8477 #ifdef HAVE_SYS_SOCKETVAR_H
8478 # include <sys/socketvar.h>
8479 #endif
8480 #ifdef HAVE_NET_ROUTE_H
8481 # include <net/route.h>
8482 #endif
8483 #ifdef HAVE_NETINET_IN_H
8484 # include <netinet/in.h>
8485 #endif
8486 #ifdef HAVE_NETINET_IN_SYSTM_H
8487 # include <netinet/in_systm.h>
8488 #endif
8489 #ifdef HAVE_NET_IF_H
8490 # include <net/if.h>
8491 #endif
8492 #ifdef HAVE_NETINET_IP_H
8493 # include <netinet/ip.h>
8494 #endif
8496 if test "x$ac_cv_header_netinet_ip_h" = xyes
8497 then :
8498 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8501 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8502 #include <sys/socket.h>
8503 #ifdef HAVE_SYS_SOCKETVAR_H
8504 # include <sys/socketvar.h>
8505 #endif
8506 #ifdef HAVE_NET_ROUTE_H
8507 # include <net/route.h>
8508 #endif
8509 #ifdef HAVE_NETINET_IN_H
8510 # include <netinet/in.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IN_SYSTM_H
8513 # include <netinet/in_systm.h>
8514 #endif
8515 #ifdef HAVE_NET_IF_H
8516 # include <net/if.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IP_H
8519 # include <netinet/ip.h>
8520 #endif
8522 if test "x$ac_cv_header_net_if_h" = xyes
8523 then :
8524 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8527 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8528 #include <sys/socket.h>
8529 #ifdef HAVE_SYS_SOCKETVAR_H
8530 # include <sys/socketvar.h>
8531 #endif
8532 #ifdef HAVE_NET_ROUTE_H
8533 # include <net/route.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IN_H
8536 # include <netinet/in.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IN_SYSTM_H
8539 # include <netinet/in_systm.h>
8540 #endif
8541 #ifdef HAVE_NET_IF_H
8542 # include <net/if.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IP_H
8545 # include <netinet/ip.h>
8546 #endif
8548 if test "x$ac_cv_header_net_if_arp_h" = xyes
8549 then :
8550 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8553 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8554 #include <sys/socket.h>
8555 #ifdef HAVE_SYS_SOCKETVAR_H
8556 # include <sys/socketvar.h>
8557 #endif
8558 #ifdef HAVE_NET_ROUTE_H
8559 # include <net/route.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IN_H
8562 # include <netinet/in.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IN_SYSTM_H
8565 # include <netinet/in_systm.h>
8566 #endif
8567 #ifdef HAVE_NET_IF_H
8568 # include <net/if.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IP_H
8571 # include <netinet/ip.h>
8572 #endif
8574 if test "x$ac_cv_header_net_if_dl_h" = xyes
8575 then :
8576 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8579 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8580 #include <sys/socket.h>
8581 #ifdef HAVE_SYS_SOCKETVAR_H
8582 # include <sys/socketvar.h>
8583 #endif
8584 #ifdef HAVE_NET_ROUTE_H
8585 # include <net/route.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IN_H
8588 # include <netinet/in.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IN_SYSTM_H
8591 # include <netinet/in_systm.h>
8592 #endif
8593 #ifdef HAVE_NET_IF_H
8594 # include <net/if.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IP_H
8597 # include <netinet/ip.h>
8598 #endif
8600 if test "x$ac_cv_header_net_if_types_h" = xyes
8601 then :
8602 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8605 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8606 #include <sys/socket.h>
8607 #ifdef HAVE_SYS_SOCKETVAR_H
8608 # include <sys/socketvar.h>
8609 #endif
8610 #ifdef HAVE_NET_ROUTE_H
8611 # include <net/route.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IN_H
8614 # include <netinet/in.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IN_SYSTM_H
8617 # include <netinet/in_systm.h>
8618 #endif
8619 #ifdef HAVE_NET_IF_H
8620 # include <net/if.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IP_H
8623 # include <netinet/ip.h>
8624 #endif
8626 if test "x$ac_cv_header_net_route_h" = xyes
8627 then :
8628 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8631 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8632 #include <sys/socket.h>
8633 #ifdef HAVE_SYS_SOCKETVAR_H
8634 # include <sys/socketvar.h>
8635 #endif
8636 #ifdef HAVE_NET_ROUTE_H
8637 # include <net/route.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IN_H
8640 # include <netinet/in.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IN_SYSTM_H
8643 # include <netinet/in_systm.h>
8644 #endif
8645 #ifdef HAVE_NET_IF_H
8646 # include <net/if.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IP_H
8649 # include <netinet/ip.h>
8650 #endif
8652 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8653 then :
8654 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8657 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8658 #include <sys/socket.h>
8659 #ifdef HAVE_SYS_SOCKETVAR_H
8660 # include <sys/socketvar.h>
8661 #endif
8662 #ifdef HAVE_NET_ROUTE_H
8663 # include <net/route.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IN_H
8666 # include <netinet/in.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IN_SYSTM_H
8669 # include <netinet/in_systm.h>
8670 #endif
8671 #ifdef HAVE_NET_IF_H
8672 # include <net/if.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IP_H
8675 # include <netinet/ip.h>
8676 #endif
8678 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8679 then :
8680 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8683 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8684 #include <sys/socket.h>
8685 #ifdef HAVE_SYS_SOCKETVAR_H
8686 # include <sys/socketvar.h>
8687 #endif
8688 #ifdef HAVE_NET_ROUTE_H
8689 # include <net/route.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IN_H
8692 # include <netinet/in.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IN_SYSTM_H
8695 # include <netinet/in_systm.h>
8696 #endif
8697 #ifdef HAVE_NET_IF_H
8698 # include <net/if.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IP_H
8701 # include <netinet/ip.h>
8702 #endif
8704 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8705 then :
8706 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8709 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8710 #include <sys/socket.h>
8711 #ifdef HAVE_SYS_SOCKETVAR_H
8712 # include <sys/socketvar.h>
8713 #endif
8714 #ifdef HAVE_NET_ROUTE_H
8715 # include <net/route.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IN_H
8718 # include <netinet/in.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IN_SYSTM_H
8721 # include <netinet/in_systm.h>
8722 #endif
8723 #ifdef HAVE_NET_IF_H
8724 # include <net/if.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IP_H
8727 # include <netinet/ip.h>
8728 #endif
8730 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8731 then :
8732 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8735 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8736 #include <sys/socket.h>
8737 #ifdef HAVE_SYS_SOCKETVAR_H
8738 # include <sys/socketvar.h>
8739 #endif
8740 #ifdef HAVE_NET_ROUTE_H
8741 # include <net/route.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IN_H
8744 # include <netinet/in.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IN_SYSTM_H
8747 # include <netinet/in_systm.h>
8748 #endif
8749 #ifdef HAVE_NET_IF_H
8750 # include <net/if.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IP_H
8753 # include <netinet/ip.h>
8754 #endif
8756 if test "x$ac_cv_header_netinet_udp_h" = xyes
8757 then :
8758 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8761 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8762 #include <sys/socket.h>
8763 #ifdef HAVE_SYS_SOCKETVAR_H
8764 # include <sys/socketvar.h>
8765 #endif
8766 #ifdef HAVE_NET_ROUTE_H
8767 # include <net/route.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IN_H
8770 # include <netinet/in.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IN_SYSTM_H
8773 # include <netinet/in_systm.h>
8774 #endif
8775 #ifdef HAVE_NET_IF_H
8776 # include <net/if.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IP_H
8779 # include <netinet/ip.h>
8780 #endif
8782 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8783 then :
8784 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8787 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8788 #include <sys/socket.h>
8789 #ifdef HAVE_SYS_SOCKETVAR_H
8790 # include <sys/socketvar.h>
8791 #endif
8792 #ifdef HAVE_NET_ROUTE_H
8793 # include <net/route.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IN_H
8796 # include <netinet/in.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IN_SYSTM_H
8799 # include <netinet/in_systm.h>
8800 #endif
8801 #ifdef HAVE_NET_IF_H
8802 # include <net/if.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IP_H
8805 # include <netinet/ip.h>
8806 #endif
8808 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8809 then :
8810 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8813 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8814 #include <sys/socket.h>
8815 #ifdef HAVE_SYS_SOCKETVAR_H
8816 # include <sys/socketvar.h>
8817 #endif
8818 #ifdef HAVE_NET_ROUTE_H
8819 # include <net/route.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_H
8822 # include <netinet/in.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_SYSTM_H
8825 # include <netinet/in_systm.h>
8826 #endif
8827 #ifdef HAVE_NET_IF_H
8828 # include <net/if.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IP_H
8831 # include <netinet/ip.h>
8832 #endif
8834 if test "x$ac_cv_header_sys_un_h" = xyes
8835 then :
8836 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8841 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8842 #include <sys/socket.h>
8843 #ifdef HAVE_SYS_SOCKETVAR_H
8844 # include <sys/socketvar.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IN_H
8847 # include <netinet/in.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_SYSTM_H
8850 # include <netinet/in_systm.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IP_H
8853 # include <netinet/ip.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IP_VAR_H
8856 # include <netinet/ip_var.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_ICMP_H
8859 # include <netinet/ip_icmp.h>
8860 #endif
8861 #ifdef HAVE_NETINET_UDP_H
8862 # include <netinet/udp.h>
8863 #endif
8864 #ifdef HAVE_NETINET_TCP_H
8865 # include <netinet/tcp.h>
8866 #endif
8868 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8869 then :
8870 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8873 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8874 #include <sys/socket.h>
8875 #ifdef HAVE_SYS_SOCKETVAR_H
8876 # include <sys/socketvar.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IN_H
8879 # include <netinet/in.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IN_SYSTM_H
8882 # include <netinet/in_systm.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_H
8885 # include <netinet/ip.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_VAR_H
8888 # include <netinet/ip_var.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_ICMP_H
8891 # include <netinet/ip_icmp.h>
8892 #endif
8893 #ifdef HAVE_NETINET_UDP_H
8894 # include <netinet/udp.h>
8895 #endif
8896 #ifdef HAVE_NETINET_TCP_H
8897 # include <netinet/tcp.h>
8898 #endif
8900 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8901 then :
8902 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8905 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8906 #include <sys/socket.h>
8907 #ifdef HAVE_SYS_SOCKETVAR_H
8908 # include <sys/socketvar.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IN_H
8911 # include <netinet/in.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IN_SYSTM_H
8914 # include <netinet/in_systm.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_H
8917 # include <netinet/ip.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_VAR_H
8920 # include <netinet/ip_var.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_ICMP_H
8923 # include <netinet/ip_icmp.h>
8924 #endif
8925 #ifdef HAVE_NETINET_UDP_H
8926 # include <netinet/udp.h>
8927 #endif
8928 #ifdef HAVE_NETINET_TCP_H
8929 # include <netinet/tcp.h>
8930 #endif
8932 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8933 then :
8934 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8937 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8938 #include <sys/socket.h>
8939 #ifdef HAVE_SYS_SOCKETVAR_H
8940 # include <sys/socketvar.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IN_H
8943 # include <netinet/in.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IN_SYSTM_H
8946 # include <netinet/in_systm.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IP_H
8949 # include <netinet/ip.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_VAR_H
8952 # include <netinet/ip_var.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IP_ICMP_H
8955 # include <netinet/ip_icmp.h>
8956 #endif
8957 #ifdef HAVE_NETINET_UDP_H
8958 # include <netinet/udp.h>
8959 #endif
8960 #ifdef HAVE_NETINET_TCP_H
8961 # include <netinet/tcp.h>
8962 #endif
8964 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8965 then :
8966 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8971 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8972 #include <sys/socket.h>
8973 #ifdef HAVE_ASM_TYPES_H
8974 # include <asm/types.h>
8975 #endif
8976 #ifdef HAVE_LINUX_TYPES_H
8977 # include <linux/types.h>
8978 #endif
8980 if test "x$ac_cv_header_linux_ipx_h" = xyes
8981 then :
8982 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8985 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8986 #include <sys/socket.h>
8987 #ifdef HAVE_ASM_TYPES_H
8988 # include <asm/types.h>
8989 #endif
8990 #ifdef HAVE_LINUX_TYPES_H
8991 # include <linux/types.h>
8992 #endif
8994 if test "x$ac_cv_header_linux_irda_h" = xyes
8995 then :
8996 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8999 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9000 #include <sys/socket.h>
9001 #ifdef HAVE_ASM_TYPES_H
9002 # include <asm/types.h>
9003 #endif
9004 #ifdef HAVE_LINUX_TYPES_H
9005 # include <linux/types.h>
9006 #endif
9008 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9009 then :
9010 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9016 #include <sys/socket.h>
9017 #ifdef HAVE_NETINET_IN_H
9018 # include <netinet/in.h>
9019 #endif
9020 #ifdef HAVE_ARPA_NAMESER_H
9021 # include <arpa/nameser.h>
9022 #endif
9024 if test "x$ac_cv_header_resolv_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9033 if test "x$ac_cv_header_ifaddrs_h" = xyes
9034 then :
9035 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9042 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9043 then :
9044 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9050 #ifdef HAVE_SYS_UCONTEXT_H
9051 #include <sys/ucontext.h>
9052 #endif
9054 if test "x$ac_cv_header_sys_thr_h" = xyes
9055 then :
9056 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9061 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9063 if test "x$ac_cv_header_pthread_np_h" = xyes
9064 then :
9065 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9071 #include <sys/types.h>
9072 #ifdef HAVE_ASM_TYPES_H
9073 #include <asm/types.h>
9074 #endif
9076 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9077 then :
9078 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9083 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9084 #include <sys/param.h>
9085 #endif
9086 #include <sys/socket.h>
9087 #ifdef HAVE_SYS_QUEUE_H
9088 #include <sys/queue.h>
9089 #endif
9091 if test "x$ac_cv_header_libprocstat_h" = xyes
9092 then :
9093 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9098 if test "x$ac_cv_header_sys_xattr_h" = xyes
9099 then
9100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9101 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9102 if test ${wine_cv_xattr_extra_args+y}
9103 then :
9104 printf %s "(cached) " >&6
9105 else $as_nop
9106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9107 /* end confdefs.h. */
9108 #include <sys/xattr.h>
9110 main (void)
9112 getxattr("", "", "", 0, 0, 0);
9114 return 0;
9116 _ACEOF
9117 if ac_fn_c_try_compile "$LINENO"
9118 then :
9119 wine_cv_xattr_extra_args=yes
9120 else $as_nop
9121 wine_cv_xattr_extra_args=no
9123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9126 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9127 test $wine_cv_xattr_extra_args != yes ||
9128 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9133 DLLFLAGS=""
9135 LDDLLFLAGS=""
9137 LDEXECFLAGS=""
9139 EXTRACFLAGS=""
9141 UNIXDLLFLAGS="-fPIC"
9143 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9145 TOP_INSTALL_LIB=""
9147 TOP_INSTALL_DEV=""
9149 WINELOADER_LDFLAGS=""
9151 WINEPRELOADER_LDFLAGS=""
9153 DLLEXT=".so"
9155 LIBEXT="so"
9156 # Extract the first word of "ldd", so it can be a program name with args.
9157 set dummy ldd; ac_word=$2
9158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9159 printf %s "checking for $ac_word... " >&6; }
9160 if test ${ac_cv_path_LDD+y}
9161 then :
9162 printf %s "(cached) " >&6
9163 else $as_nop
9164 case $LDD in
9165 [\\/]* | ?:[\\/]*)
9166 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9170 as_dummy="/sbin:/usr/sbin:$PATH"
9171 for as_dir in $as_dummy
9173 IFS=$as_save_IFS
9174 case $as_dir in #(((
9175 '') as_dir=./ ;;
9176 */) ;;
9177 *) as_dir=$as_dir/ ;;
9178 esac
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9181 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9183 break 2
9185 done
9186 done
9187 IFS=$as_save_IFS
9189 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9191 esac
9193 LDD=$ac_cv_path_LDD
9194 if test -n "$LDD"; then
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9196 printf "%s\n" "$LDD" >&6; }
9197 else
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 printf "%s\n" "no" >&6; }
9203 if test -n "$ac_tool_prefix"; then
9204 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9205 set dummy ${ac_tool_prefix}otool; ac_word=$2
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9207 printf %s "checking for $ac_word... " >&6; }
9208 if test ${ac_cv_prog_OTOOL+y}
9209 then :
9210 printf %s "(cached) " >&6
9211 else $as_nop
9212 if test -n "$OTOOL"; then
9213 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9214 else
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9216 for as_dir in $PATH
9218 IFS=$as_save_IFS
9219 case $as_dir in #(((
9220 '') as_dir=./ ;;
9221 */) ;;
9222 *) as_dir=$as_dir/ ;;
9223 esac
9224 for ac_exec_ext in '' $ac_executable_extensions; do
9225 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9226 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9228 break 2
9230 done
9231 done
9232 IFS=$as_save_IFS
9236 OTOOL=$ac_cv_prog_OTOOL
9237 if test -n "$OTOOL"; then
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9239 printf "%s\n" "$OTOOL" >&6; }
9240 else
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9242 printf "%s\n" "no" >&6; }
9247 if test -z "$ac_cv_prog_OTOOL"; then
9248 ac_ct_OTOOL=$OTOOL
9249 # Extract the first word of "otool", so it can be a program name with args.
9250 set dummy otool; ac_word=$2
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9252 printf %s "checking for $ac_word... " >&6; }
9253 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9254 then :
9255 printf %s "(cached) " >&6
9256 else $as_nop
9257 if test -n "$ac_ct_OTOOL"; then
9258 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9259 else
9260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 for as_dir in $PATH
9263 IFS=$as_save_IFS
9264 case $as_dir in #(((
9265 '') as_dir=./ ;;
9266 */) ;;
9267 *) as_dir=$as_dir/ ;;
9268 esac
9269 for ac_exec_ext in '' $ac_executable_extensions; do
9270 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9271 ac_cv_prog_ac_ct_OTOOL="otool"
9272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9273 break 2
9275 done
9276 done
9277 IFS=$as_save_IFS
9281 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9282 if test -n "$ac_ct_OTOOL"; then
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9284 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9285 else
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9287 printf "%s\n" "no" >&6; }
9290 if test "x$ac_ct_OTOOL" = x; then
9291 OTOOL="otool"
9292 else
9293 case $cross_compiling:$ac_tool_warned in
9294 yes:)
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9296 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9297 ac_tool_warned=yes ;;
9298 esac
9299 OTOOL=$ac_ct_OTOOL
9301 else
9302 OTOOL="$ac_cv_prog_OTOOL"
9305 if test -n "$ac_tool_prefix"; then
9306 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9307 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9309 printf %s "checking for $ac_word... " >&6; }
9310 if test ${ac_cv_prog_READELF+y}
9311 then :
9312 printf %s "(cached) " >&6
9313 else $as_nop
9314 if test -n "$READELF"; then
9315 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9316 else
9317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9318 for as_dir in $PATH
9320 IFS=$as_save_IFS
9321 case $as_dir in #(((
9322 '') as_dir=./ ;;
9323 */) ;;
9324 *) as_dir=$as_dir/ ;;
9325 esac
9326 for ac_exec_ext in '' $ac_executable_extensions; do
9327 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9328 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9330 break 2
9332 done
9333 done
9334 IFS=$as_save_IFS
9338 READELF=$ac_cv_prog_READELF
9339 if test -n "$READELF"; then
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9341 printf "%s\n" "$READELF" >&6; }
9342 else
9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9344 printf "%s\n" "no" >&6; }
9349 if test -z "$ac_cv_prog_READELF"; then
9350 ac_ct_READELF=$READELF
9351 # Extract the first word of "readelf", so it can be a program name with args.
9352 set dummy readelf; ac_word=$2
9353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9354 printf %s "checking for $ac_word... " >&6; }
9355 if test ${ac_cv_prog_ac_ct_READELF+y}
9356 then :
9357 printf %s "(cached) " >&6
9358 else $as_nop
9359 if test -n "$ac_ct_READELF"; then
9360 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9361 else
9362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9363 for as_dir in $PATH
9365 IFS=$as_save_IFS
9366 case $as_dir in #(((
9367 '') as_dir=./ ;;
9368 */) ;;
9369 *) as_dir=$as_dir/ ;;
9370 esac
9371 for ac_exec_ext in '' $ac_executable_extensions; do
9372 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9373 ac_cv_prog_ac_ct_READELF="readelf"
9374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9375 break 2
9377 done
9378 done
9379 IFS=$as_save_IFS
9383 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9384 if test -n "$ac_ct_READELF"; then
9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9386 printf "%s\n" "$ac_ct_READELF" >&6; }
9387 else
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9389 printf "%s\n" "no" >&6; }
9392 if test "x$ac_ct_READELF" = x; then
9393 READELF="true"
9394 else
9395 case $cross_compiling:$ac_tool_warned in
9396 yes:)
9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9398 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9399 ac_tool_warned=yes ;;
9400 esac
9401 READELF=$ac_ct_READELF
9403 else
9404 READELF="$ac_cv_prog_READELF"
9407 wine_rules="all:"
9408 SUBDIRS=""
9410 DISABLED_SUBDIRS=""
9412 CONFIGURE_TARGETS=""
9415 wine_fn_config_makefile ()
9417 as_fn_append SUBDIRS " \\$as_nl $1"
9418 eval enable=\$$2
9419 case "$enable" in
9420 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9421 yes) ;;
9422 *aarch64*|*arm*|*i386*|*x86_64*)
9423 if test -n "$PE_ARCHS"
9424 then
9425 for i in $PE_ARCHS
9427 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9428 done
9429 else
9430 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9431 fi ;;
9433 case "$1, $PE_ARCHS " in
9434 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9435 esac ;;
9436 esac
9439 wine_fn_config_symlink ()
9441 ac_links=$@
9442 as_fn_append wine_rules "
9443 $ac_links:
9444 @./config.status \$@"
9445 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9448 case $host_os in
9449 cygwin*|mingw32*)
9450 LIBEXT="dll"
9451 DLLEXT=""
9452 EXTRACFLAGS="-D__WINE_PE_BUILD"
9453 if test "x$HOST_ARCH" = xi386
9454 then :
9455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9456 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9457 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9458 then :
9459 printf %s "(cached) " >&6
9460 else $as_nop
9461 ac_wine_try_cflags_saved=$CFLAGS
9462 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9465 int main(int argc, char **argv) { return 0; }
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"
9468 then :
9469 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9470 else $as_nop
9471 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9474 conftest$ac_exeext conftest.$ac_ext
9475 CFLAGS=$ac_wine_try_cflags_saved
9477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9478 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9479 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9480 then :
9481 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9484 enable_loader=${enable_loader:-no}
9485 enable_server=${enable_server:-no}
9486 with_x=${with_x:-no}
9487 with_pthread=${with_pthread:-no}
9490 darwin*|macosx*)
9491 LIBEXT="dylib"
9492 DLLFLAGS="$DLLFLAGS -fPIC"
9493 LDDLLFLAGS="-fPIC"
9494 enable_winemac_drv=${enable_winemac_drv:-yes}
9495 CARBON_LIBS="-framework Carbon"
9497 COREFOUNDATION_LIBS="-framework CoreFoundation"
9499 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9501 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9503 METAL_LIBS="-framework Metal"
9505 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9507 CORESERVICES_LIBS="-framework CoreServices"
9509 APPKIT_LIBS="-framework AppKit"
9511 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9513 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9516 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9518 case $HOST_ARCH in
9519 i386|x86_64) wine_can_build_preloader=yes ;;
9520 *) wine_can_build_preloader=no ;;
9521 esac
9523 if test "$wine_can_build_preloader" = "yes"
9524 then
9525 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"
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9527 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9528 if test ${ac_cv_cflags__Wl__no_pie+y}
9529 then :
9530 printf %s "(cached) " >&6
9531 else $as_nop
9532 ac_wine_try_cflags_saved=$CFLAGS
9533 CFLAGS="$CFLAGS -Wl,-no_pie"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9536 int main(int argc, char **argv) { return 0; }
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"
9539 then :
9540 ac_cv_cflags__Wl__no_pie=yes
9541 else $as_nop
9542 ac_cv_cflags__Wl__no_pie=no
9544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9545 conftest$ac_exeext conftest.$ac_ext
9546 CFLAGS=$ac_wine_try_cflags_saved
9548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9549 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9550 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9551 then :
9552 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9554 case $HOST_ARCH in
9555 i386)
9556 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9558 x86_64)
9559 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9561 esac
9562 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9563 else
9564 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9567 if test "x$with_coreaudio" != "xno";
9568 then
9569 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9571 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9573 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9574 then
9575 OPENCL_LIBS="-framework OpenCL"
9577 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9581 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9582 ac_ext=m
9583 ac_cpp='$OBJCPP $CPPFLAGS'
9584 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9585 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9586 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9588 ac_ext=m
9589 ac_cpp='$OBJCPP $CPPFLAGS'
9590 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9591 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9592 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9593 if test -n "$ac_tool_prefix"; then
9594 for ac_prog in gcc objcc objc cc CC clang
9596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9599 printf %s "checking for $ac_word... " >&6; }
9600 if test ${ac_cv_prog_OBJC+y}
9601 then :
9602 printf %s "(cached) " >&6
9603 else $as_nop
9604 if test -n "$OBJC"; then
9605 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9606 else
9607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9608 for as_dir in $PATH
9610 IFS=$as_save_IFS
9611 case $as_dir in #(((
9612 '') as_dir=./ ;;
9613 */) ;;
9614 *) as_dir=$as_dir/ ;;
9615 esac
9616 for ac_exec_ext in '' $ac_executable_extensions; do
9617 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9618 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9620 break 2
9622 done
9623 done
9624 IFS=$as_save_IFS
9628 OBJC=$ac_cv_prog_OBJC
9629 if test -n "$OBJC"; then
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9631 printf "%s\n" "$OBJC" >&6; }
9632 else
9633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9634 printf "%s\n" "no" >&6; }
9638 test -n "$OBJC" && break
9639 done
9641 if test -z "$OBJC"; then
9642 ac_ct_OBJC=$OBJC
9643 for ac_prog in gcc objcc objc cc CC clang
9645 # Extract the first word of "$ac_prog", so it can be a program name with args.
9646 set dummy $ac_prog; ac_word=$2
9647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9648 printf %s "checking for $ac_word... " >&6; }
9649 if test ${ac_cv_prog_ac_ct_OBJC+y}
9650 then :
9651 printf %s "(cached) " >&6
9652 else $as_nop
9653 if test -n "$ac_ct_OBJC"; then
9654 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9655 else
9656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 for as_dir in $PATH
9659 IFS=$as_save_IFS
9660 case $as_dir in #(((
9661 '') as_dir=./ ;;
9662 */) ;;
9663 *) as_dir=$as_dir/ ;;
9664 esac
9665 for ac_exec_ext in '' $ac_executable_extensions; do
9666 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9667 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9669 break 2
9671 done
9672 done
9673 IFS=$as_save_IFS
9677 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9678 if test -n "$ac_ct_OBJC"; then
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9680 printf "%s\n" "$ac_ct_OBJC" >&6; }
9681 else
9682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9683 printf "%s\n" "no" >&6; }
9687 test -n "$ac_ct_OBJC" && break
9688 done
9690 if test "x$ac_ct_OBJC" = x; then
9691 OBJC="gcc"
9692 else
9693 case $cross_compiling:$ac_tool_warned in
9694 yes:)
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9697 ac_tool_warned=yes ;;
9698 esac
9699 OBJC=$ac_ct_OBJC
9703 # Provide some information about the compiler.
9704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9705 set X $ac_compile
9706 ac_compiler=$2
9707 for ac_option in --version -v -V -qversion; do
9708 { { ac_try="$ac_compiler $ac_option >&5"
9709 case "(($ac_try" in
9710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9711 *) ac_try_echo=$ac_try;;
9712 esac
9713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9714 printf "%s\n" "$ac_try_echo"; } >&5
9715 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9716 ac_status=$?
9717 if test -s conftest.err; then
9718 sed '10a\
9719 ... rest of stderr output deleted ...
9720 10q' conftest.err >conftest.er1
9721 cat conftest.er1 >&5
9723 rm -f conftest.er1 conftest.err
9724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9725 test $ac_status = 0; }
9726 done
9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9729 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9730 if test ${ac_cv_objc_compiler_gnu+y}
9731 then :
9732 printf %s "(cached) " >&6
9733 else $as_nop
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9738 main (void)
9740 #ifndef __GNUC__
9741 choke me
9742 #endif
9745 return 0;
9747 _ACEOF
9748 if ac_fn_objc_try_compile "$LINENO"
9749 then :
9750 ac_compiler_gnu=yes
9751 else $as_nop
9752 ac_compiler_gnu=no
9754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9755 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9759 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9760 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9762 if test $ac_compiler_gnu = yes; then
9763 GOBJC=yes
9764 else
9765 GOBJC=
9767 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9768 ac_save_OBJCFLAGS=$OBJCFLAGS
9769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9770 printf %s "checking whether $OBJC accepts -g... " >&6; }
9771 if test ${ac_cv_prog_objc_g+y}
9772 then :
9773 printf %s "(cached) " >&6
9774 else $as_nop
9775 ac_save_objc_werror_flag=$ac_objc_werror_flag
9776 ac_objc_werror_flag=yes
9777 ac_cv_prog_objc_g=no
9778 OBJCFLAGS="-g"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9783 main (void)
9787 return 0;
9789 _ACEOF
9790 if ac_fn_objc_try_compile "$LINENO"
9791 then :
9792 ac_cv_prog_objc_g=yes
9793 else $as_nop
9794 OBJCFLAGS=""
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 :
9809 else $as_nop
9810 ac_objc_werror_flag=$ac_save_objc_werror_flag
9811 OBJCFLAGS="-g"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9816 main (void)
9820 return 0;
9822 _ACEOF
9823 if ac_fn_objc_try_compile "$LINENO"
9824 then :
9825 ac_cv_prog_objc_g=yes
9827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9832 ac_objc_werror_flag=$ac_save_objc_werror_flag
9834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9835 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9836 if test $ac_test_OBJCFLAGS; then
9837 OBJCFLAGS=$ac_save_OBJCFLAGS
9838 elif test $ac_cv_prog_objc_g = yes; then
9839 if test "$GOBJC" = yes; then
9840 OBJCFLAGS="-g -O2"
9841 else
9842 OBJCFLAGS="-g"
9844 else
9845 if test "$GOBJC" = yes; then
9846 OBJCFLAGS="-O2"
9847 else
9848 OBJCFLAGS=
9851 ac_ext=m
9852 ac_cpp='$OBJCPP $CPPFLAGS'
9853 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9854 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9855 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9860 #include <Metal/Metal.h>
9862 main (void)
9864 id<MTLDevice> device; device.registryID;
9866 return 0;
9868 _ACEOF
9869 if ac_fn_objc_try_compile "$LINENO"
9870 then :
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9872 printf "%s\n" "yes" >&6; }
9874 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9876 else $as_nop
9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9878 printf "%s\n" "no" >&6; }
9880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9881 ac_ext=c
9882 ac_cpp='$CPP $CPPFLAGS'
9883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9888 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9889 WINELOADER_DEPENDS="wine_info.plist"
9893 linux-android*)
9895 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9897 DLLFLAGS="$DLLFLAGS -fPIC"
9898 LDDLLFLAGS="-fPIC"
9899 LDEXECFLAGS="-Wl,-pie"
9900 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9902 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9903 if test ${ac_cv_cflags__Wl__z_defs+y}
9904 then :
9905 printf %s "(cached) " >&6
9906 else $as_nop
9907 ac_wine_try_cflags_saved=$CFLAGS
9908 CFLAGS="$CFLAGS -Wl,-z,defs"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9911 int main(int argc, char **argv) { return 0; }
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"
9914 then :
9915 ac_cv_cflags__Wl__z_defs=yes
9916 else $as_nop
9917 ac_cv_cflags__Wl__z_defs=no
9919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9920 conftest$ac_exeext conftest.$ac_ext
9921 CFLAGS=$ac_wine_try_cflags_saved
9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9924 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9925 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9926 then :
9927 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9930 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9931 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9932 then :
9933 printf %s "(cached) " >&6
9934 else $as_nop
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9939 int main(int argc, char **argv) { return 0; }
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"
9942 then :
9943 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9944 else $as_nop
9945 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9952 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9953 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9954 then :
9955 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9957 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9960 printf %s "checking for -lEGL... " >&6; }
9961 if test ${ac_cv_lib_soname_EGL+y}
9962 then :
9963 printf %s "(cached) " >&6
9964 else $as_nop
9965 ac_check_soname_save_LIBS=$LIBS
9966 LIBS="-lEGL $LIBS"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9970 /* Override any GCC internal prototype to avoid an error.
9971 Use char because int might match the return type of a GCC
9972 builtin and then its argument prototype would still apply. */
9973 char eglGetProcAddress ();
9975 main (void)
9977 return eglGetProcAddress ();
9979 return 0;
9981 _ACEOF
9982 if ac_fn_c_try_link "$LINENO"
9983 then :
9984 case "$LIBEXT" in
9985 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9986 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'` ;;
9987 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9988 if ${ac_cv_lib_soname_EGL:+false} :
9989 then :
9990 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9991 fi ;;
9992 esac
9993 else $as_nop
9994 ac_cv_lib_soname_EGL=
9996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9997 conftest$ac_exeext conftest.$ac_ext
9998 LIBS=$ac_check_soname_save_LIBS
10000 if ${ac_cv_lib_soname_EGL:+false} :
10001 then :
10002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10003 printf "%s\n" "not found" >&6; }
10005 else $as_nop
10006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10007 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10009 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10014 printf %s "checking for -lGLESv2... " >&6; }
10015 if test ${ac_cv_lib_soname_GLESv2+y}
10016 then :
10017 printf %s "(cached) " >&6
10018 else $as_nop
10019 ac_check_soname_save_LIBS=$LIBS
10020 LIBS="-lGLESv2 $LIBS"
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10024 /* Override any GCC internal prototype to avoid an error.
10025 Use char because int might match the return type of a GCC
10026 builtin and then its argument prototype would still apply. */
10027 char glFlush ();
10029 main (void)
10031 return glFlush ();
10033 return 0;
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"
10037 then :
10038 case "$LIBEXT" in
10039 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10040 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'` ;;
10041 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10042 if ${ac_cv_lib_soname_GLESv2:+false} :
10043 then :
10044 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10045 fi ;;
10046 esac
10047 else $as_nop
10048 ac_cv_lib_soname_GLESv2=
10050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_soname_save_LIBS
10054 if ${ac_cv_lib_soname_GLESv2:+false} :
10055 then :
10056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10057 printf "%s\n" "not found" >&6; }
10059 else $as_nop
10060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10061 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10063 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10068 if test "x$exec_prefix" = xNONE
10069 then
10070 case $HOST_ARCH in
10071 i386) exec_prefix='${prefix}/x86' ;;
10072 x86_64) exec_prefix='${prefix}/x86_64' ;;
10073 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10074 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10075 esac
10081 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10083 if test $HOST_ARCH = i386
10084 then
10085 DLLFLAGS="$DLLFLAGS -fno-PIC"
10086 LDDLLFLAGS="-fno-PIC"
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10088 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10089 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10090 then :
10091 printf %s "(cached) " >&6
10092 else $as_nop
10093 ac_wine_try_cflags_saved=$CFLAGS
10094 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10097 int main(int argc, char **argv) { return 0; }
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"
10100 then :
10101 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10102 else $as_nop
10103 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10106 conftest$ac_exeext conftest.$ac_ext
10107 CFLAGS=$ac_wine_try_cflags_saved
10109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10110 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10111 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10112 then :
10113 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10115 else
10116 DLLFLAGS="$DLLFLAGS -fPIC"
10117 LDDLLFLAGS="-fPIC"
10120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10121 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10122 if test ${ac_cv_wl_z_defs+y}
10123 then :
10124 printf %s "(cached) " >&6
10125 else $as_nop
10126 ac_save_CFLAGS="$CFLAGS"
10127 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"
10133 then :
10134 ac_cv_wl_z_defs=yes
10135 else $as_nop
10136 ac_cv_wl_z_defs=no
10138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10139 conftest$ac_exeext conftest.$ac_ext
10140 CFLAGS=$ac_save_CFLAGS
10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10143 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10144 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10147 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10148 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10149 then :
10150 printf %s "(cached) " >&6
10151 else $as_nop
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int main(int argc, char **argv) { return 0; }
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"
10159 then :
10160 ac_cv_cflags__Wl___export_dynamic=yes
10161 else $as_nop
10162 ac_cv_cflags__Wl___export_dynamic=no
10164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10169 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10170 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10171 then :
10172 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10174 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10176 case $host_os in
10177 linux*)
10178 as_fn_append WINELOADER_LDFLAGS " -pie"
10179 case $HOST_ARCH in
10180 i386|arm)
10181 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10184 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10185 if test ${ac_cv_cflags__static_pie+y}
10186 then :
10187 printf %s "(cached) " >&6
10188 else $as_nop
10189 ac_wine_try_cflags_saved=$CFLAGS
10190 CFLAGS="$CFLAGS -static-pie"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10193 int main(int argc, char **argv) { return 0; }
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"
10196 then :
10197 ac_cv_cflags__static_pie=yes
10198 else $as_nop
10199 ac_cv_cflags__static_pie=no
10201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10202 conftest$ac_exeext conftest.$ac_ext
10203 CFLAGS=$ac_wine_try_cflags_saved
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10206 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10207 if test "x$ac_cv_cflags__static_pie" = xyes
10208 then :
10209 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10210 else $as_nop
10211 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10214 esac
10217 case $HOST_ARCH in
10218 i386|arm)
10219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10220 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10221 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10222 then :
10223 printf %s "(cached) " >&6
10224 else $as_nop
10225 ac_wine_try_cflags_saved=$CFLAGS
10226 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10229 int main(int argc, char **argv) { return 0; }
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"
10232 then :
10233 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10234 else $as_nop
10235 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10238 conftest$ac_exeext conftest.$ac_ext
10239 CFLAGS=$ac_wine_try_cflags_saved
10241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10242 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10243 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10244 then :
10245 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10246 else $as_nop
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10248 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10249 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10250 then :
10251 printf %s "(cached) " >&6
10252 else $as_nop
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"
10260 then :
10261 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10262 else $as_nop
10263 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10270 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10271 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10272 then :
10273 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10278 as_fn_append WINELOADER_LDFLAGS " -pie"
10280 esac
10282 esac
10284 esac
10286 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10287 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10288 enable_winemac_drv=${enable_winemac_drv:-no}
10290 PE_ARCHS=""
10292 cross_archs=
10293 if test ${enable_archs+y}
10294 then :
10295 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10296 ac_save_IFS=$IFS
10297 IFS=' ,'
10298 set x $enable_archs
10299 IFS=$ac_save_IFS
10300 shift
10301 for arch
10303 case $arch in
10304 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10305 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10306 esac
10307 done
10308 else $as_nop
10309 if test "x$with_mingw" != xno
10310 then
10311 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10315 saved_CC=$CC
10316 saved_CFLAGS=$CFLAGS
10317 saved_LDFLAGS=$LDFLAGS
10319 { extra_arch=; unset extra_arch;}
10320 for arch in $cross_archs
10322 case $arch in
10323 arm64ec) test ${extra_arch+y} || extra_arch=x86_64 ;;
10324 x86_64) extra_arch="" ;;
10325 esac
10326 done
10328 for wine_arch in $cross_archs $extra_arch
10330 case "x$with_mingw" in
10331 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10332 esac
10333 if eval \${${wine_arch}_CC:+false} :
10334 then :
10335 case $wine_arch in
10336 aarch64)
10337 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10339 # Extract the first word of "$ac_prog", so it can be a program name with args.
10340 set dummy $ac_prog; ac_word=$2
10341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10342 printf %s "checking for $ac_word... " >&6; }
10343 if test ${ac_cv_prog_aarch64_CC+y}
10344 then :
10345 printf %s "(cached) " >&6
10346 else $as_nop
10347 if test -n "$aarch64_CC"; then
10348 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10349 else
10350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10351 for as_dir in $PATH
10353 IFS=$as_save_IFS
10354 case $as_dir in #(((
10355 '') as_dir=./ ;;
10356 */) ;;
10357 *) as_dir=$as_dir/ ;;
10358 esac
10359 for ac_exec_ext in '' $ac_executable_extensions; do
10360 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10361 ac_cv_prog_aarch64_CC="$ac_prog"
10362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10363 break 2
10365 done
10366 done
10367 IFS=$as_save_IFS
10371 aarch64_CC=$ac_cv_prog_aarch64_CC
10372 if test -n "$aarch64_CC"; then
10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10374 printf "%s\n" "$aarch64_CC" >&6; }
10375 else
10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10377 printf "%s\n" "no" >&6; }
10381 test -n "$aarch64_CC" && break
10382 done
10383 test -n "$aarch64_CC" || aarch64_CC="false"
10386 arm64ec)
10387 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10389 # Extract the first word of "$ac_prog", so it can be a program name with args.
10390 set dummy $ac_prog; ac_word=$2
10391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10392 printf %s "checking for $ac_word... " >&6; }
10393 if test ${ac_cv_prog_arm64ec_CC+y}
10394 then :
10395 printf %s "(cached) " >&6
10396 else $as_nop
10397 if test -n "$arm64ec_CC"; then
10398 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10399 else
10400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10401 for as_dir in $PATH
10403 IFS=$as_save_IFS
10404 case $as_dir in #(((
10405 '') as_dir=./ ;;
10406 */) ;;
10407 *) as_dir=$as_dir/ ;;
10408 esac
10409 for ac_exec_ext in '' $ac_executable_extensions; do
10410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10411 ac_cv_prog_arm64ec_CC="$ac_prog"
10412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10413 break 2
10415 done
10416 done
10417 IFS=$as_save_IFS
10421 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10422 if test -n "$arm64ec_CC"; then
10423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10424 printf "%s\n" "$arm64ec_CC" >&6; }
10425 else
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10427 printf "%s\n" "no" >&6; }
10431 test -n "$arm64ec_CC" && break
10432 done
10433 test -n "$arm64ec_CC" || arm64ec_CC="false"
10436 arm)
10437 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10439 # Extract the first word of "$ac_prog", so it can be a program name with args.
10440 set dummy $ac_prog; ac_word=$2
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10442 printf %s "checking for $ac_word... " >&6; }
10443 if test ${ac_cv_prog_arm_CC+y}
10444 then :
10445 printf %s "(cached) " >&6
10446 else $as_nop
10447 if test -n "$arm_CC"; then
10448 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10449 else
10450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10451 for as_dir in $PATH
10453 IFS=$as_save_IFS
10454 case $as_dir in #(((
10455 '') as_dir=./ ;;
10456 */) ;;
10457 *) as_dir=$as_dir/ ;;
10458 esac
10459 for ac_exec_ext in '' $ac_executable_extensions; do
10460 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10461 ac_cv_prog_arm_CC="$ac_prog"
10462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10463 break 2
10465 done
10466 done
10467 IFS=$as_save_IFS
10471 arm_CC=$ac_cv_prog_arm_CC
10472 if test -n "$arm_CC"; then
10473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10474 printf "%s\n" "$arm_CC" >&6; }
10475 else
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10477 printf "%s\n" "no" >&6; }
10481 test -n "$arm_CC" && break
10482 done
10483 test -n "$arm_CC" || arm_CC="false"
10486 i386)
10487 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 "
10488 for ac_prog in $ac_prefix_list clang
10490 # Extract the first word of "$ac_prog", so it can be a program name with args.
10491 set dummy $ac_prog; ac_word=$2
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10493 printf %s "checking for $ac_word... " >&6; }
10494 if test ${ac_cv_prog_i386_CC+y}
10495 then :
10496 printf %s "(cached) " >&6
10497 else $as_nop
10498 if test -n "$i386_CC"; then
10499 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10500 else
10501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10502 for as_dir in $PATH
10504 IFS=$as_save_IFS
10505 case $as_dir in #(((
10506 '') as_dir=./ ;;
10507 */) ;;
10508 *) as_dir=$as_dir/ ;;
10509 esac
10510 for ac_exec_ext in '' $ac_executable_extensions; do
10511 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10512 ac_cv_prog_i386_CC="$ac_prog"
10513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10514 break 2
10516 done
10517 done
10518 IFS=$as_save_IFS
10522 i386_CC=$ac_cv_prog_i386_CC
10523 if test -n "$i386_CC"; then
10524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10525 printf "%s\n" "$i386_CC" >&6; }
10526 else
10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10528 printf "%s\n" "no" >&6; }
10532 test -n "$i386_CC" && break
10533 done
10534 test -n "$i386_CC" || i386_CC="false"
10537 x86_64)
10538 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10539 for ac_prog in $ac_prefix_list clang
10541 # Extract the first word of "$ac_prog", so it can be a program name with args.
10542 set dummy $ac_prog; ac_word=$2
10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10544 printf %s "checking for $ac_word... " >&6; }
10545 if test ${ac_cv_prog_x86_64_CC+y}
10546 then :
10547 printf %s "(cached) " >&6
10548 else $as_nop
10549 if test -n "$x86_64_CC"; then
10550 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10551 else
10552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10553 for as_dir in $PATH
10555 IFS=$as_save_IFS
10556 case $as_dir in #(((
10557 '') as_dir=./ ;;
10558 */) ;;
10559 *) as_dir=$as_dir/ ;;
10560 esac
10561 for ac_exec_ext in '' $ac_executable_extensions; do
10562 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10563 ac_cv_prog_x86_64_CC="$ac_prog"
10564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10565 break 2
10567 done
10568 done
10569 IFS=$as_save_IFS
10573 x86_64_CC=$ac_cv_prog_x86_64_CC
10574 if test -n "$x86_64_CC"; then
10575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10576 printf "%s\n" "$x86_64_CC" >&6; }
10577 else
10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10579 printf "%s\n" "no" >&6; }
10583 test -n "$x86_64_CC" && break
10584 done
10585 test -n "$x86_64_CC" || x86_64_CC="false"
10588 esac
10591 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10592 LDFLAGS=$CROSSLDFLAGS
10593 eval CC=\$${wine_arch}_CC
10594 eval ${wine_arch}_CFLAGS=\$CFLAGS
10595 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10596 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10598 target=""
10599 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10601 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10602 then :
10604 else $as_nop
10605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10606 printf %s "checking whether $CC works... " >&6; }
10607 if eval test \${$as_wine_cv_crosscc+y}
10608 then :
10609 printf %s "(cached) " >&6
10610 else $as_nop
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10615 main (void)
10619 return 0;
10621 _ACEOF
10622 if ac_fn_c_try_compile "$LINENO"
10623 then :
10624 eval "$as_wine_cv_crosscc=yes"
10625 else $as_nop
10626 eval "$as_wine_cv_crosscc=no"
10628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10630 eval ac_res=\$$as_wine_cv_crosscc
10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10632 printf "%s\n" "$ac_res" >&6; }
10634 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10635 then :
10636 set x $CC
10637 shift
10638 while test $# -ge 1
10640 case "$1" in
10641 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10642 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10643 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10644 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10645 esac
10646 shift
10647 done
10649 llvm_target=$target
10650 if test -z "$llvm_target"
10651 then
10652 case $wine_arch in
10653 i386) llvm_target=i686-windows ;;
10654 arm) llvm_target=armv7-windows ;;
10655 *) llvm_target=$wine_arch-windows ;;
10656 esac
10658 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10659 llvm_extra_ldflags=""
10660 case $llvm_target in
10661 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10662 esac
10663 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10665 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10666 if eval test \${$as_ac_var+y}
10667 then :
10668 printf %s "(cached) " >&6
10669 else $as_nop
10670 ac_wine_try_cflags_saved=$CFLAGS
10671 ac_wine_try_cflags_saved_exeext=$ac_exeext
10672 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10673 ac_exeext=".exe"
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10676 void *__os_arm64x_dispatch_ret = 0;
10677 int __cdecl mainCRTStartup(void) { return 0; }
10678 _ACEOF
10679 if ac_fn_c_try_link "$LINENO"
10680 then :
10681 eval "$as_ac_var=yes"
10682 else $as_nop
10683 eval "$as_ac_var=no"
10685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10686 conftest$ac_exeext conftest.$ac_ext
10687 CFLAGS=$ac_wine_try_cflags_saved
10688 ac_exeext=$ac_wine_try_cflags_saved_exeext
10690 eval ac_res=\$$as_ac_var
10691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10692 printf "%s\n" "$ac_res" >&6; }
10693 if eval test \"x\$"$as_ac_var"\" = x"yes"
10694 then :
10695 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10696 llvm_extra_ldflags="--no-default-config"
10697 else $as_nop
10698 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10700 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10701 if eval test \${$as_ac_var+y}
10702 then :
10703 printf %s "(cached) " >&6
10704 else $as_nop
10705 ac_wine_try_cflags_saved=$CFLAGS
10706 ac_wine_try_cflags_saved_exeext=$ac_exeext
10707 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10708 ac_exeext=".exe"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10711 void *__os_arm64x_dispatch_ret = 0;
10712 int __cdecl mainCRTStartup(void) { return 0; }
10713 _ACEOF
10714 if ac_fn_c_try_link "$LINENO"
10715 then :
10716 eval "$as_ac_var=yes"
10717 else $as_nop
10718 eval "$as_ac_var=no"
10720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10721 conftest$ac_exeext conftest.$ac_ext
10722 CFLAGS=$ac_wine_try_cflags_saved
10723 ac_exeext=$ac_wine_try_cflags_saved_exeext
10725 eval ac_res=\$$as_ac_var
10726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10727 printf "%s\n" "$ac_res" >&6; }
10728 if eval test \"x\$"$as_ac_var"\" = x"yes"
10729 then :
10731 else $as_nop
10732 llvm_extra_cflags=""
10733 fi }
10734 fi }
10735 if test -n "$llvm_extra_cflags"
10736 then
10737 target=$llvm_target
10738 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10739 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10740 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10741 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10743 eval "${wine_arch}_TARGET=\$target"
10747 if test -z "$target"
10748 then
10749 if test ${enable_archs+y}
10750 then :
10751 as_fn_error $? "$wine_arch PE cross-compiler not found.
10752 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10754 continue
10757 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10760 printf %s "checking for $CC option to enable C99 features... " >&6; }
10761 if eval test \${$as_wine_cv_crosscc_c99+y}
10762 then :
10763 printf %s "(cached) " >&6
10764 else $as_nop
10765 eval "$as_wine_cv_crosscc_c99=no"
10766 for arg in '' '-std=gnu99' '-D__STDC__'
10768 test -z "$arg" || CC="$CC $arg"
10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10771 $ac_c_conftest_c99_program
10772 _ACEOF
10773 if ac_fn_c_try_compile "$LINENO"
10774 then :
10775 eval "$as_wine_cv_crosscc_c99=\$arg"
10776 else $as_nop
10777 eval "$as_wine_cv_crosscc_c99=no"
10779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10780 eval CC=\$${wine_arch}_CC
10781 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10782 then :
10784 else $as_nop
10785 break
10787 done
10790 eval res=\$$as_wine_cv_crosscc_c99
10792 case "x$res" in
10793 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10794 printf "%s\n" "none needed" >&6; } ;;
10795 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10796 printf "%s\n" "unsupported" >&6; }
10797 if test ${enable_archs+y}
10798 then :
10799 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10800 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10802 continue
10804 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10805 printf "%s\n" "$res" >&6; }
10806 as_fn_append ${wine_arch}_CC " $res" ;;
10807 esac
10809 if test "x$wine_arch" = xi386
10810 then :
10812 else $as_nop
10813 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10816 printf %s "checking whether $CC supports SEH directives... " >&6; }
10817 if eval test \${$as_wine_cv_seh_support+y}
10818 then :
10819 printf %s "(cached) " >&6
10820 else $as_nop
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10823 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10825 main (void)
10829 return 0;
10831 _ACEOF
10832 if ac_fn_c_try_compile "$LINENO"
10833 then :
10834 eval "$as_wine_cv_seh_support=yes"
10835 else $as_nop
10836 eval "$as_wine_cv_seh_support=no"
10838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10840 eval ac_res=\$$as_wine_cv_seh_support
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10842 printf "%s\n" "$ac_res" >&6; }
10843 eval res=\$$as_wine_cv_seh_support
10845 if test "x$res" = xyes
10846 then :
10848 else $as_nop
10849 if test ${enable_archs+y}
10850 then :
10851 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10852 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10854 continue
10858 if test "x$wine_arch" = x$extra_arch
10859 then :
10861 else $as_nop
10862 as_fn_append PE_ARCHS " $wine_arch"
10865 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10867 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10868 if eval test \${$as_ac_var+y}
10869 then :
10870 printf %s "(cached) " >&6
10871 else $as_nop
10872 ac_wine_try_cflags_saved=$CFLAGS
10873 ac_wine_try_cflags_saved_exeext=$ac_exeext
10874 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10875 ac_exeext=".exe"
10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10878 void *__os_arm64x_dispatch_ret = 0;
10879 int __cdecl mainCRTStartup(void) { return 0; }
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"
10882 then :
10883 eval "$as_ac_var=yes"
10884 else $as_nop
10885 eval "$as_ac_var=no"
10887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10888 conftest$ac_exeext conftest.$ac_ext
10889 CFLAGS=$ac_wine_try_cflags_saved
10890 ac_exeext=$ac_wine_try_cflags_saved_exeext
10892 eval ac_res=\$$as_ac_var
10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10894 printf "%s\n" "$ac_res" >&6; }
10895 if eval test \"x\$"$as_ac_var"\" = x"yes"
10896 then :
10897 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10898 fi }
10899 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10901 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10902 if eval test \${$as_ac_var+y}
10903 then :
10904 printf %s "(cached) " >&6
10905 else $as_nop
10906 ac_wine_try_cflags_saved=$CFLAGS
10907 ac_wine_try_cflags_saved_exeext=$ac_exeext
10908 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10909 ac_exeext=".exe"
10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10912 void *__os_arm64x_dispatch_ret = 0;
10913 int __cdecl mainCRTStartup(void) { return 0; }
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"
10916 then :
10917 eval "$as_ac_var=yes"
10918 else $as_nop
10919 eval "$as_ac_var=no"
10921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10922 conftest$ac_exeext conftest.$ac_ext
10923 CFLAGS=$ac_wine_try_cflags_saved
10924 ac_exeext=$ac_wine_try_cflags_saved_exeext
10926 eval ac_res=\$$as_ac_var
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10928 printf "%s\n" "$ac_res" >&6; }
10929 if eval test \"x\$"$as_ac_var"\" = x"yes"
10930 then :
10931 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10932 fi }
10933 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10935 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10936 if eval test \${$as_ac_var+y}
10937 then :
10938 printf %s "(cached) " >&6
10939 else $as_nop
10940 ac_wine_try_cflags_saved=$CFLAGS
10941 ac_wine_try_cflags_saved_exeext=$ac_exeext
10942 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10943 ac_exeext=".exe"
10944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10945 /* end confdefs.h. */
10946 void *__os_arm64x_dispatch_ret = 0;
10947 int __cdecl mainCRTStartup(void) { return 0; }
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"
10950 then :
10951 eval "$as_ac_var=yes"
10952 else $as_nop
10953 eval "$as_ac_var=no"
10955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10956 conftest$ac_exeext conftest.$ac_ext
10957 CFLAGS=$ac_wine_try_cflags_saved
10958 ac_exeext=$ac_wine_try_cflags_saved_exeext
10960 eval ac_res=\$$as_ac_var
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10962 printf "%s\n" "$ac_res" >&6; }
10963 if eval test \"x\$"$as_ac_var"\" = x"yes"
10964 then :
10965 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10966 fi }
10967 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10969 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10970 if eval test \${$as_ac_var+y}
10971 then :
10972 printf %s "(cached) " >&6
10973 else $as_nop
10974 ac_wine_try_cflags_saved=$CFLAGS
10975 ac_wine_try_cflags_saved_exeext=$ac_exeext
10976 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10977 ac_exeext=".exe"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10980 void *__os_arm64x_dispatch_ret = 0;
10981 int __cdecl mainCRTStartup(void) { return 0; }
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"
10984 then :
10985 eval "$as_ac_var=yes"
10986 else $as_nop
10987 eval "$as_ac_var=no"
10989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10990 conftest$ac_exeext conftest.$ac_ext
10991 CFLAGS=$ac_wine_try_cflags_saved
10992 ac_exeext=$ac_wine_try_cflags_saved_exeext
10994 eval ac_res=\$$as_ac_var
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10996 printf "%s\n" "$ac_res" >&6; }
10997 if eval test \"x\$"$as_ac_var"\" = x"yes"
10998 then :
10999 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11000 fi }
11001 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11003 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11004 if eval test \${$as_ac_var+y}
11005 then :
11006 printf %s "(cached) " >&6
11007 else $as_nop
11008 ac_wine_try_cflags_saved=$CFLAGS
11009 ac_wine_try_cflags_saved_exeext=$ac_exeext
11010 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11011 ac_exeext=".exe"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11014 void *__os_arm64x_dispatch_ret = 0;
11015 int __cdecl mainCRTStartup(void) { return 0; }
11016 _ACEOF
11017 if ac_fn_c_try_link "$LINENO"
11018 then :
11019 eval "$as_ac_var=yes"
11020 else $as_nop
11021 eval "$as_ac_var=no"
11023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11024 conftest$ac_exeext conftest.$ac_ext
11025 CFLAGS=$ac_wine_try_cflags_saved
11026 ac_exeext=$ac_wine_try_cflags_saved_exeext
11028 eval ac_res=\$$as_ac_var
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11030 printf "%s\n" "$ac_res" >&6; }
11031 if eval test \"x\$"$as_ac_var"\" = x"yes"
11032 then :
11033 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11034 fi }
11035 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11037 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11038 if eval test \${$as_ac_var+y}
11039 then :
11040 printf %s "(cached) " >&6
11041 else $as_nop
11042 ac_wine_try_cflags_saved=$CFLAGS
11043 ac_wine_try_cflags_saved_exeext=$ac_exeext
11044 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11045 ac_exeext=".exe"
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11048 void *__os_arm64x_dispatch_ret = 0;
11049 int __cdecl mainCRTStartup(void) { return 0; }
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"
11052 then :
11053 eval "$as_ac_var=yes"
11054 else $as_nop
11055 eval "$as_ac_var=no"
11057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11058 conftest$ac_exeext conftest.$ac_ext
11059 CFLAGS=$ac_wine_try_cflags_saved
11060 ac_exeext=$ac_wine_try_cflags_saved_exeext
11062 eval ac_res=\$$as_ac_var
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11064 printf "%s\n" "$ac_res" >&6; }
11065 if eval test \"x\$"$as_ac_var"\" = x"yes"
11066 then :
11067 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11068 fi }
11069 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11071 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11072 if eval test \${$as_ac_var+y}
11073 then :
11074 printf %s "(cached) " >&6
11075 else $as_nop
11076 ac_wine_try_cflags_saved=$CFLAGS
11077 ac_wine_try_cflags_saved_exeext=$ac_exeext
11078 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11079 ac_exeext=".exe"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082 void *__os_arm64x_dispatch_ret = 0;
11083 int __cdecl mainCRTStartup(void) { return 0; }
11084 _ACEOF
11085 if ac_fn_c_try_link "$LINENO"
11086 then :
11087 eval "$as_ac_var=yes"
11088 else $as_nop
11089 eval "$as_ac_var=no"
11091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11092 conftest$ac_exeext conftest.$ac_ext
11093 CFLAGS=$ac_wine_try_cflags_saved
11094 ac_exeext=$ac_wine_try_cflags_saved_exeext
11096 eval ac_res=\$$as_ac_var
11097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11098 printf "%s\n" "$ac_res" >&6; }
11099 if eval test \"x\$"$as_ac_var"\" = x"yes"
11100 then :
11101 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11102 fi }
11103 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11105 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11106 if eval test \${$as_ac_var+y}
11107 then :
11108 printf %s "(cached) " >&6
11109 else $as_nop
11110 ac_wine_try_cflags_saved=$CFLAGS
11111 ac_wine_try_cflags_saved_exeext=$ac_exeext
11112 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11113 ac_exeext=".exe"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11116 void *__os_arm64x_dispatch_ret = 0;
11117 int __cdecl mainCRTStartup(void) { return 0; }
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"
11120 then :
11121 eval "$as_ac_var=yes"
11122 else $as_nop
11123 eval "$as_ac_var=no"
11125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11126 conftest$ac_exeext conftest.$ac_ext
11127 CFLAGS=$ac_wine_try_cflags_saved
11128 ac_exeext=$ac_wine_try_cflags_saved_exeext
11130 eval ac_res=\$$as_ac_var
11131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11132 printf "%s\n" "$ac_res" >&6; }
11133 if eval test \"x\$"$as_ac_var"\" = x"yes"
11134 then :
11135 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11136 fi }
11137 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11139 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11140 if eval test \${$as_ac_var+y}
11141 then :
11142 printf %s "(cached) " >&6
11143 else $as_nop
11144 ac_wine_try_cflags_saved=$CFLAGS
11145 ac_wine_try_cflags_saved_exeext=$ac_exeext
11146 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11147 ac_exeext=".exe"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11150 void *__os_arm64x_dispatch_ret = 0;
11151 int __cdecl mainCRTStartup(void) { return 0; }
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"
11154 then :
11155 eval "$as_ac_var=yes"
11156 else $as_nop
11157 eval "$as_ac_var=no"
11159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11160 conftest$ac_exeext conftest.$ac_ext
11161 CFLAGS=$ac_wine_try_cflags_saved
11162 ac_exeext=$ac_wine_try_cflags_saved_exeext
11164 eval ac_res=\$$as_ac_var
11165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11166 printf "%s\n" "$ac_res" >&6; }
11167 if eval test \"x\$"$as_ac_var"\" = x"yes"
11168 then :
11169 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11170 fi }
11171 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11173 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11174 if eval test \${$as_ac_var+y}
11175 then :
11176 printf %s "(cached) " >&6
11177 else $as_nop
11178 ac_wine_try_cflags_saved=$CFLAGS
11179 ac_wine_try_cflags_saved_exeext=$ac_exeext
11180 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11181 ac_exeext=".exe"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11184 void *__os_arm64x_dispatch_ret = 0;
11185 int __cdecl mainCRTStartup(void) { return 0; }
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"
11188 then :
11189 eval "$as_ac_var=yes"
11190 else $as_nop
11191 eval "$as_ac_var=no"
11193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11194 conftest$ac_exeext conftest.$ac_ext
11195 CFLAGS=$ac_wine_try_cflags_saved
11196 ac_exeext=$ac_wine_try_cflags_saved_exeext
11198 eval ac_res=\$$as_ac_var
11199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11200 printf "%s\n" "$ac_res" >&6; }
11201 if eval test \"x\$"$as_ac_var"\" = x"yes"
11202 then :
11203 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11204 fi }
11205 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11207 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11208 if eval test \${$as_ac_var+y}
11209 then :
11210 printf %s "(cached) " >&6
11211 else $as_nop
11212 ac_wine_try_cflags_saved=$CFLAGS
11213 ac_wine_try_cflags_saved_exeext=$ac_exeext
11214 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11215 ac_exeext=".exe"
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11218 void *__os_arm64x_dispatch_ret = 0;
11219 int __cdecl mainCRTStartup(void) { return 0; }
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"
11222 then :
11223 eval "$as_ac_var=yes"
11224 else $as_nop
11225 eval "$as_ac_var=no"
11227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11228 conftest$ac_exeext conftest.$ac_ext
11229 CFLAGS=$ac_wine_try_cflags_saved
11230 ac_exeext=$ac_wine_try_cflags_saved_exeext
11232 eval ac_res=\$$as_ac_var
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11234 printf "%s\n" "$ac_res" >&6; }
11235 if eval test \"x\$"$as_ac_var"\" = x"yes"
11236 then :
11237 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11238 fi }
11239 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11241 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11242 if eval test \${$as_ac_var+y}
11243 then :
11244 printf %s "(cached) " >&6
11245 else $as_nop
11246 ac_wine_try_cflags_saved=$CFLAGS
11247 ac_wine_try_cflags_saved_exeext=$ac_exeext
11248 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11249 ac_exeext=".exe"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11252 void *__os_arm64x_dispatch_ret = 0;
11253 int __cdecl mainCRTStartup(void) { return 0; }
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"
11256 then :
11257 eval "$as_ac_var=yes"
11258 else $as_nop
11259 eval "$as_ac_var=no"
11261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11262 conftest$ac_exeext conftest.$ac_ext
11263 CFLAGS=$ac_wine_try_cflags_saved
11264 ac_exeext=$ac_wine_try_cflags_saved_exeext
11266 eval ac_res=\$$as_ac_var
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11268 printf "%s\n" "$ac_res" >&6; }
11269 if eval test \"x\$"$as_ac_var"\" = x"yes"
11270 then :
11271 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11272 fi }
11273 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11275 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11276 if eval test \${$as_ac_var+y}
11277 then :
11278 printf %s "(cached) " >&6
11279 else $as_nop
11280 ac_wine_try_cflags_saved=$CFLAGS
11281 ac_wine_try_cflags_saved_exeext=$ac_exeext
11282 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11283 ac_exeext=".exe"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11286 void *__os_arm64x_dispatch_ret = 0;
11287 int __cdecl mainCRTStartup(void) { return 0; }
11288 _ACEOF
11289 if ac_fn_c_try_link "$LINENO"
11290 then :
11291 eval "$as_ac_var=yes"
11292 else $as_nop
11293 eval "$as_ac_var=no"
11295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11296 conftest$ac_exeext conftest.$ac_ext
11297 CFLAGS=$ac_wine_try_cflags_saved
11298 ac_exeext=$ac_wine_try_cflags_saved_exeext
11300 eval ac_res=\$$as_ac_var
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11302 printf "%s\n" "$ac_res" >&6; }
11303 if eval test \"x\$"$as_ac_var"\" = x"yes"
11304 then :
11305 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11306 fi }
11307 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11309 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11310 if eval test \${$as_ac_var+y}
11311 then :
11312 printf %s "(cached) " >&6
11313 else $as_nop
11314 ac_wine_try_cflags_saved=$CFLAGS
11315 ac_wine_try_cflags_saved_exeext=$ac_exeext
11316 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11317 ac_exeext=".exe"
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11320 void *__os_arm64x_dispatch_ret = 0;
11321 int __cdecl mainCRTStartup(void) { return 0; }
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"
11324 then :
11325 eval "$as_ac_var=yes"
11326 else $as_nop
11327 eval "$as_ac_var=no"
11329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11330 conftest$ac_exeext conftest.$ac_ext
11331 CFLAGS=$ac_wine_try_cflags_saved
11332 ac_exeext=$ac_wine_try_cflags_saved_exeext
11334 eval ac_res=\$$as_ac_var
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11336 printf "%s\n" "$ac_res" >&6; }
11337 if eval test \"x\$"$as_ac_var"\" = x"yes"
11338 then :
11339 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11340 fi }
11341 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11343 printf %s "checking whether $CC supports -Wvla... " >&6; }
11344 if eval test \${$as_ac_var+y}
11345 then :
11346 printf %s "(cached) " >&6
11347 else $as_nop
11348 ac_wine_try_cflags_saved=$CFLAGS
11349 ac_wine_try_cflags_saved_exeext=$ac_exeext
11350 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11351 ac_exeext=".exe"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11354 void *__os_arm64x_dispatch_ret = 0;
11355 int __cdecl mainCRTStartup(void) { return 0; }
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"
11358 then :
11359 eval "$as_ac_var=yes"
11360 else $as_nop
11361 eval "$as_ac_var=no"
11363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11364 conftest$ac_exeext conftest.$ac_ext
11365 CFLAGS=$ac_wine_try_cflags_saved
11366 ac_exeext=$ac_wine_try_cflags_saved_exeext
11368 eval ac_res=\$$as_ac_var
11369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11370 printf "%s\n" "$ac_res" >&6; }
11371 if eval test \"x\$"$as_ac_var"\" = x"yes"
11372 then :
11373 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11374 fi }
11375 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11377 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11378 if eval test \${$as_ac_var+y}
11379 then :
11380 printf %s "(cached) " >&6
11381 else $as_nop
11382 ac_wine_try_cflags_saved=$CFLAGS
11383 ac_wine_try_cflags_saved_exeext=$ac_exeext
11384 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11385 ac_exeext=".exe"
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11388 void *__os_arm64x_dispatch_ret = 0;
11389 int __cdecl mainCRTStartup(void) { return 0; }
11390 _ACEOF
11391 if ac_fn_c_try_link "$LINENO"
11392 then :
11393 eval "$as_ac_var=yes"
11394 else $as_nop
11395 eval "$as_ac_var=no"
11397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11398 conftest$ac_exeext conftest.$ac_ext
11399 CFLAGS=$ac_wine_try_cflags_saved
11400 ac_exeext=$ac_wine_try_cflags_saved_exeext
11402 eval ac_res=\$$as_ac_var
11403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11404 printf "%s\n" "$ac_res" >&6; }
11405 if eval test \"x\$"$as_ac_var"\" = x"yes"
11406 then :
11407 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11408 fi }
11409 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11411 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11412 if eval test \${$as_ac_var+y}
11413 then :
11414 printf %s "(cached) " >&6
11415 else $as_nop
11416 ac_wine_try_cflags_saved=$CFLAGS
11417 ac_wine_try_cflags_saved_exeext=$ac_exeext
11418 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11419 ac_exeext=".exe"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11422 void *__os_arm64x_dispatch_ret = 0;
11423 int __cdecl mainCRTStartup(void) { return 0; }
11424 _ACEOF
11425 if ac_fn_c_try_link "$LINENO"
11426 then :
11427 eval "$as_ac_var=yes"
11428 else $as_nop
11429 eval "$as_ac_var=no"
11431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11432 conftest$ac_exeext conftest.$ac_ext
11433 CFLAGS=$ac_wine_try_cflags_saved
11434 ac_exeext=$ac_wine_try_cflags_saved_exeext
11436 eval ac_res=\$$as_ac_var
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11438 printf "%s\n" "$ac_res" >&6; }
11439 if eval test \"x\$"$as_ac_var"\" = x"yes"
11440 then :
11441 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11442 fi }
11443 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11445 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11446 if eval test \${$as_ac_var+y}
11447 then :
11448 printf %s "(cached) " >&6
11449 else $as_nop
11450 ac_wine_try_cflags_saved=$CFLAGS
11451 ac_wine_try_cflags_saved_exeext=$ac_exeext
11452 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11453 ac_exeext=".exe"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11456 void *__os_arm64x_dispatch_ret = 0;
11457 int __cdecl mainCRTStartup(void) { return 0; }
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"
11460 then :
11461 eval "$as_ac_var=yes"
11462 else $as_nop
11463 eval "$as_ac_var=no"
11465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11466 conftest$ac_exeext conftest.$ac_ext
11467 CFLAGS=$ac_wine_try_cflags_saved
11468 ac_exeext=$ac_wine_try_cflags_saved_exeext
11470 eval ac_res=\$$as_ac_var
11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11472 printf "%s\n" "$ac_res" >&6; }
11473 if eval test \"x\$"$as_ac_var"\" = x"yes"
11474 then :
11475 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11476 fi }
11477 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11479 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11480 if eval test \${$as_ac_var+y}
11481 then :
11482 printf %s "(cached) " >&6
11483 else $as_nop
11484 ac_wine_try_cflags_saved=$CFLAGS
11485 ac_wine_try_cflags_saved_exeext=$ac_exeext
11486 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11487 ac_exeext=".exe"
11488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11490 void *__os_arm64x_dispatch_ret = 0;
11491 int __cdecl mainCRTStartup(void) { return 0; }
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"
11494 then :
11495 eval "$as_ac_var=yes"
11496 else $as_nop
11497 eval "$as_ac_var=no"
11499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11500 conftest$ac_exeext conftest.$ac_ext
11501 CFLAGS=$ac_wine_try_cflags_saved
11502 ac_exeext=$ac_wine_try_cflags_saved_exeext
11504 eval ac_res=\$$as_ac_var
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11506 printf "%s\n" "$ac_res" >&6; }
11507 if eval test \"x\$"$as_ac_var"\" = x"yes"
11508 then :
11509 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11510 fi }
11511 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" | $as_tr_sh`
11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11513 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11514 if eval test \${$as_ac_var+y}
11515 then :
11516 printf %s "(cached) " >&6
11517 else $as_nop
11518 ac_wine_try_cflags_saved=$CFLAGS
11519 ac_wine_try_cflags_saved_exeext=$ac_exeext
11520 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11521 ac_exeext=".exe"
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 void *__os_arm64x_dispatch_ret = 0;
11525 int __cdecl mainCRTStartup(void) { return 0; }
11526 _ACEOF
11527 if ac_fn_c_try_link "$LINENO"
11528 then :
11529 eval "$as_ac_var=yes"
11530 else $as_nop
11531 eval "$as_ac_var=no"
11533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11534 conftest$ac_exeext conftest.$ac_ext
11535 CFLAGS=$ac_wine_try_cflags_saved
11536 ac_exeext=$ac_wine_try_cflags_saved_exeext
11538 eval ac_res=\$$as_ac_var
11539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11540 printf "%s\n" "$ac_res" >&6; }
11541 if eval test \"x\$"$as_ac_var"\" = x"yes"
11542 then :
11544 else $as_nop
11545 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11547 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11548 if eval test \${$as_ac_var+y}
11549 then :
11550 printf %s "(cached) " >&6
11551 else $as_nop
11552 ac_wine_try_cflags_saved=$CFLAGS
11553 ac_wine_try_cflags_saved_exeext=$ac_exeext
11554 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11555 ac_exeext=".exe"
11556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11558 void *__os_arm64x_dispatch_ret = 0;
11559 int __cdecl mainCRTStartup(void) { return 0; }
11560 _ACEOF
11561 if ac_fn_c_try_link "$LINENO"
11562 then :
11563 eval "$as_ac_var=yes"
11564 else $as_nop
11565 eval "$as_ac_var=no"
11567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11568 conftest$ac_exeext conftest.$ac_ext
11569 CFLAGS=$ac_wine_try_cflags_saved
11570 ac_exeext=$ac_wine_try_cflags_saved_exeext
11572 eval ac_res=\$$as_ac_var
11573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11574 printf "%s\n" "$ac_res" >&6; }
11575 if eval test \"x\$"$as_ac_var"\" = x"yes"
11576 then :
11577 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11578 fi }
11579 fi }
11581 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" | $as_tr_sh`
11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11583 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11584 if eval test \${$as_ac_var+y}
11585 then :
11586 printf %s "(cached) " >&6
11587 else $as_nop
11588 ac_wine_try_cflags_saved=$CFLAGS
11589 ac_wine_try_cflags_saved_exeext=$ac_exeext
11590 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11591 ac_exeext=".exe"
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11594 void *__os_arm64x_dispatch_ret = 0;
11595 int __cdecl mainCRTStartup(void) { return 0; }
11596 _ACEOF
11597 if ac_fn_c_try_link "$LINENO"
11598 then :
11599 eval "$as_ac_var=yes"
11600 else $as_nop
11601 eval "$as_ac_var=no"
11603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11604 conftest$ac_exeext conftest.$ac_ext
11605 CFLAGS=$ac_wine_try_cflags_saved
11606 ac_exeext=$ac_wine_try_cflags_saved_exeext
11608 eval ac_res=\$$as_ac_var
11609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11610 printf "%s\n" "$ac_res" >&6; }
11611 if eval test \"x\$"$as_ac_var"\" = x"yes"
11612 then :
11613 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11614 fi }
11616 case $wine_arch in
11617 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11619 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&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 -fno-omit-frame-pointer"
11627 ac_exeext=".exe"
11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11630 void *__os_arm64x_dispatch_ret = 0;
11631 int __cdecl mainCRTStartup(void) { return 0; }
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"
11634 then :
11635 eval "$as_ac_var=yes"
11636 else $as_nop
11637 eval "$as_ac_var=no"
11639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11640 conftest$ac_exeext conftest.$ac_ext
11641 CFLAGS=$ac_wine_try_cflags_saved
11642 ac_exeext=$ac_wine_try_cflags_saved_exeext
11644 eval ac_res=\$$as_ac_var
11645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11646 printf "%s\n" "$ac_res" >&6; }
11647 if eval test \"x\$"$as_ac_var"\" = x"yes"
11648 then :
11649 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11650 fi }
11651 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11653 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11654 if eval test \${$as_ac_var+y}
11655 then :
11656 printf %s "(cached) " >&6
11657 else $as_nop
11658 ac_wine_try_cflags_saved=$CFLAGS
11659 ac_wine_try_cflags_saved_exeext=$ac_exeext
11660 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11661 ac_exeext=".exe"
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11664 void *__os_arm64x_dispatch_ret = 0;
11665 int __cdecl mainCRTStartup(void) { return 0; }
11666 _ACEOF
11667 if ac_fn_c_try_link "$LINENO"
11668 then :
11669 eval "$as_ac_var=yes"
11670 else $as_nop
11671 eval "$as_ac_var=no"
11673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11674 conftest$ac_exeext conftest.$ac_ext
11675 CFLAGS=$ac_wine_try_cflags_saved
11676 ac_exeext=$ac_wine_try_cflags_saved_exeext
11678 eval ac_res=\$$as_ac_var
11679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11680 printf "%s\n" "$ac_res" >&6; }
11681 if eval test \"x\$"$as_ac_var"\" = x"yes"
11682 then :
11683 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11684 fi }
11685 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11687 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11688 if eval test \${$as_ac_var+y}
11689 then :
11690 printf %s "(cached) " >&6
11691 else $as_nop
11692 ac_wine_try_cflags_saved=$CFLAGS
11693 ac_wine_try_cflags_saved_exeext=$ac_exeext
11694 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11695 ac_exeext=".exe"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11698 void *__os_arm64x_dispatch_ret = 0;
11699 int __cdecl mainCRTStartup(void) { return 0; }
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"
11702 then :
11703 eval "$as_ac_var=yes"
11704 else $as_nop
11705 eval "$as_ac_var=no"
11707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11708 conftest$ac_exeext conftest.$ac_ext
11709 CFLAGS=$ac_wine_try_cflags_saved
11710 ac_exeext=$ac_wine_try_cflags_saved_exeext
11712 eval ac_res=\$$as_ac_var
11713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11714 printf "%s\n" "$ac_res" >&6; }
11715 if eval test \"x\$"$as_ac_var"\" = x"yes"
11716 then :
11717 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11718 fi } ;;
11719 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11721 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11722 if eval test \${$as_ac_var+y}
11723 then :
11724 printf %s "(cached) " >&6
11725 else $as_nop
11726 ac_wine_try_cflags_saved=$CFLAGS
11727 ac_wine_try_cflags_saved_exeext=$ac_exeext
11728 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11729 ac_exeext=".exe"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11732 void *__os_arm64x_dispatch_ret = 0;
11733 int __cdecl mainCRTStartup(void) { return 0; }
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"
11736 then :
11737 eval "$as_ac_var=yes"
11738 else $as_nop
11739 eval "$as_ac_var=no"
11741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11742 conftest$ac_exeext conftest.$ac_ext
11743 CFLAGS=$ac_wine_try_cflags_saved
11744 ac_exeext=$ac_wine_try_cflags_saved_exeext
11746 eval ac_res=\$$as_ac_var
11747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11748 printf "%s\n" "$ac_res" >&6; }
11749 if eval test \"x\$"$as_ac_var"\" = x"yes"
11750 then :
11751 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11752 fi }
11753 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11755 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11756 if eval test \${$as_ac_var+y}
11757 then :
11758 printf %s "(cached) " >&6
11759 else $as_nop
11760 ac_wine_try_cflags_saved=$CFLAGS
11761 ac_wine_try_cflags_saved_exeext=$ac_exeext
11762 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11763 ac_exeext=".exe"
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11766 void *__os_arm64x_dispatch_ret = 0;
11767 int __cdecl mainCRTStartup(void) { return 0; }
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"
11770 then :
11771 eval "$as_ac_var=yes"
11772 else $as_nop
11773 eval "$as_ac_var=no"
11775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11776 conftest$ac_exeext conftest.$ac_ext
11777 CFLAGS=$ac_wine_try_cflags_saved
11778 ac_exeext=$ac_wine_try_cflags_saved_exeext
11780 eval ac_res=\$$as_ac_var
11781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11782 printf "%s\n" "$ac_res" >&6; }
11783 if eval test \"x\$"$as_ac_var"\" = x"yes"
11784 then :
11785 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11786 fi }
11787 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11789 printf %s "checking whether $CC supports -mcx16... " >&6; }
11790 if eval test \${$as_ac_var+y}
11791 then :
11792 printf %s "(cached) " >&6
11793 else $as_nop
11794 ac_wine_try_cflags_saved=$CFLAGS
11795 ac_wine_try_cflags_saved_exeext=$ac_exeext
11796 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11797 ac_exeext=".exe"
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11800 void *__os_arm64x_dispatch_ret = 0;
11801 int __cdecl mainCRTStartup(void) { return 0; }
11802 _ACEOF
11803 if ac_fn_c_try_link "$LINENO"
11804 then :
11805 eval "$as_ac_var=yes"
11806 else $as_nop
11807 eval "$as_ac_var=no"
11809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11810 conftest$ac_exeext conftest.$ac_ext
11811 CFLAGS=$ac_wine_try_cflags_saved
11812 ac_exeext=$ac_wine_try_cflags_saved_exeext
11814 eval ac_res=\$$as_ac_var
11815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11816 printf "%s\n" "$ac_res" >&6; }
11817 if eval test \"x\$"$as_ac_var"\" = x"yes"
11818 then :
11819 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11820 fi }
11821 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11823 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11824 if eval test \${$as_ac_var+y}
11825 then :
11826 printf %s "(cached) " >&6
11827 else $as_nop
11828 ac_wine_try_cflags_saved=$CFLAGS
11829 ac_wine_try_cflags_saved_exeext=$ac_exeext
11830 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11831 ac_exeext=".exe"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11834 void *__os_arm64x_dispatch_ret = 0;
11835 int __cdecl mainCRTStartup(void) { return 0; }
11836 _ACEOF
11837 if ac_fn_c_try_link "$LINENO"
11838 then :
11839 eval "$as_ac_var=yes"
11840 else $as_nop
11841 eval "$as_ac_var=no"
11843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11844 conftest$ac_exeext conftest.$ac_ext
11845 CFLAGS=$ac_wine_try_cflags_saved
11846 ac_exeext=$ac_wine_try_cflags_saved_exeext
11848 eval ac_res=\$$as_ac_var
11849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11850 printf "%s\n" "$ac_res" >&6; }
11851 if eval test \"x\$"$as_ac_var"\" = x"yes"
11852 then :
11853 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11854 fi } ;;
11855 esac
11857 wine_crossdebug=$CROSSDEBUG
11858 if test -z "$wine_crossdebug"
11859 then
11860 for ac_flag in $CFLAGS; do
11861 case $ac_flag in
11862 -gdwarf*) wine_crossdebug=dwarf ;;
11863 -gcodeview) wine_crossdebug=pdb ;;
11864 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11865 esac
11866 done
11869 ac_debug_format_seen=""
11870 for ac_flag in $CFLAGS; do
11871 case $ac_flag in
11872 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11873 esac
11874 done
11875 if test "x$ac_debug_format_seen" = x
11876 then
11877 case $wine_crossdebug in
11878 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11880 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11881 if eval test \${$as_ac_var+y}
11882 then :
11883 printf %s "(cached) " >&6
11884 else $as_nop
11885 ac_wine_try_cflags_saved=$CFLAGS
11886 ac_wine_try_cflags_saved_exeext=$ac_exeext
11887 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11888 ac_exeext=".exe"
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11891 void *__os_arm64x_dispatch_ret = 0;
11892 int __cdecl mainCRTStartup(void) { return 0; }
11893 _ACEOF
11894 if ac_fn_c_try_link "$LINENO"
11895 then :
11896 eval "$as_ac_var=yes"
11897 else $as_nop
11898 eval "$as_ac_var=no"
11900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11901 conftest$ac_exeext conftest.$ac_ext
11902 CFLAGS=$ac_wine_try_cflags_saved
11903 ac_exeext=$ac_wine_try_cflags_saved_exeext
11905 eval ac_res=\$$as_ac_var
11906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11907 printf "%s\n" "$ac_res" >&6; }
11908 if eval test \"x\$"$as_ac_var"\" = x"yes"
11909 then :
11910 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11911 fi } ;;
11912 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11914 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11915 if eval test \${$as_ac_var+y}
11916 then :
11917 printf %s "(cached) " >&6
11918 else $as_nop
11919 ac_wine_try_cflags_saved=$CFLAGS
11920 ac_wine_try_cflags_saved_exeext=$ac_exeext
11921 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11922 ac_exeext=".exe"
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11925 void *__os_arm64x_dispatch_ret = 0;
11926 int __cdecl mainCRTStartup(void) { return 0; }
11927 _ACEOF
11928 if ac_fn_c_try_link "$LINENO"
11929 then :
11930 eval "$as_ac_var=yes"
11931 else $as_nop
11932 eval "$as_ac_var=no"
11934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11935 conftest$ac_exeext conftest.$ac_ext
11936 CFLAGS=$ac_wine_try_cflags_saved
11937 ac_exeext=$ac_wine_try_cflags_saved_exeext
11939 eval ac_res=\$$as_ac_var
11940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11941 printf "%s\n" "$ac_res" >&6; }
11942 if eval test \"x\$"$as_ac_var"\" = x"yes"
11943 then :
11944 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11945 fi } ;;
11946 esac
11948 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11950 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11952 printf %s "checking whether $CC supports -Werror... " >&6; }
11953 if eval test \${$as_ac_var+y}
11954 then :
11955 printf %s "(cached) " >&6
11956 else $as_nop
11957 ac_wine_try_cflags_saved=$CFLAGS
11958 ac_wine_try_cflags_saved_exeext=$ac_exeext
11959 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11960 ac_exeext=".exe"
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963 void *__os_arm64x_dispatch_ret = 0;
11964 int __cdecl mainCRTStartup(void) { return 0; }
11965 _ACEOF
11966 if ac_fn_c_try_link "$LINENO"
11967 then :
11968 eval "$as_ac_var=yes"
11969 else $as_nop
11970 eval "$as_ac_var=no"
11972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11973 conftest$ac_exeext conftest.$ac_ext
11974 CFLAGS=$ac_wine_try_cflags_saved
11975 ac_exeext=$ac_wine_try_cflags_saved_exeext
11977 eval ac_res=\$$as_ac_var
11978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11979 printf "%s\n" "$ac_res" >&6; }
11980 if eval test \"x\$"$as_ac_var"\" = x"yes"
11981 then :
11982 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11983 fi }
11984 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11986 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11987 if eval test \${$as_ac_var+y}
11988 then :
11989 printf %s "(cached) " >&6
11990 else $as_nop
11991 ac_wine_try_cflags_saved=$CFLAGS
11992 ac_wine_try_cflags_saved_exeext=$ac_exeext
11993 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11994 ac_exeext=".exe"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11997 void *__os_arm64x_dispatch_ret = 0;
11998 int __cdecl mainCRTStartup(void) { return 0; }
11999 _ACEOF
12000 if ac_fn_c_try_link "$LINENO"
12001 then :
12002 eval "$as_ac_var=yes"
12003 else $as_nop
12004 eval "$as_ac_var=no"
12006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12007 conftest$ac_exeext conftest.$ac_ext
12008 CFLAGS=$ac_wine_try_cflags_saved
12009 ac_exeext=$ac_wine_try_cflags_saved_exeext
12011 eval ac_res=\$$as_ac_var
12012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12013 printf "%s\n" "$ac_res" >&6; }
12014 if eval test \"x\$"$as_ac_var"\" = x"yes"
12015 then :
12016 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12017 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12018 fi }
12020 done
12022 CC=$saved_CC
12023 CFLAGS=$saved_CFLAGS
12024 LDFLAGS=$saved_LDFLAGS
12026 case $HOST_ARCH in
12027 arm|aarch64)
12028 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for $HOST_ARCH, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
12029 DLLEXT="" ;;
12030 esac
12033 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12034 then
12035 if test "x$HOST_ARCH" = xi386
12036 then :
12037 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12038 else $as_nop
12039 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12041 for ac_prog in $ac_prefix_list
12043 # Extract the first word of "$ac_prog", so it can be a program name with args.
12044 set dummy $ac_prog; ac_word=$2
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12046 printf %s "checking for $ac_word... " >&6; }
12047 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12048 then :
12049 printf %s "(cached) " >&6
12050 else $as_nop
12051 if test -n "$MINGW_PKG_CONFIG"; then
12052 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12053 else
12054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12055 for as_dir in $PATH
12057 IFS=$as_save_IFS
12058 case $as_dir in #(((
12059 '') as_dir=./ ;;
12060 */) ;;
12061 *) as_dir=$as_dir/ ;;
12062 esac
12063 for ac_exec_ext in '' $ac_executable_extensions; do
12064 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12065 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12067 break 2
12069 done
12070 done
12071 IFS=$as_save_IFS
12075 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12076 if test -n "$MINGW_PKG_CONFIG"; then
12077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12078 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12079 else
12080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12081 printf "%s\n" "no" >&6; }
12085 test -n "$MINGW_PKG_CONFIG" && break
12086 done
12087 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12089 if ${FAUDIO_PE_CFLAGS:+false} :
12090 then :
12091 if test ${MINGW_PKG_CONFIG+y}
12092 then :
12093 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12096 if ${FAUDIO_PE_LIBS:+false} :
12097 then :
12098 if test ${MINGW_PKG_CONFIG+y}
12099 then :
12100 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12103 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12104 ac_save_CPPFLAGS=$CPPFLAGS
12105 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12107 printf %s "checking for MinGW FAudio.h... " >&6; }
12108 if test ${ac_cv_mingw_header_FAudio_h+y}
12109 then :
12110 printf %s "(cached) " >&6
12111 else $as_nop
12112 ac_wine_check_headers_saved_cc=$CC
12113 ac_wine_check_headers_saved_exeext=$ac_exeext
12114 eval CC=\$${wine_arch}_CC
12115 ac_exeext=".exe"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 #include <FAudio.h>
12121 main (void)
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_compile "$LINENO"
12129 then :
12130 ac_cv_mingw_header_FAudio_h=yes
12131 else $as_nop
12132 ac_cv_mingw_header_FAudio_h=no
12134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12135 CC=$ac_wine_check_headers_saved_cc
12136 ac_exeext=$ac_wine_check_headers_saved_exeext
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12139 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12140 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12141 then :
12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12143 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12144 if test ${ac_cv_mingw_lib_FAudio+y}
12145 then :
12146 printf %s "(cached) " >&6
12147 else $as_nop
12148 ac_wine_check_headers_saved_cc=$CC
12149 ac_wine_check_headers_saved_exeext=$ac_exeext
12150 ac_wine_check_headers_saved_libs=$LIBS
12151 eval CC=\$${wine_arch}_CC
12152 ac_exeext=".exe"
12153 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12160 char FAudio_CommitOperationSet ();
12162 main (void)
12164 return FAudio_CommitOperationSet ();
12166 return 0;
12168 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"
12170 then :
12171 ac_cv_mingw_lib_FAudio=yes
12172 else $as_nop
12173 ac_cv_mingw_lib_FAudio=no
12175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12176 conftest$ac_exeext conftest.$ac_ext
12177 CC=$ac_wine_check_headers_saved_cc
12178 ac_exeext=$ac_wine_check_headers_saved_exeext
12179 LIBS=$ac_wine_check_headers_saved_libs
12181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12182 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12183 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12184 then :
12186 else $as_nop
12187 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12189 else $as_nop
12190 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12192 CPPFLAGS=$ac_save_CPPFLAGS
12194 if test "x$FAUDIO_PE_LIBS" = "x"
12195 then
12196 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12199 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12200 then :
12201 if test ${MINGW_PKG_CONFIG+y}
12202 then :
12203 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12206 if ${FLUIDSYNTH_PE_LIBS:+false} :
12207 then :
12208 if test ${MINGW_PKG_CONFIG+y}
12209 then :
12210 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12213 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12214 ac_save_CPPFLAGS=$CPPFLAGS
12215 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12217 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12218 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12219 then :
12220 printf %s "(cached) " >&6
12221 else $as_nop
12222 ac_wine_check_headers_saved_cc=$CC
12223 ac_wine_check_headers_saved_exeext=$ac_exeext
12224 eval CC=\$${wine_arch}_CC
12225 ac_exeext=".exe"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 #include <fluidsynth.h>
12231 main (void)
12235 return 0;
12237 _ACEOF
12238 if ac_fn_c_try_compile "$LINENO"
12239 then :
12240 ac_cv_mingw_header_fluidsynth_h=yes
12241 else $as_nop
12242 ac_cv_mingw_header_fluidsynth_h=no
12244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12245 CC=$ac_wine_check_headers_saved_cc
12246 ac_exeext=$ac_wine_check_headers_saved_exeext
12248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12249 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12250 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12251 then :
12252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12253 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12254 if test ${ac_cv_mingw_lib_fluidsynth+y}
12255 then :
12256 printf %s "(cached) " >&6
12257 else $as_nop
12258 ac_wine_check_headers_saved_cc=$CC
12259 ac_wine_check_headers_saved_exeext=$ac_exeext
12260 ac_wine_check_headers_saved_libs=$LIBS
12261 eval CC=\$${wine_arch}_CC
12262 ac_exeext=".exe"
12263 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 /* Override any GCC internal prototype to avoid an error.
12268 Use char because int might match the return type of a GCC
12269 builtin and then its argument prototype would still apply. */
12270 char new_fluid_synth ();
12272 main (void)
12274 return new_fluid_synth ();
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"
12280 then :
12281 ac_cv_mingw_lib_fluidsynth=yes
12282 else $as_nop
12283 ac_cv_mingw_lib_fluidsynth=no
12285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12286 conftest$ac_exeext conftest.$ac_ext
12287 CC=$ac_wine_check_headers_saved_cc
12288 ac_exeext=$ac_wine_check_headers_saved_exeext
12289 LIBS=$ac_wine_check_headers_saved_libs
12291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12292 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12293 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12294 then :
12296 else $as_nop
12297 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12299 else $as_nop
12300 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12302 CPPFLAGS=$ac_save_CPPFLAGS
12304 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12305 then
12306 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12309 if ${JPEG_PE_CFLAGS:+false} :
12310 then :
12311 if test ${MINGW_PKG_CONFIG+y}
12312 then :
12313 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12316 if ${JPEG_PE_LIBS:+false} :
12317 then :
12318 if test ${MINGW_PKG_CONFIG+y}
12319 then :
12320 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12324 ac_save_CPPFLAGS=$CPPFLAGS
12325 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12327 printf %s "checking for MinGW jpeglib.h... " >&6; }
12328 if test ${ac_cv_mingw_header_jpeglib_h+y}
12329 then :
12330 printf %s "(cached) " >&6
12331 else $as_nop
12332 ac_wine_check_headers_saved_cc=$CC
12333 ac_wine_check_headers_saved_exeext=$ac_exeext
12334 eval CC=\$${wine_arch}_CC
12335 ac_exeext=".exe"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12338 #include <stddef.h>
12339 #include <stdio.h>
12340 #include <jpeglib.h>
12342 main (void)
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_compile "$LINENO"
12350 then :
12351 ac_cv_mingw_header_jpeglib_h=yes
12352 else $as_nop
12353 ac_cv_mingw_header_jpeglib_h=no
12355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12356 CC=$ac_wine_check_headers_saved_cc
12357 ac_exeext=$ac_wine_check_headers_saved_exeext
12359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12360 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12361 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12362 then :
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12364 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12365 if test ${ac_cv_mingw_lib_jpeg+y}
12366 then :
12367 printf %s "(cached) " >&6
12368 else $as_nop
12369 ac_wine_check_headers_saved_cc=$CC
12370 ac_wine_check_headers_saved_exeext=$ac_exeext
12371 ac_wine_check_headers_saved_libs=$LIBS
12372 eval CC=\$${wine_arch}_CC
12373 ac_exeext=".exe"
12374 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12378 /* Override any GCC internal prototype to avoid an error.
12379 Use char because int might match the return type of a GCC
12380 builtin and then its argument prototype would still apply. */
12381 char jpeg_start_decompress ();
12383 main (void)
12385 return jpeg_start_decompress ();
12387 return 0;
12389 _ACEOF
12390 if ac_fn_c_try_link "$LINENO"
12391 then :
12392 ac_cv_mingw_lib_jpeg=yes
12393 else $as_nop
12394 ac_cv_mingw_lib_jpeg=no
12396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12397 conftest$ac_exeext conftest.$ac_ext
12398 CC=$ac_wine_check_headers_saved_cc
12399 ac_exeext=$ac_wine_check_headers_saved_exeext
12400 LIBS=$ac_wine_check_headers_saved_libs
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12403 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12404 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12405 then :
12407 else $as_nop
12408 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12410 else $as_nop
12411 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12413 CPPFLAGS=$ac_save_CPPFLAGS
12415 if test "x$JPEG_PE_LIBS" = "x"
12416 then
12417 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12420 if ${LCMS2_PE_CFLAGS:+false} :
12421 then :
12422 if test ${MINGW_PKG_CONFIG+y}
12423 then :
12424 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12427 if ${LCMS2_PE_LIBS:+false} :
12428 then :
12429 if test ${MINGW_PKG_CONFIG+y}
12430 then :
12431 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12434 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12435 ac_save_CPPFLAGS=$CPPFLAGS
12436 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12438 printf %s "checking for MinGW lcms2.h... " >&6; }
12439 if test ${ac_cv_mingw_header_lcms2_h+y}
12440 then :
12441 printf %s "(cached) " >&6
12442 else $as_nop
12443 ac_wine_check_headers_saved_cc=$CC
12444 ac_wine_check_headers_saved_exeext=$ac_exeext
12445 eval CC=\$${wine_arch}_CC
12446 ac_exeext=".exe"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 #include <lcms2.h>
12452 main (void)
12456 return 0;
12458 _ACEOF
12459 if ac_fn_c_try_compile "$LINENO"
12460 then :
12461 ac_cv_mingw_header_lcms2_h=yes
12462 else $as_nop
12463 ac_cv_mingw_header_lcms2_h=no
12465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12466 CC=$ac_wine_check_headers_saved_cc
12467 ac_exeext=$ac_wine_check_headers_saved_exeext
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12470 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12471 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12472 then :
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12474 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12475 if test ${ac_cv_mingw_lib_lcms2+y}
12476 then :
12477 printf %s "(cached) " >&6
12478 else $as_nop
12479 ac_wine_check_headers_saved_cc=$CC
12480 ac_wine_check_headers_saved_exeext=$ac_exeext
12481 ac_wine_check_headers_saved_libs=$LIBS
12482 eval CC=\$${wine_arch}_CC
12483 ac_exeext=".exe"
12484 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12491 char cmsOpenProfileFromFile ();
12493 main (void)
12495 return cmsOpenProfileFromFile ();
12497 return 0;
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"
12501 then :
12502 ac_cv_mingw_lib_lcms2=yes
12503 else $as_nop
12504 ac_cv_mingw_lib_lcms2=no
12506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12507 conftest$ac_exeext conftest.$ac_ext
12508 CC=$ac_wine_check_headers_saved_cc
12509 ac_exeext=$ac_wine_check_headers_saved_exeext
12510 LIBS=$ac_wine_check_headers_saved_libs
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12513 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12514 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12515 then :
12517 else $as_nop
12518 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12520 else $as_nop
12521 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12523 CPPFLAGS=$ac_save_CPPFLAGS
12525 if test "x$LCMS2_PE_LIBS" = "x"
12526 then
12527 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12530 if ${MPG123_PE_CFLAGS:+false} :
12531 then :
12532 if test ${MINGW_PKG_CONFIG+y}
12533 then :
12534 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12537 if ${MPG123_PE_LIBS:+false} :
12538 then :
12539 if test ${MINGW_PKG_CONFIG+y}
12540 then :
12541 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12544 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12545 ac_save_CPPFLAGS=$CPPFLAGS
12546 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12548 printf %s "checking for MinGW mpg123.h... " >&6; }
12549 if test ${ac_cv_mingw_header_mpg123_h+y}
12550 then :
12551 printf %s "(cached) " >&6
12552 else $as_nop
12553 ac_wine_check_headers_saved_cc=$CC
12554 ac_wine_check_headers_saved_exeext=$ac_exeext
12555 eval CC=\$${wine_arch}_CC
12556 ac_exeext=".exe"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 #include <mpg123.h>
12562 main (void)
12566 return 0;
12568 _ACEOF
12569 if ac_fn_c_try_compile "$LINENO"
12570 then :
12571 ac_cv_mingw_header_mpg123_h=yes
12572 else $as_nop
12573 ac_cv_mingw_header_mpg123_h=no
12575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12576 CC=$ac_wine_check_headers_saved_cc
12577 ac_exeext=$ac_wine_check_headers_saved_exeext
12579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12580 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12581 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12582 then :
12583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12584 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12585 if test ${ac_cv_mingw_lib_mpg123+y}
12586 then :
12587 printf %s "(cached) " >&6
12588 else $as_nop
12589 ac_wine_check_headers_saved_cc=$CC
12590 ac_wine_check_headers_saved_exeext=$ac_exeext
12591 ac_wine_check_headers_saved_libs=$LIBS
12592 eval CC=\$${wine_arch}_CC
12593 ac_exeext=".exe"
12594 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12601 char mpg123_feed ();
12603 main (void)
12605 return mpg123_feed ();
12607 return 0;
12609 _ACEOF
12610 if ac_fn_c_try_link "$LINENO"
12611 then :
12612 ac_cv_mingw_lib_mpg123=yes
12613 else $as_nop
12614 ac_cv_mingw_lib_mpg123=no
12616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12617 conftest$ac_exeext conftest.$ac_ext
12618 CC=$ac_wine_check_headers_saved_cc
12619 ac_exeext=$ac_wine_check_headers_saved_exeext
12620 LIBS=$ac_wine_check_headers_saved_libs
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12623 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12624 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12625 then :
12627 else $as_nop
12628 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12630 else $as_nop
12631 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12633 CPPFLAGS=$ac_save_CPPFLAGS
12635 if test "x$MPG123_PE_LIBS" = "x"
12636 then
12637 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12640 if ${PNG_PE_CFLAGS:+false} :
12641 then :
12642 if test ${MINGW_PKG_CONFIG+y}
12643 then :
12644 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12647 if ${PNG_PE_LIBS:+false} :
12648 then :
12649 if test ${MINGW_PKG_CONFIG+y}
12650 then :
12651 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12655 ac_save_CPPFLAGS=$CPPFLAGS
12656 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12658 printf %s "checking for MinGW png.h... " >&6; }
12659 if test ${ac_cv_mingw_header_png_h+y}
12660 then :
12661 printf %s "(cached) " >&6
12662 else $as_nop
12663 ac_wine_check_headers_saved_cc=$CC
12664 ac_wine_check_headers_saved_exeext=$ac_exeext
12665 eval CC=\$${wine_arch}_CC
12666 ac_exeext=".exe"
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12670 #include <png.h>
12672 main (void)
12676 return 0;
12678 _ACEOF
12679 if ac_fn_c_try_compile "$LINENO"
12680 then :
12681 ac_cv_mingw_header_png_h=yes
12682 else $as_nop
12683 ac_cv_mingw_header_png_h=no
12685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12686 CC=$ac_wine_check_headers_saved_cc
12687 ac_exeext=$ac_wine_check_headers_saved_exeext
12689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12690 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12691 if test "x$ac_cv_mingw_header_png_h" = xyes
12692 then :
12693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12694 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12695 if test ${ac_cv_mingw_lib_png+y}
12696 then :
12697 printf %s "(cached) " >&6
12698 else $as_nop
12699 ac_wine_check_headers_saved_cc=$CC
12700 ac_wine_check_headers_saved_exeext=$ac_exeext
12701 ac_wine_check_headers_saved_libs=$LIBS
12702 eval CC=\$${wine_arch}_CC
12703 ac_exeext=".exe"
12704 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12711 char png_create_read_struct ();
12713 main (void)
12715 return png_create_read_struct ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"
12721 then :
12722 ac_cv_mingw_lib_png=yes
12723 else $as_nop
12724 ac_cv_mingw_lib_png=no
12726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12727 conftest$ac_exeext conftest.$ac_ext
12728 CC=$ac_wine_check_headers_saved_cc
12729 ac_exeext=$ac_wine_check_headers_saved_exeext
12730 LIBS=$ac_wine_check_headers_saved_libs
12732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12733 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12734 if test "x$ac_cv_mingw_lib_png" = xyes
12735 then :
12737 else $as_nop
12738 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12740 else $as_nop
12741 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12743 CPPFLAGS=$ac_save_CPPFLAGS
12745 if test "x$PNG_PE_LIBS" = "x"
12746 then
12747 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12750 if ${TIFF_PE_CFLAGS:+false} :
12751 then :
12752 if test ${MINGW_PKG_CONFIG+y}
12753 then :
12754 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12757 if ${TIFF_PE_LIBS:+false} :
12758 then :
12759 if test ${MINGW_PKG_CONFIG+y}
12760 then :
12761 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12765 ac_save_CPPFLAGS=$CPPFLAGS
12766 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12768 printf %s "checking for MinGW tiffio.h... " >&6; }
12769 if test ${ac_cv_mingw_header_tiffio_h+y}
12770 then :
12771 printf %s "(cached) " >&6
12772 else $as_nop
12773 ac_wine_check_headers_saved_cc=$CC
12774 ac_wine_check_headers_saved_exeext=$ac_exeext
12775 eval CC=\$${wine_arch}_CC
12776 ac_exeext=".exe"
12777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12780 #include <tiffio.h>
12782 main (void)
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_compile "$LINENO"
12790 then :
12791 ac_cv_mingw_header_tiffio_h=yes
12792 else $as_nop
12793 ac_cv_mingw_header_tiffio_h=no
12795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12796 CC=$ac_wine_check_headers_saved_cc
12797 ac_exeext=$ac_wine_check_headers_saved_exeext
12799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12800 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12801 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12802 then :
12803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12804 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12805 if test ${ac_cv_mingw_lib_tiff+y}
12806 then :
12807 printf %s "(cached) " >&6
12808 else $as_nop
12809 ac_wine_check_headers_saved_cc=$CC
12810 ac_wine_check_headers_saved_exeext=$ac_exeext
12811 ac_wine_check_headers_saved_libs=$LIBS
12812 eval CC=\$${wine_arch}_CC
12813 ac_exeext=".exe"
12814 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12818 /* Override any GCC internal prototype to avoid an error.
12819 Use char because int might match the return type of a GCC
12820 builtin and then its argument prototype would still apply. */
12821 char TIFFClientOpen ();
12823 main (void)
12825 return TIFFClientOpen ();
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_link "$LINENO"
12831 then :
12832 ac_cv_mingw_lib_tiff=yes
12833 else $as_nop
12834 ac_cv_mingw_lib_tiff=no
12836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12837 conftest$ac_exeext conftest.$ac_ext
12838 CC=$ac_wine_check_headers_saved_cc
12839 ac_exeext=$ac_wine_check_headers_saved_exeext
12840 LIBS=$ac_wine_check_headers_saved_libs
12842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12843 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12844 if test "x$ac_cv_mingw_lib_tiff" = xyes
12845 then :
12847 else $as_nop
12848 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12850 else $as_nop
12851 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12853 CPPFLAGS=$ac_save_CPPFLAGS
12855 if test "x$TIFF_PE_LIBS" = "x"
12856 then
12857 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12860 if ${XML2_PE_CFLAGS:+false} :
12861 then :
12862 if test ${MINGW_PKG_CONFIG+y}
12863 then :
12864 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12867 if ${XML2_PE_LIBS:+false} :
12868 then :
12869 if test ${MINGW_PKG_CONFIG+y}
12870 then :
12871 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12874 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12875 ac_save_CPPFLAGS=$CPPFLAGS
12876 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12878 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12879 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12880 then :
12881 printf %s "(cached) " >&6
12882 else $as_nop
12883 ac_wine_check_headers_saved_cc=$CC
12884 ac_wine_check_headers_saved_exeext=$ac_exeext
12885 eval CC=\$${wine_arch}_CC
12886 ac_exeext=".exe"
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 #include <libxml/parser.h>
12892 main (void)
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_compile "$LINENO"
12900 then :
12901 ac_cv_mingw_header_libxml_parser_h=yes
12902 else $as_nop
12903 ac_cv_mingw_header_libxml_parser_h=no
12905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12906 CC=$ac_wine_check_headers_saved_cc
12907 ac_exeext=$ac_wine_check_headers_saved_exeext
12909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12910 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12911 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12912 then :
12915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12916 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12917 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12918 then :
12919 printf %s "(cached) " >&6
12920 else $as_nop
12921 ac_wine_check_headers_saved_cc=$CC
12922 ac_wine_check_headers_saved_exeext=$ac_exeext
12923 eval CC=\$${wine_arch}_CC
12924 ac_exeext=".exe"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 #include <libxml/xmlsave.h>
12930 main (void)
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_compile "$LINENO"
12938 then :
12939 ac_cv_mingw_header_libxml_xmlsave_h=yes
12940 else $as_nop
12941 ac_cv_mingw_header_libxml_xmlsave_h=no
12943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12944 CC=$ac_wine_check_headers_saved_cc
12945 ac_exeext=$ac_wine_check_headers_saved_exeext
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12948 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12949 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12950 then :
12953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12954 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12955 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12956 then :
12957 printf %s "(cached) " >&6
12958 else $as_nop
12959 ac_wine_check_headers_saved_cc=$CC
12960 ac_wine_check_headers_saved_exeext=$ac_exeext
12961 eval CC=\$${wine_arch}_CC
12962 ac_exeext=".exe"
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12966 #include <libxml/SAX2.h>
12968 main (void)
12972 return 0;
12974 _ACEOF
12975 if ac_fn_c_try_compile "$LINENO"
12976 then :
12977 ac_cv_mingw_header_libxml_SAX2_h=yes
12978 else $as_nop
12979 ac_cv_mingw_header_libxml_SAX2_h=no
12981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12982 CC=$ac_wine_check_headers_saved_cc
12983 ac_exeext=$ac_wine_check_headers_saved_exeext
12985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12986 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12987 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12988 then :
12991 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"
12992 then
12993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12994 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12995 if test ${ac_cv_mingw_lib_xml2+y}
12996 then :
12997 printf %s "(cached) " >&6
12998 else $as_nop
12999 ac_wine_check_headers_saved_cc=$CC
13000 ac_wine_check_headers_saved_exeext=$ac_exeext
13001 ac_wine_check_headers_saved_libs=$LIBS
13002 eval CC=\$${wine_arch}_CC
13003 ac_exeext=".exe"
13004 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13008 /* Override any GCC internal prototype to avoid an error.
13009 Use char because int might match the return type of a GCC
13010 builtin and then its argument prototype would still apply. */
13011 char xmlFirstElementChild ();
13013 main (void)
13015 return xmlFirstElementChild ();
13017 return 0;
13019 _ACEOF
13020 if ac_fn_c_try_link "$LINENO"
13021 then :
13022 ac_cv_mingw_lib_xml2=yes
13023 else $as_nop
13024 ac_cv_mingw_lib_xml2=no
13026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13027 conftest$ac_exeext conftest.$ac_ext
13028 CC=$ac_wine_check_headers_saved_cc
13029 ac_exeext=$ac_wine_check_headers_saved_exeext
13030 LIBS=$ac_wine_check_headers_saved_libs
13032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13033 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13034 if test "x$ac_cv_mingw_lib_xml2" = xyes
13035 then :
13037 else $as_nop
13038 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13040 else
13041 XML2_PE_CFLAGS=""
13042 XML2_PE_LIBS=""
13044 CPPFLAGS=$ac_save_CPPFLAGS
13046 if test "x$XML2_PE_LIBS" = "x"
13047 then
13048 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13051 if ${XSLT_PE_CFLAGS:+false} :
13052 then :
13053 if test ${MINGW_PKG_CONFIG+y}
13054 then :
13055 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13058 if ${XSLT_PE_LIBS:+false} :
13059 then :
13060 if test ${MINGW_PKG_CONFIG+y}
13061 then :
13062 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13065 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13066 ac_save_CPPFLAGS=$CPPFLAGS
13067 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13069 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13070 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13071 then :
13072 printf %s "(cached) " >&6
13073 else $as_nop
13074 ac_wine_check_headers_saved_cc=$CC
13075 ac_wine_check_headers_saved_exeext=$ac_exeext
13076 eval CC=\$${wine_arch}_CC
13077 ac_exeext=".exe"
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 #include <libxslt/pattern.h>
13083 main (void)
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_compile "$LINENO"
13091 then :
13092 ac_cv_mingw_header_libxslt_pattern_h=yes
13093 else $as_nop
13094 ac_cv_mingw_header_libxslt_pattern_h=no
13096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13097 CC=$ac_wine_check_headers_saved_cc
13098 ac_exeext=$ac_wine_check_headers_saved_exeext
13100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13101 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13102 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13103 then :
13106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13107 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13108 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13109 then :
13110 printf %s "(cached) " >&6
13111 else $as_nop
13112 ac_wine_check_headers_saved_cc=$CC
13113 ac_wine_check_headers_saved_exeext=$ac_exeext
13114 eval CC=\$${wine_arch}_CC
13115 ac_exeext=".exe"
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 #include <libxslt/transform.h>
13121 main (void)
13125 return 0;
13127 _ACEOF
13128 if ac_fn_c_try_compile "$LINENO"
13129 then :
13130 ac_cv_mingw_header_libxslt_transform_h=yes
13131 else $as_nop
13132 ac_cv_mingw_header_libxslt_transform_h=no
13134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13135 CC=$ac_wine_check_headers_saved_cc
13136 ac_exeext=$ac_wine_check_headers_saved_exeext
13138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13139 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13140 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13141 then :
13144 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13145 then
13146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13147 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13148 if test ${ac_cv_mingw_lib_xslt+y}
13149 then :
13150 printf %s "(cached) " >&6
13151 else $as_nop
13152 ac_wine_check_headers_saved_cc=$CC
13153 ac_wine_check_headers_saved_exeext=$ac_exeext
13154 ac_wine_check_headers_saved_libs=$LIBS
13155 eval CC=\$${wine_arch}_CC
13156 ac_exeext=".exe"
13157 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13161 /* Override any GCC internal prototype to avoid an error.
13162 Use char because int might match the return type of a GCC
13163 builtin and then its argument prototype would still apply. */
13164 char xsltCompilePattern ();
13166 main (void)
13168 return xsltCompilePattern ();
13170 return 0;
13172 _ACEOF
13173 if ac_fn_c_try_link "$LINENO"
13174 then :
13175 ac_cv_mingw_lib_xslt=yes
13176 else $as_nop
13177 ac_cv_mingw_lib_xslt=no
13179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13180 conftest$ac_exeext conftest.$ac_ext
13181 CC=$ac_wine_check_headers_saved_cc
13182 ac_exeext=$ac_wine_check_headers_saved_exeext
13183 LIBS=$ac_wine_check_headers_saved_libs
13185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13186 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13187 if test "x$ac_cv_mingw_lib_xslt" = xyes
13188 then :
13190 else $as_nop
13191 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13193 else
13194 XSLT_PE_CFLAGS=""
13195 XSLT_PE_LIBS=""
13197 CPPFLAGS=$ac_save_CPPFLAGS
13199 if test "x$XSLT_PE_LIBS" = "x"
13200 then
13201 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13204 if ${VKD3D_PE_CFLAGS:+false} :
13205 then :
13206 if test ${MINGW_PKG_CONFIG+y}
13207 then :
13208 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13211 if ${VKD3D_PE_LIBS:+false} :
13212 then :
13213 if test ${MINGW_PKG_CONFIG+y}
13214 then :
13215 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13218 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13219 ac_save_CPPFLAGS=$CPPFLAGS
13220 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13222 printf %s "checking for MinGW vkd3d.h... " >&6; }
13223 if test ${ac_cv_mingw_header_vkd3d_h+y}
13224 then :
13225 printf %s "(cached) " >&6
13226 else $as_nop
13227 ac_wine_check_headers_saved_cc=$CC
13228 ac_wine_check_headers_saved_exeext=$ac_exeext
13229 eval CC=\$${wine_arch}_CC
13230 ac_exeext=".exe"
13231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 #include <vkd3d.h>
13236 main (void)
13240 return 0;
13242 _ACEOF
13243 if ac_fn_c_try_compile "$LINENO"
13244 then :
13245 ac_cv_mingw_header_vkd3d_h=yes
13246 else $as_nop
13247 ac_cv_mingw_header_vkd3d_h=no
13249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13250 CC=$ac_wine_check_headers_saved_cc
13251 ac_exeext=$ac_wine_check_headers_saved_exeext
13253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13254 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13255 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13256 then :
13259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13260 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13261 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13262 then :
13263 printf %s "(cached) " >&6
13264 else $as_nop
13265 ac_wine_check_headers_saved_cc=$CC
13266 ac_wine_check_headers_saved_exeext=$ac_exeext
13267 eval CC=\$${wine_arch}_CC
13268 ac_exeext=".exe"
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 #include <vkd3d_shader.h>
13274 main (void)
13278 return 0;
13280 _ACEOF
13281 if ac_fn_c_try_compile "$LINENO"
13282 then :
13283 ac_cv_mingw_header_vkd3d_shader_h=yes
13284 else $as_nop
13285 ac_cv_mingw_header_vkd3d_shader_h=no
13287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13288 CC=$ac_wine_check_headers_saved_cc
13289 ac_exeext=$ac_wine_check_headers_saved_exeext
13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13292 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13293 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13294 then :
13297 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13298 then
13299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13300 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13301 if test ${ac_cv_mingw_lib_vkd3d+y}
13302 then :
13303 printf %s "(cached) " >&6
13304 else $as_nop
13305 ac_wine_check_headers_saved_cc=$CC
13306 ac_wine_check_headers_saved_exeext=$ac_exeext
13307 ac_wine_check_headers_saved_libs=$LIBS
13308 eval CC=\$${wine_arch}_CC
13309 ac_exeext=".exe"
13310 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13314 /* Override any GCC internal prototype to avoid an error.
13315 Use char because int might match the return type of a GCC
13316 builtin and then its argument prototype would still apply. */
13317 char vkd3d_set_log_callback ();
13319 main (void)
13321 return vkd3d_set_log_callback ();
13323 return 0;
13325 _ACEOF
13326 if ac_fn_c_try_link "$LINENO"
13327 then :
13328 ac_cv_mingw_lib_vkd3d=yes
13329 else $as_nop
13330 ac_cv_mingw_lib_vkd3d=no
13332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13333 conftest$ac_exeext conftest.$ac_ext
13334 CC=$ac_wine_check_headers_saved_cc
13335 ac_exeext=$ac_wine_check_headers_saved_exeext
13336 LIBS=$ac_wine_check_headers_saved_libs
13338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13339 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13340 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13341 then :
13343 else $as_nop
13346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13347 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13348 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13349 then :
13350 printf %s "(cached) " >&6
13351 else $as_nop
13352 ac_wine_check_headers_saved_cc=$CC
13353 ac_wine_check_headers_saved_exeext=$ac_exeext
13354 ac_wine_check_headers_saved_libs=$LIBS
13355 eval CC=\$${wine_arch}_CC
13356 ac_exeext=".exe"
13357 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 char vkd3d_shader_build_varying_map ();
13366 main (void)
13368 return vkd3d_shader_build_varying_map ();
13370 return 0;
13372 _ACEOF
13373 if ac_fn_c_try_link "$LINENO"
13374 then :
13375 ac_cv_mingw_lib_vkd3d_shader=yes
13376 else $as_nop
13377 ac_cv_mingw_lib_vkd3d_shader=no
13379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13380 conftest$ac_exeext conftest.$ac_ext
13381 CC=$ac_wine_check_headers_saved_cc
13382 ac_exeext=$ac_wine_check_headers_saved_exeext
13383 LIBS=$ac_wine_check_headers_saved_libs
13385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13386 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13387 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13388 then :
13390 else $as_nop
13393 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13394 then
13395 VKD3D_PE_CFLAGS=""
13396 VKD3D_PE_LIBS=""
13398 else
13399 VKD3D_PE_CFLAGS=""
13400 VKD3D_PE_LIBS=""
13402 CPPFLAGS=$ac_save_CPPFLAGS
13404 if test "x$VKD3D_PE_LIBS" = "x"
13405 then
13406 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13409 if ${ZLIB_PE_CFLAGS:+false} :
13410 then :
13411 if test ${MINGW_PKG_CONFIG+y}
13412 then :
13413 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13416 if ${ZLIB_PE_LIBS:+false} :
13417 then :
13418 if test ${MINGW_PKG_CONFIG+y}
13419 then :
13420 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13423 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13424 ac_save_CPPFLAGS=$CPPFLAGS
13425 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13427 printf %s "checking for MinGW zlib.h... " >&6; }
13428 if test ${ac_cv_mingw_header_zlib_h+y}
13429 then :
13430 printf %s "(cached) " >&6
13431 else $as_nop
13432 ac_wine_check_headers_saved_cc=$CC
13433 ac_wine_check_headers_saved_exeext=$ac_exeext
13434 eval CC=\$${wine_arch}_CC
13435 ac_exeext=".exe"
13436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13439 #include <zlib.h>
13441 main (void)
13445 return 0;
13447 _ACEOF
13448 if ac_fn_c_try_compile "$LINENO"
13449 then :
13450 ac_cv_mingw_header_zlib_h=yes
13451 else $as_nop
13452 ac_cv_mingw_header_zlib_h=no
13454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13455 CC=$ac_wine_check_headers_saved_cc
13456 ac_exeext=$ac_wine_check_headers_saved_exeext
13458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13459 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13460 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13461 then :
13462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13463 printf %s "checking for inflate in MinGW -lz... " >&6; }
13464 if test ${ac_cv_mingw_lib_z+y}
13465 then :
13466 printf %s "(cached) " >&6
13467 else $as_nop
13468 ac_wine_check_headers_saved_cc=$CC
13469 ac_wine_check_headers_saved_exeext=$ac_exeext
13470 ac_wine_check_headers_saved_libs=$LIBS
13471 eval CC=\$${wine_arch}_CC
13472 ac_exeext=".exe"
13473 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13477 /* Override any GCC internal prototype to avoid an error.
13478 Use char because int might match the return type of a GCC
13479 builtin and then its argument prototype would still apply. */
13480 char inflate ();
13482 main (void)
13484 return inflate ();
13486 return 0;
13488 _ACEOF
13489 if ac_fn_c_try_link "$LINENO"
13490 then :
13491 ac_cv_mingw_lib_z=yes
13492 else $as_nop
13493 ac_cv_mingw_lib_z=no
13495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13496 conftest$ac_exeext conftest.$ac_ext
13497 CC=$ac_wine_check_headers_saved_cc
13498 ac_exeext=$ac_wine_check_headers_saved_exeext
13499 LIBS=$ac_wine_check_headers_saved_libs
13501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13502 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13503 if test "x$ac_cv_mingw_lib_z" = xyes
13504 then :
13506 else $as_nop
13507 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13509 else $as_nop
13510 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13512 CPPFLAGS=$ac_save_CPPFLAGS
13514 if test "x$ZLIB_PE_LIBS" = "x"
13515 then
13516 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13520 if ${FAUDIO_PE_LIBS:+false} :
13521 then :
13522 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13523 if ${FAUDIO_PE_CFLAGS:+false} :
13524 then :
13525 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13526 else $as_nop
13527 enable_faudio=no
13529 else $as_nop
13530 enable_faudio=no
13532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13535 if ${FLUIDSYNTH_PE_LIBS:+false} :
13536 then :
13537 FLUIDSYNTH_PE_LIBS="fluidsynth"
13538 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13539 then :
13540 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13541 else $as_nop
13542 enable_fluidsynth=no
13544 else $as_nop
13545 enable_fluidsynth=no
13547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13550 if ${GSM_PE_LIBS:+false} :
13551 then :
13552 GSM_PE_LIBS=gsm
13553 if ${GSM_PE_CFLAGS:+false} :
13554 then :
13555 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13556 else $as_nop
13557 enable_gsm=no
13559 else $as_nop
13560 enable_gsm=no
13562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13563 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13565 if ${JPEG_PE_LIBS:+false} :
13566 then :
13567 JPEG_PE_LIBS=jpeg
13568 if ${JPEG_PE_CFLAGS:+false} :
13569 then :
13570 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13571 else $as_nop
13572 enable_jpeg=no
13574 else $as_nop
13575 enable_jpeg=no
13577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13580 if ${JXR_PE_LIBS:+false} :
13581 then :
13582 JXR_PE_LIBS=jxr
13583 if ${JXR_PE_CFLAGS:+false} :
13584 then :
13585 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13586 else $as_nop
13587 enable_jxr=no
13589 else $as_nop
13590 enable_jxr=no
13592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13595 if ${LCMS2_PE_LIBS:+false} :
13596 then :
13597 LCMS2_PE_LIBS=lcms2
13598 if ${LCMS2_PE_CFLAGS:+false} :
13599 then :
13600 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13601 else $as_nop
13602 enable_lcms2=no
13604 else $as_nop
13605 enable_lcms2=no
13607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13610 if ${LDAP_PE_LIBS:+false} :
13611 then :
13612 LDAP_PE_LIBS=ldap
13613 if ${LDAP_PE_CFLAGS:+false} :
13614 then :
13615 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13616 else $as_nop
13617 enable_ldap=no
13619 else $as_nop
13620 enable_ldap=no
13622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13625 if ${MPG123_PE_LIBS:+false} :
13626 then :
13627 MPG123_PE_LIBS=mpg123
13628 if ${MPG123_PE_CFLAGS:+false} :
13629 then :
13630 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13631 else $as_nop
13632 enable_mpg123=no
13634 else $as_nop
13635 enable_mpg123=no
13637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13640 if ${MUSL_PE_LIBS:+false} :
13641 then :
13642 MUSL_PE_LIBS=musl
13643 if ${MUSL_PE_CFLAGS:+false} :
13644 then :
13645 MUSL_PE_CFLAGS=
13646 else $as_nop
13647 enable_musl=no
13649 else $as_nop
13650 enable_musl=no
13652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13655 if ${PNG_PE_LIBS:+false} :
13656 then :
13657 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13658 if ${PNG_PE_CFLAGS:+false} :
13659 then :
13660 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13661 else $as_nop
13662 enable_png=no
13664 else $as_nop
13665 enable_png=no
13667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13670 if ${TIFF_PE_LIBS:+false} :
13671 then :
13672 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13673 if ${TIFF_PE_CFLAGS:+false} :
13674 then :
13675 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13676 else $as_nop
13677 enable_tiff=no
13679 else $as_nop
13680 enable_tiff=no
13682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13685 if ${VKD3D_PE_LIBS:+false} :
13686 then :
13687 VKD3D_PE_LIBS=vkd3d
13688 if ${VKD3D_PE_CFLAGS:+false} :
13689 then :
13690 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13691 else $as_nop
13692 enable_vkd3d=no
13694 else $as_nop
13695 enable_vkd3d=no
13697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13700 if ${XML2_PE_LIBS:+false} :
13701 then :
13702 XML2_PE_LIBS=xml2
13703 if ${XML2_PE_CFLAGS:+false} :
13704 then :
13705 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13706 else $as_nop
13707 enable_xml2=no
13709 else $as_nop
13710 enable_xml2=no
13712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13715 if ${XSLT_PE_LIBS:+false} :
13716 then :
13717 XSLT_PE_LIBS=xslt
13718 if ${XSLT_PE_CFLAGS:+false} :
13719 then :
13720 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13721 else $as_nop
13722 enable_xslt=no
13724 else $as_nop
13725 enable_xslt=no
13727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13730 if ${ZLIB_PE_LIBS:+false} :
13731 then :
13732 ZLIB_PE_LIBS=z
13733 if ${ZLIB_PE_CFLAGS:+false} :
13734 then :
13735 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13736 else $as_nop
13737 enable_zlib=no
13739 else $as_nop
13740 enable_zlib=no
13742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13745 if ${ZYDIS_PE_LIBS:+false} :
13746 then :
13747 ZYDIS_PE_LIBS=zydis
13748 if ${ZYDIS_PE_CFLAGS:+false} :
13749 then :
13750 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13751 else $as_nop
13752 enable_zydis=no
13754 else $as_nop
13755 enable_zydis=no
13757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13762 if test "x$with_pthread" = xno
13763 then :
13765 else $as_nop
13766 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13767 if test "x$ac_cv_func_pthread_create" = xyes
13768 then :
13770 else $as_nop
13771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13772 printf %s "checking for pthread_create in -lpthread... " >&6; }
13773 if test ${ac_cv_lib_pthread_pthread_create+y}
13774 then :
13775 printf %s "(cached) " >&6
13776 else $as_nop
13777 ac_check_lib_save_LIBS=$LIBS
13778 LIBS="-lpthread $LIBS"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13782 /* Override any GCC internal prototype to avoid an error.
13783 Use char because int might match the return type of a GCC
13784 builtin and then its argument prototype would still apply. */
13785 char pthread_create ();
13787 main (void)
13789 return pthread_create ();
13791 return 0;
13793 _ACEOF
13794 if ac_fn_c_try_link "$LINENO"
13795 then :
13796 ac_cv_lib_pthread_pthread_create=yes
13797 else $as_nop
13798 ac_cv_lib_pthread_pthread_create=no
13800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13801 conftest$ac_exeext conftest.$ac_ext
13802 LIBS=$ac_check_lib_save_LIBS
13804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13805 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13806 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13807 then :
13808 PTHREAD_LIBS="-lpthread"
13815 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13816 then :
13817 case "x$with_pthread" in
13818 xno) ;;
13819 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13820 Wine cannot support threads without libpthread.
13821 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13822 esac
13827 ac_ext=c
13828 ac_cpp='$CPP $CPPFLAGS'
13829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13833 printf %s "checking how to run the C preprocessor... " >&6; }
13834 # On Suns, sometimes $CPP names a directory.
13835 if test -n "$CPP" && test -d "$CPP"; then
13836 CPP=
13838 if test -z "$CPP"; then
13839 if test ${ac_cv_prog_CPP+y}
13840 then :
13841 printf %s "(cached) " >&6
13842 else $as_nop
13843 # Double quotes because $CC needs to be expanded
13844 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13846 ac_preproc_ok=false
13847 for ac_c_preproc_warn_flag in '' yes
13849 # Use a header file that comes with gcc, so configuring glibc
13850 # with a fresh cross-compiler works.
13851 # On the NeXT, cc -E runs the code through the compiler's parser,
13852 # not just through cpp. "Syntax error" is here to catch this case.
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13855 #include <limits.h>
13856 Syntax error
13857 _ACEOF
13858 if ac_fn_c_try_cpp "$LINENO"
13859 then :
13861 else $as_nop
13862 # Broken: fails on valid input.
13863 continue
13865 rm -f conftest.err conftest.i conftest.$ac_ext
13867 # OK, works on sane cases. Now check whether nonexistent headers
13868 # can be detected and how.
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 #include <ac_nonexistent.h>
13872 _ACEOF
13873 if ac_fn_c_try_cpp "$LINENO"
13874 then :
13875 # Broken: success on invalid input.
13876 continue
13877 else $as_nop
13878 # Passes both tests.
13879 ac_preproc_ok=:
13880 break
13882 rm -f conftest.err conftest.i conftest.$ac_ext
13884 done
13885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13886 rm -f conftest.i conftest.err conftest.$ac_ext
13887 if $ac_preproc_ok
13888 then :
13889 break
13892 done
13893 ac_cv_prog_CPP=$CPP
13896 CPP=$ac_cv_prog_CPP
13897 else
13898 ac_cv_prog_CPP=$CPP
13900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13901 printf "%s\n" "$CPP" >&6; }
13902 ac_preproc_ok=false
13903 for ac_c_preproc_warn_flag in '' yes
13905 # Use a header file that comes with gcc, so configuring glibc
13906 # with a fresh cross-compiler works.
13907 # On the NeXT, cc -E runs the code through the compiler's parser,
13908 # not just through cpp. "Syntax error" is here to catch this case.
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13911 #include <limits.h>
13912 Syntax error
13913 _ACEOF
13914 if ac_fn_c_try_cpp "$LINENO"
13915 then :
13917 else $as_nop
13918 # Broken: fails on valid input.
13919 continue
13921 rm -f conftest.err conftest.i conftest.$ac_ext
13923 # OK, works on sane cases. Now check whether nonexistent headers
13924 # can be detected and how.
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 #include <ac_nonexistent.h>
13928 _ACEOF
13929 if ac_fn_c_try_cpp "$LINENO"
13930 then :
13931 # Broken: success on invalid input.
13932 continue
13933 else $as_nop
13934 # Passes both tests.
13935 ac_preproc_ok=:
13936 break
13938 rm -f conftest.err conftest.i conftest.$ac_ext
13940 done
13941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13942 rm -f conftest.i conftest.err conftest.$ac_ext
13943 if $ac_preproc_ok
13944 then :
13946 else $as_nop
13947 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13948 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13949 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13950 See \`config.log' for more details" "$LINENO" 5; }
13953 ac_ext=c
13954 ac_cpp='$CPP $CPPFLAGS'
13955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13961 printf %s "checking for X... " >&6; }
13964 # Check whether --with-x was given.
13965 if test ${with_x+y}
13966 then :
13967 withval=$with_x;
13970 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13971 if test "x$with_x" = xno; then
13972 # The user explicitly disabled X.
13973 have_x=disabled
13974 else
13975 case $x_includes,$x_libraries in #(
13976 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13977 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13978 then :
13979 printf %s "(cached) " >&6
13980 else $as_nop
13981 # One or both of the vars are not set, and there is no cached value.
13982 ac_x_includes=no
13983 ac_x_libraries=no
13984 # Do we need to do anything special at all?
13985 ac_save_LIBS=$LIBS
13986 LIBS="-lX11 $LIBS"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 #include <X11/Xlib.h>
13991 main (void)
13993 XrmInitialize ()
13995 return 0;
13997 _ACEOF
13998 if ac_fn_c_try_link "$LINENO"
13999 then :
14000 # We can compile and link X programs with no special options.
14001 ac_x_includes=
14002 ac_x_libraries=
14004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14005 conftest$ac_exeext conftest.$ac_ext
14006 LIBS="$ac_save_LIBS"
14007 # If that didn't work, only try xmkmf and file system searches
14008 # for native compilation.
14009 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
14010 then :
14011 rm -f -r conftest.dir
14012 if mkdir conftest.dir; then
14013 cd conftest.dir
14014 cat >Imakefile <<'_ACEOF'
14015 incroot:
14016 @echo incroot='${INCROOT}'
14017 usrlibdir:
14018 @echo usrlibdir='${USRLIBDIR}'
14019 libdir:
14020 @echo libdir='${LIBDIR}'
14021 _ACEOF
14022 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
14023 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14024 for ac_var in incroot usrlibdir libdir; do
14025 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14026 done
14027 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14028 for ac_extension in a so sl dylib la dll; do
14029 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14030 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14031 ac_im_usrlibdir=$ac_im_libdir; break
14033 done
14034 # Screen out bogus values from the imake configuration. They are
14035 # bogus both because they are the default anyway, and because
14036 # using them would break gcc on systems where it needs fixed includes.
14037 case $ac_im_incroot in
14038 /usr/include) ac_x_includes= ;;
14039 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14040 esac
14041 case $ac_im_usrlibdir in
14042 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
14043 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14044 esac
14046 cd ..
14047 rm -f -r conftest.dir
14050 # Standard set of common directories for X headers.
14051 # Check X11 before X11Rn because it is often a symlink to the current release.
14052 ac_x_header_dirs='
14053 /usr/X11/include
14054 /usr/X11R7/include
14055 /usr/X11R6/include
14056 /usr/X11R5/include
14057 /usr/X11R4/include
14059 /usr/include/X11
14060 /usr/include/X11R7
14061 /usr/include/X11R6
14062 /usr/include/X11R5
14063 /usr/include/X11R4
14065 /usr/local/X11/include
14066 /usr/local/X11R7/include
14067 /usr/local/X11R6/include
14068 /usr/local/X11R5/include
14069 /usr/local/X11R4/include
14071 /usr/local/include/X11
14072 /usr/local/include/X11R7
14073 /usr/local/include/X11R6
14074 /usr/local/include/X11R5
14075 /usr/local/include/X11R4
14077 /opt/X11/include
14079 /usr/X386/include
14080 /usr/x386/include
14081 /usr/XFree86/include/X11
14083 /usr/include
14084 /usr/local/include
14085 /usr/unsupported/include
14086 /usr/athena/include
14087 /usr/local/x11r5/include
14088 /usr/lpp/Xamples/include
14090 /usr/openwin/include
14091 /usr/openwin/share/include'
14093 if test "$ac_x_includes" = no; then
14094 # Guess where to find include files, by looking for Xlib.h.
14095 # First, try using that file with no special directory specified.
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 #include <X11/Xlib.h>
14099 _ACEOF
14100 if ac_fn_c_try_cpp "$LINENO"
14101 then :
14102 # We can compile using X headers with no special include directory.
14103 ac_x_includes=
14104 else $as_nop
14105 for ac_dir in $ac_x_header_dirs; do
14106 if test -r "$ac_dir/X11/Xlib.h"; then
14107 ac_x_includes=$ac_dir
14108 break
14110 done
14112 rm -f conftest.err conftest.i conftest.$ac_ext
14113 fi # $ac_x_includes = no
14115 if test "$ac_x_libraries" = no; then
14116 # Check for the libraries.
14117 # See if we find them without any special options.
14118 # Don't add to $LIBS permanently.
14119 ac_save_LIBS=$LIBS
14120 LIBS="-lX11 $LIBS"
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14123 #include <X11/Xlib.h>
14125 main (void)
14127 XrmInitialize ()
14129 return 0;
14131 _ACEOF
14132 if ac_fn_c_try_link "$LINENO"
14133 then :
14134 LIBS=$ac_save_LIBS
14135 # We can link X programs with no special library path.
14136 ac_x_libraries=
14137 else $as_nop
14138 LIBS=$ac_save_LIBS
14139 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14141 # Don't even attempt the hair of trying to link an X program!
14142 for ac_extension in a so sl dylib la dll; do
14143 if test -r "$ac_dir/libX11.$ac_extension"; then
14144 ac_x_libraries=$ac_dir
14145 break 2
14147 done
14148 done
14150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14151 conftest$ac_exeext conftest.$ac_ext
14152 fi # $ac_x_libraries = no
14155 # Record the results.
14156 case $ac_x_includes,$ac_x_libraries in #(
14157 no,* | *,no | *\'*) :
14158 # Didn't find X, or a directory has "'" in its name.
14159 ac_cv_have_x="have_x=no" ;; #(
14160 *) :
14161 # Record where we found X for the cache.
14162 ac_cv_have_x="have_x=yes\
14163 ac_x_includes='$ac_x_includes'\
14164 ac_x_libraries='$ac_x_libraries'" ;;
14165 esac
14167 ;; #(
14168 *) have_x=yes;;
14169 esac
14170 eval "$ac_cv_have_x"
14171 fi # $with_x != no
14173 if test "$have_x" != yes; then
14174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14175 printf "%s\n" "$have_x" >&6; }
14176 no_x=yes
14177 else
14178 # If each of the values was on the command line, it overrides each guess.
14179 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14180 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14181 # Update the cache value to reflect the command line values.
14182 ac_cv_have_x="have_x=yes\
14183 ac_x_includes='$x_includes'\
14184 ac_x_libraries='$x_libraries'"
14185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14186 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14189 if test "$no_x" = yes; then
14190 # Not all programs may use this symbol, but it does not hurt to define it.
14192 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14194 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14195 else
14196 if test -n "$x_includes"; then
14197 X_CFLAGS="$X_CFLAGS -I$x_includes"
14200 # It would also be nice to do this for all -L options, not just this one.
14201 if test -n "$x_libraries"; then
14202 X_LIBS="$X_LIBS -L$x_libraries"
14203 # For Solaris; some versions of Sun CC require a space after -R and
14204 # others require no space. Words are not sufficient . . . .
14205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14206 printf %s "checking whether -R must be followed by a space... " >&6; }
14207 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14208 ac_xsave_c_werror_flag=$ac_c_werror_flag
14209 ac_c_werror_flag=yes
14210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14214 main (void)
14218 return 0;
14220 _ACEOF
14221 if ac_fn_c_try_link "$LINENO"
14222 then :
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14224 printf "%s\n" "no" >&6; }
14225 X_LIBS="$X_LIBS -R$x_libraries"
14226 else $as_nop
14227 LIBS="$ac_xsave_LIBS -R $x_libraries"
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14232 main (void)
14236 return 0;
14238 _ACEOF
14239 if ac_fn_c_try_link "$LINENO"
14240 then :
14241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14242 printf "%s\n" "yes" >&6; }
14243 X_LIBS="$X_LIBS -R $x_libraries"
14244 else $as_nop
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14246 printf "%s\n" "neither works" >&6; }
14248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14249 conftest$ac_exeext conftest.$ac_ext
14251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14252 conftest$ac_exeext conftest.$ac_ext
14253 ac_c_werror_flag=$ac_xsave_c_werror_flag
14254 LIBS=$ac_xsave_LIBS
14257 # Check for system-dependent libraries X programs must link with.
14258 # Do this before checking for the system-independent R6 libraries
14259 # (-lICE), since we may need -lsocket or whatever for X linking.
14261 if test "$ISC" = yes; then
14262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14263 else
14264 # Martyn Johnson says this is needed for Ultrix, if the X
14265 # libraries were built with DECnet support. And Karl Berry says
14266 # the Alpha needs dnet_stub (dnet does not exist).
14267 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14271 /* Override any GCC internal prototype to avoid an error.
14272 Use char because int might match the return type of a GCC
14273 builtin and then its argument prototype would still apply. */
14274 char XOpenDisplay ();
14276 main (void)
14278 return XOpenDisplay ();
14280 return 0;
14282 _ACEOF
14283 if ac_fn_c_try_link "$LINENO"
14284 then :
14286 else $as_nop
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14288 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14289 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14290 then :
14291 printf %s "(cached) " >&6
14292 else $as_nop
14293 ac_check_lib_save_LIBS=$LIBS
14294 LIBS="-ldnet $LIBS"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14301 char dnet_ntoa ();
14303 main (void)
14305 return dnet_ntoa ();
14307 return 0;
14309 _ACEOF
14310 if ac_fn_c_try_link "$LINENO"
14311 then :
14312 ac_cv_lib_dnet_dnet_ntoa=yes
14313 else $as_nop
14314 ac_cv_lib_dnet_dnet_ntoa=no
14316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14317 conftest$ac_exeext conftest.$ac_ext
14318 LIBS=$ac_check_lib_save_LIBS
14320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14321 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14322 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14323 then :
14324 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14327 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14329 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14330 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14331 then :
14332 printf %s "(cached) " >&6
14333 else $as_nop
14334 ac_check_lib_save_LIBS=$LIBS
14335 LIBS="-ldnet_stub $LIBS"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14339 /* Override any GCC internal prototype to avoid an error.
14340 Use char because int might match the return type of a GCC
14341 builtin and then its argument prototype would still apply. */
14342 char dnet_ntoa ();
14344 main (void)
14346 return dnet_ntoa ();
14348 return 0;
14350 _ACEOF
14351 if ac_fn_c_try_link "$LINENO"
14352 then :
14353 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14354 else $as_nop
14355 ac_cv_lib_dnet_stub_dnet_ntoa=no
14357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14358 conftest$ac_exeext conftest.$ac_ext
14359 LIBS=$ac_check_lib_save_LIBS
14361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14362 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14363 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14364 then :
14365 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14371 conftest$ac_exeext conftest.$ac_ext
14372 LIBS="$ac_xsave_LIBS"
14374 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14375 # to get the SysV transport functions.
14376 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14377 # needs -lnsl.
14378 # The nsl library prevents programs from opening the X display
14379 # on Irix 5.2, according to T.E. Dickey.
14380 # The functions gethostbyname, getservbyname, and inet_addr are
14381 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14382 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14383 if test "x$ac_cv_func_gethostbyname" = xyes
14384 then :
14388 if test $ac_cv_func_gethostbyname = no; then
14389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14390 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14391 if test ${ac_cv_lib_nsl_gethostbyname+y}
14392 then :
14393 printf %s "(cached) " >&6
14394 else $as_nop
14395 ac_check_lib_save_LIBS=$LIBS
14396 LIBS="-lnsl $LIBS"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 /* Override any GCC internal prototype to avoid an error.
14401 Use char because int might match the return type of a GCC
14402 builtin and then its argument prototype would still apply. */
14403 char gethostbyname ();
14405 main (void)
14407 return gethostbyname ();
14409 return 0;
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"
14413 then :
14414 ac_cv_lib_nsl_gethostbyname=yes
14415 else $as_nop
14416 ac_cv_lib_nsl_gethostbyname=no
14418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14419 conftest$ac_exeext conftest.$ac_ext
14420 LIBS=$ac_check_lib_save_LIBS
14422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14423 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14424 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14425 then :
14426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14429 if test $ac_cv_lib_nsl_gethostbyname = no; then
14430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14431 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14432 if test ${ac_cv_lib_bsd_gethostbyname+y}
14433 then :
14434 printf %s "(cached) " >&6
14435 else $as_nop
14436 ac_check_lib_save_LIBS=$LIBS
14437 LIBS="-lbsd $LIBS"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14441 /* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply. */
14444 char gethostbyname ();
14446 main (void)
14448 return gethostbyname ();
14450 return 0;
14452 _ACEOF
14453 if ac_fn_c_try_link "$LINENO"
14454 then :
14455 ac_cv_lib_bsd_gethostbyname=yes
14456 else $as_nop
14457 ac_cv_lib_bsd_gethostbyname=no
14459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14460 conftest$ac_exeext conftest.$ac_ext
14461 LIBS=$ac_check_lib_save_LIBS
14463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14464 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14465 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14466 then :
14467 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14473 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14474 # socket/setsockopt and other routines are undefined under SCO ODT
14475 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14476 # on later versions), says Simon Leinen: it contains gethostby*
14477 # variants that don't use the name server (or something). -lsocket
14478 # must be given before -lnsl if both are needed. We assume that
14479 # if connect needs -lnsl, so does gethostbyname.
14480 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14481 if test "x$ac_cv_func_connect" = xyes
14482 then :
14486 if test $ac_cv_func_connect = no; then
14487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14488 printf %s "checking for connect in -lsocket... " >&6; }
14489 if test ${ac_cv_lib_socket_connect+y}
14490 then :
14491 printf %s "(cached) " >&6
14492 else $as_nop
14493 ac_check_lib_save_LIBS=$LIBS
14494 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14498 /* Override any GCC internal prototype to avoid an error.
14499 Use char because int might match the return type of a GCC
14500 builtin and then its argument prototype would still apply. */
14501 char connect ();
14503 main (void)
14505 return connect ();
14507 return 0;
14509 _ACEOF
14510 if ac_fn_c_try_link "$LINENO"
14511 then :
14512 ac_cv_lib_socket_connect=yes
14513 else $as_nop
14514 ac_cv_lib_socket_connect=no
14516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14517 conftest$ac_exeext conftest.$ac_ext
14518 LIBS=$ac_check_lib_save_LIBS
14520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14521 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14522 if test "x$ac_cv_lib_socket_connect" = xyes
14523 then :
14524 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14529 # Guillermo Gomez says -lposix is necessary on A/UX.
14530 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14531 if test "x$ac_cv_func_remove" = xyes
14532 then :
14536 if test $ac_cv_func_remove = no; then
14537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14538 printf %s "checking for remove in -lposix... " >&6; }
14539 if test ${ac_cv_lib_posix_remove+y}
14540 then :
14541 printf %s "(cached) " >&6
14542 else $as_nop
14543 ac_check_lib_save_LIBS=$LIBS
14544 LIBS="-lposix $LIBS"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14548 /* Override any GCC internal prototype to avoid an error.
14549 Use char because int might match the return type of a GCC
14550 builtin and then its argument prototype would still apply. */
14551 char remove ();
14553 main (void)
14555 return remove ();
14557 return 0;
14559 _ACEOF
14560 if ac_fn_c_try_link "$LINENO"
14561 then :
14562 ac_cv_lib_posix_remove=yes
14563 else $as_nop
14564 ac_cv_lib_posix_remove=no
14566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14567 conftest$ac_exeext conftest.$ac_ext
14568 LIBS=$ac_check_lib_save_LIBS
14570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14571 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14572 if test "x$ac_cv_lib_posix_remove" = xyes
14573 then :
14574 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14579 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14580 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14581 if test "x$ac_cv_func_shmat" = xyes
14582 then :
14586 if test $ac_cv_func_shmat = no; then
14587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14588 printf %s "checking for shmat in -lipc... " >&6; }
14589 if test ${ac_cv_lib_ipc_shmat+y}
14590 then :
14591 printf %s "(cached) " >&6
14592 else $as_nop
14593 ac_check_lib_save_LIBS=$LIBS
14594 LIBS="-lipc $LIBS"
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14598 /* Override any GCC internal prototype to avoid an error.
14599 Use char because int might match the return type of a GCC
14600 builtin and then its argument prototype would still apply. */
14601 char shmat ();
14603 main (void)
14605 return shmat ();
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"
14611 then :
14612 ac_cv_lib_ipc_shmat=yes
14613 else $as_nop
14614 ac_cv_lib_ipc_shmat=no
14616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14617 conftest$ac_exeext conftest.$ac_ext
14618 LIBS=$ac_check_lib_save_LIBS
14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14621 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14622 if test "x$ac_cv_lib_ipc_shmat" = xyes
14623 then :
14624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14630 # Check for libraries that X11R6 Xt/Xaw programs need.
14631 ac_save_LDFLAGS=$LDFLAGS
14632 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14633 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14634 # check for ICE first), but we must link in the order -lSM -lICE or
14635 # we get undefined symbols. So assume we have SM if we have ICE.
14636 # These have to be linked with before -lX11, unlike the other
14637 # libraries we check for below, so use a different variable.
14638 # John Interrante, Karl Berry
14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14640 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14641 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14642 then :
14643 printf %s "(cached) " >&6
14644 else $as_nop
14645 ac_check_lib_save_LIBS=$LIBS
14646 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14653 char IceConnectionNumber ();
14655 main (void)
14657 return IceConnectionNumber ();
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"
14663 then :
14664 ac_cv_lib_ICE_IceConnectionNumber=yes
14665 else $as_nop
14666 ac_cv_lib_ICE_IceConnectionNumber=no
14668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14669 conftest$ac_exeext conftest.$ac_ext
14670 LIBS=$ac_check_lib_save_LIBS
14672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14673 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14674 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14675 then :
14676 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14679 LDFLAGS=$ac_save_LDFLAGS
14684 if test "$have_x" = "yes"
14685 then
14686 ac_save_CPPFLAGS="$CPPFLAGS"
14687 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14690 printf %s "checking for -lX11... " >&6; }
14691 if test ${ac_cv_lib_soname_X11+y}
14692 then :
14693 printf %s "(cached) " >&6
14694 else $as_nop
14695 ac_check_soname_save_LIBS=$LIBS
14696 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14700 /* Override any GCC internal prototype to avoid an error.
14701 Use char because int might match the return type of a GCC
14702 builtin and then its argument prototype would still apply. */
14703 char XCreateWindow ();
14705 main (void)
14707 return XCreateWindow ();
14709 return 0;
14711 _ACEOF
14712 if ac_fn_c_try_link "$LINENO"
14713 then :
14714 case "$LIBEXT" in
14715 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14716 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'` ;;
14717 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14718 if ${ac_cv_lib_soname_X11:+false} :
14719 then :
14720 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14721 fi ;;
14722 esac
14723 else $as_nop
14724 ac_cv_lib_soname_X11=
14726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14727 conftest$ac_exeext conftest.$ac_ext
14728 LIBS=$ac_check_soname_save_LIBS
14730 if ${ac_cv_lib_soname_X11:+false} :
14731 then :
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14733 printf "%s\n" "not found" >&6; }
14735 else $as_nop
14736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14737 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14739 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14744 printf %s "checking for -lXext... " >&6; }
14745 if test ${ac_cv_lib_soname_Xext+y}
14746 then :
14747 printf %s "(cached) " >&6
14748 else $as_nop
14749 ac_check_soname_save_LIBS=$LIBS
14750 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14757 char XextCreateExtension ();
14759 main (void)
14761 return XextCreateExtension ();
14763 return 0;
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"
14767 then :
14768 case "$LIBEXT" in
14769 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14770 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'` ;;
14771 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14772 if ${ac_cv_lib_soname_Xext:+false} :
14773 then :
14774 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14775 fi ;;
14776 esac
14777 else $as_nop
14778 ac_cv_lib_soname_Xext=
14780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LIBS=$ac_check_soname_save_LIBS
14784 if ${ac_cv_lib_soname_Xext:+false} :
14785 then :
14786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14787 printf "%s\n" "not found" >&6; }
14789 else $as_nop
14790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14791 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14793 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14795 X_LIBS="$X_LIBS -lXext"
14797 X_LIBS="$X_LIBS -lX11"
14799 xlib_includes="#include <X11/Xlib.h>
14800 #include <X11/Xutil.h>"
14802 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14804 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14805 then :
14806 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14809 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14811 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14812 then :
14813 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14816 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14818 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14819 then :
14820 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14823 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14825 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14826 then :
14827 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14830 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14832 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14833 then :
14834 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14837 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14839 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14840 then :
14841 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14844 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14846 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14847 then :
14848 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14851 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14853 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14854 then :
14855 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14858 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14860 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14861 then :
14862 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14867 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14869 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14870 then :
14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14872 printf %s "checking for -lXcursor... " >&6; }
14873 if test ${ac_cv_lib_soname_Xcursor+y}
14874 then :
14875 printf %s "(cached) " >&6
14876 else $as_nop
14877 ac_check_soname_save_LIBS=$LIBS
14878 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14885 char XcursorImageLoadCursor ();
14887 main (void)
14889 return XcursorImageLoadCursor ();
14891 return 0;
14893 _ACEOF
14894 if ac_fn_c_try_link "$LINENO"
14895 then :
14896 case "$LIBEXT" in
14897 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14898 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'` ;;
14899 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14900 if ${ac_cv_lib_soname_Xcursor:+false} :
14901 then :
14902 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14903 fi ;;
14904 esac
14905 else $as_nop
14906 ac_cv_lib_soname_Xcursor=
14908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_soname_save_LIBS
14912 if ${ac_cv_lib_soname_Xcursor:+false} :
14913 then :
14914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14915 printf "%s\n" "not found" >&6; }
14917 else $as_nop
14918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14919 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14921 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14927 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14928 then :
14929 case "x$with_xcursor" in
14930 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14931 xno) ;;
14932 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14933 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14934 esac
14938 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14940 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14941 then :
14942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14943 printf %s "checking for -lXi... " >&6; }
14944 if test ${ac_cv_lib_soname_Xi+y}
14945 then :
14946 printf %s "(cached) " >&6
14947 else $as_nop
14948 ac_check_soname_save_LIBS=$LIBS
14949 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14956 char XOpenDevice ();
14958 main (void)
14960 return XOpenDevice ();
14962 return 0;
14964 _ACEOF
14965 if ac_fn_c_try_link "$LINENO"
14966 then :
14967 case "$LIBEXT" in
14968 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14969 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'` ;;
14970 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14971 if ${ac_cv_lib_soname_Xi:+false} :
14972 then :
14973 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14974 fi ;;
14975 esac
14976 else $as_nop
14977 ac_cv_lib_soname_Xi=
14979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14980 conftest$ac_exeext conftest.$ac_ext
14981 LIBS=$ac_check_soname_save_LIBS
14983 if ${ac_cv_lib_soname_Xi:+false} :
14984 then :
14985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14986 printf "%s\n" "not found" >&6; }
14988 else $as_nop
14989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14990 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14992 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14998 if test "x$ac_cv_lib_soname_Xi" = "x"
14999 then :
15000 case "x$with_xinput" in
15001 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15002 xno) ;;
15003 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15004 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15005 esac
15009 if test "x$ac_cv_lib_soname_Xi" != x
15010 then
15011 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15012 then :
15013 case "x$with_xinput2" in
15014 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15015 xno) ;;
15016 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
15017 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15018 esac
15023 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15024 then
15025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15026 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
15027 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15028 then :
15029 printf %s "(cached) " >&6
15030 else $as_nop
15031 ac_check_lib_save_LIBS=$LIBS
15032 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15036 /* Override any GCC internal prototype to avoid an error.
15037 Use char because int might match the return type of a GCC
15038 builtin and then its argument prototype would still apply. */
15039 char XShmQueryExtension ();
15041 main (void)
15043 return XShmQueryExtension ();
15045 return 0;
15047 _ACEOF
15048 if ac_fn_c_try_link "$LINENO"
15049 then :
15050 ac_cv_lib_Xext_XShmQueryExtension=yes
15051 else $as_nop
15052 ac_cv_lib_Xext_XShmQueryExtension=no
15054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15055 conftest$ac_exeext conftest.$ac_ext
15056 LIBS=$ac_check_lib_save_LIBS
15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15059 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15060 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15061 then :
15063 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15068 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15069 then :
15070 case "x$with_xshm" in
15071 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15072 xno) ;;
15073 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15074 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15075 esac
15079 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15080 then
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15082 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15083 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15084 then :
15085 printf %s "(cached) " >&6
15086 else $as_nop
15087 ac_check_lib_save_LIBS=$LIBS
15088 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15092 /* Override any GCC internal prototype to avoid an error.
15093 Use char because int might match the return type of a GCC
15094 builtin and then its argument prototype would still apply. */
15095 char XShapeQueryExtension ();
15097 main (void)
15099 return XShapeQueryExtension ();
15101 return 0;
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"
15105 then :
15106 ac_cv_lib_Xext_XShapeQueryExtension=yes
15107 else $as_nop
15108 ac_cv_lib_Xext_XShapeQueryExtension=no
15110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15111 conftest$ac_exeext conftest.$ac_ext
15112 LIBS=$ac_check_lib_save_LIBS
15114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15115 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15116 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15117 then :
15119 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15124 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15125 then :
15126 case "x$with_xshape" in
15127 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15128 xno) ;;
15129 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15130 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15131 esac
15135 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15136 then
15137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15138 printf %s "checking for -lXxf86vm... " >&6; }
15139 if test ${ac_cv_lib_soname_Xxf86vm+y}
15140 then :
15141 printf %s "(cached) " >&6
15142 else $as_nop
15143 ac_check_soname_save_LIBS=$LIBS
15144 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15146 /* end confdefs.h. */
15148 /* Override any GCC internal prototype to avoid an error.
15149 Use char because int might match the return type of a GCC
15150 builtin and then its argument prototype would still apply. */
15151 char XF86VidModeQueryExtension ();
15153 main (void)
15155 return XF86VidModeQueryExtension ();
15157 return 0;
15159 _ACEOF
15160 if ac_fn_c_try_link "$LINENO"
15161 then :
15162 case "$LIBEXT" in
15163 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15164 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'` ;;
15165 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15166 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15167 then :
15168 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15169 fi ;;
15170 esac
15171 else $as_nop
15172 ac_cv_lib_soname_Xxf86vm=
15174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15175 conftest$ac_exeext conftest.$ac_ext
15176 LIBS=$ac_check_soname_save_LIBS
15178 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15179 then :
15180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15181 printf "%s\n" "not found" >&6; }
15183 else $as_nop
15184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15185 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15187 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15192 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15193 then :
15194 case "x$with_xxf86vm" in
15195 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15196 xno) ;;
15197 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15198 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15199 esac
15203 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15204 then
15205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15206 printf %s "checking for -lXrender... " >&6; }
15207 if test ${ac_cv_lib_soname_Xrender+y}
15208 then :
15209 printf %s "(cached) " >&6
15210 else $as_nop
15211 ac_check_soname_save_LIBS=$LIBS
15212 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15216 /* Override any GCC internal prototype to avoid an error.
15217 Use char because int might match the return type of a GCC
15218 builtin and then its argument prototype would still apply. */
15219 char XRenderQueryExtension ();
15221 main (void)
15223 return XRenderQueryExtension ();
15225 return 0;
15227 _ACEOF
15228 if ac_fn_c_try_link "$LINENO"
15229 then :
15230 case "$LIBEXT" in
15231 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15232 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'` ;;
15233 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15234 if ${ac_cv_lib_soname_Xrender:+false} :
15235 then :
15236 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15237 fi ;;
15238 esac
15239 else $as_nop
15240 ac_cv_lib_soname_Xrender=
15242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15243 conftest$ac_exeext conftest.$ac_ext
15244 LIBS=$ac_check_soname_save_LIBS
15246 if ${ac_cv_lib_soname_Xrender:+false} :
15247 then :
15248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15249 printf "%s\n" "not found" >&6; }
15251 else $as_nop
15252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15253 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15255 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15258 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15259 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15260 then :
15261 printf %s "(cached) " >&6
15262 else $as_nop
15263 ac_check_lib_save_LIBS=$LIBS
15264 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15271 char XRenderSetPictureTransform ();
15273 main (void)
15275 return XRenderSetPictureTransform ();
15277 return 0;
15279 _ACEOF
15280 if ac_fn_c_try_link "$LINENO"
15281 then :
15282 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15283 else $as_nop
15284 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15287 conftest$ac_exeext conftest.$ac_ext
15288 LIBS=$ac_check_lib_save_LIBS
15290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15291 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15292 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15293 then :
15295 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15300 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15301 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15302 then :
15303 printf %s "(cached) " >&6
15304 else $as_nop
15305 ac_check_lib_save_LIBS=$LIBS
15306 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 char XRenderCreateLinearGradient ();
15315 main (void)
15317 return XRenderCreateLinearGradient ();
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"
15323 then :
15324 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15325 else $as_nop
15326 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15329 conftest$ac_exeext conftest.$ac_ext
15330 LIBS=$ac_check_lib_save_LIBS
15332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15333 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15334 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15335 then :
15337 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15344 if test "x$ac_cv_lib_soname_Xrender" = "x"
15345 then :
15346 case "x$with_xrender" in
15347 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15348 xno) ;;
15349 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15350 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15351 esac
15355 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15356 then
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15359 #include <X11/Xlib.h>
15360 #include <X11/extensions/Xrandr.h>
15362 main (void)
15364 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15366 return 0;
15368 _ACEOF
15369 if ac_fn_c_try_compile "$LINENO"
15370 then :
15371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15372 printf %s "checking for -lXrandr... " >&6; }
15373 if test ${ac_cv_lib_soname_Xrandr+y}
15374 then :
15375 printf %s "(cached) " >&6
15376 else $as_nop
15377 ac_check_soname_save_LIBS=$LIBS
15378 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15382 /* Override any GCC internal prototype to avoid an error.
15383 Use char because int might match the return type of a GCC
15384 builtin and then its argument prototype would still apply. */
15385 char XRRQueryExtension ();
15387 main (void)
15389 return XRRQueryExtension ();
15391 return 0;
15393 _ACEOF
15394 if ac_fn_c_try_link "$LINENO"
15395 then :
15396 case "$LIBEXT" in
15397 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15398 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'` ;;
15399 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15400 if ${ac_cv_lib_soname_Xrandr:+false} :
15401 then :
15402 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15403 fi ;;
15404 esac
15405 else $as_nop
15406 ac_cv_lib_soname_Xrandr=
15408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15409 conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_check_soname_save_LIBS
15412 if ${ac_cv_lib_soname_Xrandr:+false} :
15413 then :
15414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15415 printf "%s\n" "not found" >&6; }
15417 else $as_nop
15418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15419 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15421 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15424 /* end confdefs.h. */
15425 #include <X11/Xlib.h>
15426 #include <X11/extensions/Xrandr.h>
15428 main (void)
15430 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15432 return 0;
15434 _ACEOF
15435 if ac_fn_c_try_compile "$LINENO"
15436 then :
15438 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15440 else $as_nop
15441 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15448 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15449 then :
15450 case "x$with_xrandr" in
15451 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15452 xno) ;;
15453 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15454 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15455 esac
15459 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15460 then
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15463 #include <X11/Xlib.h>
15464 #include <X11/extensions/Xfixes.h>
15466 main (void)
15468 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15470 return 0;
15472 _ACEOF
15473 if ac_fn_c_try_compile "$LINENO"
15474 then :
15475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15476 printf %s "checking for -lXfixes... " >&6; }
15477 if test ${ac_cv_lib_soname_Xfixes+y}
15478 then :
15479 printf %s "(cached) " >&6
15480 else $as_nop
15481 ac_check_soname_save_LIBS=$LIBS
15482 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15486 /* Override any GCC internal prototype to avoid an error.
15487 Use char because int might match the return type of a GCC
15488 builtin and then its argument prototype would still apply. */
15489 char XFixesQueryVersion ();
15491 main (void)
15493 return XFixesQueryVersion ();
15495 return 0;
15497 _ACEOF
15498 if ac_fn_c_try_link "$LINENO"
15499 then :
15500 case "$LIBEXT" in
15501 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15502 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'` ;;
15503 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15504 if ${ac_cv_lib_soname_Xfixes:+false} :
15505 then :
15506 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15507 fi ;;
15508 esac
15509 else $as_nop
15510 ac_cv_lib_soname_Xfixes=
15512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15513 conftest$ac_exeext conftest.$ac_ext
15514 LIBS=$ac_check_soname_save_LIBS
15516 if ${ac_cv_lib_soname_Xfixes:+false} :
15517 then :
15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15519 printf "%s\n" "not found" >&6; }
15521 else $as_nop
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15523 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15525 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15532 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15533 then :
15534 case "x$with_xfixes" in
15535 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15536 xno) ;;
15537 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15538 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15539 esac
15543 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15544 then
15545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15547 #include <X11/Xlib.h>
15548 #include <X11/extensions/Xinerama.h>
15550 main (void)
15552 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15554 return 0;
15556 _ACEOF
15557 if ac_fn_c_try_compile "$LINENO"
15558 then :
15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15560 printf %s "checking for -lXinerama... " >&6; }
15561 if test ${ac_cv_lib_soname_Xinerama+y}
15562 then :
15563 printf %s "(cached) " >&6
15564 else $as_nop
15565 ac_check_soname_save_LIBS=$LIBS
15566 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15570 /* Override any GCC internal prototype to avoid an error.
15571 Use char because int might match the return type of a GCC
15572 builtin and then its argument prototype would still apply. */
15573 char XineramaQueryScreens ();
15575 main (void)
15577 return XineramaQueryScreens ();
15579 return 0;
15581 _ACEOF
15582 if ac_fn_c_try_link "$LINENO"
15583 then :
15584 case "$LIBEXT" in
15585 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15586 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'` ;;
15587 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15588 if ${ac_cv_lib_soname_Xinerama:+false} :
15589 then :
15590 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15591 fi ;;
15592 esac
15593 else $as_nop
15594 ac_cv_lib_soname_Xinerama=
15596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15597 conftest$ac_exeext conftest.$ac_ext
15598 LIBS=$ac_check_soname_save_LIBS
15600 if ${ac_cv_lib_soname_Xinerama:+false} :
15601 then :
15602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15603 printf "%s\n" "not found" >&6; }
15605 else $as_nop
15606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15607 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15609 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15616 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15617 then :
15618 case "x$with_xinerama" in
15619 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15620 xno) ;;
15621 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15622 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15623 esac
15627 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15629 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15630 then :
15631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15632 printf %s "checking for -lXcomposite... " >&6; }
15633 if test ${ac_cv_lib_soname_Xcomposite+y}
15634 then :
15635 printf %s "(cached) " >&6
15636 else $as_nop
15637 ac_check_soname_save_LIBS=$LIBS
15638 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15640 /* end confdefs.h. */
15642 /* Override any GCC internal prototype to avoid an error.
15643 Use char because int might match the return type of a GCC
15644 builtin and then its argument prototype would still apply. */
15645 char XCompositeRedirectWindow ();
15647 main (void)
15649 return XCompositeRedirectWindow ();
15651 return 0;
15653 _ACEOF
15654 if ac_fn_c_try_link "$LINENO"
15655 then :
15656 case "$LIBEXT" in
15657 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15658 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'` ;;
15659 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15660 if ${ac_cv_lib_soname_Xcomposite:+false} :
15661 then :
15662 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15663 fi ;;
15664 esac
15665 else $as_nop
15666 ac_cv_lib_soname_Xcomposite=
15668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15669 conftest$ac_exeext conftest.$ac_ext
15670 LIBS=$ac_check_soname_save_LIBS
15672 if ${ac_cv_lib_soname_Xcomposite:+false} :
15673 then :
15674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15675 printf "%s\n" "not found" >&6; }
15677 else $as_nop
15678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15679 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15681 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15687 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15688 then :
15689 case "x$with_xcomposite" in
15690 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15691 xno) ;;
15692 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15693 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15694 esac
15698 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15700 if test "x$ac_cv_member_XICCallback_callback" = xyes
15701 then :
15703 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15707 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15709 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15710 then :
15712 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15719 opengl_msg=""
15720 if test "x$with_opengl" != "xno"
15721 then
15722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15723 printf %s "checking for -lGL... " >&6; }
15724 if test ${ac_cv_lib_soname_GL+y}
15725 then :
15726 printf %s "(cached) " >&6
15727 else $as_nop
15728 ac_check_soname_save_LIBS=$LIBS
15729 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15733 /* Override any GCC internal prototype to avoid an error.
15734 Use char because int might match the return type of a GCC
15735 builtin and then its argument prototype would still apply. */
15736 char glXCreateContext ();
15738 main (void)
15740 return glXCreateContext ();
15742 return 0;
15744 _ACEOF
15745 if ac_fn_c_try_link "$LINENO"
15746 then :
15747 case "$LIBEXT" in
15748 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15749 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'` ;;
15750 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15751 if ${ac_cv_lib_soname_GL:+false} :
15752 then :
15753 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15754 fi ;;
15755 esac
15756 else $as_nop
15757 ac_cv_lib_soname_GL=
15759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15760 conftest$ac_exeext conftest.$ac_ext
15761 LIBS=$ac_check_soname_save_LIBS
15763 if ${ac_cv_lib_soname_GL:+false} :
15764 then :
15765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15766 printf "%s\n" "not found" >&6; }
15767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15768 printf %s "checking for -lGL... " >&6; }
15769 if test ${ac_cv_lib_soname_GL+y}
15770 then :
15771 printf %s "(cached) " >&6
15772 else $as_nop
15773 ac_check_soname_save_LIBS=$LIBS
15774 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"
15775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h. */
15778 /* Override any GCC internal prototype to avoid an error.
15779 Use char because int might match the return type of a GCC
15780 builtin and then its argument prototype would still apply. */
15781 char glXCreateContext ();
15783 main (void)
15785 return glXCreateContext ();
15787 return 0;
15789 _ACEOF
15790 if ac_fn_c_try_link "$LINENO"
15791 then :
15792 case "$LIBEXT" in
15793 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15794 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'` ;;
15795 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15796 if ${ac_cv_lib_soname_GL:+false} :
15797 then :
15798 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15799 fi ;;
15800 esac
15801 else $as_nop
15802 ac_cv_lib_soname_GL=
15804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15805 conftest$ac_exeext conftest.$ac_ext
15806 LIBS=$ac_check_soname_save_LIBS
15808 if ${ac_cv_lib_soname_GL:+false} :
15809 then :
15810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15811 printf "%s\n" "not found" >&6; }
15812 if test -f /usr/X11R6/lib/libGL.a
15813 then
15814 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15815 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15816 else
15817 opengl_msg="No OpenGL library found on this system."
15819 else $as_nop
15820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15821 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15823 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15825 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"
15827 else $as_nop
15828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15829 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15831 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15833 OPENGL_LIBS="-lGL"
15835 if test "x$with_osmesa" != "xno"
15836 then
15837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15838 printf %s "checking for -lOSMesa... " >&6; }
15839 if test ${ac_cv_lib_soname_OSMesa+y}
15840 then :
15841 printf %s "(cached) " >&6
15842 else $as_nop
15843 ac_check_soname_save_LIBS=$LIBS
15844 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15846 /* end confdefs.h. */
15848 /* Override any GCC internal prototype to avoid an error.
15849 Use char because int might match the return type of a GCC
15850 builtin and then its argument prototype would still apply. */
15851 char OSMesaGetProcAddress ();
15853 main (void)
15855 return OSMesaGetProcAddress ();
15857 return 0;
15859 _ACEOF
15860 if ac_fn_c_try_link "$LINENO"
15861 then :
15862 case "$LIBEXT" in
15863 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15864 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'` ;;
15865 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15866 if ${ac_cv_lib_soname_OSMesa:+false} :
15867 then :
15868 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15869 fi ;;
15870 esac
15871 else $as_nop
15872 ac_cv_lib_soname_OSMesa=
15874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15875 conftest$ac_exeext conftest.$ac_ext
15876 LIBS=$ac_check_soname_save_LIBS
15878 if ${ac_cv_lib_soname_OSMesa:+false} :
15879 then :
15880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15881 printf "%s\n" "not found" >&6; }
15883 else $as_nop
15884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15885 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15887 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15891 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15892 then :
15893 case "x$with_osmesa" in
15894 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15895 xno) ;;
15896 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15897 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15898 esac
15903 if test -n "$opengl_msg"
15904 then :
15905 case "x$with_opengl" in
15906 x) as_fn_append wine_warnings "|$opengl_msg
15907 OpenGL and Direct3D won't be supported." ;;
15908 xno) ;;
15909 *) as_fn_error $? "$opengl_msg
15910 OpenGL and Direct3D won't be supported.
15911 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15912 esac
15916 CPPFLAGS="$ac_save_CPPFLAGS"
15917 else
15918 X_CFLAGS=""
15919 X_LIBS=""
15922 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15923 then
15924 if test "x$X_LIBS" = "x"
15925 then :
15926 case "x$with_x" in
15927 xno) ;;
15928 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15929 without X support, which probably isn't what you want. You will need
15930 to install ${notice_platform}development packages of Xlib at the very least.
15931 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15932 esac
15933 enable_winex11_drv=${enable_winex11_drv:-no}
15935 else
15936 if test "x$X_LIBS" = "x"
15937 then :
15938 case "x$with_x" in
15939 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15940 xno) ;;
15941 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15942 This is an error since --with-x was requested." "$LINENO" 5 ;;
15943 esac
15944 enable_winex11_drv=${enable_winex11_drv:-no}
15948 if test "x$with_wayland" != "xno"
15949 then
15950 rm -f conftest.err
15951 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15952 then :
15953 if test ${PKG_CONFIG+y}
15954 then :
15955 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15959 if ${WAYLAND_CLIENT_LIBS:+false} :
15960 then :
15961 if test ${PKG_CONFIG+y}
15962 then :
15963 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15970 if test -s conftest.err; then
15971 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15972 cat conftest.err >&5
15974 rm -f conftest.err
15975 ac_save_CPPFLAGS=$CPPFLAGS
15976 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15977 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15978 if test "x$ac_cv_header_wayland_client_h" = xyes
15979 then :
15980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15981 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15982 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15983 then :
15984 printf %s "(cached) " >&6
15985 else $as_nop
15986 ac_check_lib_save_LIBS=$LIBS
15987 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989 /* end confdefs.h. */
15991 /* Override any GCC internal prototype to avoid an error.
15992 Use char because int might match the return type of a GCC
15993 builtin and then its argument prototype would still apply. */
15994 char wl_display_connect ();
15996 main (void)
15998 return wl_display_connect ();
16000 return 0;
16002 _ACEOF
16003 if ac_fn_c_try_link "$LINENO"
16004 then :
16005 ac_cv_lib_wayland_client_wl_display_connect=yes
16006 else $as_nop
16007 ac_cv_lib_wayland_client_wl_display_connect=no
16009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16010 conftest$ac_exeext conftest.$ac_ext
16011 LIBS=$ac_check_lib_save_LIBS
16013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16014 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16015 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16016 then :
16017 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16018 set dummy wayland-scanner; ac_word=$2
16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16020 printf %s "checking for $ac_word... " >&6; }
16021 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16022 then :
16023 printf %s "(cached) " >&6
16024 else $as_nop
16025 case $WAYLAND_SCANNER in
16026 [\\/]* | ?:[\\/]*)
16027 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
16030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16031 for as_dir in $PATH
16033 IFS=$as_save_IFS
16034 case $as_dir in #(((
16035 '') as_dir=./ ;;
16036 */) ;;
16037 *) as_dir=$as_dir/ ;;
16038 esac
16039 for ac_exec_ext in '' $ac_executable_extensions; do
16040 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16041 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
16042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16043 break 2
16045 done
16046 done
16047 IFS=$as_save_IFS
16049 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`"
16051 esac
16053 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
16054 if test -n "$WAYLAND_SCANNER"; then
16055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16056 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16057 else
16058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16059 printf "%s\n" "no" >&6; }
16063 else $as_nop
16064 WAYLAND_CLIENT_LIBS=""
16069 CPPFLAGS=$ac_save_CPPFLAGS
16071 rm -f conftest.err
16072 if ${XKBCOMMON_CFLAGS:+false} :
16073 then :
16074 if test ${PKG_CONFIG+y}
16075 then :
16076 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16080 if ${XKBCOMMON_LIBS:+false} :
16081 then :
16082 if test ${PKG_CONFIG+y}
16083 then :
16084 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16091 if test -s conftest.err; then
16092 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16093 cat conftest.err >&5
16095 rm -f conftest.err
16096 ac_save_CPPFLAGS=$CPPFLAGS
16097 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16098 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16099 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16100 then :
16101 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16106 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16107 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16108 then :
16109 printf %s "(cached) " >&6
16110 else $as_nop
16111 ac_check_lib_save_LIBS=$LIBS
16112 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114 /* end confdefs.h. */
16116 /* Override any GCC internal prototype to avoid an error.
16117 Use char because int might match the return type of a GCC
16118 builtin and then its argument prototype would still apply. */
16119 char xkb_context_new ();
16121 main (void)
16123 return xkb_context_new ();
16125 return 0;
16127 _ACEOF
16128 if ac_fn_c_try_link "$LINENO"
16129 then :
16130 ac_cv_lib_xkbcommon_xkb_context_new=yes
16131 else $as_nop
16132 ac_cv_lib_xkbcommon_xkb_context_new=no
16134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16135 conftest$ac_exeext conftest.$ac_ext
16136 LIBS=$ac_check_lib_save_LIBS
16138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16139 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16140 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16141 then :
16143 else $as_nop
16144 XKBCOMMON_LIBS=""
16147 CPPFLAGS=$ac_save_CPPFLAGS
16149 rm -f conftest.err
16150 if ${XKBREGISTRY_CFLAGS:+false} :
16151 then :
16152 if test ${PKG_CONFIG+y}
16153 then :
16154 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16158 if ${XKBREGISTRY_LIBS:+false} :
16159 then :
16160 if test ${PKG_CONFIG+y}
16161 then :
16162 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16169 if test -s conftest.err; then
16170 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16171 cat conftest.err >&5
16173 rm -f conftest.err
16174 ac_save_CPPFLAGS=$CPPFLAGS
16175 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16176 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16177 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16178 then :
16179 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16184 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16185 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16186 then :
16187 printf %s "(cached) " >&6
16188 else $as_nop
16189 ac_check_lib_save_LIBS=$LIBS
16190 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16194 /* Override any GCC internal prototype to avoid an error.
16195 Use char because int might match the return type of a GCC
16196 builtin and then its argument prototype would still apply. */
16197 char rxkb_context_new ();
16199 main (void)
16201 return rxkb_context_new ();
16203 return 0;
16205 _ACEOF
16206 if ac_fn_c_try_link "$LINENO"
16207 then :
16208 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16209 else $as_nop
16210 ac_cv_lib_xkbregistry_rxkb_context_new=no
16212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16213 conftest$ac_exeext conftest.$ac_ext
16214 LIBS=$ac_check_lib_save_LIBS
16216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16217 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16218 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16219 then :
16221 else $as_nop
16222 XKBREGISTRY_LIBS=""
16225 CPPFLAGS=$ac_save_CPPFLAGS
16227 if test "x$with_opengl" != "xno"
16228 then
16229 rm -f conftest.err
16230 if ${EGL_CFLAGS:+false} :
16231 then :
16232 if test ${PKG_CONFIG+y}
16233 then :
16234 EGL_CFLAGS=`$PKG_CONFIG --cflags egl 2>conftest.err`
16238 if ${EGL_LIBS:+false} :
16239 then :
16240 if test ${PKG_CONFIG+y}
16241 then :
16242 EGL_LIBS=`$PKG_CONFIG --libs egl 2>/dev/null`
16246 EGL_LIBS=${EGL_LIBS:-"-lEGL"}
16247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16249 if test -s conftest.err; then
16250 printf %s "$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16251 cat conftest.err >&5
16253 rm -f conftest.err
16254 ac_save_CPPFLAGS=$CPPFLAGS
16255 CPPFLAGS="$CPPFLAGS $EGL_CFLAGS"
16256 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16257 if test "x$ac_cv_header_EGL_egl_h" = xyes
16258 then :
16259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16260 printf %s "checking for -lEGL... " >&6; }
16261 if test ${ac_cv_lib_soname_EGL+y}
16262 then :
16263 printf %s "(cached) " >&6
16264 else $as_nop
16265 ac_check_soname_save_LIBS=$LIBS
16266 LIBS="-lEGL $EGL_LIBS $LIBS"
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16270 /* Override any GCC internal prototype to avoid an error.
16271 Use char because int might match the return type of a GCC
16272 builtin and then its argument prototype would still apply. */
16273 char eglGetProcAddress ();
16275 main (void)
16277 return eglGetProcAddress ();
16279 return 0;
16281 _ACEOF
16282 if ac_fn_c_try_link "$LINENO"
16283 then :
16284 case "$LIBEXT" in
16285 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16286 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'` ;;
16287 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16288 if ${ac_cv_lib_soname_EGL:+false} :
16289 then :
16290 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16291 fi ;;
16292 esac
16293 else $as_nop
16294 ac_cv_lib_soname_EGL=
16296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16297 conftest$ac_exeext conftest.$ac_ext
16298 LIBS=$ac_check_soname_save_LIBS
16300 if ${ac_cv_lib_soname_EGL:+false} :
16301 then :
16302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16303 printf "%s\n" "not found" >&6; }
16305 else $as_nop
16306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16307 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16309 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16315 CPPFLAGS=$ac_save_CPPFLAGS
16317 rm -f conftest.err
16318 if ${WAYLAND_EGL_CFLAGS:+false} :
16319 then :
16320 if test ${PKG_CONFIG+y}
16321 then :
16322 WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16326 if ${WAYLAND_EGL_LIBS:+false} :
16327 then :
16328 if test ${PKG_CONFIG+y}
16329 then :
16330 WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16337 if test -s conftest.err; then
16338 printf %s "$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16339 cat conftest.err >&5
16341 rm -f conftest.err
16342 ac_save_CPPFLAGS=$CPPFLAGS
16343 CPPFLAGS="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16344 ac_fn_c_check_header_compile "$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16345 if test "x$ac_cv_header_wayland_egl_h" = xyes
16346 then :
16347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16348 printf %s "checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16349 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16350 then :
16351 printf %s "(cached) " >&6
16352 else $as_nop
16353 ac_check_lib_save_LIBS=$LIBS
16354 LIBS="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16358 /* Override any GCC internal prototype to avoid an error.
16359 Use char because int might match the return type of a GCC
16360 builtin and then its argument prototype would still apply. */
16361 char wl_egl_window_create ();
16363 main (void)
16365 return wl_egl_window_create ();
16367 return 0;
16369 _ACEOF
16370 if ac_fn_c_try_link "$LINENO"
16371 then :
16372 ac_cv_lib_wayland_egl_wl_egl_window_create=yes
16373 else $as_nop
16374 ac_cv_lib_wayland_egl_wl_egl_window_create=no
16376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16377 conftest$ac_exeext conftest.$ac_ext
16378 LIBS=$ac_check_lib_save_LIBS
16380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16381 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16382 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16383 then :
16385 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16387 else $as_nop
16388 WAYLAND_EGL_LIBS=""
16393 CPPFLAGS=$ac_save_CPPFLAGS
16395 if test "x$with_wayland" != "x"
16396 then
16397 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16398 then :
16399 case "x$with_opengl" in
16400 x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16401 xno) ;;
16402 *) as_fn_error $? "EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16403 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16404 esac
16410 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o -z "$XKBCOMMON_LIBS" -o -z "$XKBREGISTRY_LIBS" -o "$ac_cv_header_linux_input_h" = "no"
16411 then :
16412 case "x$with_wayland" in
16413 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16414 xno) ;;
16415 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16416 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16417 esac
16418 enable_winewayland_drv=${enable_winewayland_drv:-no}
16421 if test "$ac_cv_header_CL_cl_h" = "yes"
16422 then
16423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16424 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16425 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16426 then :
16427 printf %s "(cached) " >&6
16428 else $as_nop
16429 ac_check_lib_save_LIBS=$LIBS
16430 LIBS="-lOpenCL $LIBS"
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16434 /* Override any GCC internal prototype to avoid an error.
16435 Use char because int might match the return type of a GCC
16436 builtin and then its argument prototype would still apply. */
16437 char clGetPlatformInfo ();
16439 main (void)
16441 return clGetPlatformInfo ();
16443 return 0;
16445 _ACEOF
16446 if ac_fn_c_try_link "$LINENO"
16447 then :
16448 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16449 else $as_nop
16450 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16453 conftest$ac_exeext conftest.$ac_ext
16454 LIBS=$ac_check_lib_save_LIBS
16456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16457 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16458 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16459 then :
16460 OPENCL_LIBS="-lOpenCL"
16465 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16466 then :
16467 case "x$with_opencl" in
16468 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16469 xno) ;;
16470 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16471 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16472 esac
16473 enable_opencl=${enable_opencl:-no}
16476 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16477 then
16478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16479 printf %s "checking for pcap_init in -lpcap... " >&6; }
16480 if test ${ac_cv_lib_pcap_pcap_init+y}
16481 then :
16482 printf %s "(cached) " >&6
16483 else $as_nop
16484 ac_check_lib_save_LIBS=$LIBS
16485 LIBS="-lpcap $LIBS"
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16489 /* Override any GCC internal prototype to avoid an error.
16490 Use char because int might match the return type of a GCC
16491 builtin and then its argument prototype would still apply. */
16492 char pcap_init ();
16494 main (void)
16496 return pcap_init ();
16498 return 0;
16500 _ACEOF
16501 if ac_fn_c_try_link "$LINENO"
16502 then :
16503 ac_cv_lib_pcap_pcap_init=yes
16504 else $as_nop
16505 ac_cv_lib_pcap_pcap_init=no
16507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16508 conftest$ac_exeext conftest.$ac_ext
16509 LIBS=$ac_check_lib_save_LIBS
16511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16512 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16513 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16514 then :
16515 PCAP_LIBS="-lpcap"
16520 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16521 then :
16522 case "x$with_pcap" in
16523 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16524 xno) ;;
16525 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16526 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16527 esac
16528 enable_wpcap=${enable_wpcap:-no}
16531 if test "x$with_pcsclite" != "xno"
16532 then
16533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16534 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16535 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16536 then :
16537 printf %s "(cached) " >&6
16538 else $as_nop
16539 ac_check_lib_save_LIBS=$LIBS
16540 LIBS="-lpcsclite $LIBS"
16541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h. */
16544 /* Override any GCC internal prototype to avoid an error.
16545 Use char because int might match the return type of a GCC
16546 builtin and then its argument prototype would still apply. */
16547 char SCardEstablishContext ();
16549 main (void)
16551 return SCardEstablishContext ();
16553 return 0;
16555 _ACEOF
16556 if ac_fn_c_try_link "$LINENO"
16557 then :
16558 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16559 else $as_nop
16560 ac_cv_lib_pcsclite_SCardEstablishContext=no
16562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16563 conftest$ac_exeext conftest.$ac_ext
16564 LIBS=$ac_check_lib_save_LIBS
16566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16567 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16568 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16569 then :
16570 PCSCLITE_LIBS="-lpcsclite"
16572 else $as_nop
16573 case $host_os in
16574 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16576 esac
16580 if test "x$PCSCLITE_LIBS" = x
16581 then :
16582 case "x$with_pcsclite" in
16583 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16584 xno) ;;
16585 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16586 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16587 esac
16588 enable_winscard=${enable_winscard:-no}
16591 if test "x$with_inotify" != "xno"
16592 then
16593 rm -f conftest.err
16594 if ${INOTIFY_CFLAGS:+false} :
16595 then :
16596 if test ${PKG_CONFIG+y}
16597 then :
16598 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16602 if ${INOTIFY_LIBS:+false} :
16603 then :
16604 if test ${PKG_CONFIG+y}
16605 then :
16606 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16613 if test -s conftest.err; then
16614 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16615 cat conftest.err >&5
16617 rm -f conftest.err
16618 ac_save_CPPFLAGS=$CPPFLAGS
16619 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16620 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16621 if test "x$ac_cv_header_sys_inotify_h" = xyes
16622 then :
16623 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16628 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16629 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16630 then :
16631 printf %s "(cached) " >&6
16632 else $as_nop
16633 ac_check_lib_save_LIBS=$LIBS
16634 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16636 /* end confdefs.h. */
16638 /* Override any GCC internal prototype to avoid an error.
16639 Use char because int might match the return type of a GCC
16640 builtin and then its argument prototype would still apply. */
16641 char inotify_add_watch ();
16643 main (void)
16645 return inotify_add_watch ();
16647 return 0;
16649 _ACEOF
16650 if ac_fn_c_try_link "$LINENO"
16651 then :
16652 ac_cv_lib_inotify_inotify_add_watch=yes
16653 else $as_nop
16654 ac_cv_lib_inotify_inotify_add_watch=no
16656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16657 conftest$ac_exeext conftest.$ac_ext
16658 LIBS=$ac_check_lib_save_LIBS
16660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16661 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16662 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16663 then :
16665 else $as_nop
16666 INOTIFY_LIBS=""
16669 CPPFLAGS=$ac_save_CPPFLAGS
16672 if test "$ac_cv_header_sys_inotify_h" != "yes"
16673 then :
16674 case "x$with_inotify" in
16675 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16676 xno) ;;
16677 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16678 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16679 esac
16683 if test "x$with_dbus" != "xno"
16684 then
16685 rm -f conftest.err
16686 if ${DBUS_CFLAGS:+false} :
16687 then :
16688 if test ${PKG_CONFIG+y}
16689 then :
16690 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16694 if ${DBUS_LIBS:+false} :
16695 then :
16696 if test ${PKG_CONFIG+y}
16697 then :
16698 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16705 if test -s conftest.err; then
16706 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16707 cat conftest.err >&5
16709 rm -f conftest.err
16710 ac_save_CPPFLAGS=$CPPFLAGS
16711 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16712 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16713 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16714 then :
16715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16716 printf %s "checking for -ldbus-1... " >&6; }
16717 if test ${ac_cv_lib_soname_dbus_1+y}
16718 then :
16719 printf %s "(cached) " >&6
16720 else $as_nop
16721 ac_check_soname_save_LIBS=$LIBS
16722 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16726 /* Override any GCC internal prototype to avoid an error.
16727 Use char because int might match the return type of a GCC
16728 builtin and then its argument prototype would still apply. */
16729 char dbus_connection_close ();
16731 main (void)
16733 return dbus_connection_close ();
16735 return 0;
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"
16739 then :
16740 case "$LIBEXT" in
16741 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16742 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'` ;;
16743 *) 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'`
16744 if ${ac_cv_lib_soname_dbus_1:+false} :
16745 then :
16746 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16747 fi ;;
16748 esac
16749 else $as_nop
16750 ac_cv_lib_soname_dbus_1=
16752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16753 conftest$ac_exeext conftest.$ac_ext
16754 LIBS=$ac_check_soname_save_LIBS
16756 if ${ac_cv_lib_soname_dbus_1:+false} :
16757 then :
16758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16759 printf "%s\n" "not found" >&6; }
16760 DBUS_CFLAGS=""
16761 else $as_nop
16762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16763 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16765 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16769 else $as_nop
16770 DBUS_CFLAGS=""
16773 CPPFLAGS=$ac_save_CPPFLAGS
16776 case $host_os in
16777 darwin*|macosx*) ;;
16778 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16779 then :
16780 case "x$with_dbus" in
16781 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16782 xno) ;;
16783 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16784 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16785 esac
16787 fi ;;
16788 esac
16790 if test "x$with_gnutls" != "xno"
16791 then
16792 rm -f conftest.err
16793 if ${GNUTLS_CFLAGS:+false} :
16794 then :
16795 if test ${PKG_CONFIG+y}
16796 then :
16797 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16801 if ${GNUTLS_LIBS:+false} :
16802 then :
16803 if test ${PKG_CONFIG+y}
16804 then :
16805 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16809 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16812 if test -s conftest.err; then
16813 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16814 cat conftest.err >&5
16816 rm -f conftest.err
16817 ac_save_CPPFLAGS=$CPPFLAGS
16818 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16819 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16820 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16821 then :
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16824 #include <gnutls/gnutls.h>
16825 #include <gnutls/crypto.h>
16827 main (void)
16829 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16831 return 0;
16833 _ACEOF
16834 if ac_fn_c_try_compile "$LINENO"
16835 then :
16836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16837 printf %s "checking for -lgnutls... " >&6; }
16838 if test ${ac_cv_lib_soname_gnutls+y}
16839 then :
16840 printf %s "(cached) " >&6
16841 else $as_nop
16842 ac_check_soname_save_LIBS=$LIBS
16843 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16847 /* Override any GCC internal prototype to avoid an error.
16848 Use char because int might match the return type of a GCC
16849 builtin and then its argument prototype would still apply. */
16850 char gnutls_global_init ();
16852 main (void)
16854 return gnutls_global_init ();
16856 return 0;
16858 _ACEOF
16859 if ac_fn_c_try_link "$LINENO"
16860 then :
16861 case "$LIBEXT" in
16862 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16863 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'` ;;
16864 *) 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'`
16865 if ${ac_cv_lib_soname_gnutls:+false} :
16866 then :
16867 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'`
16868 fi ;;
16869 esac
16870 else $as_nop
16871 ac_cv_lib_soname_gnutls=
16873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16874 conftest$ac_exeext conftest.$ac_ext
16875 LIBS=$ac_check_soname_save_LIBS
16877 if ${ac_cv_lib_soname_gnutls:+false} :
16878 then :
16879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16880 printf "%s\n" "not found" >&6; }
16881 GNUTLS_CFLAGS=""
16882 else $as_nop
16883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16884 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16886 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16890 ac_wine_check_funcs_save_LIBS="$LIBS"
16891 LIBS="$LIBS $GNUTLS_LIBS"
16893 for ac_func in gnutls_cipher_init
16894 do :
16895 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16896 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16897 then :
16898 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16900 else $as_nop
16901 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16904 done
16905 LIBS="$ac_wine_check_funcs_save_LIBS"
16907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16908 else $as_nop
16909 GNUTLS_CFLAGS=""
16912 CPPFLAGS=$ac_save_CPPFLAGS
16915 if test "x$ac_cv_lib_soname_gnutls" = "x"
16916 then :
16917 case "x$with_gnutls" in
16918 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16919 xno) ;;
16920 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16921 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16922 esac
16926 if test "x$with_sane" != "xno"
16927 then
16928 rm -f conftest.err
16929 if ${SANE_CFLAGS:+false} :
16930 then :
16931 if test ${PKG_CONFIG+y}
16932 then :
16933 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16936 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16937 if ${SANE_LIBS:+false} :
16938 then :
16939 if test ${PKG_CONFIG+y}
16940 then :
16941 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16944 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16948 if test -s conftest.err; then
16949 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16950 cat conftest.err >&5
16952 rm -f conftest.err
16953 ac_save_CPPFLAGS=$CPPFLAGS
16954 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16955 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16956 if test "x$ac_cv_header_sane_sane_h" = xyes
16957 then :
16958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16959 printf %s "checking for sane_init in -lsane... " >&6; }
16960 if test ${ac_cv_lib_sane_sane_init+y}
16961 then :
16962 printf %s "(cached) " >&6
16963 else $as_nop
16964 ac_check_lib_save_LIBS=$LIBS
16965 LIBS="-lsane $SANE_LIBS $LIBS"
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16969 /* Override any GCC internal prototype to avoid an error.
16970 Use char because int might match the return type of a GCC
16971 builtin and then its argument prototype would still apply. */
16972 char sane_init ();
16974 main (void)
16976 return sane_init ();
16978 return 0;
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"
16982 then :
16983 ac_cv_lib_sane_sane_init=yes
16984 else $as_nop
16985 ac_cv_lib_sane_sane_init=no
16987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16988 conftest$ac_exeext conftest.$ac_ext
16989 LIBS=$ac_check_lib_save_LIBS
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16992 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16993 if test "x$ac_cv_lib_sane_sane_init" = xyes
16994 then :
17000 CPPFLAGS=$ac_save_CPPFLAGS
17003 if test "$ac_cv_lib_sane_sane_init" != "yes"
17004 then :
17005 case "x$with_sane" in
17006 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17007 xno) ;;
17008 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
17009 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17010 esac
17011 enable_sane_ds=${enable_sane_ds:-no}
17014 if test "x$with_usb" != "xno"
17015 then
17016 rm -f conftest.err
17017 if ${USB_CFLAGS:+false} :
17018 then :
17019 if test ${PKG_CONFIG+y}
17020 then :
17021 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17025 if ${USB_LIBS:+false} :
17026 then :
17027 if test ${PKG_CONFIG+y}
17028 then :
17029 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17033 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
17034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17036 if test -s conftest.err; then
17037 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17038 cat conftest.err >&5
17040 rm -f conftest.err
17041 ac_save_CPPFLAGS=$CPPFLAGS
17042 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
17043 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17044 if test "x$ac_cv_header_libusb_h" = xyes
17045 then :
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17047 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17048 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17049 then :
17050 printf %s "(cached) " >&6
17051 else $as_nop
17052 ac_check_lib_save_LIBS=$LIBS
17053 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17060 char libusb_interrupt_event_handler ();
17062 main (void)
17064 return libusb_interrupt_event_handler ();
17066 return 0;
17068 _ACEOF
17069 if ac_fn_c_try_link "$LINENO"
17070 then :
17071 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
17072 else $as_nop
17073 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
17075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17076 conftest$ac_exeext conftest.$ac_ext
17077 LIBS=$ac_check_lib_save_LIBS
17079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17080 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17081 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17082 then :
17084 else $as_nop
17085 USB_LIBS=""
17088 else $as_nop
17089 USB_LIBS=""
17092 CPPFLAGS=$ac_save_CPPFLAGS
17095 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17096 then :
17097 case "x$with_usb" in
17098 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17099 xno) ;;
17100 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17101 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17102 esac
17103 enable_wineusb_sys=${enable_wineusb_sys:-no}
17106 if test "x$with_v4l2" != "xno"
17107 then
17108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17109 printf %s "checking for -lv4l2... " >&6; }
17110 if test ${ac_cv_lib_soname_v4l2+y}
17111 then :
17112 printf %s "(cached) " >&6
17113 else $as_nop
17114 ac_check_soname_save_LIBS=$LIBS
17115 LIBS="-lv4l2 $LIBS"
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17119 /* Override any GCC internal prototype to avoid an error.
17120 Use char because int might match the return type of a GCC
17121 builtin and then its argument prototype would still apply. */
17122 char v4l2_open ();
17124 main (void)
17126 return v4l2_open ();
17128 return 0;
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"
17132 then :
17133 case "$LIBEXT" in
17134 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17135 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'` ;;
17136 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17137 if ${ac_cv_lib_soname_v4l2:+false} :
17138 then :
17139 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17140 fi ;;
17141 esac
17142 else $as_nop
17143 ac_cv_lib_soname_v4l2=
17145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17146 conftest$ac_exeext conftest.$ac_ext
17147 LIBS=$ac_check_soname_save_LIBS
17149 if ${ac_cv_lib_soname_v4l2:+false} :
17150 then :
17151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17152 printf "%s\n" "not found" >&6; }
17154 else $as_nop
17155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17156 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17158 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17163 if test "x$ac_cv_lib_soname_v4l2" = "x"
17164 then :
17165 case "x$with_v4l2" in
17166 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
17167 xno) ;;
17168 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
17169 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17170 esac
17174 if test "x$with_gphoto" != "xno"
17175 then
17176 rm -f conftest.err
17177 if ${GPHOTO2_CFLAGS:+false} :
17178 then :
17179 if test ${PKG_CONFIG+y}
17180 then :
17181 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17184 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17185 if ${GPHOTO2_LIBS:+false} :
17186 then :
17187 if test ${PKG_CONFIG+y}
17188 then :
17189 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17192 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17193 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
17194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17196 if test -s conftest.err; then
17197 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17198 cat conftest.err >&5
17200 rm -f conftest.err
17201 ac_save_CPPFLAGS=$CPPFLAGS
17202 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
17203 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17204 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17205 then :
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17207 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
17208 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17209 then :
17210 printf %s "(cached) " >&6
17211 else $as_nop
17212 ac_check_lib_save_LIBS=$LIBS
17213 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17217 /* Override any GCC internal prototype to avoid an error.
17218 Use char because int might match the return type of a GCC
17219 builtin and then its argument prototype would still apply. */
17220 char gp_camera_new ();
17222 main (void)
17224 return gp_camera_new ();
17226 return 0;
17228 _ACEOF
17229 if ac_fn_c_try_link "$LINENO"
17230 then :
17231 ac_cv_lib_gphoto2_gp_camera_new=yes
17232 else $as_nop
17233 ac_cv_lib_gphoto2_gp_camera_new=no
17235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17236 conftest$ac_exeext conftest.$ac_ext
17237 LIBS=$ac_check_lib_save_LIBS
17239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17240 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17241 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17242 then :
17248 CPPFLAGS=$ac_save_CPPFLAGS
17250 rm -f conftest.err
17251 if ${GPHOTO2_PORT_CFLAGS:+false} :
17252 then :
17253 if test ${PKG_CONFIG+y}
17254 then :
17255 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17258 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17259 if ${GPHOTO2_PORT_LIBS:+false} :
17260 then :
17261 if test ${PKG_CONFIG+y}
17262 then :
17263 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17266 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17267 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17270 if test -s conftest.err; then
17271 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17272 cat conftest.err >&5
17274 rm -f conftest.err
17275 ac_save_CPPFLAGS=$CPPFLAGS
17276 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17277 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17278 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17279 then :
17280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17281 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17282 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17283 then :
17284 printf %s "(cached) " >&6
17285 else $as_nop
17286 ac_check_lib_save_LIBS=$LIBS
17287 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17291 /* Override any GCC internal prototype to avoid an error.
17292 Use char because int might match the return type of a GCC
17293 builtin and then its argument prototype would still apply. */
17294 char gp_port_info_list_new ();
17296 main (void)
17298 return gp_port_info_list_new ();
17300 return 0;
17302 _ACEOF
17303 if ac_fn_c_try_link "$LINENO"
17304 then :
17305 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17306 else $as_nop
17307 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17310 conftest$ac_exeext conftest.$ac_ext
17311 LIBS=$ac_check_lib_save_LIBS
17313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17314 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17315 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17316 then :
17318 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17320 else $as_nop
17321 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17324 else $as_nop
17325 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17328 CPPFLAGS=$ac_save_CPPFLAGS
17331 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17332 then :
17333 case "x$with_gphoto" in
17334 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17335 xno) ;;
17336 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17337 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17338 esac
17339 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17341 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17342 then :
17343 case "x$with_gphoto" in
17344 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17345 xno) ;;
17346 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17347 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17348 esac
17353 if test "$ac_cv_header_resolv_h" = "yes"
17354 then
17355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17356 printf %s "checking for resolver library... " >&6; }
17357 if test ${ac_cv_have_resolv+y}
17358 then :
17359 printf %s "(cached) " >&6
17360 else $as_nop
17361 ac_save_LIBS="$LIBS"
17362 for lib in '' -lresolv
17364 LIBS="$lib $ac_save_LIBS"
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 #ifdef HAVE_NETINET_IN_H
17368 #include <netinet/in.h>
17369 #endif
17370 #include <resolv.h>
17372 main (void)
17374 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17376 return 0;
17378 _ACEOF
17379 if ac_fn_c_try_link "$LINENO"
17380 then :
17381 ac_cv_have_resolv=${lib:-"none required"}
17382 else $as_nop
17383 ac_cv_have_resolv="not found"
17385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17386 conftest$ac_exeext conftest.$ac_ext
17387 test "x$ac_cv_have_resolv" = "xnot found" || break
17388 done
17389 LIBS="$ac_save_LIBS"
17391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17392 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17394 case "$ac_cv_have_resolv" in
17395 "not found") ;;
17396 "none required")
17398 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17401 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17403 RESOLV_LIBS=$ac_cv_have_resolv
17405 esac
17407 if test "x$ac_cv_have_resolv" != "xnot found"
17408 then
17409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17410 printf %s "checking for res_getservers... " >&6; }
17411 if test ${ac_cv_have_res_getservers+y}
17412 then :
17413 printf %s "(cached) " >&6
17414 else $as_nop
17415 ac_save_LIBS="$LIBS"
17416 LIBS="$RESOLV_LIBS $LIBS"
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 #include <resolv.h>
17421 main (void)
17423 res_getservers(NULL, NULL, 0);
17425 return 0;
17427 _ACEOF
17428 if ac_fn_c_try_link "$LINENO"
17429 then :
17430 ac_cv_have_res_getservers=yes
17431 else $as_nop
17432 ac_cv_have_res_getservers=no
17434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17435 conftest$ac_exeext conftest.$ac_ext
17436 LIBS="$ac_save_LIBS"
17438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17439 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17440 if test "$ac_cv_have_res_getservers" = "yes"
17441 then
17443 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17449 if test "x$with_freetype" != "xno"
17450 then
17451 rm -f conftest.err
17452 if ${FREETYPE_CFLAGS:+false} :
17453 then :
17454 if test ${PKG_CONFIG+y}
17455 then :
17456 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17459 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17460 if ${FREETYPE_LIBS:+false} :
17461 then :
17462 if test ${PKG_CONFIG+y}
17463 then :
17464 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17467 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17468 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17471 if test -s conftest.err; then
17472 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17473 cat conftest.err >&5
17475 rm -f conftest.err
17476 ac_save_CPPFLAGS=$CPPFLAGS
17477 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17478 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17479 if test "x$ac_cv_header_ft2build_h" = xyes
17480 then :
17481 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17485 if test "$ac_cv_header_ft2build_h" = "yes"
17486 then
17487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17488 printf %s "checking for -lfreetype... " >&6; }
17489 if test ${ac_cv_lib_soname_freetype+y}
17490 then :
17491 printf %s "(cached) " >&6
17492 else $as_nop
17493 ac_check_soname_save_LIBS=$LIBS
17494 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17498 /* Override any GCC internal prototype to avoid an error.
17499 Use char because int might match the return type of a GCC
17500 builtin and then its argument prototype would still apply. */
17501 char FT_Init_FreeType ();
17503 main (void)
17505 return FT_Init_FreeType ();
17507 return 0;
17509 _ACEOF
17510 if ac_fn_c_try_link "$LINENO"
17511 then :
17512 case "$LIBEXT" in
17513 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17514 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'` ;;
17515 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17516 if ${ac_cv_lib_soname_freetype:+false} :
17517 then :
17518 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17519 fi ;;
17520 esac
17521 else $as_nop
17522 ac_cv_lib_soname_freetype=
17524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17525 conftest$ac_exeext conftest.$ac_ext
17526 LIBS=$ac_check_soname_save_LIBS
17528 if ${ac_cv_lib_soname_freetype:+false} :
17529 then :
17530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17531 printf "%s\n" "not found" >&6; }
17532 FREETYPE_LIBS=""
17533 else $as_nop
17534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17535 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17537 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17540 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17542 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17543 #include FT_MODULE_H
17545 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17546 then :
17548 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17554 else
17555 FREETYPE_CFLAGS=""
17556 FREETYPE_LIBS=""
17558 CPPFLAGS=$ac_save_CPPFLAGS
17561 if test "x$ac_cv_lib_soname_freetype" = x
17562 then :
17563 case "x$with_freetype" in
17564 xno) ;;
17565 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17566 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17567 esac
17568 enable_fonts=${enable_fonts:-no}
17571 ac_wine_check_funcs_save_LIBS="$LIBS"
17572 LIBS="$LIBS $PTHREAD_LIBS"
17573 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17574 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17575 then :
17576 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17580 LIBS="$ac_wine_check_funcs_save_LIBS"
17582 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17583 then
17584 if test "$ac_cv_header_gettext_po_h" = "yes"
17585 then
17586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17587 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17588 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17589 then :
17590 printf %s "(cached) " >&6
17591 else $as_nop
17592 ac_check_lib_save_LIBS=$LIBS
17593 LIBS="-lgettextpo $LIBS"
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17597 /* Override any GCC internal prototype to avoid an error.
17598 Use char because int might match the return type of a GCC
17599 builtin and then its argument prototype would still apply. */
17600 char po_message_msgctxt ();
17602 main (void)
17604 return po_message_msgctxt ();
17606 return 0;
17608 _ACEOF
17609 if ac_fn_c_try_link "$LINENO"
17610 then :
17611 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17612 else $as_nop
17613 ac_cv_lib_gettextpo_po_message_msgctxt=no
17615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17616 conftest$ac_exeext conftest.$ac_ext
17617 LIBS=$ac_check_lib_save_LIBS
17619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17620 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17621 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17622 then :
17624 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17626 GETTEXTPO_LIBS="-lgettextpo"
17631 if test "x$GETTEXTPO_LIBS" = "x"
17632 then :
17633 case "x$with_gettextpo" in
17634 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17635 xno) ;;
17636 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17637 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17638 esac
17641 if test "$srcdir" != .
17642 then :
17643 case "x$with_gettextpo" in
17644 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17645 xno) ;;
17646 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17647 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17648 esac
17653 if test "x$with_pulse" != "xno";
17654 then
17655 rm -f conftest.err
17656 if ${PULSE_CFLAGS:+false} :
17657 then :
17658 if test ${PKG_CONFIG+y}
17659 then :
17660 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17664 if ${PULSE_LIBS:+false} :
17665 then :
17666 if test ${PKG_CONFIG+y}
17667 then :
17668 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17675 if test -s conftest.err; then
17676 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17677 cat conftest.err >&5
17679 rm -f conftest.err
17680 ac_save_CPPFLAGS=$CPPFLAGS
17681 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17682 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17683 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17684 then :
17685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17686 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17687 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17688 then :
17689 printf %s "(cached) " >&6
17690 else $as_nop
17691 ac_check_lib_save_LIBS=$LIBS
17692 LIBS="-lpulse $PULSE_LIBS $LIBS"
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17696 /* Override any GCC internal prototype to avoid an error.
17697 Use char because int might match the return type of a GCC
17698 builtin and then its argument prototype would still apply. */
17699 char pa_stream_is_corked ();
17701 main (void)
17703 return pa_stream_is_corked ();
17705 return 0;
17707 _ACEOF
17708 if ac_fn_c_try_link "$LINENO"
17709 then :
17710 ac_cv_lib_pulse_pa_stream_is_corked=yes
17711 else $as_nop
17712 ac_cv_lib_pulse_pa_stream_is_corked=no
17714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17715 conftest$ac_exeext conftest.$ac_ext
17716 LIBS=$ac_check_lib_save_LIBS
17718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17719 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17720 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17721 then :
17723 else $as_nop
17724 PULSE_LIBS=""
17727 else $as_nop
17728 PULSE_LIBS=""
17731 CPPFLAGS=$ac_save_CPPFLAGS
17734 if test -z "$PULSE_LIBS"
17735 then :
17736 case "x$with_pulse" in
17737 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17738 xno) ;;
17739 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17740 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17741 esac
17742 enable_winepulse_drv=${enable_winepulse_drv:-no}
17745 if test "x$with_gstreamer" != "xno"
17746 then
17747 rm -f conftest.err
17748 if ${GSTREAMER_CFLAGS:+false} :
17749 then :
17750 if test ${PKG_CONFIG+y}
17751 then :
17752 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17756 if ${GSTREAMER_LIBS:+false} :
17757 then :
17758 if test ${PKG_CONFIG+y}
17759 then :
17760 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17765 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
17766 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
17767 if test -s conftest.err; then
17768 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17769 cat conftest.err >&5
17771 rm -f conftest.err
17772 ac_save_CPPFLAGS=$CPPFLAGS
17773 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17774 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17775 if test "x$ac_cv_header_gst_gst_h" = xyes
17776 then :
17777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17778 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781 #include <gst/gst.h>
17783 main (void)
17785 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17787 return 0;
17789 _ACEOF
17790 if ac_fn_c_try_compile "$LINENO"
17791 then :
17792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17793 printf "%s\n" "yes" >&6; }
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17795 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17796 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17797 then :
17798 printf %s "(cached) " >&6
17799 else $as_nop
17800 ac_check_lib_save_LIBS=$LIBS
17801 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17805 /* Override any GCC internal prototype to avoid an error.
17806 Use char because int might match the return type of a GCC
17807 builtin and then its argument prototype would still apply. */
17808 char gst_pad_new ();
17810 main (void)
17812 return gst_pad_new ();
17814 return 0;
17816 _ACEOF
17817 if ac_fn_c_try_link "$LINENO"
17818 then :
17819 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17820 else $as_nop
17821 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17824 conftest$ac_exeext conftest.$ac_ext
17825 LIBS=$ac_check_lib_save_LIBS
17827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17828 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17829 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17830 then :
17834 else $as_nop
17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17836 printf "%s\n" "no" >&6; }
17837 ac_glib2_broken=yes
17838 enable_winegstreamer=${enable_winegstreamer:-no}
17839 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17844 CPPFLAGS=$ac_save_CPPFLAGS
17847 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17848 then :
17849 case "x$with_gstreamer" in
17850 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17851 xno) ;;
17852 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17853 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17854 esac
17855 enable_winegstreamer=${enable_winegstreamer:-no}
17858 ALSA_LIBS=""
17860 if test "x$with_alsa" != "xno"
17861 then
17862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17863 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17864 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17865 then :
17866 printf %s "(cached) " >&6
17867 else $as_nop
17868 ac_check_lib_save_LIBS=$LIBS
17869 LIBS="-lasound $LIBS"
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17873 /* Override any GCC internal prototype to avoid an error.
17874 Use char because int might match the return type of a GCC
17875 builtin and then its argument prototype would still apply. */
17876 char snd_pcm_hw_params_get_access_mask ();
17878 main (void)
17880 return snd_pcm_hw_params_get_access_mask ();
17882 return 0;
17884 _ACEOF
17885 if ac_fn_c_try_link "$LINENO"
17886 then :
17887 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17888 else $as_nop
17889 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17892 conftest$ac_exeext conftest.$ac_ext
17893 LIBS=$ac_check_lib_save_LIBS
17895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17896 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17897 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17898 then :
17899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17901 #include <alsa/asoundlib.h>
17903 main (void)
17905 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17907 return 0;
17909 _ACEOF
17910 if ac_fn_c_try_compile "$LINENO"
17911 then :
17912 ALSA_LIBS="-lasound"
17914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17918 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17920 if test "x$with_oss" != xno
17921 then
17922 ac_save_CPPFLAGS="$CPPFLAGS"
17923 if test -f /etc/oss.conf
17924 then
17925 . /etc/oss.conf
17927 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17928 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17929 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17930 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17931 then :
17932 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17934 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17935 then :
17937 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17939 OSS4_CFLAGS="$ac_oss_incl"
17941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17942 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17943 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17944 then :
17945 printf %s "(cached) " >&6
17946 else $as_nop
17947 ac_check_lib_save_LIBS=$LIBS
17948 LIBS="-lossaudio $LIBS"
17949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17950 /* end confdefs.h. */
17952 /* Override any GCC internal prototype to avoid an error.
17953 Use char because int might match the return type of a GCC
17954 builtin and then its argument prototype would still apply. */
17955 char _oss_ioctl ();
17957 main (void)
17959 return _oss_ioctl ();
17961 return 0;
17963 _ACEOF
17964 if ac_fn_c_try_link "$LINENO"
17965 then :
17966 ac_cv_lib_ossaudio__oss_ioctl=yes
17967 else $as_nop
17968 ac_cv_lib_ossaudio__oss_ioctl=no
17970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17971 conftest$ac_exeext conftest.$ac_ext
17972 LIBS=$ac_check_lib_save_LIBS
17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17975 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17976 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17977 then :
17978 OSS4_LIBS="-lossaudio"
17986 CPPFLAGS="$ac_save_CPPFLAGS"
17988 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17989 then :
17990 case "x$with_oss" in
17991 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17992 xno) ;;
17993 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17994 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17995 esac
17996 enable_wineoss_drv=${enable_wineoss_drv:-no}
17999 if test "x$with_udev" != "xno"
18000 then
18001 rm -f conftest.err
18002 if ${UDEV_CFLAGS:+false} :
18003 then :
18004 if test ${PKG_CONFIG+y}
18005 then :
18006 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18010 if ${UDEV_LIBS:+false} :
18011 then :
18012 if test ${PKG_CONFIG+y}
18013 then :
18014 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
18018 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
18019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18021 if test -s conftest.err; then
18022 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18023 cat conftest.err >&5
18025 rm -f conftest.err
18026 ac_save_CPPFLAGS=$CPPFLAGS
18027 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
18028 for ac_header in libudev.h
18029 do :
18030 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18031 if test "x$ac_cv_header_libudev_h" = xyes
18032 then :
18033 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18035 printf %s "checking for udev_new in -ludev... " >&6; }
18036 if test ${ac_cv_lib_udev_udev_new+y}
18037 then :
18038 printf %s "(cached) " >&6
18039 else $as_nop
18040 ac_check_lib_save_LIBS=$LIBS
18041 LIBS="-ludev $UDEV_LIBS $LIBS"
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18045 /* Override any GCC internal prototype to avoid an error.
18046 Use char because int might match the return type of a GCC
18047 builtin and then its argument prototype would still apply. */
18048 char udev_new ();
18050 main (void)
18052 return udev_new ();
18054 return 0;
18056 _ACEOF
18057 if ac_fn_c_try_link "$LINENO"
18058 then :
18059 ac_cv_lib_udev_udev_new=yes
18060 else $as_nop
18061 ac_cv_lib_udev_udev_new=no
18063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18064 conftest$ac_exeext conftest.$ac_ext
18065 LIBS=$ac_check_lib_save_LIBS
18067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18068 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18069 if test "x$ac_cv_lib_udev_udev_new" = xyes
18070 then :
18072 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18074 else $as_nop
18075 UDEV_LIBS=""
18078 else $as_nop
18079 UDEV_LIBS=""
18082 done
18083 CPPFLAGS=$ac_save_CPPFLAGS
18086 if test "x$UDEV_LIBS" = "x"
18087 then :
18088 case "x$with_udev" in
18089 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18090 xno) ;;
18091 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
18092 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18093 esac
18097 if test $HOST_ARCH = x86_64
18098 then
18099 if test "x$with_unwind" != xno
18100 then
18101 rm -f conftest.err
18102 if ${UNWIND_CFLAGS:+false} :
18103 then :
18104 if test ${PKG_CONFIG+y}
18105 then :
18106 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18110 if ${UNWIND_LIBS:+false} :
18111 then :
18112 if test ${PKG_CONFIG+y}
18113 then :
18114 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18118 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
18119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18121 if test -s conftest.err; then
18122 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18123 cat conftest.err >&5
18125 rm -f conftest.err
18126 ac_save_CPPFLAGS=$CPPFLAGS
18127 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
18128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18129 printf %s "checking for unw_step... " >&6; }
18130 if test ${wine_cv_have_unw_step+y}
18131 then :
18132 printf %s "(cached) " >&6
18133 else $as_nop
18134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18136 #define UNW_LOCAL_ONLY
18137 #include <libunwind.h>
18139 main (void)
18141 unw_cursor_t cursor; unw_step( &cursor );
18143 return 0;
18145 _ACEOF
18146 if ac_fn_c_try_link "$LINENO"
18147 then :
18148 wine_cv_have_unw_step="yes"
18149 else $as_nop
18150 wine_cv_have_unw_step="no"
18152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18153 conftest$ac_exeext conftest.$ac_ext
18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18156 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18157 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
18158 then
18159 save_libs=$LIBS
18160 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
18161 LIBS="$UNWIND_LIBS $LIBS"
18162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18163 printf %s "checking for unw_step in libunwind... " >&6; }
18164 if test ${wine_cv_have_libunwind_unw_step+y}
18165 then :
18166 printf %s "(cached) " >&6
18167 else $as_nop
18168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18169 /* end confdefs.h. */
18170 #define UNW_LOCAL_ONLY
18171 #include <libunwind.h>
18173 main (void)
18175 unw_cursor_t cursor; unw_step( &cursor );
18177 return 0;
18179 _ACEOF
18180 if ac_fn_c_try_link "$LINENO"
18181 then :
18182 wine_cv_have_libunwind_unw_step="yes"
18183 else $as_nop
18184 wine_cv_have_libunwind_unw_step="no"
18186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18187 conftest$ac_exeext conftest.$ac_ext
18189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18190 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18191 LIBS=$save_libs
18193 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
18194 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18195 then
18197 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18200 CPPFLAGS=$ac_save_CPPFLAGS
18203 case $host in
18204 *-darwin*)
18205 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18206 then :
18207 case "x$with_unwind" in
18208 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18209 xno) ;;
18210 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
18211 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18212 esac
18214 fi ;;
18215 esac
18218 if test "x$with_sdl" != "xno"
18219 then
18220 rm -f conftest.err
18221 if ${SDL2_CFLAGS:+false} :
18222 then :
18223 if test ${PKG_CONFIG+y}
18224 then :
18225 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18229 if ${SDL2_LIBS:+false} :
18230 then :
18231 if test ${PKG_CONFIG+y}
18232 then :
18233 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18237 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
18238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18240 if test -s conftest.err; then
18241 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18242 cat conftest.err >&5
18244 rm -f conftest.err
18245 ac_save_CPPFLAGS=$CPPFLAGS
18246 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18247 for ac_header in SDL.h
18248 do :
18249 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18250 if test "x$ac_cv_header_SDL_h" = xyes
18251 then :
18252 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18254 printf %s "checking for -lSDL2... " >&6; }
18255 if test ${ac_cv_lib_soname_SDL2+y}
18256 then :
18257 printf %s "(cached) " >&6
18258 else $as_nop
18259 ac_check_soname_save_LIBS=$LIBS
18260 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18264 /* Override any GCC internal prototype to avoid an error.
18265 Use char because int might match the return type of a GCC
18266 builtin and then its argument prototype would still apply. */
18267 char SDL_Init ();
18269 main (void)
18271 return SDL_Init ();
18273 return 0;
18275 _ACEOF
18276 if ac_fn_c_try_link "$LINENO"
18277 then :
18278 case "$LIBEXT" in
18279 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18280 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'` ;;
18281 *) 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'`
18282 if ${ac_cv_lib_soname_SDL2:+false} :
18283 then :
18284 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18285 fi ;;
18286 esac
18287 else $as_nop
18288 ac_cv_lib_soname_SDL2=
18290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18291 conftest$ac_exeext conftest.$ac_ext
18292 LIBS=$ac_check_soname_save_LIBS
18294 if ${ac_cv_lib_soname_SDL2:+false} :
18295 then :
18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18297 printf "%s\n" "not found" >&6; }
18299 else $as_nop
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18301 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18303 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18309 done
18310 CPPFLAGS=$ac_save_CPPFLAGS
18313 if test "x$ac_cv_lib_soname_SDL2" = "x"
18314 then :
18315 case "x$with_sdl" in
18316 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18317 xno) ;;
18318 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18319 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18320 esac
18324 if test "x$with_capi" != "xno"
18325 then
18326 rm -f conftest.err
18327 if ${CAPI20_CFLAGS:+false} :
18328 then :
18329 if test ${PKG_CONFIG+y}
18330 then :
18331 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18335 if ${CAPI20_LIBS:+false} :
18336 then :
18337 if test ${PKG_CONFIG+y}
18338 then :
18339 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18346 if test -s conftest.err; then
18347 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18348 cat conftest.err >&5
18350 rm -f conftest.err
18351 ac_save_CPPFLAGS=$CPPFLAGS
18352 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18353 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18355 if test "x$ac_cv_header_capi20_h" = xyes
18356 then :
18357 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18360 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18362 if test "x$ac_cv_header_linux_capi_h" = xyes
18363 then :
18364 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18368 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18369 then
18370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18371 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18372 if test ${ac_cv_lib_capi20_capi20_register+y}
18373 then :
18374 printf %s "(cached) " >&6
18375 else $as_nop
18376 ac_check_lib_save_LIBS=$LIBS
18377 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18381 /* Override any GCC internal prototype to avoid an error.
18382 Use char because int might match the return type of a GCC
18383 builtin and then its argument prototype would still apply. */
18384 char capi20_register ();
18386 main (void)
18388 return capi20_register ();
18390 return 0;
18392 _ACEOF
18393 if ac_fn_c_try_link "$LINENO"
18394 then :
18395 ac_cv_lib_capi20_capi20_register=yes
18396 else $as_nop
18397 ac_cv_lib_capi20_capi20_register=no
18399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18400 conftest$ac_exeext conftest.$ac_ext
18401 LIBS=$ac_check_lib_save_LIBS
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18404 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18405 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18406 then :
18408 else $as_nop
18409 CAPI20_LIBS=""
18413 CPPFLAGS=$ac_save_CPPFLAGS
18416 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18417 then :
18418 case "x$with_capi" in
18419 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18420 xno) ;;
18421 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18422 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18423 esac
18424 enable_capi2032=${enable_capi2032:-no}
18427 if test "x$with_cups" != "xno"
18428 then
18429 rm -f conftest.err
18430 if ${CUPS_CFLAGS:+false} :
18431 then :
18432 if test ${PKG_CONFIG+y}
18433 then :
18434 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18437 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18438 if ${CUPS_LIBS:+false} :
18439 then :
18440 if test ${PKG_CONFIG+y}
18441 then :
18442 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18445 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18446 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18449 if test -s conftest.err; then
18450 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18451 cat conftest.err >&5
18453 rm -f conftest.err
18454 ac_save_CPPFLAGS=$CPPFLAGS
18455 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18456 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18457 if test "x$ac_cv_header_cups_cups_h" = xyes
18458 then :
18459 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18462 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18463 if test "x$ac_cv_header_cups_ppd_h" = xyes
18464 then :
18465 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18469 if test "$ac_cv_header_cups_cups_h" = "yes"
18470 then
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18472 printf %s "checking for -lcups... " >&6; }
18473 if test ${ac_cv_lib_soname_cups+y}
18474 then :
18475 printf %s "(cached) " >&6
18476 else $as_nop
18477 ac_check_soname_save_LIBS=$LIBS
18478 LIBS="-lcups $CUPS_LIBS $LIBS"
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18482 /* Override any GCC internal prototype to avoid an error.
18483 Use char because int might match the return type of a GCC
18484 builtin and then its argument prototype would still apply. */
18485 char cupsGetDefault ();
18487 main (void)
18489 return cupsGetDefault ();
18491 return 0;
18493 _ACEOF
18494 if ac_fn_c_try_link "$LINENO"
18495 then :
18496 case "$LIBEXT" in
18497 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18498 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'` ;;
18499 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18500 if ${ac_cv_lib_soname_cups:+false} :
18501 then :
18502 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18503 fi ;;
18504 esac
18505 else $as_nop
18506 ac_cv_lib_soname_cups=
18508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18509 conftest$ac_exeext conftest.$ac_ext
18510 LIBS=$ac_check_soname_save_LIBS
18512 if ${ac_cv_lib_soname_cups:+false} :
18513 then :
18514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18515 printf "%s\n" "not found" >&6; }
18516 CUPS_LIBS=""
18517 else $as_nop
18518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18519 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18521 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18525 else
18526 CUPS_CFLAGS=""
18527 CUPS_LIBS=""
18529 CPPFLAGS=$ac_save_CPPFLAGS
18532 if test "x$ac_cv_lib_soname_cups" = "x"
18533 then :
18534 case "x$with_cups" in
18535 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18536 xno) ;;
18537 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18538 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18539 esac
18543 if test "x$with_fontconfig" != "xno"
18544 then
18545 rm -f conftest.err
18546 if ${FONTCONFIG_CFLAGS:+false} :
18547 then :
18548 if test ${PKG_CONFIG+y}
18549 then :
18550 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18553 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18554 if ${FONTCONFIG_LIBS:+false} :
18555 then :
18556 if test ${PKG_CONFIG+y}
18557 then :
18558 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18561 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18563 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18565 if test -s conftest.err; then
18566 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18567 cat conftest.err >&5
18569 rm -f conftest.err
18570 ac_save_CPPFLAGS=$CPPFLAGS
18571 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18572 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18573 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18574 then :
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18576 printf %s "checking for -lfontconfig... " >&6; }
18577 if test ${ac_cv_lib_soname_fontconfig+y}
18578 then :
18579 printf %s "(cached) " >&6
18580 else $as_nop
18581 ac_check_soname_save_LIBS=$LIBS
18582 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18586 /* Override any GCC internal prototype to avoid an error.
18587 Use char because int might match the return type of a GCC
18588 builtin and then its argument prototype would still apply. */
18589 char FcInit ();
18591 main (void)
18593 return FcInit ();
18595 return 0;
18597 _ACEOF
18598 if ac_fn_c_try_link "$LINENO"
18599 then :
18600 case "$LIBEXT" in
18601 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18602 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'` ;;
18603 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18604 if ${ac_cv_lib_soname_fontconfig:+false} :
18605 then :
18606 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18607 fi ;;
18608 esac
18609 else $as_nop
18610 ac_cv_lib_soname_fontconfig=
18612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18613 conftest$ac_exeext conftest.$ac_ext
18614 LIBS=$ac_check_soname_save_LIBS
18616 if ${ac_cv_lib_soname_fontconfig:+false} :
18617 then :
18618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18619 printf "%s\n" "not found" >&6; }
18620 FONTCONFIG_CFLAGS=""
18621 else $as_nop
18622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18623 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18625 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18629 else $as_nop
18630 FONTCONFIG_CFLAGS=""
18633 CPPFLAGS=$ac_save_CPPFLAGS
18636 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18637 then :
18638 case "x$with_fontconfig" in
18639 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18640 xno) ;;
18641 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18642 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18643 esac
18647 if test "x$with_krb5" != "xno"
18648 then
18649 rm -f conftest.err
18650 if ${KRB5_CFLAGS:+false} :
18651 then :
18652 if test ${PKG_CONFIG+y}
18653 then :
18654 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18657 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18658 if ${KRB5_LIBS:+false} :
18659 then :
18660 if test ${PKG_CONFIG+y}
18661 then :
18662 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18665 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18669 if test -s conftest.err; then
18670 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18671 cat conftest.err >&5
18673 rm -f conftest.err
18674 ac_save_CPPFLAGS=$CPPFLAGS
18675 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18676 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18677 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18678 then :
18679 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18683 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18684 then
18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18686 printf %s "checking for -lkrb5... " >&6; }
18687 if test ${ac_cv_lib_soname_krb5+y}
18688 then :
18689 printf %s "(cached) " >&6
18690 else $as_nop
18691 ac_check_soname_save_LIBS=$LIBS
18692 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18696 /* Override any GCC internal prototype to avoid an error.
18697 Use char because int might match the return type of a GCC
18698 builtin and then its argument prototype would still apply. */
18699 char krb5_is_config_principal ();
18701 main (void)
18703 return krb5_is_config_principal ();
18705 return 0;
18707 _ACEOF
18708 if ac_fn_c_try_link "$LINENO"
18709 then :
18710 case "$LIBEXT" in
18711 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18712 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'` ;;
18713 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18714 if ${ac_cv_lib_soname_krb5:+false} :
18715 then :
18716 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18717 fi ;;
18718 esac
18719 else $as_nop
18720 ac_cv_lib_soname_krb5=
18722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18723 conftest$ac_exeext conftest.$ac_ext
18724 LIBS=$ac_check_soname_save_LIBS
18726 if ${ac_cv_lib_soname_krb5:+false} :
18727 then :
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18729 printf "%s\n" "not found" >&6; }
18730 KRB5_CFLAGS=""
18731 else $as_nop
18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18733 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18735 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18739 else
18740 KRB5_CFLAGS=""
18742 CPPFLAGS=$ac_save_CPPFLAGS
18745 if test "x$ac_cv_lib_soname_krb5" = "x"
18746 then :
18747 case "x$with_krb5" in
18748 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18749 xno) ;;
18750 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18751 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18752 esac
18755 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18757 if test "x$with_gssapi" != "xno"
18758 then
18759 rm -f conftest.err
18760 if ${GSSAPI_CFLAGS:+false} :
18761 then :
18762 if test ${PKG_CONFIG+y}
18763 then :
18764 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18767 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18768 if ${GSSAPI_LIBS:+false} :
18769 then :
18770 if test ${PKG_CONFIG+y}
18771 then :
18772 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18775 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18779 if test -s conftest.err; then
18780 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18781 cat conftest.err >&5
18783 rm -f conftest.err
18784 ac_save_CPPFLAGS=$CPPFLAGS
18785 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18786 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18787 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18788 then :
18789 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18792 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18793 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18794 then :
18795 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18799 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18800 then
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18802 printf %s "checking for -lgssapi_krb5... " >&6; }
18803 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18804 then :
18805 printf %s "(cached) " >&6
18806 else $as_nop
18807 ac_check_soname_save_LIBS=$LIBS
18808 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18812 /* Override any GCC internal prototype to avoid an error.
18813 Use char because int might match the return type of a GCC
18814 builtin and then its argument prototype would still apply. */
18815 char gss_init_sec_context ();
18817 main (void)
18819 return gss_init_sec_context ();
18821 return 0;
18823 _ACEOF
18824 if ac_fn_c_try_link "$LINENO"
18825 then :
18826 case "$LIBEXT" in
18827 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18828 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'` ;;
18829 *) 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'`
18830 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18831 then :
18832 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18833 fi ;;
18834 esac
18835 else $as_nop
18836 ac_cv_lib_soname_gssapi_krb5=
18838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18839 conftest$ac_exeext conftest.$ac_ext
18840 LIBS=$ac_check_soname_save_LIBS
18842 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18843 then :
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18845 printf "%s\n" "not found" >&6; }
18846 GSSAPI_CFLAGS=""
18847 else $as_nop
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18849 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18851 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18855 else
18856 GSSAPI_CFLAGS=""
18858 CPPFLAGS=$ac_save_CPPFLAGS
18861 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18862 then :
18863 case "x$with_gssapi" in
18864 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18865 xno) ;;
18866 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18867 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18868 esac
18872 if test "$ac_cv_header_libprocstat_h" = "yes"
18873 then
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18875 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18876 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18877 then :
18878 printf %s "(cached) " >&6
18879 else $as_nop
18880 ac_check_lib_save_LIBS=$LIBS
18881 LIBS="-lprocstat $LIBS"
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18885 /* Override any GCC internal prototype to avoid an error.
18886 Use char because int might match the return type of a GCC
18887 builtin and then its argument prototype would still apply. */
18888 char procstat_open_sysctl ();
18890 main (void)
18892 return procstat_open_sysctl ();
18894 return 0;
18896 _ACEOF
18897 if ac_fn_c_try_link "$LINENO"
18898 then :
18899 ac_cv_lib_procstat_procstat_open_sysctl=yes
18900 else $as_nop
18901 ac_cv_lib_procstat_procstat_open_sysctl=no
18903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18904 conftest$ac_exeext conftest.$ac_ext
18905 LIBS=$ac_check_lib_save_LIBS
18907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18908 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18909 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18910 then :
18912 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18914 PROCSTAT_LIBS="-lprocstat"
18920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18921 printf %s "checking for -lodbc... " >&6; }
18922 if test ${ac_cv_lib_soname_odbc+y}
18923 then :
18924 printf %s "(cached) " >&6
18925 else $as_nop
18926 ac_check_soname_save_LIBS=$LIBS
18927 LIBS="-lodbc $LIBS"
18928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18931 /* Override any GCC internal prototype to avoid an error.
18932 Use char because int might match the return type of a GCC
18933 builtin and then its argument prototype would still apply. */
18934 char SQLConnect ();
18936 main (void)
18938 return SQLConnect ();
18940 return 0;
18942 _ACEOF
18943 if ac_fn_c_try_link "$LINENO"
18944 then :
18945 case "$LIBEXT" in
18946 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18947 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'` ;;
18948 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18949 if ${ac_cv_lib_soname_odbc:+false} :
18950 then :
18951 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18952 fi ;;
18953 esac
18954 else $as_nop
18955 ac_cv_lib_soname_odbc=
18957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18958 conftest$ac_exeext conftest.$ac_ext
18959 LIBS=$ac_check_soname_save_LIBS
18961 if ${ac_cv_lib_soname_odbc:+false} :
18962 then :
18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18964 printf "%s\n" "not found" >&6; }
18965 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18967 else $as_nop
18968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18969 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18971 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18976 if test "x$with_netapi" != "xno"
18977 then
18978 rm -f conftest.err
18979 if ${NETAPI_CFLAGS:+false} :
18980 then :
18981 if test ${PKG_CONFIG+y}
18982 then :
18983 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18987 if ${NETAPI_LIBS:+false} :
18988 then :
18989 if test ${PKG_CONFIG+y}
18990 then :
18991 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18998 if test -s conftest.err; then
18999 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
19000 cat conftest.err >&5
19002 rm -f conftest.err
19003 ac_save_CPPFLAGS=$CPPFLAGS
19004 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
19005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19006 printf %s "checking for -lnetapi... " >&6; }
19007 if test ${ac_cv_lib_soname_netapi+y}
19008 then :
19009 printf %s "(cached) " >&6
19010 else $as_nop
19011 ac_check_soname_save_LIBS=$LIBS
19012 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19016 /* Override any GCC internal prototype to avoid an error.
19017 Use char because int might match the return type of a GCC
19018 builtin and then its argument prototype would still apply. */
19019 char libnetapi_init ();
19021 main (void)
19023 return libnetapi_init ();
19025 return 0;
19027 _ACEOF
19028 if ac_fn_c_try_link "$LINENO"
19029 then :
19030 case "$LIBEXT" in
19031 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19032 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'` ;;
19033 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19034 if ${ac_cv_lib_soname_netapi:+false} :
19035 then :
19036 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19037 fi ;;
19038 esac
19039 else $as_nop
19040 ac_cv_lib_soname_netapi=
19042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19043 conftest$ac_exeext conftest.$ac_ext
19044 LIBS=$ac_check_soname_save_LIBS
19046 if ${ac_cv_lib_soname_netapi:+false} :
19047 then :
19048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19049 printf "%s\n" "not found" >&6; }
19050 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19052 else $as_nop
19053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19054 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19056 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19060 CPPFLAGS=$ac_save_CPPFLAGS
19063 if test "x$ac_cv_lib_soname_netapi" = "x"
19064 then :
19065 case "x$with_netapi" in
19066 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
19067 xno) ;;
19068 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
19069 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19070 esac
19071 enable_netapi=${enable_netapi:-no}
19075 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
19076 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19077 then
19078 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
19081 if test "x$with_vulkan" != "xno"
19082 then
19083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19084 printf %s "checking for -lvulkan... " >&6; }
19085 if test ${ac_cv_lib_soname_vulkan+y}
19086 then :
19087 printf %s "(cached) " >&6
19088 else $as_nop
19089 ac_check_soname_save_LIBS=$LIBS
19090 LIBS="-lvulkan $LIBS"
19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19094 /* Override any GCC internal prototype to avoid an error.
19095 Use char because int might match the return type of a GCC
19096 builtin and then its argument prototype would still apply. */
19097 char vkGetInstanceProcAddr ();
19099 main (void)
19101 return vkGetInstanceProcAddr ();
19103 return 0;
19105 _ACEOF
19106 if ac_fn_c_try_link "$LINENO"
19107 then :
19108 case "$LIBEXT" in
19109 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19110 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'` ;;
19111 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19112 if ${ac_cv_lib_soname_vulkan:+false} :
19113 then :
19114 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19115 fi ;;
19116 esac
19117 else $as_nop
19118 ac_cv_lib_soname_vulkan=
19120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19121 conftest$ac_exeext conftest.$ac_ext
19122 LIBS=$ac_check_soname_save_LIBS
19124 if ${ac_cv_lib_soname_vulkan:+false} :
19125 then :
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19127 printf "%s\n" "not found" >&6; }
19129 else $as_nop
19130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19131 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19133 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19137 if test "x$ac_cv_lib_soname_vulkan" = "x"
19138 then
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19140 printf %s "checking for -lMoltenVK... " >&6; }
19141 if test ${ac_cv_lib_soname_MoltenVK+y}
19142 then :
19143 printf %s "(cached) " >&6
19144 else $as_nop
19145 ac_check_soname_save_LIBS=$LIBS
19146 LIBS="-lMoltenVK $LIBS"
19147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19150 /* Override any GCC internal prototype to avoid an error.
19151 Use char because int might match the return type of a GCC
19152 builtin and then its argument prototype would still apply. */
19153 char vkGetInstanceProcAddr ();
19155 main (void)
19157 return vkGetInstanceProcAddr ();
19159 return 0;
19161 _ACEOF
19162 if ac_fn_c_try_link "$LINENO"
19163 then :
19164 case "$LIBEXT" in
19165 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19166 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'` ;;
19167 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19168 if ${ac_cv_lib_soname_MoltenVK:+false} :
19169 then :
19170 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19171 fi ;;
19172 esac
19173 else $as_nop
19174 ac_cv_lib_soname_MoltenVK=
19176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19177 conftest$ac_exeext conftest.$ac_ext
19178 LIBS=$ac_check_soname_save_LIBS
19180 if ${ac_cv_lib_soname_MoltenVK:+false} :
19181 then :
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19183 printf "%s\n" "not found" >&6; }
19185 else $as_nop
19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19187 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19189 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19191 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19196 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19197 then :
19198 case "x$with_vulkan" in
19199 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19200 xno) ;;
19201 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19202 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19203 esac
19208 if test "x${GCC}" = "xyes"
19209 then
19210 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
19212 saved_CFLAGS=$CFLAGS
19213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19214 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19215 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19216 then :
19217 printf %s "(cached) " >&6
19218 else $as_nop
19219 ac_wine_try_cflags_saved=$CFLAGS
19220 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19223 int main(int argc, char **argv) { return 0; }
19224 _ACEOF
19225 if ac_fn_c_try_link "$LINENO"
19226 then :
19227 ac_cv_cflags__Werror_unknown_warning_option=yes
19228 else $as_nop
19229 ac_cv_cflags__Werror_unknown_warning_option=no
19231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19232 conftest$ac_exeext conftest.$ac_ext
19233 CFLAGS=$ac_wine_try_cflags_saved
19235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19236 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19237 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19238 then :
19239 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19242 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19243 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19244 then :
19245 printf %s "(cached) " >&6
19246 else $as_nop
19247 ac_wine_try_cflags_saved=$CFLAGS
19248 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19250 /* end confdefs.h. */
19251 int main(int argc, char **argv) { return 0; }
19252 _ACEOF
19253 if ac_fn_c_try_link "$LINENO"
19254 then :
19255 ac_cv_cflags__Werror_unused_command_line_argument=yes
19256 else $as_nop
19257 ac_cv_cflags__Werror_unused_command_line_argument=no
19259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19260 conftest$ac_exeext conftest.$ac_ext
19261 CFLAGS=$ac_wine_try_cflags_saved
19263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19264 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19265 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19266 then :
19267 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19270 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19271 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19272 then :
19273 printf %s "(cached) " >&6
19274 else $as_nop
19275 ac_wine_try_cflags_saved=$CFLAGS
19276 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19279 int main(int argc, char **argv) { return 0; }
19280 _ACEOF
19281 if ac_fn_c_try_link "$LINENO"
19282 then :
19283 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19284 else $as_nop
19285 ac_cv_cflags__Werror_ignored_optimization_argument=no
19287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19288 conftest$ac_exeext conftest.$ac_ext
19289 CFLAGS=$ac_wine_try_cflags_saved
19291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19292 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19293 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19294 then :
19295 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19298 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19299 if test ${ac_cv_cflags__fcf_protection_none+y}
19300 then :
19301 printf %s "(cached) " >&6
19302 else $as_nop
19303 ac_wine_try_cflags_saved=$CFLAGS
19304 CFLAGS="$CFLAGS -fcf-protection=none"
19305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19307 int main(int argc, char **argv) { return 0; }
19308 _ACEOF
19309 if ac_fn_c_try_link "$LINENO"
19310 then :
19311 ac_cv_cflags__fcf_protection_none=yes
19312 else $as_nop
19313 ac_cv_cflags__fcf_protection_none=no
19315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19316 conftest$ac_exeext conftest.$ac_ext
19317 CFLAGS=$ac_wine_try_cflags_saved
19319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19320 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19321 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19322 then :
19323 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19326 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19327 if test ${ac_cv_cflags__fvisibility_hidden+y}
19328 then :
19329 printf %s "(cached) " >&6
19330 else $as_nop
19331 ac_wine_try_cflags_saved=$CFLAGS
19332 CFLAGS="$CFLAGS -fvisibility=hidden"
19333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19335 int main(int argc, char **argv) { return 0; }
19336 _ACEOF
19337 if ac_fn_c_try_link "$LINENO"
19338 then :
19339 ac_cv_cflags__fvisibility_hidden=yes
19340 else $as_nop
19341 ac_cv_cflags__fvisibility_hidden=no
19343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19344 conftest$ac_exeext conftest.$ac_ext
19345 CFLAGS=$ac_wine_try_cflags_saved
19347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19348 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19349 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19350 then :
19351 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19354 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19355 if test ${ac_cv_cflags__fno_stack_protector+y}
19356 then :
19357 printf %s "(cached) " >&6
19358 else $as_nop
19359 ac_wine_try_cflags_saved=$CFLAGS
19360 CFLAGS="$CFLAGS -fno-stack-protector"
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 int main(int argc, char **argv) { return 0; }
19364 _ACEOF
19365 if ac_fn_c_try_link "$LINENO"
19366 then :
19367 ac_cv_cflags__fno_stack_protector=yes
19368 else $as_nop
19369 ac_cv_cflags__fno_stack_protector=no
19371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19372 conftest$ac_exeext conftest.$ac_ext
19373 CFLAGS=$ac_wine_try_cflags_saved
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19376 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19377 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19378 then :
19379 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19382 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19383 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19384 then :
19385 printf %s "(cached) " >&6
19386 else $as_nop
19387 ac_wine_try_cflags_saved=$CFLAGS
19388 CFLAGS="$CFLAGS -fno-strict-aliasing"
19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19391 int main(int argc, char **argv) { return 0; }
19392 _ACEOF
19393 if ac_fn_c_try_link "$LINENO"
19394 then :
19395 ac_cv_cflags__fno_strict_aliasing=yes
19396 else $as_nop
19397 ac_cv_cflags__fno_strict_aliasing=no
19399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19400 conftest$ac_exeext conftest.$ac_ext
19401 CFLAGS=$ac_wine_try_cflags_saved
19403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19404 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19405 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19406 then :
19407 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19410 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19411 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19412 then :
19413 printf %s "(cached) " >&6
19414 else $as_nop
19415 ac_wine_try_cflags_saved=$CFLAGS
19416 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 int main(int argc, char **argv) { return 0; }
19420 _ACEOF
19421 if ac_fn_c_try_link "$LINENO"
19422 then :
19423 ac_cv_cflags__Wdeclaration_after_statement=yes
19424 else $as_nop
19425 ac_cv_cflags__Wdeclaration_after_statement=no
19427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19428 conftest$ac_exeext conftest.$ac_ext
19429 CFLAGS=$ac_wine_try_cflags_saved
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19432 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19433 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19434 then :
19435 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19438 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19439 if test ${ac_cv_cflags__Wempty_body+y}
19440 then :
19441 printf %s "(cached) " >&6
19442 else $as_nop
19443 ac_wine_try_cflags_saved=$CFLAGS
19444 CFLAGS="$CFLAGS -Wempty-body"
19445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19446 /* end confdefs.h. */
19447 int main(int argc, char **argv) { return 0; }
19448 _ACEOF
19449 if ac_fn_c_try_link "$LINENO"
19450 then :
19451 ac_cv_cflags__Wempty_body=yes
19452 else $as_nop
19453 ac_cv_cflags__Wempty_body=no
19455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19456 conftest$ac_exeext conftest.$ac_ext
19457 CFLAGS=$ac_wine_try_cflags_saved
19459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19460 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19461 if test "x$ac_cv_cflags__Wempty_body" = xyes
19462 then :
19463 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19466 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19467 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19468 then :
19469 printf %s "(cached) " >&6
19470 else $as_nop
19471 ac_wine_try_cflags_saved=$CFLAGS
19472 CFLAGS="$CFLAGS -Wignored-qualifiers"
19473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19475 int main(int argc, char **argv) { return 0; }
19476 _ACEOF
19477 if ac_fn_c_try_link "$LINENO"
19478 then :
19479 ac_cv_cflags__Wignored_qualifiers=yes
19480 else $as_nop
19481 ac_cv_cflags__Wignored_qualifiers=no
19483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19484 conftest$ac_exeext conftest.$ac_ext
19485 CFLAGS=$ac_wine_try_cflags_saved
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19488 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19489 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19490 then :
19491 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19494 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19495 if test ${ac_cv_cflags__Winit_self+y}
19496 then :
19497 printf %s "(cached) " >&6
19498 else $as_nop
19499 ac_wine_try_cflags_saved=$CFLAGS
19500 CFLAGS="$CFLAGS -Winit-self"
19501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19503 int main(int argc, char **argv) { return 0; }
19504 _ACEOF
19505 if ac_fn_c_try_link "$LINENO"
19506 then :
19507 ac_cv_cflags__Winit_self=yes
19508 else $as_nop
19509 ac_cv_cflags__Winit_self=no
19511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19512 conftest$ac_exeext conftest.$ac_ext
19513 CFLAGS=$ac_wine_try_cflags_saved
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19516 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19517 if test "x$ac_cv_cflags__Winit_self" = xyes
19518 then :
19519 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19522 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19523 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19524 then :
19525 printf %s "(cached) " >&6
19526 else $as_nop
19527 ac_wine_try_cflags_saved=$CFLAGS
19528 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 int main(int argc, char **argv) { return 0; }
19532 _ACEOF
19533 if ac_fn_c_try_link "$LINENO"
19534 then :
19535 ac_cv_cflags__Wpacked_not_aligned=yes
19536 else $as_nop
19537 ac_cv_cflags__Wpacked_not_aligned=no
19539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19540 conftest$ac_exeext conftest.$ac_ext
19541 CFLAGS=$ac_wine_try_cflags_saved
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19544 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19545 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19546 then :
19547 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19550 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19551 if test ${ac_cv_cflags__Wpragma_pack+y}
19552 then :
19553 printf %s "(cached) " >&6
19554 else $as_nop
19555 ac_wine_try_cflags_saved=$CFLAGS
19556 CFLAGS="$CFLAGS -Wpragma-pack"
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 int main(int argc, char **argv) { return 0; }
19560 _ACEOF
19561 if ac_fn_c_try_link "$LINENO"
19562 then :
19563 ac_cv_cflags__Wpragma_pack=yes
19564 else $as_nop
19565 ac_cv_cflags__Wpragma_pack=no
19567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19568 conftest$ac_exeext conftest.$ac_ext
19569 CFLAGS=$ac_wine_try_cflags_saved
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19572 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19573 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19574 then :
19575 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19578 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19579 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19580 then :
19581 printf %s "(cached) " >&6
19582 else $as_nop
19583 ac_wine_try_cflags_saved=$CFLAGS
19584 CFLAGS="$CFLAGS -Wshift-overflow=2"
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19587 int main(int argc, char **argv) { return 0; }
19588 _ACEOF
19589 if ac_fn_c_try_link "$LINENO"
19590 then :
19591 ac_cv_cflags__Wshift_overflow_2=yes
19592 else $as_nop
19593 ac_cv_cflags__Wshift_overflow_2=no
19595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19596 conftest$ac_exeext conftest.$ac_ext
19597 CFLAGS=$ac_wine_try_cflags_saved
19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19600 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19601 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19602 then :
19603 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19606 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19607 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19608 then :
19609 printf %s "(cached) " >&6
19610 else $as_nop
19611 ac_wine_try_cflags_saved=$CFLAGS
19612 CFLAGS="$CFLAGS -Wstrict-prototypes"
19613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19615 int main(int argc, char **argv) { return 0; }
19616 _ACEOF
19617 if ac_fn_c_try_link "$LINENO"
19618 then :
19619 ac_cv_cflags__Wstrict_prototypes=yes
19620 else $as_nop
19621 ac_cv_cflags__Wstrict_prototypes=no
19623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19624 conftest$ac_exeext conftest.$ac_ext
19625 CFLAGS=$ac_wine_try_cflags_saved
19627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19628 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19629 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19630 then :
19631 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19634 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19635 if test ${ac_cv_cflags__Wtype_limits+y}
19636 then :
19637 printf %s "(cached) " >&6
19638 else $as_nop
19639 ac_wine_try_cflags_saved=$CFLAGS
19640 CFLAGS="$CFLAGS -Wtype-limits"
19641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19642 /* end confdefs.h. */
19643 int main(int argc, char **argv) { return 0; }
19644 _ACEOF
19645 if ac_fn_c_try_link "$LINENO"
19646 then :
19647 ac_cv_cflags__Wtype_limits=yes
19648 else $as_nop
19649 ac_cv_cflags__Wtype_limits=no
19651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19652 conftest$ac_exeext conftest.$ac_ext
19653 CFLAGS=$ac_wine_try_cflags_saved
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19656 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19657 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19658 then :
19659 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19662 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19663 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19664 then :
19665 printf %s "(cached) " >&6
19666 else $as_nop
19667 ac_wine_try_cflags_saved=$CFLAGS
19668 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 int main(int argc, char **argv) { return 0; }
19672 _ACEOF
19673 if ac_fn_c_try_link "$LINENO"
19674 then :
19675 ac_cv_cflags__Wunused_but_set_parameter=yes
19676 else $as_nop
19677 ac_cv_cflags__Wunused_but_set_parameter=no
19679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19680 conftest$ac_exeext conftest.$ac_ext
19681 CFLAGS=$ac_wine_try_cflags_saved
19683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19684 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19685 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19686 then :
19687 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19690 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19691 if test ${ac_cv_cflags__Wvla+y}
19692 then :
19693 printf %s "(cached) " >&6
19694 else $as_nop
19695 ac_wine_try_cflags_saved=$CFLAGS
19696 CFLAGS="$CFLAGS -Wvla"
19697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19698 /* end confdefs.h. */
19699 int main(int argc, char **argv) { return 0; }
19700 _ACEOF
19701 if ac_fn_c_try_link "$LINENO"
19702 then :
19703 ac_cv_cflags__Wvla=yes
19704 else $as_nop
19705 ac_cv_cflags__Wvla=no
19707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19708 conftest$ac_exeext conftest.$ac_ext
19709 CFLAGS=$ac_wine_try_cflags_saved
19711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19712 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19713 if test "x$ac_cv_cflags__Wvla" = xyes
19714 then :
19715 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19718 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19719 if test ${ac_cv_cflags__Wwrite_strings+y}
19720 then :
19721 printf %s "(cached) " >&6
19722 else $as_nop
19723 ac_wine_try_cflags_saved=$CFLAGS
19724 CFLAGS="$CFLAGS -Wwrite-strings"
19725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19727 int main(int argc, char **argv) { return 0; }
19728 _ACEOF
19729 if ac_fn_c_try_link "$LINENO"
19730 then :
19731 ac_cv_cflags__Wwrite_strings=yes
19732 else $as_nop
19733 ac_cv_cflags__Wwrite_strings=no
19735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19736 conftest$ac_exeext conftest.$ac_ext
19737 CFLAGS=$ac_wine_try_cflags_saved
19739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19740 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19741 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19742 then :
19743 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19747 printf %s "checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19748 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19749 then :
19750 printf %s "(cached) " >&6
19751 else $as_nop
19752 ac_wine_try_cflags_saved=$CFLAGS
19753 CFLAGS="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 int main(int argc, char **argv) { return 0; }
19757 _ACEOF
19758 if ac_fn_c_try_link "$LINENO"
19759 then :
19760 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=yes
19761 else $as_nop
19762 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=no
19764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19765 conftest$ac_exeext conftest.$ac_ext
19766 CFLAGS=$ac_wine_try_cflags_saved
19768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19769 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19770 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19771 then :
19772 EXTRACFLAGS="$EXTRACFLAGS -Wno-misleading-indentation"
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19776 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19777 if test ${ac_cv_cflags__Wpointer_arith+y}
19778 then :
19779 printf %s "(cached) " >&6
19780 else $as_nop
19781 ac_wine_try_cflags_saved=$CFLAGS
19782 CFLAGS="$CFLAGS -Wpointer-arith"
19783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19784 /* end confdefs.h. */
19785 int main(int argc, char **argv) { return 0; }
19786 _ACEOF
19787 if ac_fn_c_try_link "$LINENO"
19788 then :
19789 ac_cv_cflags__Wpointer_arith=yes
19790 else $as_nop
19791 ac_cv_cflags__Wpointer_arith=no
19793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19794 conftest$ac_exeext conftest.$ac_ext
19795 CFLAGS=$ac_wine_try_cflags_saved
19797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19798 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19799 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19800 then :
19801 saved_string_h_CFLAGS=$CFLAGS
19802 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19804 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19805 if test ${ac_cv_c_string_h_warnings+y}
19806 then :
19807 printf %s "(cached) " >&6
19808 else $as_nop
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19811 #include <string.h>
19813 main (void)
19817 return 0;
19819 _ACEOF
19820 if ac_fn_c_try_compile "$LINENO"
19821 then :
19822 ac_cv_c_string_h_warnings=no
19823 else $as_nop
19824 ac_cv_c_string_h_warnings=yes
19826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19829 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19830 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19831 CFLAGS=$saved_string_h_CFLAGS
19834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19835 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19836 if test ${ac_cv_cflags__Wlogical_op+y}
19837 then :
19838 printf %s "(cached) " >&6
19839 else $as_nop
19840 ac_wine_try_cflags_saved=$CFLAGS
19841 CFLAGS="$CFLAGS -Wlogical-op"
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 int main(int argc, char **argv) { return 0; }
19845 _ACEOF
19846 if ac_fn_c_try_link "$LINENO"
19847 then :
19848 ac_cv_cflags__Wlogical_op=yes
19849 else $as_nop
19850 ac_cv_cflags__Wlogical_op=no
19852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19853 conftest$ac_exeext conftest.$ac_ext
19854 CFLAGS=$ac_wine_try_cflags_saved
19856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19857 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19858 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19859 then :
19860 saved_string_h_CFLAGS=$CFLAGS
19861 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19863 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19864 if test ${ac_cv_c_logicalop_noisy+y}
19865 then :
19866 printf %s "(cached) " >&6
19867 else $as_nop
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <string.h>
19871 char*f(const char *h,char n) {return strchr(h,n);}
19873 main (void)
19877 return 0;
19879 _ACEOF
19880 if ac_fn_c_try_compile "$LINENO"
19881 then :
19882 ac_cv_c_logicalop_noisy=no
19883 else $as_nop
19884 ac_cv_c_logicalop_noisy=yes
19886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19889 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19890 CFLAGS=$saved_string_h_CFLAGS
19891 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19895 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19896 if test ${wine_cv_64bit_compare_swap+y}
19897 then :
19898 printf %s "(cached) " >&6
19899 else $as_nop
19900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19901 /* end confdefs.h. */
19902 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19903 #error no
19904 #endif
19906 main (void)
19910 return 0;
19912 _ACEOF
19913 if ac_fn_c_try_compile "$LINENO"
19914 then :
19915 wine_cv_64bit_compare_swap="none needed"
19916 else $as_nop
19917 case $HOST_ARCH in
19918 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19919 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19920 *) wine_cv_64bit_compare_swap="unknown" ;;
19921 esac
19922 if test "x$wine_cv_64bit_compare_swap" != xunknown
19923 then
19924 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h. */
19927 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19928 #error no
19929 #endif
19931 main (void)
19935 return 0;
19937 _ACEOF
19938 if ac_fn_c_try_compile "$LINENO"
19939 then :
19941 else $as_nop
19942 wine_cv_64bit_compare_swap="unknown"
19944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19945 CFLAGS=$saved_CFLAGS
19948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19951 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19952 case "$wine_cv_64bit_compare_swap" in
19953 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19954 "none needed") ;;
19955 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19956 esac
19958 ac_debug_format_seen=""
19959 for ac_flag in $CFLAGS; do
19960 case $ac_flag in
19961 -gdwarf*) ac_debug_format_seen=yes ;;
19962 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19963 esac
19964 done
19965 if test "x$ac_debug_format_seen" = xdefault
19966 then
19967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19968 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19969 if test ${ac_cv_cflags__gdwarf_4+y}
19970 then :
19971 printf %s "(cached) " >&6
19972 else $as_nop
19973 ac_wine_try_cflags_saved=$CFLAGS
19974 CFLAGS="$CFLAGS -gdwarf-4"
19975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19976 /* end confdefs.h. */
19977 int main(int argc, char **argv) { return 0; }
19978 _ACEOF
19979 if ac_fn_c_try_link "$LINENO"
19980 then :
19981 ac_cv_cflags__gdwarf_4=yes
19982 else $as_nop
19983 ac_cv_cflags__gdwarf_4=no
19985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19986 conftest$ac_exeext conftest.$ac_ext
19987 CFLAGS=$ac_wine_try_cflags_saved
19989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19990 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19991 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19992 then :
19993 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19997 MSVCRTFLAGS=""
19999 case $host_os in
20000 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
20001 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
20002 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20003 then :
20004 printf %s "(cached) " >&6
20005 else $as_nop
20006 ac_wine_try_cflags_saved=$CFLAGS
20007 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20010 int main(int argc, char **argv) { return 0; }
20011 _ACEOF
20012 if ac_fn_c_try_link "$LINENO"
20013 then :
20014 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
20015 else $as_nop
20016 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
20018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20019 conftest$ac_exeext conftest.$ac_ext
20020 CFLAGS=$ac_wine_try_cflags_saved
20022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20023 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20024 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20025 then :
20026 DELAYLOADFLAG="-Wl,-delayload,"
20028 fi ;;
20029 *) MSVCRTFLAGS="-D_WIN32"
20030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20031 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
20032 if test ${ac_cv_cflags__fno_builtin+y}
20033 then :
20034 printf %s "(cached) " >&6
20035 else $as_nop
20036 ac_wine_try_cflags_saved=$CFLAGS
20037 CFLAGS="$CFLAGS -fno-builtin"
20038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20040 int main(int argc, char **argv) { return 0; }
20041 _ACEOF
20042 if ac_fn_c_try_link "$LINENO"
20043 then :
20044 ac_cv_cflags__fno_builtin=yes
20045 else $as_nop
20046 ac_cv_cflags__fno_builtin=no
20048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20049 conftest$ac_exeext conftest.$ac_ext
20050 CFLAGS=$ac_wine_try_cflags_saved
20052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20053 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20054 if test "x$ac_cv_cflags__fno_builtin" = xyes
20055 then :
20056 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
20058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20059 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
20060 if test ${ac_cv_cflags__fshort_wchar+y}
20061 then :
20062 printf %s "(cached) " >&6
20063 else $as_nop
20064 ac_wine_try_cflags_saved=$CFLAGS
20065 CFLAGS="$CFLAGS -fshort-wchar"
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 int main(int argc, char **argv) { return 0; }
20069 _ACEOF
20070 if ac_fn_c_try_link "$LINENO"
20071 then :
20072 ac_cv_cflags__fshort_wchar=yes
20073 else $as_nop
20074 ac_cv_cflags__fshort_wchar=no
20076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20077 conftest$ac_exeext conftest.$ac_ext
20078 CFLAGS=$ac_wine_try_cflags_saved
20080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20081 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20082 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20083 then :
20084 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
20086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20087 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20088 if test ${ac_cv_cflags__Wno_format+y}
20089 then :
20090 printf %s "(cached) " >&6
20091 else $as_nop
20092 ac_wine_try_cflags_saved=$CFLAGS
20093 CFLAGS="$CFLAGS -Wno-format"
20094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20095 /* end confdefs.h. */
20096 int main(int argc, char **argv) { return 0; }
20097 _ACEOF
20098 if ac_fn_c_try_link "$LINENO"
20099 then :
20100 ac_cv_cflags__Wno_format=yes
20101 else $as_nop
20102 ac_cv_cflags__Wno_format=no
20104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20105 conftest$ac_exeext conftest.$ac_ext
20106 CFLAGS=$ac_wine_try_cflags_saved
20108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20109 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20110 if test "x$ac_cv_cflags__Wno_format" = xyes
20111 then :
20112 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
20113 fi ;;
20114 esac
20116 case $HOST_ARCH in
20117 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20118 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20119 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20120 then :
20121 printf %s "(cached) " >&6
20122 else $as_nop
20123 ac_wine_try_cflags_saved=$CFLAGS
20124 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
20125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20126 /* end confdefs.h. */
20127 int main(int argc, char **argv) { return 0; }
20128 _ACEOF
20129 if ac_fn_c_try_link "$LINENO"
20130 then :
20131 ac_cv_cflags__fno_omit_frame_pointer=yes
20132 else $as_nop
20133 ac_cv_cflags__fno_omit_frame_pointer=no
20135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20136 conftest$ac_exeext conftest.$ac_ext
20137 CFLAGS=$ac_wine_try_cflags_saved
20139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20140 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20141 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20142 then :
20143 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
20144 fi ;;
20145 x86_64)
20146 case $host_os in
20147 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20148 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20149 if test ${ac_cv_cflags__Wno_format+y}
20150 then :
20151 printf %s "(cached) " >&6
20152 else $as_nop
20153 ac_wine_try_cflags_saved=$CFLAGS
20154 CFLAGS="$CFLAGS -Wno-format"
20155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20156 /* end confdefs.h. */
20157 int main(int argc, char **argv) { return 0; }
20158 _ACEOF
20159 if ac_fn_c_try_link "$LINENO"
20160 then :
20161 ac_cv_cflags__Wno_format=yes
20162 else $as_nop
20163 ac_cv_cflags__Wno_format=no
20165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20166 conftest$ac_exeext conftest.$ac_ext
20167 CFLAGS=$ac_wine_try_cflags_saved
20169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20170 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20171 if test "x$ac_cv_cflags__Wno_format" = xyes
20172 then :
20173 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
20174 fi ;;
20175 *) if test -z "$PE_ARCHS"
20176 then
20177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20178 printf %s "checking for working -mabi=ms... " >&6; }
20179 if test ${ac_cv_mabi_ms+y}
20180 then :
20181 printf %s "(cached) " >&6
20182 else $as_nop
20183 CFLAGS="$CFLAGS -mabi=ms"
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h. */
20186 #include <stdarg.h>
20187 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20189 main (void)
20193 return 0;
20195 _ACEOF
20196 if ac_fn_c_try_compile "$LINENO"
20197 then :
20198 ac_cv_mabi_ms=yes
20199 else $as_nop
20200 ac_cv_mabi_ms=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20203 CFLAGS=$saved_CFLAGS
20205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20206 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20207 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
20209 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
20210 esac ;;
20211 arm)
20212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20213 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20214 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20215 then :
20216 printf %s "(cached) " >&6
20217 else $as_nop
20218 ac_wine_try_cflags_saved=$CFLAGS
20219 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
20220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20221 /* end confdefs.h. */
20222 int main(int argc, char **argv) { return 0; }
20223 _ACEOF
20224 if ac_fn_c_try_link "$LINENO"
20225 then :
20226 ac_cv_cflags__Wincompatible_function_pointer_types=yes
20227 else $as_nop
20228 ac_cv_cflags__Wincompatible_function_pointer_types=no
20230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20231 conftest$ac_exeext conftest.$ac_ext
20232 CFLAGS=$ac_wine_try_cflags_saved
20234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20235 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20236 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20237 then :
20238 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20239 fi ;;
20240 esac
20242 CFLAGS=$saved_CFLAGS
20244 if test "x$enable_werror" = "xyes"
20245 then
20246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20247 printf %s "checking whether the compiler supports -Werror... " >&6; }
20248 if test ${ac_cv_cflags__Werror+y}
20249 then :
20250 printf %s "(cached) " >&6
20251 else $as_nop
20252 ac_wine_try_cflags_saved=$CFLAGS
20253 CFLAGS="$CFLAGS -Werror"
20254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20255 /* end confdefs.h. */
20256 int main(int argc, char **argv) { return 0; }
20257 _ACEOF
20258 if ac_fn_c_try_link "$LINENO"
20259 then :
20260 ac_cv_cflags__Werror=yes
20261 else $as_nop
20262 ac_cv_cflags__Werror=no
20264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20265 conftest$ac_exeext conftest.$ac_ext
20266 CFLAGS=$ac_wine_try_cflags_saved
20268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20269 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20270 if test "x$ac_cv_cflags__Werror" = xyes
20271 then :
20272 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20275 if test "x$enable_build_id" = "xyes"
20276 then
20277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20278 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20279 if test ${ac_cv_cflags__Wl___build_id+y}
20280 then :
20281 printf %s "(cached) " >&6
20282 else $as_nop
20283 ac_wine_try_cflags_saved=$CFLAGS
20284 CFLAGS="$CFLAGS -Wl,--build-id"
20285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20286 /* end confdefs.h. */
20287 int main(int argc, char **argv) { return 0; }
20288 _ACEOF
20289 if ac_fn_c_try_link "$LINENO"
20290 then :
20291 ac_cv_cflags__Wl___build_id=yes
20292 else $as_nop
20293 ac_cv_cflags__Wl___build_id=no
20295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20296 conftest$ac_exeext conftest.$ac_ext
20297 CFLAGS=$ac_wine_try_cflags_saved
20299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20300 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20301 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20302 then :
20303 CFLAGS="$CFLAGS -Wl,--build-id"
20304 LDFLAGS="$LDFLAGS -Wl,--build-id"
20310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20311 printf %s "checking for the need to disable Fortify... " >&6; }
20312 if test ${ac_cv_c_fortify_enabled+y}
20313 then :
20314 printf %s "(cached) " >&6
20315 else $as_nop
20316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20317 /* end confdefs.h. */
20318 #include <string.h>
20320 main (void)
20322 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20323 #error Fortify enabled
20324 #endif
20326 return 0;
20328 _ACEOF
20329 if ac_fn_c_try_compile "$LINENO"
20330 then :
20331 ac_cv_c_fortify_enabled=no
20332 else $as_nop
20333 ac_cv_c_fortify_enabled=yes
20335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20338 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20339 if test "$ac_cv_c_fortify_enabled" = yes
20340 then
20341 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20346 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20347 if test ${ac_cv_c_cfi_support+y}
20348 then :
20349 printf %s "(cached) " >&6
20350 else $as_nop
20351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20352 /* end confdefs.h. */
20353 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20355 main (void)
20359 return 0;
20361 _ACEOF
20362 if ac_fn_c_try_compile "$LINENO"
20363 then :
20364 ac_cv_c_cfi_support="yes"
20365 else $as_nop
20366 ac_cv_c_cfi_support="no"
20368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20371 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20372 if test "$ac_cv_c_cfi_support" = "yes"
20373 then
20374 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20375 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20376 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20377 elif test $HOST_ARCH = x86_64
20378 then
20379 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20383 case "$HOST_ARCH,$PE_ARCHS" in
20384 x86_64,*i386*) wine_binary="wine" ;;
20385 x86_64,*) wine_binary="wine64" ;;
20386 *) wine_binary="wine" ;;
20387 esac
20388 WINELOADER_PROGRAMS="$wine_binary"
20391 case $host_os in
20392 linux*)
20393 if test $HOST_ARCH != unknown
20394 then
20395 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20396 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20399 darwin*|macosx*)
20400 if test "$wine_can_build_preloader" = "yes"
20401 then
20402 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20403 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20406 esac
20409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20410 printf %s "checking for library containing dlopen... " >&6; }
20411 if test ${ac_cv_search_dlopen+y}
20412 then :
20413 printf %s "(cached) " >&6
20414 else $as_nop
20415 ac_func_search_save_LIBS=$LIBS
20416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20417 /* end confdefs.h. */
20419 /* Override any GCC internal prototype to avoid an error.
20420 Use char because int might match the return type of a GCC
20421 builtin and then its argument prototype would still apply. */
20422 char dlopen ();
20424 main (void)
20426 return dlopen ();
20428 return 0;
20430 _ACEOF
20431 for ac_lib in '' dl
20433 if test -z "$ac_lib"; then
20434 ac_res="none required"
20435 else
20436 ac_res=-l$ac_lib
20437 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20439 if ac_fn_c_try_link "$LINENO"
20440 then :
20441 ac_cv_search_dlopen=$ac_res
20443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20444 conftest$ac_exeext
20445 if test ${ac_cv_search_dlopen+y}
20446 then :
20447 break
20449 done
20450 if test ${ac_cv_search_dlopen+y}
20451 then :
20453 else $as_nop
20454 ac_cv_search_dlopen=no
20456 rm conftest.$ac_ext
20457 LIBS=$ac_func_search_save_LIBS
20459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20460 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20461 ac_res=$ac_cv_search_dlopen
20462 if test "$ac_res" != no
20463 then :
20464 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20470 printf %s "checking for library containing gethostbyname... " >&6; }
20471 if test ${ac_cv_search_gethostbyname+y}
20472 then :
20473 printf %s "(cached) " >&6
20474 else $as_nop
20475 ac_func_search_save_LIBS=$LIBS
20476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20477 /* end confdefs.h. */
20479 /* Override any GCC internal prototype to avoid an error.
20480 Use char because int might match the return type of a GCC
20481 builtin and then its argument prototype would still apply. */
20482 char gethostbyname ();
20484 main (void)
20486 return gethostbyname ();
20488 return 0;
20490 _ACEOF
20491 for ac_lib in '' nsl
20493 if test -z "$ac_lib"; then
20494 ac_res="none required"
20495 else
20496 ac_res=-l$ac_lib
20497 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20499 if ac_fn_c_try_link "$LINENO"
20500 then :
20501 ac_cv_search_gethostbyname=$ac_res
20503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20504 conftest$ac_exeext
20505 if test ${ac_cv_search_gethostbyname+y}
20506 then :
20507 break
20509 done
20510 if test ${ac_cv_search_gethostbyname+y}
20511 then :
20513 else $as_nop
20514 ac_cv_search_gethostbyname=no
20516 rm conftest.$ac_ext
20517 LIBS=$ac_func_search_save_LIBS
20519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20520 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20521 ac_res=$ac_cv_search_gethostbyname
20522 if test "$ac_res" != no
20523 then :
20524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20530 printf %s "checking for library containing connect... " >&6; }
20531 if test ${ac_cv_search_connect+y}
20532 then :
20533 printf %s "(cached) " >&6
20534 else $as_nop
20535 ac_func_search_save_LIBS=$LIBS
20536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20537 /* end confdefs.h. */
20539 /* Override any GCC internal prototype to avoid an error.
20540 Use char because int might match the return type of a GCC
20541 builtin and then its argument prototype would still apply. */
20542 char connect ();
20544 main (void)
20546 return connect ();
20548 return 0;
20550 _ACEOF
20551 for ac_lib in '' socket
20553 if test -z "$ac_lib"; then
20554 ac_res="none required"
20555 else
20556 ac_res=-l$ac_lib
20557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20559 if ac_fn_c_try_link "$LINENO"
20560 then :
20561 ac_cv_search_connect=$ac_res
20563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20564 conftest$ac_exeext
20565 if test ${ac_cv_search_connect+y}
20566 then :
20567 break
20569 done
20570 if test ${ac_cv_search_connect+y}
20571 then :
20573 else $as_nop
20574 ac_cv_search_connect=no
20576 rm conftest.$ac_ext
20577 LIBS=$ac_func_search_save_LIBS
20579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20580 printf "%s\n" "$ac_cv_search_connect" >&6; }
20581 ac_res=$ac_cv_search_connect
20582 if test "$ac_res" != no
20583 then :
20584 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20590 printf %s "checking for library containing inet_aton... " >&6; }
20591 if test ${ac_cv_search_inet_aton+y}
20592 then :
20593 printf %s "(cached) " >&6
20594 else $as_nop
20595 ac_func_search_save_LIBS=$LIBS
20596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20597 /* end confdefs.h. */
20599 /* Override any GCC internal prototype to avoid an error.
20600 Use char because int might match the return type of a GCC
20601 builtin and then its argument prototype would still apply. */
20602 char inet_aton ();
20604 main (void)
20606 return inet_aton ();
20608 return 0;
20610 _ACEOF
20611 for ac_lib in '' resolv
20613 if test -z "$ac_lib"; then
20614 ac_res="none required"
20615 else
20616 ac_res=-l$ac_lib
20617 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20619 if ac_fn_c_try_link "$LINENO"
20620 then :
20621 ac_cv_search_inet_aton=$ac_res
20623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20624 conftest$ac_exeext
20625 if test ${ac_cv_search_inet_aton+y}
20626 then :
20627 break
20629 done
20630 if test ${ac_cv_search_inet_aton+y}
20631 then :
20633 else $as_nop
20634 ac_cv_search_inet_aton=no
20636 rm conftest.$ac_ext
20637 LIBS=$ac_func_search_save_LIBS
20639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20640 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20641 ac_res=$ac_cv_search_inet_aton
20642 if test "$ac_res" != no
20643 then :
20644 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20649 ac_save_CFLAGS="$CFLAGS"
20650 CFLAGS="$CFLAGS $BUILTINFLAG"
20651 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20652 if test "x$ac_cv_func_dladdr1" = xyes
20653 then :
20654 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20657 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20658 if test "x$ac_cv_func_dlinfo" = xyes
20659 then :
20660 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20663 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20664 if test "x$ac_cv_func_epoll_create" = xyes
20665 then :
20666 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20669 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20670 if test "x$ac_cv_func_fstatfs" = xyes
20671 then :
20672 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20675 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20676 if test "x$ac_cv_func_futimens" = xyes
20677 then :
20678 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20681 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20682 if test "x$ac_cv_func_futimes" = xyes
20683 then :
20684 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20687 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20688 if test "x$ac_cv_func_futimesat" = xyes
20689 then :
20690 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20693 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20694 if test "x$ac_cv_func_getaddrinfo" = xyes
20695 then :
20696 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20699 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20700 if test "x$ac_cv_func_getattrlist" = xyes
20701 then :
20702 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20705 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20706 if test "x$ac_cv_func_getauxval" = xyes
20707 then :
20708 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20711 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20712 if test "x$ac_cv_func_getifaddrs" = xyes
20713 then :
20714 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20717 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20718 if test "x$ac_cv_func_getrandom" = xyes
20719 then :
20720 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20723 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20724 if test "x$ac_cv_func_kqueue" = xyes
20725 then :
20726 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20729 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20730 if test "x$ac_cv_func_mach_continuous_time" = xyes
20731 then :
20732 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20735 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20736 if test "x$ac_cv_func_pipe2" = xyes
20737 then :
20738 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20741 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20742 if test "x$ac_cv_func_port_create" = xyes
20743 then :
20744 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20747 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20748 if test "x$ac_cv_func_posix_fadvise" = xyes
20749 then :
20750 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20753 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20754 if test "x$ac_cv_func_posix_fallocate" = xyes
20755 then :
20756 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20759 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20760 if test "x$ac_cv_func_prctl" = xyes
20761 then :
20762 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20765 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20766 if test "x$ac_cv_func_proc_pidinfo" = xyes
20767 then :
20768 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20771 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20772 if test "x$ac_cv_func_sched_yield" = xyes
20773 then :
20774 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20777 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20778 if test "x$ac_cv_func_setproctitle" = xyes
20779 then :
20780 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20783 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20784 if test "x$ac_cv_func_setprogname" = xyes
20785 then :
20786 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20789 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20790 if test "x$ac_cv_func_sigprocmask" = xyes
20791 then :
20792 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20795 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20796 if test "x$ac_cv_func_sysinfo" = xyes
20797 then :
20798 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20801 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20802 if test "x$ac_cv_func_tcdrain" = xyes
20803 then :
20804 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20807 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20808 if test "x$ac_cv_func_thr_kill2" = xyes
20809 then :
20810 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20814 CFLAGS="$ac_save_CFLAGS"
20816 case $host_os in
20817 darwin*|macosx*) ;;
20818 *) ac_save_LIBS=$LIBS
20819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20820 printf %s "checking for library containing clock_gettime... " >&6; }
20821 if test ${ac_cv_search_clock_gettime+y}
20822 then :
20823 printf %s "(cached) " >&6
20824 else $as_nop
20825 ac_func_search_save_LIBS=$LIBS
20826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20829 /* Override any GCC internal prototype to avoid an error.
20830 Use char because int might match the return type of a GCC
20831 builtin and then its argument prototype would still apply. */
20832 char clock_gettime ();
20834 main (void)
20836 return clock_gettime ();
20838 return 0;
20840 _ACEOF
20841 for ac_lib in '' rt
20843 if test -z "$ac_lib"; then
20844 ac_res="none required"
20845 else
20846 ac_res=-l$ac_lib
20847 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20849 if ac_fn_c_try_link "$LINENO"
20850 then :
20851 ac_cv_search_clock_gettime=$ac_res
20853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20854 conftest$ac_exeext
20855 if test ${ac_cv_search_clock_gettime+y}
20856 then :
20857 break
20859 done
20860 if test ${ac_cv_search_clock_gettime+y}
20861 then :
20863 else $as_nop
20864 ac_cv_search_clock_gettime=no
20866 rm conftest.$ac_ext
20867 LIBS=$ac_func_search_save_LIBS
20869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20870 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20871 ac_res=$ac_cv_search_clock_gettime
20872 if test "$ac_res" != no
20873 then :
20874 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20876 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20878 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20882 LIBS=$ac_save_LIBS
20884 esac
20886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20887 printf %s "checking for sched_setaffinity... " >&6; }
20888 if test ${wine_cv_have_sched_setaffinity+y}
20889 then :
20890 printf %s "(cached) " >&6
20891 else $as_nop
20892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20893 /* end confdefs.h. */
20894 #include <sched.h>
20896 main (void)
20898 sched_setaffinity(0, 0, 0);
20900 return 0;
20902 _ACEOF
20903 if ac_fn_c_try_link "$LINENO"
20904 then :
20905 wine_cv_have_sched_setaffinity=yes
20906 else $as_nop
20907 wine_cv_have_sched_setaffinity=no
20909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20910 conftest$ac_exeext conftest.$ac_ext
20912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20913 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20914 if test "$wine_cv_have_sched_setaffinity" = "yes"
20915 then
20917 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20923 printf %s "checking for inline... " >&6; }
20924 if test ${ac_cv_c_inline+y}
20925 then :
20926 printf %s "(cached) " >&6
20927 else $as_nop
20928 ac_cv_c_inline=no
20929 for ac_kw in inline __inline__ __inline; do
20930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h. */
20932 #ifndef __cplusplus
20933 typedef int foo_t;
20934 static $ac_kw foo_t static_foo (void) {return 0; }
20935 $ac_kw foo_t foo (void) {return 0; }
20936 #endif
20938 _ACEOF
20939 if ac_fn_c_try_compile "$LINENO"
20940 then :
20941 ac_cv_c_inline=$ac_kw
20943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20944 test "$ac_cv_c_inline" != no && break
20945 done
20948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20949 printf "%s\n" "$ac_cv_c_inline" >&6; }
20951 case $ac_cv_c_inline in
20952 inline | yes) ;;
20954 case $ac_cv_c_inline in
20955 no) ac_val=;;
20956 *) ac_val=$ac_cv_c_inline;;
20957 esac
20958 cat >>confdefs.h <<_ACEOF
20959 #ifndef __cplusplus
20960 #define inline $ac_val
20961 #endif
20962 _ACEOF
20964 esac
20966 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20968 if test "x$ac_cv_type_request_sense" = xyes
20969 then :
20971 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20977 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20978 #include <sys/socket.h>
20979 #ifdef HAVE_SYS_SOCKETVAR_H
20980 #include <sys/socketvar.h>
20981 #endif
20982 #ifdef HAVE_NET_ROUTE_H
20983 #include <net/route.h>
20984 #endif
20985 #ifdef HAVE_NETINET_IN_H
20986 #include <netinet/in.h>
20987 #endif
20988 #ifdef HAVE_NETINET_IN_SYSTM_H
20989 #include <netinet/in_systm.h>
20990 #endif
20991 #ifdef HAVE_NETINET_IP_H
20992 #include <netinet/ip.h>
20993 #endif
20994 #ifdef HAVE_NETINET_IN_PCB_H
20995 #include <netinet/in_pcb.h>
20996 #endif
20998 if test "x$ac_cv_type_struct_xinpgen" = xyes
20999 then :
21001 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21008 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21009 if test ${wine_cv_linux_gethostbyname_r_6+y}
21010 then :
21011 printf %s "(cached) " >&6
21012 else $as_nop
21013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21015 #include <netdb.h>
21017 main (void)
21020 char *name=0;
21021 struct hostent he;
21022 struct hostent *result;
21023 char *buf=0;
21024 int bufsize=0;
21025 int errnr;
21026 char *addr=0;
21027 int addrlen=0;
21028 int addrtype=0;
21029 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21030 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21033 return 0;
21035 _ACEOF
21036 if ac_fn_c_try_link "$LINENO"
21037 then :
21038 wine_cv_linux_gethostbyname_r_6=yes
21039 else $as_nop
21040 wine_cv_linux_gethostbyname_r_6=no
21043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21044 conftest$ac_exeext conftest.$ac_ext
21047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21048 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21049 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21050 then
21052 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21056 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21057 #include <sys/socket.h>
21058 #ifdef HAVE_SYS_UN_H
21059 # include <sys/un.h>
21060 #endif
21062 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21063 then :
21065 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21071 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21072 #ifdef HAVE_SCSI_SG_H
21073 #include <scsi/sg.h>
21074 #endif
21076 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21077 then :
21079 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21083 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>
21084 #ifdef HAVE_SCSI_SG_H
21085 #include <scsi/sg.h>
21086 #endif
21088 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21089 then :
21091 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21097 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21099 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21100 then :
21102 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21108 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21109 #ifdef HAVE_SYS_MTIO_H
21110 #include <sys/mtio.h>
21111 #endif
21113 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21114 then :
21116 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21120 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21121 #ifdef HAVE_SYS_MTIO_H
21122 #include <sys/mtio.h>
21123 #endif
21125 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21126 then :
21128 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21132 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21133 #ifdef HAVE_SYS_MTIO_H
21134 #include <sys/mtio.h>
21135 #endif
21137 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21138 then :
21140 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21146 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21147 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21148 then :
21150 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21154 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21155 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21156 then :
21158 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21162 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21163 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21164 then :
21166 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21170 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21171 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21172 then :
21174 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21178 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21179 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21180 then :
21182 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21186 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21187 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21188 then :
21190 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21194 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21195 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21196 then :
21198 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21202 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21203 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21204 then :
21206 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21210 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21211 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21212 then :
21214 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21218 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21219 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21220 then :
21222 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21226 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21227 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21228 then :
21230 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21236 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>
21237 #ifdef HAVE_NETINET_IN_H
21238 #include <netinet/in.h>
21239 #endif
21241 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21242 then :
21244 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21250 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
21251 #include <resolv.h>
21252 #endif
21254 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21255 then :
21257 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21263 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21264 #include <netinet/in.h>
21265 #endif
21267 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21268 then :
21270 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21276 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21277 #ifdef HAVE_SYS_SOCKETVAR_H
21278 #include <sys/socketvar.h>
21279 #endif
21280 #ifdef HAVE_NETINET_IN_H
21281 #include <netinet/in.h>
21282 #endif
21283 #ifdef HAVE_NETINET_IP_VAR_H
21284 #include <netinet/ip_var.h>
21285 #endif
21287 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21288 then :
21290 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21296 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
21297 #include <netinet/ip_var.h>
21298 #endif
21300 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21301 then :
21303 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21309 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21310 #ifdef HAVE_SYS_SOCKETVAR_H
21311 #include <sys/socketvar.h>
21312 #endif
21313 #ifdef HAVE_NETINET_IN_H
21314 #include <netinet/in.h>
21315 #endif
21316 #ifdef HAVE_NETINET6_IP6_VAR_H
21317 #include <netinet6/ip6_var.h>
21318 #endif
21320 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21321 then :
21323 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21329 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21330 #ifdef HAVE_SYS_SOCKETVAR_H
21331 #include <sys/socketvar.h>
21332 #endif
21333 #ifdef HAVE_NETINET_IN_H
21334 #include <netinet/in.h>
21335 #endif
21336 #ifdef HAVE_NETINET_IP_H
21337 #include <netinet/ip.h>
21338 #endif
21339 #ifdef HAVE_NETINET_IP_ICMP_H
21340 #include <netinet/ip_icmp.h>
21341 #endif
21342 #ifdef HAVE_NETINET_ICMP_VAR_H
21343 #include <netinet/icmp_var.h>
21344 #endif
21346 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21347 then :
21349 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21355 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21356 #ifdef HAVE_SYS_SOCKETVAR_H
21357 #include <sys/socketvar.h>
21358 #endif
21359 #ifdef HAVE_NETINET_IN_H
21360 #include <netinet/in.h>
21361 #endif
21362 #ifdef HAVE_NETINET_ICMP6_H
21363 #include <netinet/icmp6.h>
21364 #endif
21366 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21367 then :
21369 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21375 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21376 #ifdef HAVE_SYS_SOCKETVAR_H
21377 #include <sys/socketvar.h>
21378 #endif
21379 #ifdef HAVE_NETINET_IN_H
21380 #include <netinet/in.h>
21381 #endif
21382 #ifdef HAVE_NETINET_TCP_H
21383 #include <netinet/tcp.h>
21384 #endif
21385 #ifdef HAVE_NETINET_TCP_VAR_H
21386 #include <netinet/tcp_var.h>
21387 #endif
21389 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21390 then :
21392 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21398 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
21399 #include <netinet/tcp_var.h>
21400 #endif
21402 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21403 then :
21405 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21411 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21412 #ifdef HAVE_NETINET_IN_H
21413 #include <netinet/in.h>
21414 #endif
21415 #ifdef HAVE_NETINET_IP_VAR_H
21416 #include <netinet/ip_var.h>
21417 #endif
21418 #ifdef HAVE_NETINET_UDP_H
21419 #include <netinet/udp.h>
21420 #endif
21421 #ifdef HAVE_NETINET_UDP_VAR_H
21422 #include <netinet/udp_var.h>
21423 #endif
21425 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21426 then :
21428 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21434 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21435 #ifdef HAVE_NET_IF_H
21436 # include <net/if.h>
21437 #endif
21439 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21440 then :
21442 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21448 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21449 # include <sys/sysinfo.h>
21450 #endif
21452 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21453 then :
21455 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21459 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21460 # include <sys/sysinfo.h>
21461 #endif
21463 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21464 then :
21466 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21472 LIBS="$ac_save_LIBS"
21474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21475 printf %s "checking for __builtin_popcount... " >&6; }
21476 if test ${ac_cv_have___builtin_popcount+y}
21477 then :
21478 printf %s "(cached) " >&6
21479 else $as_nop
21480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21481 /* end confdefs.h. */
21484 main (void)
21486 return __builtin_popcount(1)
21488 return 0;
21490 _ACEOF
21491 if ac_fn_c_try_link "$LINENO"
21492 then :
21493 ac_cv_have___builtin_popcount="yes"
21494 else $as_nop
21495 ac_cv_have___builtin_popcount="no"
21497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21498 conftest$ac_exeext conftest.$ac_ext
21500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21501 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21502 if test "$ac_cv_have___builtin_popcount" = "yes"
21503 then
21505 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21510 printf %s "checking for __clear_cache... " >&6; }
21511 if test ${ac_cv_have___clear_cache+y}
21512 then :
21513 printf %s "(cached) " >&6
21514 else $as_nop
21515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21516 /* end confdefs.h. */
21519 main (void)
21521 __clear_cache((void*)0, (void*)0); return 0;
21523 return 0;
21525 _ACEOF
21526 if ac_fn_c_try_link "$LINENO"
21527 then :
21528 ac_cv_have___clear_cache="yes"
21529 else $as_nop
21530 ac_cv_have___clear_cache="no"
21532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21533 conftest$ac_exeext conftest.$ac_ext
21535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21536 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21537 if test "$ac_cv_have___clear_cache" = "yes"
21538 then
21540 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21545 case $host_cpu in
21546 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21547 printf %s "checking whether we need to define __i386__... " >&6; }
21548 if test ${ac_cv_cpp_def___i386__+y}
21549 then :
21550 printf %s "(cached) " >&6
21551 else $as_nop
21552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553 /* end confdefs.h. */
21554 #ifndef __i386__
21556 #endif
21557 _ACEOF
21558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21559 $EGREP "yes" >/dev/null 2>&1
21560 then :
21561 ac_cv_cpp_def___i386__=yes
21562 else $as_nop
21563 ac_cv_cpp_def___i386__=no
21565 rm -rf conftest*
21568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21569 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21570 if test "x$ac_cv_cpp_def___i386__" = xyes
21571 then :
21572 CFLAGS="$CFLAGS -D__i386__"
21573 LINTFLAGS="$LINTFLAGS -D__i386__"
21574 fi ;;
21575 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21576 printf %s "checking whether we need to define __x86_64__... " >&6; }
21577 if test ${ac_cv_cpp_def___x86_64__+y}
21578 then :
21579 printf %s "(cached) " >&6
21580 else $as_nop
21581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21583 #ifndef __x86_64__
21585 #endif
21586 _ACEOF
21587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21588 $EGREP "yes" >/dev/null 2>&1
21589 then :
21590 ac_cv_cpp_def___x86_64__=yes
21591 else $as_nop
21592 ac_cv_cpp_def___x86_64__=no
21594 rm -rf conftest*
21597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21598 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21599 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21600 then :
21601 CFLAGS="$CFLAGS -D__x86_64__"
21602 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21603 fi ;;
21604 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21605 printf %s "checking whether we need to define __sparc64__... " >&6; }
21606 if test ${ac_cv_cpp_def___sparc64__+y}
21607 then :
21608 printf %s "(cached) " >&6
21609 else $as_nop
21610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21611 /* end confdefs.h. */
21612 #ifndef __sparc64__
21614 #endif
21615 _ACEOF
21616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21617 $EGREP "yes" >/dev/null 2>&1
21618 then :
21619 ac_cv_cpp_def___sparc64__=yes
21620 else $as_nop
21621 ac_cv_cpp_def___sparc64__=no
21623 rm -rf conftest*
21626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21627 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21628 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21629 then :
21630 CFLAGS="$CFLAGS -D__sparc64__"
21631 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21632 fi ;;
21633 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21634 printf %s "checking whether we need to define __sparc__... " >&6; }
21635 if test ${ac_cv_cpp_def___sparc__+y}
21636 then :
21637 printf %s "(cached) " >&6
21638 else $as_nop
21639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21640 /* end confdefs.h. */
21641 #ifndef __sparc__
21643 #endif
21644 _ACEOF
21645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21646 $EGREP "yes" >/dev/null 2>&1
21647 then :
21648 ac_cv_cpp_def___sparc__=yes
21649 else $as_nop
21650 ac_cv_cpp_def___sparc__=no
21652 rm -rf conftest*
21655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21656 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21657 if test "x$ac_cv_cpp_def___sparc__" = xyes
21658 then :
21659 CFLAGS="$CFLAGS -D__sparc__"
21660 LINTFLAGS="$LINTFLAGS -D__sparc__"
21661 fi ;;
21662 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21663 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21664 if test ${ac_cv_cpp_def___powerpc64__+y}
21665 then :
21666 printf %s "(cached) " >&6
21667 else $as_nop
21668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21669 /* end confdefs.h. */
21670 #ifndef __powerpc64__
21672 #endif
21673 _ACEOF
21674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21675 $EGREP "yes" >/dev/null 2>&1
21676 then :
21677 ac_cv_cpp_def___powerpc64__=yes
21678 else $as_nop
21679 ac_cv_cpp_def___powerpc64__=no
21681 rm -rf conftest*
21684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21685 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21686 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21687 then :
21688 CFLAGS="$CFLAGS -D__powerpc64__"
21689 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21690 fi ;;
21691 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21692 printf %s "checking whether we need to define __powerpc__... " >&6; }
21693 if test ${ac_cv_cpp_def___powerpc__+y}
21694 then :
21695 printf %s "(cached) " >&6
21696 else $as_nop
21697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21698 /* end confdefs.h. */
21699 #ifndef __powerpc__
21701 #endif
21702 _ACEOF
21703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21704 $EGREP "yes" >/dev/null 2>&1
21705 then :
21706 ac_cv_cpp_def___powerpc__=yes
21707 else $as_nop
21708 ac_cv_cpp_def___powerpc__=no
21710 rm -rf conftest*
21713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21714 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21715 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21716 then :
21717 CFLAGS="$CFLAGS -D__powerpc__"
21718 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21719 fi ;;
21720 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21721 printf %s "checking whether we need to define __aarch64__... " >&6; }
21722 if test ${ac_cv_cpp_def___aarch64__+y}
21723 then :
21724 printf %s "(cached) " >&6
21725 else $as_nop
21726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21727 /* end confdefs.h. */
21728 #ifndef __aarch64__
21730 #endif
21731 _ACEOF
21732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21733 $EGREP "yes" >/dev/null 2>&1
21734 then :
21735 ac_cv_cpp_def___aarch64__=yes
21736 else $as_nop
21737 ac_cv_cpp_def___aarch64__=no
21739 rm -rf conftest*
21742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21743 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21744 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21745 then :
21746 CFLAGS="$CFLAGS -D__aarch64__"
21747 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21748 fi ;;
21749 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21750 printf %s "checking whether we need to define __arm__... " >&6; }
21751 if test ${ac_cv_cpp_def___arm__+y}
21752 then :
21753 printf %s "(cached) " >&6
21754 else $as_nop
21755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21757 #ifndef __arm__
21759 #endif
21760 _ACEOF
21761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21762 $EGREP "yes" >/dev/null 2>&1
21763 then :
21764 ac_cv_cpp_def___arm__=yes
21765 else $as_nop
21766 ac_cv_cpp_def___arm__=no
21768 rm -rf conftest*
21771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21772 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21773 if test "x$ac_cv_cpp_def___arm__" = xyes
21774 then :
21775 CFLAGS="$CFLAGS -D__arm__"
21776 LINTFLAGS="$LINTFLAGS -D__arm__"
21777 fi ;;
21778 esac
21780 case $host_vendor in
21781 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21782 printf %s "checking whether we need to define __sun__... " >&6; }
21783 if test ${ac_cv_cpp_def___sun__+y}
21784 then :
21785 printf %s "(cached) " >&6
21786 else $as_nop
21787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21788 /* end confdefs.h. */
21789 #ifndef __sun__
21791 #endif
21792 _ACEOF
21793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21794 $EGREP "yes" >/dev/null 2>&1
21795 then :
21796 ac_cv_cpp_def___sun__=yes
21797 else $as_nop
21798 ac_cv_cpp_def___sun__=no
21800 rm -rf conftest*
21803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21804 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21805 if test "x$ac_cv_cpp_def___sun__" = xyes
21806 then :
21807 CFLAGS="$CFLAGS -D__sun__"
21808 LINTFLAGS="$LINTFLAGS -D__sun__"
21809 fi ;;
21810 esac
21813 enable_win16=${enable_win16:-i386}
21814 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
21816 if test -n "$PE_ARCHS"
21817 then
21818 enable_wow64=${enable_wow64:-aarch64,x86_64}
21819 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
21820 enable_wow64cpu=${enable_wow64cpu:-x86_64}
21821 else
21822 enable_wow64=${enable_wow64:-no}
21823 enable_wow64win=${enable_wow64win:-no}
21824 enable_wow64cpu=${enable_wow64cpu:-no}
21827 enable_cmd=${enable_cmd:-yes}
21828 enable_dllhost=${enable_dllhost:-yes}
21829 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
21830 enable_dxdiag=${enable_dxdiag:-yes}
21831 enable_msiexec=${enable_msiexec:-yes}
21832 enable_netsh=${enable_netsh:-yes}
21833 enable_regsvr32=${enable_regsvr32:-yes}
21834 enable_rundll32=${enable_rundll32:-yes}
21836 enable_winetest=${enable_winetest:-$enable_tests}
21842 ac_config_commands="$ac_config_commands include/stamp-h"
21844 printf %s "creating Makefile rules..." >&6
21846 makedep_flags=""
21847 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21849 wine_srcdir=
21850 test "$srcdir" = . || wine_srcdir="$srcdir/"
21852 ac_config_links="$ac_config_links wine:tools/winewrapper"
21853 wine_fn_config_symlink wine
21854 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21855 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21856 wine_fn_config_symlink wine64
21859 wine_fn_config_makefile dlls/acledit enable_acledit
21860 wine_fn_config_makefile dlls/aclui enable_aclui
21861 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21862 wine_fn_config_makefile dlls/activeds enable_activeds
21863 wine_fn_config_makefile dlls/activeds/tests enable_tests
21864 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21865 wine_fn_config_makefile dlls/adsldp enable_adsldp
21866 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21867 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21868 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21869 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21870 wine_fn_config_makefile dlls/advpack enable_advpack
21871 wine_fn_config_makefile dlls/advpack/tests enable_tests
21872 wine_fn_config_makefile dlls/amsi enable_amsi
21873 wine_fn_config_makefile dlls/amstream enable_amstream
21874 wine_fn_config_makefile dlls/amstream/tests enable_tests
21875 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21876 wine_fn_config_makefile dlls/apphelp enable_apphelp
21877 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21878 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21879 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21880 wine_fn_config_makefile dlls/atl enable_atl
21881 wine_fn_config_makefile dlls/atl/tests enable_tests
21882 wine_fn_config_makefile dlls/atl100 enable_atl100
21883 wine_fn_config_makefile dlls/atl100/tests enable_tests
21884 wine_fn_config_makefile dlls/atl110 enable_atl110
21885 wine_fn_config_makefile dlls/atl110/tests enable_tests
21886 wine_fn_config_makefile dlls/atl80 enable_atl80
21887 wine_fn_config_makefile dlls/atl80/tests enable_tests
21888 wine_fn_config_makefile dlls/atl90 enable_atl90
21889 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21890 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21891 wine_fn_config_makefile dlls/atmlib enable_atmlib
21892 wine_fn_config_makefile dlls/authz enable_authz
21893 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21894 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21895 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21896 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21897 wine_fn_config_makefile dlls/avrt enable_avrt
21898 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21899 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21900 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21901 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21902 wine_fn_config_makefile dlls/browseui enable_browseui
21903 wine_fn_config_makefile dlls/browseui/tests enable_tests
21904 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21905 wine_fn_config_makefile dlls/cabinet enable_cabinet
21906 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21907 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21908 wine_fn_config_makefile dlls/cards enable_cards
21909 wine_fn_config_makefile dlls/cdosys enable_cdosys
21910 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21911 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21912 wine_fn_config_makefile dlls/clusapi enable_clusapi
21913 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21914 wine_fn_config_makefile dlls/combase enable_combase
21915 wine_fn_config_makefile dlls/combase/tests enable_tests
21916 wine_fn_config_makefile dlls/comcat enable_comcat
21917 wine_fn_config_makefile dlls/comcat/tests enable_tests
21918 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21919 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21920 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21921 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21922 wine_fn_config_makefile dlls/coml2 enable_coml2
21923 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21924 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21925 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21926 wine_fn_config_makefile dlls/compstui enable_compstui
21927 wine_fn_config_makefile dlls/compstui/tests enable_tests
21928 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21929 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21930 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21931 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21932 wine_fn_config_makefile dlls/connect enable_connect
21933 wine_fn_config_makefile dlls/credui enable_credui
21934 wine_fn_config_makefile dlls/credui/tests enable_tests
21935 wine_fn_config_makefile dlls/crtdll enable_crtdll
21936 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21937 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21938 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21939 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21940 wine_fn_config_makefile dlls/cryptext enable_cryptext
21941 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21942 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21943 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21944 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21945 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21946 wine_fn_config_makefile dlls/cryptui enable_cryptui
21947 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21948 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21949 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21950 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21951 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21952 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21953 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21954 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21955 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21956 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21957 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21958 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21959 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21960 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21961 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21962 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21963 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21964 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21965 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21966 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21967 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21968 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21969 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21970 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21971 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21972 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21973 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21974 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21975 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21976 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21977 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21978 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21979 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21980 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21981 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21982 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21983 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21984 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21985 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21986 wine_fn_config_makefile dlls/d3dim enable_d3dim
21987 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21988 wine_fn_config_makefile dlls/d3drm enable_d3drm
21989 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21990 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21991 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21992 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21993 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21994 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21995 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21996 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21997 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21998 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21999 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
22000 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
22001 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
22002 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
22003 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
22004 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
22005 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
22006 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
22007 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
22008 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
22009 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
22010 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
22011 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
22012 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
22013 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
22014 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
22015 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
22016 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
22017 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
22018 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
22019 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
22020 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
22021 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
22022 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
22023 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
22024 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
22025 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
22026 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
22027 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
22028 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
22029 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
22030 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
22031 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
22032 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
22033 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
22034 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
22035 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
22036 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
22037 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
22038 wine_fn_config_makefile dlls/davclnt enable_davclnt
22039 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
22040 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
22041 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
22042 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
22043 wine_fn_config_makefile dlls/dciman32 enable_dciman32
22044 wine_fn_config_makefile dlls/dcomp enable_dcomp
22045 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
22046 wine_fn_config_makefile dlls/ddraw enable_ddraw
22047 wine_fn_config_makefile dlls/ddraw/tests enable_tests
22048 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
22049 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
22050 wine_fn_config_makefile dlls/devenum enable_devenum
22051 wine_fn_config_makefile dlls/devenum/tests enable_tests
22052 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
22053 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
22054 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
22055 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
22056 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
22057 wine_fn_config_makefile dlls/difxapi enable_difxapi
22058 wine_fn_config_makefile dlls/dinput enable_dinput
22059 wine_fn_config_makefile dlls/dinput/tests enable_tests
22060 wine_fn_config_makefile dlls/dinput8 enable_dinput8
22061 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
22062 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
22063 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
22064 wine_fn_config_makefile dlls/dispex enable_dispex
22065 wine_fn_config_makefile dlls/dispex/tests enable_tests
22066 wine_fn_config_makefile dlls/display.drv16 enable_win16
22067 wine_fn_config_makefile dlls/dmband enable_dmband
22068 wine_fn_config_makefile dlls/dmband/tests enable_tests
22069 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
22070 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
22071 wine_fn_config_makefile dlls/dmime enable_dmime
22072 wine_fn_config_makefile dlls/dmime/tests enable_tests
22073 wine_fn_config_makefile dlls/dmloader enable_dmloader
22074 wine_fn_config_makefile dlls/dmloader/tests enable_tests
22075 wine_fn_config_makefile dlls/dmscript enable_dmscript
22076 wine_fn_config_makefile dlls/dmscript/tests enable_tests
22077 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
22078 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
22079 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
22080 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
22081 wine_fn_config_makefile dlls/dmusic enable_dmusic
22082 wine_fn_config_makefile dlls/dmusic/tests enable_tests
22083 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
22084 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
22085 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
22086 wine_fn_config_makefile dlls/dplay enable_dplay
22087 wine_fn_config_makefile dlls/dplayx enable_dplayx
22088 wine_fn_config_makefile dlls/dplayx/tests enable_tests
22089 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
22090 wine_fn_config_makefile dlls/dpnet enable_dpnet
22091 wine_fn_config_makefile dlls/dpnet/tests enable_tests
22092 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
22093 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
22094 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
22095 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
22096 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
22097 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
22098 wine_fn_config_makefile dlls/drmclien enable_drmclien
22099 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
22100 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
22101 wine_fn_config_makefile dlls/dsound enable_dsound
22102 wine_fn_config_makefile dlls/dsound/tests enable_tests
22103 wine_fn_config_makefile dlls/dsquery enable_dsquery
22104 wine_fn_config_makefile dlls/dssenh enable_dssenh
22105 wine_fn_config_makefile dlls/dssenh/tests enable_tests
22106 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
22107 wine_fn_config_makefile dlls/dswave enable_dswave
22108 wine_fn_config_makefile dlls/dswave/tests enable_tests
22109 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
22110 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
22111 wine_fn_config_makefile dlls/dwrite enable_dwrite
22112 wine_fn_config_makefile dlls/dwrite/tests enable_tests
22113 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
22114 wine_fn_config_makefile dlls/dxcore enable_dxcore
22115 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
22116 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
22117 wine_fn_config_makefile dlls/dxgi enable_dxgi
22118 wine_fn_config_makefile dlls/dxgi/tests enable_tests
22119 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
22120 wine_fn_config_makefile dlls/dxva2 enable_dxva2
22121 wine_fn_config_makefile dlls/dxva2/tests enable_tests
22122 wine_fn_config_makefile dlls/esent enable_esent
22123 wine_fn_config_makefile dlls/evr enable_evr
22124 wine_fn_config_makefile dlls/evr/tests enable_tests
22125 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
22126 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
22127 wine_fn_config_makefile dlls/faultrep enable_faultrep
22128 wine_fn_config_makefile dlls/faultrep/tests enable_tests
22129 wine_fn_config_makefile dlls/feclient enable_feclient
22130 wine_fn_config_makefile dlls/fltlib enable_fltlib
22131 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
22132 wine_fn_config_makefile dlls/fntcache enable_fntcache
22133 wine_fn_config_makefile dlls/fontsub enable_fontsub
22134 wine_fn_config_makefile dlls/fusion enable_fusion
22135 wine_fn_config_makefile dlls/fusion/tests enable_tests
22136 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
22137 wine_fn_config_makefile dlls/gameux enable_gameux
22138 wine_fn_config_makefile dlls/gameux/tests enable_tests
22139 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
22140 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
22141 wine_fn_config_makefile dlls/gdi32 enable_gdi32
22142 wine_fn_config_makefile dlls/gdi32/tests enable_tests
22143 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
22144 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
22145 wine_fn_config_makefile dlls/geolocation enable_geolocation
22146 wine_fn_config_makefile dlls/geolocation/tests enable_tests
22147 wine_fn_config_makefile dlls/glu32 enable_glu32
22148 wine_fn_config_makefile dlls/glu32/tests enable_tests
22149 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
22150 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
22151 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
22152 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
22153 wine_fn_config_makefile dlls/hal enable_hal
22154 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
22155 wine_fn_config_makefile dlls/hid enable_hid
22156 wine_fn_config_makefile dlls/hid/tests enable_tests
22157 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
22158 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22159 wine_fn_config_makefile dlls/hlink enable_hlink
22160 wine_fn_config_makefile dlls/hlink/tests enable_tests
22161 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22162 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22163 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
22164 wine_fn_config_makefile dlls/http.sys enable_http_sys
22165 wine_fn_config_makefile dlls/httpapi enable_httpapi
22166 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22167 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
22168 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
22169 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
22170 wine_fn_config_makefile dlls/iccvid enable_iccvid
22171 wine_fn_config_makefile dlls/icmp enable_icmp
22172 wine_fn_config_makefile dlls/ieframe enable_ieframe
22173 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22174 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22175 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22176 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22177 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22178 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22179 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22180 wine_fn_config_makefile dlls/imm32 enable_imm32
22181 wine_fn_config_makefile dlls/imm32/tests enable_tests
22182 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22183 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22184 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22185 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22186 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22187 wine_fn_config_makefile dlls/infosoft enable_infosoft
22188 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22189 wine_fn_config_makefile dlls/initpki enable_initpki
22190 wine_fn_config_makefile dlls/inkobj enable_inkobj
22191 wine_fn_config_makefile dlls/inseng enable_inseng
22192 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22193 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22194 wine_fn_config_makefile dlls/iprop enable_iprop
22195 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
22196 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22197 wine_fn_config_makefile dlls/itircl enable_itircl
22198 wine_fn_config_makefile dlls/itss enable_itss
22199 wine_fn_config_makefile dlls/itss/tests enable_tests
22200 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22201 wine_fn_config_makefile dlls/jscript enable_jscript
22202 wine_fn_config_makefile dlls/jscript/tests enable_tests
22203 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22204 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22205 wine_fn_config_makefile dlls/kerberos enable_kerberos
22206 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22207 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22208 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22209 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22210 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22211 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22212 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22213 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22214 wine_fn_config_makefile dlls/ksuser enable_ksuser
22215 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22216 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22217 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22218 wine_fn_config_makefile dlls/loadperf enable_loadperf
22219 wine_fn_config_makefile dlls/localspl enable_localspl
22220 wine_fn_config_makefile dlls/localspl/tests enable_tests
22221 wine_fn_config_makefile dlls/localui enable_localui
22222 wine_fn_config_makefile dlls/localui/tests enable_tests
22223 wine_fn_config_makefile dlls/lz32 enable_lz32
22224 wine_fn_config_makefile dlls/lz32/tests enable_tests
22225 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22226 wine_fn_config_makefile dlls/magnification enable_magnification
22227 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22228 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22229 wine_fn_config_makefile dlls/mapistub enable_mapistub
22230 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22231 wine_fn_config_makefile dlls/mcicda enable_mcicda
22232 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22233 wine_fn_config_makefile dlls/mciseq enable_mciseq
22234 wine_fn_config_makefile dlls/mciwave enable_mciwave
22235 wine_fn_config_makefile dlls/mf enable_mf
22236 wine_fn_config_makefile dlls/mf/tests enable_tests
22237 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22238 wine_fn_config_makefile dlls/mferror enable_mferror
22239 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22240 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22241 wine_fn_config_makefile dlls/mfplat enable_mfplat
22242 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22243 wine_fn_config_makefile dlls/mfplay enable_mfplay
22244 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22245 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22246 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22247 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
22248 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
22249 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22250 wine_fn_config_makefile dlls/midimap enable_midimap
22251 wine_fn_config_makefile dlls/mlang enable_mlang
22252 wine_fn_config_makefile dlls/mlang/tests enable_tests
22253 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22254 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22255 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22256 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22257 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22258 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22259 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22260 wine_fn_config_makefile dlls/mouhid.sys enable_mouhid_sys
22261 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22262 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22263 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22264 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22265 wine_fn_config_makefile dlls/mpr enable_mpr
22266 wine_fn_config_makefile dlls/mpr/tests enable_tests
22267 wine_fn_config_makefile dlls/mprapi enable_mprapi
22268 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22269 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22270 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22271 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22272 wine_fn_config_makefile dlls/msado15 enable_msado15
22273 wine_fn_config_makefile dlls/msado15/tests enable_tests
22274 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22275 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22276 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22277 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
22278 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22279 wine_fn_config_makefile dlls/mscms enable_mscms
22280 wine_fn_config_makefile dlls/mscms/tests enable_tests
22281 wine_fn_config_makefile dlls/mscoree enable_mscoree
22282 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22283 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22284 wine_fn_config_makefile dlls/msctf enable_msctf
22285 wine_fn_config_makefile dlls/msctf/tests enable_tests
22286 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22287 wine_fn_config_makefile dlls/msctfp enable_msctfp
22288 wine_fn_config_makefile dlls/msdaps enable_msdaps
22289 wine_fn_config_makefile dlls/msdasql enable_msdasql
22290 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22291 wine_fn_config_makefile dlls/msdelta enable_msdelta
22292 wine_fn_config_makefile dlls/msdmo enable_msdmo
22293 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22294 wine_fn_config_makefile dlls/msdrm enable_msdrm
22295 wine_fn_config_makefile dlls/msftedit enable_msftedit
22296 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22297 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22298 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22299 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22300 wine_fn_config_makefile dlls/mshtml enable_mshtml
22301 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22302 wine_fn_config_makefile dlls/msi enable_msi
22303 wine_fn_config_makefile dlls/msi/tests enable_tests
22304 wine_fn_config_makefile dlls/msident enable_msident
22305 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22306 wine_fn_config_makefile dlls/msimsg enable_msimsg
22307 wine_fn_config_makefile dlls/msimtf enable_msimtf
22308 wine_fn_config_makefile dlls/msisip enable_msisip
22309 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22310 wine_fn_config_makefile dlls/msls31 enable_msls31
22311 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22312 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22313 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22314 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22315 wine_fn_config_makefile dlls/msports enable_msports
22316 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22317 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22318 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22319 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22320 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22321 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22322 wine_fn_config_makefile dlls/mstask enable_mstask
22323 wine_fn_config_makefile dlls/mstask/tests enable_tests
22324 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22325 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22326 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22327 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22328 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22329 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22330 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22331 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22332 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22333 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22334 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22335 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22336 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22337 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22338 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22339 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22340 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22341 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22342 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22343 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22344 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22345 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22346 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22347 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22348 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22349 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22350 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22351 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22352 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22353 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22354 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22355 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22356 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22357 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22358 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22359 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22360 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22361 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22362 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22363 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22364 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22365 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22366 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22367 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22368 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22369 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22370 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22371 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22372 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22373 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22374 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22375 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22376 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22377 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22378 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22379 wine_fn_config_makefile dlls/mswsock enable_mswsock
22380 wine_fn_config_makefile dlls/msxml enable_msxml
22381 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22382 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22383 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22384 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22385 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22386 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22387 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22388 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22389 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22390 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22391 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22392 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22393 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22394 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22395 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22396 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22397 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22398 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22399 wine_fn_config_makefile dlls/netprofm enable_netprofm
22400 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22401 wine_fn_config_makefile dlls/netutils enable_netutils
22402 wine_fn_config_makefile dlls/newdev enable_newdev
22403 wine_fn_config_makefile dlls/ninput enable_ninput
22404 wine_fn_config_makefile dlls/ninput/tests enable_tests
22405 wine_fn_config_makefile dlls/normaliz enable_normaliz
22406 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22407 wine_fn_config_makefile dlls/npptools enable_npptools
22408 wine_fn_config_makefile dlls/nsi enable_nsi
22409 wine_fn_config_makefile dlls/nsi/tests enable_tests
22410 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22411 wine_fn_config_makefile dlls/ntdll enable_ntdll
22412 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22413 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22414 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22415 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22416 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22417 wine_fn_config_makefile dlls/ntprint enable_ntprint
22418 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22419 wine_fn_config_makefile dlls/objsel enable_objsel
22420 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22421 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22422 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22423 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22424 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22425 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22426 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22427 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22428 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22429 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22430 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22431 wine_fn_config_makefile dlls/ole32 enable_ole32
22432 wine_fn_config_makefile dlls/ole32/tests enable_tests
22433 wine_fn_config_makefile dlls/oleacc enable_oleacc
22434 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22435 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22436 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22437 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22438 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22439 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22440 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22441 wine_fn_config_makefile dlls/oledlg enable_oledlg
22442 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22443 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22444 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22445 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22446 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22447 wine_fn_config_makefile dlls/opcservices enable_opcservices
22448 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22449 wine_fn_config_makefile dlls/opencl enable_opencl
22450 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22451 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22452 wine_fn_config_makefile dlls/packager enable_packager
22453 wine_fn_config_makefile dlls/packager/tests enable_tests
22454 wine_fn_config_makefile dlls/pdh enable_pdh
22455 wine_fn_config_makefile dlls/pdh/tests enable_tests
22456 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22457 wine_fn_config_makefile dlls/pidgen enable_pidgen
22458 wine_fn_config_makefile dlls/powrprof enable_powrprof
22459 wine_fn_config_makefile dlls/printui enable_printui
22460 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22461 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22462 wine_fn_config_makefile dlls/propsys enable_propsys
22463 wine_fn_config_makefile dlls/propsys/tests enable_tests
22464 wine_fn_config_makefile dlls/psapi enable_psapi
22465 wine_fn_config_makefile dlls/psapi/tests enable_tests
22466 wine_fn_config_makefile dlls/pstorec enable_pstorec
22467 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22468 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22469 wine_fn_config_makefile dlls/qasf enable_qasf
22470 wine_fn_config_makefile dlls/qasf/tests enable_tests
22471 wine_fn_config_makefile dlls/qcap enable_qcap
22472 wine_fn_config_makefile dlls/qcap/tests enable_tests
22473 wine_fn_config_makefile dlls/qdvd enable_qdvd
22474 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22475 wine_fn_config_makefile dlls/qedit enable_qedit
22476 wine_fn_config_makefile dlls/qedit/tests enable_tests
22477 wine_fn_config_makefile dlls/qmgr enable_qmgr
22478 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22479 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22480 wine_fn_config_makefile dlls/quartz enable_quartz
22481 wine_fn_config_makefile dlls/quartz/tests enable_tests
22482 wine_fn_config_makefile dlls/query enable_query
22483 wine_fn_config_makefile dlls/qwave enable_qwave
22484 wine_fn_config_makefile dlls/qwave/tests enable_tests
22485 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22486 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22487 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22488 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22489 wine_fn_config_makefile dlls/regapi enable_regapi
22490 wine_fn_config_makefile dlls/resutils enable_resutils
22491 wine_fn_config_makefile dlls/riched20 enable_riched20
22492 wine_fn_config_makefile dlls/riched20/tests enable_tests
22493 wine_fn_config_makefile dlls/riched32 enable_riched32
22494 wine_fn_config_makefile dlls/riched32/tests enable_tests
22495 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22496 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22497 wine_fn_config_makefile dlls/rsabase enable_rsabase
22498 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22499 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22500 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22501 wine_fn_config_makefile dlls/rtutils enable_rtutils
22502 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22503 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22504 wine_fn_config_makefile dlls/samlib enable_samlib
22505 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22506 wine_fn_config_makefile dlls/sapi enable_sapi
22507 wine_fn_config_makefile dlls/sapi/tests enable_tests
22508 wine_fn_config_makefile dlls/sas enable_sas
22509 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22510 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22511 wine_fn_config_makefile dlls/sccbase enable_sccbase
22512 wine_fn_config_makefile dlls/schannel enable_schannel
22513 wine_fn_config_makefile dlls/schannel/tests enable_tests
22514 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22515 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22516 wine_fn_config_makefile dlls/scrobj enable_scrobj
22517 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22518 wine_fn_config_makefile dlls/scrrun enable_scrrun
22519 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22520 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22521 wine_fn_config_makefile dlls/sechost enable_sechost
22522 wine_fn_config_makefile dlls/secur32 enable_secur32
22523 wine_fn_config_makefile dlls/secur32/tests enable_tests
22524 wine_fn_config_makefile dlls/security enable_security
22525 wine_fn_config_makefile dlls/sensapi enable_sensapi
22526 wine_fn_config_makefile dlls/serialui enable_serialui
22527 wine_fn_config_makefile dlls/serialui/tests enable_tests
22528 wine_fn_config_makefile dlls/setupapi enable_setupapi
22529 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22530 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22531 wine_fn_config_makefile dlls/sfc enable_sfc
22532 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22533 wine_fn_config_makefile dlls/shcore enable_shcore
22534 wine_fn_config_makefile dlls/shcore/tests enable_tests
22535 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22536 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22537 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22538 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22539 wine_fn_config_makefile dlls/shell32 enable_shell32
22540 wine_fn_config_makefile dlls/shell32/tests enable_tests
22541 wine_fn_config_makefile dlls/shfolder enable_shfolder
22542 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22543 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22544 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22545 wine_fn_config_makefile dlls/slc enable_slc
22546 wine_fn_config_makefile dlls/slc/tests enable_tests
22547 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22548 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22549 wine_fn_config_makefile dlls/softpub enable_softpub
22550 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22551 wine_fn_config_makefile dlls/spoolss enable_spoolss
22552 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22553 wine_fn_config_makefile dlls/sppc enable_sppc
22554 wine_fn_config_makefile dlls/srclient enable_srclient
22555 wine_fn_config_makefile dlls/srvcli enable_srvcli
22556 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22557 wine_fn_config_makefile dlls/sspicli enable_sspicli
22558 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22559 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22560 wine_fn_config_makefile dlls/sti enable_sti
22561 wine_fn_config_makefile dlls/sti/tests enable_tests
22562 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22563 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22564 wine_fn_config_makefile dlls/strmdll enable_strmdll
22565 wine_fn_config_makefile dlls/svrapi enable_svrapi
22566 wine_fn_config_makefile dlls/sxs enable_sxs
22567 wine_fn_config_makefile dlls/sxs/tests enable_tests
22568 wine_fn_config_makefile dlls/system.drv16 enable_win16
22569 wine_fn_config_makefile dlls/t2embed enable_t2embed
22570 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22571 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22572 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22573 wine_fn_config_makefile dlls/taskschd enable_taskschd
22574 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22575 wine_fn_config_makefile dlls/tbs enable_tbs
22576 wine_fn_config_makefile dlls/tdh enable_tdh
22577 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22578 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22579 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22580 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22581 wine_fn_config_makefile dlls/traffic enable_traffic
22582 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22583 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22584 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22585 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22586 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22587 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22588 wine_fn_config_makefile dlls/tzres enable_tzres
22589 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22590 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22591 wine_fn_config_makefile dlls/uianimation enable_uianimation
22592 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22593 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22594 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22595 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22596 wine_fn_config_makefile dlls/unicows enable_unicows
22597 wine_fn_config_makefile dlls/updspapi enable_updspapi
22598 wine_fn_config_makefile dlls/url enable_url
22599 wine_fn_config_makefile dlls/urlmon enable_urlmon
22600 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22601 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22602 wine_fn_config_makefile dlls/user.exe16 enable_win16
22603 wine_fn_config_makefile dlls/user32 enable_user32
22604 wine_fn_config_makefile dlls/user32/tests enable_tests
22605 wine_fn_config_makefile dlls/userenv enable_userenv
22606 wine_fn_config_makefile dlls/userenv/tests enable_tests
22607 wine_fn_config_makefile dlls/usp10 enable_usp10
22608 wine_fn_config_makefile dlls/usp10/tests enable_tests
22609 wine_fn_config_makefile dlls/utildll enable_utildll
22610 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22611 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22612 wine_fn_config_makefile dlls/vbscript enable_vbscript
22613 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22614 wine_fn_config_makefile dlls/vcomp enable_vcomp
22615 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22616 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22617 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22618 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22619 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22620 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22621 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22622 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22623 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22624 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22625 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22626 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22627 wine_fn_config_makefile dlls/version enable_version
22628 wine_fn_config_makefile dlls/version/tests enable_tests
22629 wine_fn_config_makefile dlls/vga enable_vga
22630 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22631 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22632 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22633 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22634 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22635 wine_fn_config_makefile dlls/vssapi enable_vssapi
22636 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22637 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22638 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22639 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22640 wine_fn_config_makefile dlls/w32skrnl enable_win16
22641 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22642 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22643 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22644 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22645 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22646 wine_fn_config_makefile dlls/wdscore enable_wdscore
22647 wine_fn_config_makefile dlls/webservices enable_webservices
22648 wine_fn_config_makefile dlls/webservices/tests enable_tests
22649 wine_fn_config_makefile dlls/websocket enable_websocket
22650 wine_fn_config_makefile dlls/wer enable_wer
22651 wine_fn_config_makefile dlls/wer/tests enable_tests
22652 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22653 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22654 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22655 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22656 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22657 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22658 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22659 wine_fn_config_makefile dlls/win32u enable_win32u
22660 wine_fn_config_makefile dlls/win32u/tests enable_tests
22661 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22662 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22663 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22664 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22665 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22666 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22667 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22668 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22669 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22670 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22671 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22672 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22673 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22674 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22675 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22676 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22677 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22678 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22679 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22680 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22681 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22682 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22683 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22684 wine_fn_config_makefile dlls/windows.media enable_windows_media
22685 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22686 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22687 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22688 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22689 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22690 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22691 wine_fn_config_makefile dlls/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22692 wine_fn_config_makefile dlls/windows.security.authentication.onlineid/tests enable_tests
22693 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22694 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22695 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22696 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22697 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22698 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22699 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22700 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22701 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22702 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22703 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22704 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22705 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22706 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22707 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22708 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22709 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22710 wine_fn_config_makefile dlls/wined3d enable_wined3d
22711 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22712 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22713 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22714 wine_fn_config_makefile dlls/winemapi enable_winemapi
22715 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22716 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22717 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22718 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22719 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22720 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22721 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22722 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22723 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22724 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22725 wine_fn_config_makefile dlls/wing32 enable_wing32
22726 wine_fn_config_makefile dlls/wing32/tests enable_tests
22727 wine_fn_config_makefile dlls/winhttp enable_winhttp
22728 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22729 wine_fn_config_makefile dlls/wininet enable_wininet
22730 wine_fn_config_makefile dlls/wininet/tests enable_tests
22731 wine_fn_config_makefile dlls/winmm enable_winmm
22732 wine_fn_config_makefile dlls/winmm/tests enable_tests
22733 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22734 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22735 wine_fn_config_makefile dlls/winprint enable_winprint
22736 wine_fn_config_makefile dlls/winscard enable_winscard
22737 wine_fn_config_makefile dlls/winscard/tests enable_tests
22738 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22739 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22740 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22741 wine_fn_config_makefile dlls/winsta enable_winsta
22742 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22743 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22744 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22745 wine_fn_config_makefile dlls/wintrust enable_wintrust
22746 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22747 wine_fn_config_makefile dlls/wintypes enable_wintypes
22748 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22749 wine_fn_config_makefile dlls/winusb enable_winusb
22750 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22751 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22752 wine_fn_config_makefile dlls/wlanui enable_wlanui
22753 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22754 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22755 wine_fn_config_makefile dlls/wldp enable_wldp
22756 wine_fn_config_makefile dlls/wldp/tests enable_tests
22757 wine_fn_config_makefile dlls/wmasf enable_wmasf
22758 wine_fn_config_makefile dlls/wmi enable_wmi
22759 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22760 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22761 wine_fn_config_makefile dlls/wmp enable_wmp
22762 wine_fn_config_makefile dlls/wmp/tests enable_tests
22763 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22764 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22765 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22766 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22767 wine_fn_config_makefile dlls/wofutil enable_wofutil
22768 wine_fn_config_makefile dlls/wow32 enable_win16
22769 wine_fn_config_makefile dlls/wow64 enable_wow64
22770 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22771 wine_fn_config_makefile dlls/wow64win enable_wow64win
22772 wine_fn_config_makefile dlls/wpc enable_wpc
22773 wine_fn_config_makefile dlls/wpc/tests enable_tests
22774 wine_fn_config_makefile dlls/wpcap enable_wpcap
22775 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22776 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22777 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22778 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22779 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22780 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22781 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22782 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22783 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22784 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22785 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22786 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22787 wine_fn_config_makefile dlls/wuapi enable_wuapi
22788 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22789 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22790 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22791 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22792 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22793 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22794 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22795 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22796 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22797 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22798 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22799 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22800 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22801 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22802 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22803 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22804 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22805 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22806 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22807 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22808 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22809 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22810 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22811 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22812 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22813 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22814 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22815 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22816 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22817 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22818 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22819 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22820 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22821 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22822 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22823 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22824 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22825 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22826 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22827 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22828 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22829 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22830 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22831 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22832 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22833 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22834 wine_fn_config_makefile dlls/xmllite enable_xmllite
22835 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22836 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22837 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22838 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22839 wine_fn_config_makefile fonts enable_fonts
22840 wine_fn_config_makefile include enable_include
22841 wine_fn_config_makefile libs/adsiid enable_adsiid
22842 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22843 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22844 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22845 wine_fn_config_makefile libs/dxguid enable_dxguid
22846 wine_fn_config_makefile libs/faudio enable_faudio
22847 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22848 wine_fn_config_makefile libs/gsm enable_gsm
22849 wine_fn_config_makefile libs/jpeg enable_jpeg
22850 wine_fn_config_makefile libs/jxr enable_jxr
22851 wine_fn_config_makefile libs/lcms2 enable_lcms2
22852 wine_fn_config_makefile libs/ldap enable_ldap
22853 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22854 wine_fn_config_makefile libs/mpg123 enable_mpg123
22855 wine_fn_config_makefile libs/musl enable_musl
22856 wine_fn_config_makefile libs/png enable_png
22857 wine_fn_config_makefile libs/strmbase enable_strmbase
22858 wine_fn_config_makefile libs/strmiids enable_strmiids
22859 wine_fn_config_makefile libs/tiff enable_tiff
22860 wine_fn_config_makefile libs/uuid enable_uuid
22861 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22862 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22863 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22864 wine_fn_config_makefile libs/xml2 enable_xml2
22865 wine_fn_config_makefile libs/xslt enable_xslt
22866 wine_fn_config_makefile libs/zlib enable_zlib
22867 wine_fn_config_makefile libs/zydis enable_zydis
22868 wine_fn_config_makefile loader enable_loader
22869 wine_fn_config_makefile nls enable_nls
22870 wine_fn_config_makefile po enable_po
22871 wine_fn_config_makefile programs/arp enable_arp
22872 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22873 wine_fn_config_makefile programs/attrib enable_attrib
22874 wine_fn_config_makefile programs/cabarc enable_cabarc
22875 wine_fn_config_makefile programs/cacls enable_cacls
22876 wine_fn_config_makefile programs/certutil enable_certutil
22877 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22878 wine_fn_config_makefile programs/clock enable_clock
22879 wine_fn_config_makefile programs/cmd enable_cmd
22880 wine_fn_config_makefile programs/cmd/tests enable_tests
22881 wine_fn_config_makefile programs/conhost enable_conhost
22882 wine_fn_config_makefile programs/conhost/tests enable_tests
22883 wine_fn_config_makefile programs/control enable_control
22884 wine_fn_config_makefile programs/cscript enable_cscript
22885 wine_fn_config_makefile programs/dism enable_dism
22886 wine_fn_config_makefile programs/dllhost enable_dllhost
22887 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22888 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22889 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22890 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22891 wine_fn_config_makefile programs/eject enable_eject
22892 wine_fn_config_makefile programs/expand enable_expand
22893 wine_fn_config_makefile programs/explorer enable_explorer
22894 wine_fn_config_makefile programs/explorer/tests enable_tests
22895 wine_fn_config_makefile programs/extrac32 enable_extrac32
22896 wine_fn_config_makefile programs/fc enable_fc
22897 wine_fn_config_makefile programs/find enable_find
22898 wine_fn_config_makefile programs/find/tests enable_tests
22899 wine_fn_config_makefile programs/findstr enable_findstr
22900 wine_fn_config_makefile programs/findstr/tests enable_tests
22901 wine_fn_config_makefile programs/fsutil enable_fsutil
22902 wine_fn_config_makefile programs/fsutil/tests enable_tests
22903 wine_fn_config_makefile programs/hh enable_hh
22904 wine_fn_config_makefile programs/hostname enable_hostname
22905 wine_fn_config_makefile programs/icacls enable_icacls
22906 wine_fn_config_makefile programs/icinfo enable_icinfo
22907 wine_fn_config_makefile programs/iexplore enable_iexplore
22908 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22909 wine_fn_config_makefile programs/klist enable_klist
22910 wine_fn_config_makefile programs/lodctr enable_lodctr
22911 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22912 wine_fn_config_makefile programs/mshta enable_mshta
22913 wine_fn_config_makefile programs/msidb enable_msidb
22914 wine_fn_config_makefile programs/msiexec enable_msiexec
22915 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22916 wine_fn_config_makefile programs/net enable_net
22917 wine_fn_config_makefile programs/netsh enable_netsh
22918 wine_fn_config_makefile programs/netstat enable_netstat
22919 wine_fn_config_makefile programs/ngen enable_ngen
22920 wine_fn_config_makefile programs/notepad enable_notepad
22921 wine_fn_config_makefile programs/oleview enable_oleview
22922 wine_fn_config_makefile programs/ping enable_ping
22923 wine_fn_config_makefile programs/plugplay enable_plugplay
22924 wine_fn_config_makefile programs/pnputil enable_pnputil
22925 wine_fn_config_makefile programs/powershell enable_powershell
22926 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22927 wine_fn_config_makefile programs/progman enable_progman
22928 wine_fn_config_makefile programs/reg enable_reg
22929 wine_fn_config_makefile programs/reg/tests enable_tests
22930 wine_fn_config_makefile programs/regasm enable_regasm
22931 wine_fn_config_makefile programs/regedit enable_regedit
22932 wine_fn_config_makefile programs/regedit/tests enable_tests
22933 wine_fn_config_makefile programs/regini enable_regini
22934 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22935 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22936 wine_fn_config_makefile programs/robocopy enable_robocopy
22937 wine_fn_config_makefile programs/rpcss enable_rpcss
22938 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22939 wine_fn_config_makefile programs/rundll32 enable_rundll32
22940 wine_fn_config_makefile programs/sc enable_sc
22941 wine_fn_config_makefile programs/sc/tests enable_tests
22942 wine_fn_config_makefile programs/schtasks enable_schtasks
22943 wine_fn_config_makefile programs/schtasks/tests enable_tests
22944 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22945 wine_fn_config_makefile programs/secedit enable_secedit
22946 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22947 wine_fn_config_makefile programs/services enable_services
22948 wine_fn_config_makefile programs/services/tests enable_tests
22949 wine_fn_config_makefile programs/setx enable_setx
22950 wine_fn_config_makefile programs/shutdown enable_shutdown
22951 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22952 wine_fn_config_makefile programs/start enable_start
22953 wine_fn_config_makefile programs/subst enable_subst
22954 wine_fn_config_makefile programs/svchost enable_svchost
22955 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22956 wine_fn_config_makefile programs/taskkill enable_taskkill
22957 wine_fn_config_makefile programs/tasklist enable_tasklist
22958 wine_fn_config_makefile programs/tasklist/tests enable_tests
22959 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22960 wine_fn_config_makefile programs/termsv enable_termsv
22961 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22962 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22963 wine_fn_config_makefile programs/view enable_view
22964 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22965 wine_fn_config_makefile programs/where enable_where
22966 wine_fn_config_makefile programs/whoami enable_whoami
22967 wine_fn_config_makefile programs/wineboot enable_wineboot
22968 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22969 wine_fn_config_makefile programs/winecfg enable_winecfg
22970 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22971 wine_fn_config_makefile programs/winedbg enable_winedbg
22972 wine_fn_config_makefile programs/winedevice enable_winedevice
22973 wine_fn_config_makefile programs/winefile enable_winefile
22974 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22975 wine_fn_config_makefile programs/winemine enable_winemine
22976 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22977 wine_fn_config_makefile programs/winepath enable_winepath
22978 wine_fn_config_makefile programs/winetest enable_winetest
22979 wine_fn_config_makefile programs/winevdm enable_win16
22980 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22981 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22982 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22983 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22984 wine_fn_config_makefile programs/winver enable_winver
22985 wine_fn_config_makefile programs/wmic enable_wmic
22986 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22987 wine_fn_config_makefile programs/wordpad enable_wordpad
22988 wine_fn_config_makefile programs/write enable_write
22989 wine_fn_config_makefile programs/wscript enable_wscript
22990 wine_fn_config_makefile programs/wscript/tests enable_tests
22991 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22992 wine_fn_config_makefile programs/wusa enable_wusa
22993 wine_fn_config_makefile programs/xcopy enable_xcopy
22994 wine_fn_config_makefile programs/xcopy/tests enable_tests
22995 wine_fn_config_makefile server enable_server
22996 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22997 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22998 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22999 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
23000 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
23001 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
23002 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
23003 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
23004 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
23007 as_fn_append CONFIGURE_TARGETS " TAGS"
23008 as_fn_append CONFIGURE_TARGETS " tags"
23009 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
23010 as_fn_append CONFIGURE_TARGETS " config.log"
23011 as_fn_append CONFIGURE_TARGETS " config.status"
23012 as_fn_append CONFIGURE_TARGETS " include/config.h"
23013 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
23014 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
23016 if test "x$enable_tools" != xno
23017 then
23018 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
23019 ac_config_commands="$ac_config_commands tools/makedep"
23023 ac_config_commands="$ac_config_commands Makefile"
23027 SHELL=/bin/sh
23030 as_fn_append wine_rules "
23031 all: wine
23032 @echo \"Wine build complete.\"
23033 .INIT: Makefile
23034 .MAKEFILEDEPS:
23035 all: Makefile
23036 Makefile: config.status \$(MAKEDEP)
23037 @./config.status Makefile
23038 depend: \$(MAKEDEP)
23039 \$(MAKEDEP)$makedep_flags"
23042 as_fn_append wine_rules "
23043 config.status: ${wine_srcdir}configure
23044 @./config.status --recheck
23045 include/config.h: include/stamp-h
23046 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23047 @./config.status include/config.h include/stamp-h"
23049 if test "x$enable_maintainer_mode" = xyes
23050 then
23051 as_fn_append wine_rules "
23052 configure: configure.ac aclocal.m4
23053 autoconf --warnings=all
23054 include/config.h.in: include/stamp-h.in
23055 include/stamp-h.in: configure.ac aclocal.m4
23056 autoheader --warnings=all
23057 @echo timestamp > \$@"
23060 if test "x$enable_tools" != xno
23061 then
23062 as_fn_append wine_rules "
23063 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23064 @./config.status tools/makedep
23065 Makefile: tools/makedep$ac_exeext"
23066 else
23067 as_fn_append wine_rules "
23068 \$(MAKEDEP):
23069 @echo \"You need to run make in $toolsdir first\" && false"
23073 if test -n "$with_wine64"
23074 then
23075 case "$with_wine64" in
23076 /*) reldir="" ;;
23077 *) reldir="../" ;;
23078 esac
23079 rm -f fonts server 2>/dev/null
23080 as_fn_append wine_rules "
23081 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23082 loader/wine64 loader/wine64-preloader:
23083 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23084 $with_wine64/loader/wine:
23085 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23086 $with_wine64/loader/wine-preloader:
23087 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23088 clean::
23089 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23090 else
23091 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
23092 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
23093 fonts \
23094 loader/wine.inf \
23095 nls \
23096 programs/msidb/msidb \
23097 programs/msiexec/msiexec \
23098 programs/notepad/notepad \
23099 programs/regedit/regedit \
23100 programs/regsvr32/regsvr32 \
23101 programs/wineboot/wineboot \
23102 programs/winecfg/winecfg \
23103 programs/wineconsole/wineconsole \
23104 programs/winedbg/winedbg \
23105 programs/winefile/winefile \
23106 programs/winemine/winemine \
23107 programs/winepath/winepath \
23108 server/wineserver"
23110 case $host_os in
23111 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
23112 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23113 esac
23117 as_fn_append wine_rules "
23118 distclean:: clean
23119 rm -rf autom4te.cache
23120 maintainer-clean::
23121 rm -f configure include/config.h.in"
23124 as_fn_append wine_rules "
23125 dlls/ntdll/unix/version.c: dummy
23126 @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)
23127 programs/winetest/build.rc: dummy
23128 @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)
23129 programs/winetest/build.nfo:
23130 @-\$(CC) -v 2>\$@
23131 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
23132 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23133 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23136 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23138 as_fn_append wine_rules "
23139 TAGS etags:
23140 rm -f TAGS
23141 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23142 tags ctags:
23143 rm -f tags
23144 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23145 dummy:
23146 .PHONY: depend dummy install-manpages"
23148 printf "%s\n" " done" >&6
23149 cat >confcache <<\_ACEOF
23150 # This file is a shell script that caches the results of configure
23151 # tests run on this system so they can be shared between configure
23152 # scripts and configure runs, see configure's option --config-cache.
23153 # It is not useful on other systems. If it contains results you don't
23154 # want to keep, you may remove or edit it.
23156 # config.status only pays attention to the cache file if you give it
23157 # the --recheck option to rerun configure.
23159 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23160 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23161 # following values.
23163 _ACEOF
23165 # The following way of writing the cache mishandles newlines in values,
23166 # but we know of no workaround that is simple, portable, and efficient.
23167 # So, we kill variables containing newlines.
23168 # Ultrix sh set writes to stderr and can't be redirected directly,
23169 # and sets the high bit in the cache file unless we assign to the vars.
23171 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23172 eval ac_val=\$$ac_var
23173 case $ac_val in #(
23174 *${as_nl}*)
23175 case $ac_var in #(
23176 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23177 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23178 esac
23179 case $ac_var in #(
23180 _ | IFS | as_nl) ;; #(
23181 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23182 *) { eval $ac_var=; unset $ac_var;} ;;
23183 esac ;;
23184 esac
23185 done
23187 (set) 2>&1 |
23188 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23189 *${as_nl}ac_space=\ *)
23190 # `set' does not quote correctly, so add quotes: double-quote
23191 # substitution turns \\\\ into \\, and sed turns \\ into \.
23192 sed -n \
23193 "s/'/'\\\\''/g;
23194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23195 ;; #(
23197 # `set' quotes correctly as required by POSIX, so do not add quotes.
23198 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23200 esac |
23201 sort
23203 sed '
23204 /^ac_cv_env_/b end
23205 t clear
23206 :clear
23207 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23208 t end
23209 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23210 :end' >>confcache
23211 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23212 if test -w "$cache_file"; then
23213 if test "x$cache_file" != "x/dev/null"; then
23214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23215 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23216 if test ! -f "$cache_file" || test -h "$cache_file"; then
23217 cat confcache >"$cache_file"
23218 else
23219 case $cache_file in #(
23220 */* | ?:*)
23221 mv -f confcache "$cache_file"$$ &&
23222 mv -f "$cache_file"$$ "$cache_file" ;; #(
23224 mv -f confcache "$cache_file" ;;
23225 esac
23228 else
23229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23230 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23233 rm -f confcache
23235 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23236 # Let make expand exec_prefix.
23237 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23239 DEFS=-DHAVE_CONFIG_H
23241 ac_libobjs=
23242 ac_ltlibobjs=
23244 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23245 # 1. Remove the extension, and $U if already installed.
23246 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23247 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23248 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23249 # will be set to the directory where LIBOBJS objects are built.
23250 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23251 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23252 done
23253 LIBOBJS=$ac_libobjs
23255 LTLIBOBJS=$ac_ltlibobjs
23259 : "${CONFIG_STATUS=./config.status}"
23260 ac_write_fail=0
23261 ac_clean_files_save=$ac_clean_files
23262 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23264 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23265 as_write_fail=0
23266 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23267 #! $SHELL
23268 # Generated by $as_me.
23269 # Run this file to recreate the current configuration.
23270 # Compiler output produced by configure, useful for debugging
23271 # configure, is in config.log if it exists.
23273 debug=false
23274 ac_cs_recheck=false
23275 ac_cs_silent=false
23277 SHELL=\${CONFIG_SHELL-$SHELL}
23278 export SHELL
23279 _ASEOF
23280 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23281 ## -------------------- ##
23282 ## M4sh Initialization. ##
23283 ## -------------------- ##
23285 # Be more Bourne compatible
23286 DUALCASE=1; export DUALCASE # for MKS sh
23287 as_nop=:
23288 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23289 then :
23290 emulate sh
23291 NULLCMD=:
23292 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23293 # is contrary to our usage. Disable this feature.
23294 alias -g '${1+"$@"}'='"$@"'
23295 setopt NO_GLOB_SUBST
23296 else $as_nop
23297 case `(set -o) 2>/dev/null` in #(
23298 *posix*) :
23299 set -o posix ;; #(
23300 *) :
23302 esac
23307 # Reset variables that may have inherited troublesome values from
23308 # the environment.
23310 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23311 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23312 # side effect of setting IFS to empty, thus disabling word splitting.)
23313 # Quoting is to prevent editors from complaining about space-tab.
23314 as_nl='
23316 export as_nl
23317 IFS=" "" $as_nl"
23319 PS1='$ '
23320 PS2='> '
23321 PS4='+ '
23323 # Ensure predictable behavior from utilities with locale-dependent output.
23324 LC_ALL=C
23325 export LC_ALL
23326 LANGUAGE=C
23327 export LANGUAGE
23329 # We cannot yet rely on "unset" to work, but we need these variables
23330 # to be unset--not just set to an empty or harmless value--now, to
23331 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23332 # also avoids known problems related to "unset" and subshell syntax
23333 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23334 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23335 do eval test \${$as_var+y} \
23336 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23337 done
23339 # Ensure that fds 0, 1, and 2 are open.
23340 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23341 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23342 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23344 # The user is always right.
23345 if ${PATH_SEPARATOR+false} :; then
23346 PATH_SEPARATOR=:
23347 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23348 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23349 PATH_SEPARATOR=';'
23354 # Find who we are. Look in the path if we contain no directory separator.
23355 as_myself=
23356 case $0 in #((
23357 *[\\/]* ) as_myself=$0 ;;
23358 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23359 for as_dir in $PATH
23361 IFS=$as_save_IFS
23362 case $as_dir in #(((
23363 '') as_dir=./ ;;
23364 */) ;;
23365 *) as_dir=$as_dir/ ;;
23366 esac
23367 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23368 done
23369 IFS=$as_save_IFS
23372 esac
23373 # We did not find ourselves, most probably we were run as `sh COMMAND'
23374 # in which case we are not to be found in the path.
23375 if test "x$as_myself" = x; then
23376 as_myself=$0
23378 if test ! -f "$as_myself"; then
23379 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23380 exit 1
23385 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23386 # ----------------------------------------
23387 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23388 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23389 # script with STATUS, using 1 if that was 0.
23390 as_fn_error ()
23392 as_status=$1; test $as_status -eq 0 && as_status=1
23393 if test "$4"; then
23394 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23397 printf "%s\n" "$as_me: error: $2" >&2
23398 as_fn_exit $as_status
23399 } # as_fn_error
23403 # as_fn_set_status STATUS
23404 # -----------------------
23405 # Set $? to STATUS, without forking.
23406 as_fn_set_status ()
23408 return $1
23409 } # as_fn_set_status
23411 # as_fn_exit STATUS
23412 # -----------------
23413 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23414 as_fn_exit ()
23416 set +e
23417 as_fn_set_status $1
23418 exit $1
23419 } # as_fn_exit
23421 # as_fn_unset VAR
23422 # ---------------
23423 # Portably unset VAR.
23424 as_fn_unset ()
23426 { eval $1=; unset $1;}
23428 as_unset=as_fn_unset
23430 # as_fn_append VAR VALUE
23431 # ----------------------
23432 # Append the text in VALUE to the end of the definition contained in VAR. Take
23433 # advantage of any shell optimizations that allow amortized linear growth over
23434 # repeated appends, instead of the typical quadratic growth present in naive
23435 # implementations.
23436 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23437 then :
23438 eval 'as_fn_append ()
23440 eval $1+=\$2
23442 else $as_nop
23443 as_fn_append ()
23445 eval $1=\$$1\$2
23447 fi # as_fn_append
23449 # as_fn_arith ARG...
23450 # ------------------
23451 # Perform arithmetic evaluation on the ARGs, and store the result in the
23452 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23453 # must be portable across $(()) and expr.
23454 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23455 then :
23456 eval 'as_fn_arith ()
23458 as_val=$(( $* ))
23460 else $as_nop
23461 as_fn_arith ()
23463 as_val=`expr "$@" || test $? -eq 1`
23465 fi # as_fn_arith
23468 if expr a : '\(a\)' >/dev/null 2>&1 &&
23469 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23470 as_expr=expr
23471 else
23472 as_expr=false
23475 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23476 as_basename=basename
23477 else
23478 as_basename=false
23481 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23482 as_dirname=dirname
23483 else
23484 as_dirname=false
23487 as_me=`$as_basename -- "$0" ||
23488 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23489 X"$0" : 'X\(//\)$' \| \
23490 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23491 printf "%s\n" X/"$0" |
23492 sed '/^.*\/\([^/][^/]*\)\/*$/{
23493 s//\1/
23496 /^X\/\(\/\/\)$/{
23497 s//\1/
23500 /^X\/\(\/\).*/{
23501 s//\1/
23504 s/.*/./; q'`
23506 # Avoid depending upon Character Ranges.
23507 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23508 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23509 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23510 as_cr_digits='0123456789'
23511 as_cr_alnum=$as_cr_Letters$as_cr_digits
23514 # Determine whether it's possible to make 'echo' print without a newline.
23515 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23516 # for compatibility with existing Makefiles.
23517 ECHO_C= ECHO_N= ECHO_T=
23518 case `echo -n x` in #(((((
23519 -n*)
23520 case `echo 'xy\c'` in
23521 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23522 xy) ECHO_C='\c';;
23523 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23524 ECHO_T=' ';;
23525 esac;;
23527 ECHO_N='-n';;
23528 esac
23530 # For backward compatibility with old third-party macros, we provide
23531 # the shell variables $as_echo and $as_echo_n. New code should use
23532 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23533 as_echo='printf %s\n'
23534 as_echo_n='printf %s'
23536 rm -f conf$$ conf$$.exe conf$$.file
23537 if test -d conf$$.dir; then
23538 rm -f conf$$.dir/conf$$.file
23539 else
23540 rm -f conf$$.dir
23541 mkdir conf$$.dir 2>/dev/null
23543 if (echo >conf$$.file) 2>/dev/null; then
23544 if ln -s conf$$.file conf$$ 2>/dev/null; then
23545 as_ln_s='ln -s'
23546 # ... but there are two gotchas:
23547 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23548 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23549 # In both cases, we have to default to `cp -pR'.
23550 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23551 as_ln_s='cp -pR'
23552 elif ln conf$$.file conf$$ 2>/dev/null; then
23553 as_ln_s=ln
23554 else
23555 as_ln_s='cp -pR'
23557 else
23558 as_ln_s='cp -pR'
23560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23561 rmdir conf$$.dir 2>/dev/null
23564 # as_fn_mkdir_p
23565 # -------------
23566 # Create "$as_dir" as a directory, including parents if necessary.
23567 as_fn_mkdir_p ()
23570 case $as_dir in #(
23571 -*) as_dir=./$as_dir;;
23572 esac
23573 test -d "$as_dir" || eval $as_mkdir_p || {
23574 as_dirs=
23575 while :; do
23576 case $as_dir in #(
23577 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23578 *) as_qdir=$as_dir;;
23579 esac
23580 as_dirs="'$as_qdir' $as_dirs"
23581 as_dir=`$as_dirname -- "$as_dir" ||
23582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23583 X"$as_dir" : 'X\(//\)[^/]' \| \
23584 X"$as_dir" : 'X\(//\)$' \| \
23585 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23586 printf "%s\n" X"$as_dir" |
23587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23588 s//\1/
23591 /^X\(\/\/\)[^/].*/{
23592 s//\1/
23595 /^X\(\/\/\)$/{
23596 s//\1/
23599 /^X\(\/\).*/{
23600 s//\1/
23603 s/.*/./; q'`
23604 test -d "$as_dir" && break
23605 done
23606 test -z "$as_dirs" || eval "mkdir $as_dirs"
23607 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23610 } # as_fn_mkdir_p
23611 if mkdir -p . 2>/dev/null; then
23612 as_mkdir_p='mkdir -p "$as_dir"'
23613 else
23614 test -d ./-p && rmdir ./-p
23615 as_mkdir_p=false
23619 # as_fn_executable_p FILE
23620 # -----------------------
23621 # Test if FILE is an executable regular file.
23622 as_fn_executable_p ()
23624 test -f "$1" && test -x "$1"
23625 } # as_fn_executable_p
23626 as_test_x='test -x'
23627 as_executable_p=as_fn_executable_p
23629 # Sed expression to map a string onto a valid CPP name.
23630 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23632 # Sed expression to map a string onto a valid variable name.
23633 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23636 exec 6>&1
23637 ## ----------------------------------- ##
23638 ## Main body of $CONFIG_STATUS script. ##
23639 ## ----------------------------------- ##
23640 _ASEOF
23641 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23644 # Save the log message, to keep $0 and so on meaningful, and to
23645 # report actual input values of CONFIG_FILES etc. instead of their
23646 # values after options handling.
23647 ac_log="
23648 This file was extended by Wine $as_me 9.8, which was
23649 generated by GNU Autoconf 2.71. Invocation command line was
23651 CONFIG_FILES = $CONFIG_FILES
23652 CONFIG_HEADERS = $CONFIG_HEADERS
23653 CONFIG_LINKS = $CONFIG_LINKS
23654 CONFIG_COMMANDS = $CONFIG_COMMANDS
23655 $ $0 $@
23657 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23660 _ACEOF
23663 case $ac_config_headers in *"
23664 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23665 esac
23668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23669 # Files that config.status was made for.
23670 config_headers="$ac_config_headers"
23671 config_links="$ac_config_links"
23672 config_commands="$ac_config_commands"
23674 _ACEOF
23676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23677 ac_cs_usage="\
23678 \`$as_me' instantiates files and other configuration actions
23679 from templates according to the current configuration. Unless the files
23680 and actions are specified as TAGs, all are instantiated by default.
23682 Usage: $0 [OPTION]... [TAG]...
23684 -h, --help print this help, then exit
23685 -V, --version print version number and configuration settings, then exit
23686 --config print configuration, then exit
23687 -q, --quiet, --silent
23688 do not print progress messages
23689 -d, --debug don't remove temporary files
23690 --recheck update $as_me by reconfiguring in the same conditions
23691 --header=FILE[:TEMPLATE]
23692 instantiate the configuration header FILE
23694 Configuration headers:
23695 $config_headers
23697 Configuration links:
23698 $config_links
23700 Configuration commands:
23701 $config_commands
23703 Report bugs to <wine-devel@winehq.org>.
23704 Wine home page: <https://www.winehq.org>."
23706 _ACEOF
23707 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23708 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23710 ac_cs_config='$ac_cs_config_escaped'
23711 ac_cs_version="\\
23712 Wine config.status 9.8
23713 configured by $0, generated by GNU Autoconf 2.71,
23714 with options \\"\$ac_cs_config\\"
23716 Copyright (C) 2021 Free Software Foundation, Inc.
23717 This config.status script is free software; the Free Software Foundation
23718 gives unlimited permission to copy, distribute and modify it."
23720 ac_pwd='$ac_pwd'
23721 srcdir='$srcdir'
23722 test -n "\$AWK" || AWK=awk
23723 _ACEOF
23725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23726 # The default lists apply if the user does not specify any file.
23727 ac_need_defaults=:
23728 while test $# != 0
23730 case $1 in
23731 --*=?*)
23732 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23733 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23734 ac_shift=:
23736 --*=)
23737 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23738 ac_optarg=
23739 ac_shift=:
23742 ac_option=$1
23743 ac_optarg=$2
23744 ac_shift=shift
23746 esac
23748 case $ac_option in
23749 # Handling of the options.
23750 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23751 ac_cs_recheck=: ;;
23752 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23753 printf "%s\n" "$ac_cs_version"; exit ;;
23754 --config | --confi | --conf | --con | --co | --c )
23755 printf "%s\n" "$ac_cs_config"; exit ;;
23756 --debug | --debu | --deb | --de | --d | -d )
23757 debug=: ;;
23758 --header | --heade | --head | --hea )
23759 $ac_shift
23760 case $ac_optarg in
23761 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23762 esac
23763 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23764 ac_need_defaults=false;;
23765 --he | --h)
23766 # Conflict between --help and --header
23767 as_fn_error $? "ambiguous option: \`$1'
23768 Try \`$0 --help' for more information.";;
23769 --help | --hel | -h )
23770 printf "%s\n" "$ac_cs_usage"; exit ;;
23771 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23772 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23773 ac_cs_silent=: ;;
23775 # This is an error.
23776 -*) as_fn_error $? "unrecognized option: \`$1'
23777 Try \`$0 --help' for more information." ;;
23779 *) as_fn_append ac_config_targets " $1"
23780 ac_need_defaults=false ;;
23782 esac
23783 shift
23784 done
23786 ac_configure_extra_args=
23788 if $ac_cs_silent; then
23789 exec 6>/dev/null
23790 ac_configure_extra_args="$ac_configure_extra_args --silent"
23793 _ACEOF
23794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23795 if \$ac_cs_recheck; then
23796 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23797 shift
23798 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23799 CONFIG_SHELL='$SHELL'
23800 export CONFIG_SHELL
23801 exec "\$@"
23804 _ACEOF
23805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23806 exec 5>>config.log
23808 echo
23809 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23810 ## Running $as_me. ##
23811 _ASBOX
23812 printf "%s\n" "$ac_log"
23813 } >&5
23815 _ACEOF
23816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23818 # INIT-COMMANDS
23820 wine_fn_output_makedep ()
23822 as_dir=tools; as_fn_mkdir_p
23823 $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
23825 wine_fn_output_makefile ()
23827 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23828 # This Makefile understands the following targets:
23830 # all (default): build wine
23831 # clean: remove all intermediate files
23832 # distclean: also remove all files created by configure
23833 # test: run tests
23834 # testclean: clean test results to force running all tests again
23835 # install-lib: install libraries needed to run applications
23836 # install-dev: install development environment
23837 # install: install everything
23838 # uninstall: uninstall everything
23839 # ctags: create a tags file for vim and others.
23840 # etags: create a TAGS file for Emacs.
23842 SHELL = $SHELL
23843 PATH_SEPARATOR = $PATH_SEPARATOR
23844 PACKAGE_NAME = $PACKAGE_NAME
23845 PACKAGE_TARNAME = $PACKAGE_TARNAME
23846 PACKAGE_VERSION = $PACKAGE_VERSION
23847 PACKAGE_STRING = $PACKAGE_STRING
23848 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23849 PACKAGE_URL = $PACKAGE_URL
23850 exec_prefix = $exec_prefix
23851 prefix = $prefix
23852 program_transform_name = $program_transform_name
23853 bindir = $bindir
23854 sbindir = $sbindir
23855 libexecdir = $libexecdir
23856 datarootdir = $datarootdir
23857 datadir = $datadir
23858 sysconfdir = $sysconfdir
23859 sharedstatedir = $sharedstatedir
23860 localstatedir = $localstatedir
23861 runstatedir = $runstatedir
23862 includedir = $includedir
23863 oldincludedir = $oldincludedir
23864 docdir = $docdir
23865 infodir = $infodir
23866 htmldir = $htmldir
23867 dvidir = $dvidir
23868 pdfdir = $pdfdir
23869 psdir = $psdir
23870 libdir = $libdir
23871 localedir = $localedir
23872 mandir = $mandir
23873 DEFS = $DEFS
23874 ECHO_C = $ECHO_C
23875 ECHO_N = $ECHO_N
23876 ECHO_T = $ECHO_T
23877 LIBS = $LIBS
23878 build_alias = $build_alias
23879 host_alias = $host_alias
23880 target_alias = $target_alias
23881 system_dllpath = $system_dllpath
23882 build = $build
23883 build_cpu = $build_cpu
23884 build_vendor = $build_vendor
23885 build_os = $build_os
23886 host = $host
23887 host_cpu = $host_cpu
23888 host_vendor = $host_vendor
23889 host_os = $host_os
23890 dlldir = $dlldir
23891 fontdir = $fontdir
23892 nlsdir = $nlsdir
23893 srcdir = $srcdir
23894 SET_MAKE = $SET_MAKE
23895 CC = $CC
23896 CFLAGS = $CFLAGS
23897 LDFLAGS = $LDFLAGS
23898 CPPFLAGS = $CPPFLAGS
23899 ac_ct_CC = $ac_ct_CC
23900 EXEEXT = $EXEEXT
23901 OBJEXT = $OBJEXT
23902 CXX = $CXX
23903 CXXFLAGS = $CXXFLAGS
23904 ac_ct_CXX = $ac_ct_CXX
23905 CPPBIN = $CPPBIN
23906 LD = $LD
23907 TARGETFLAGS = $TARGETFLAGS
23908 toolsext = $toolsext
23909 HOST_ARCH = $HOST_ARCH
23910 aarch64_CC = $aarch64_CC
23911 aarch64_CFLAGS = $aarch64_CFLAGS
23912 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23913 aarch64_LDFLAGS = $aarch64_LDFLAGS
23914 aarch64_DEBUG = $aarch64_DEBUG
23915 aarch64_TARGET = $aarch64_TARGET
23916 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23917 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23918 arm_CC = $arm_CC
23919 arm_CFLAGS = $arm_CFLAGS
23920 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23921 arm_LDFLAGS = $arm_LDFLAGS
23922 arm_DEBUG = $arm_DEBUG
23923 arm_TARGET = $arm_TARGET
23924 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23925 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23926 arm64ec_CC = $arm64ec_CC
23927 arm64ec_CFLAGS = $arm64ec_CFLAGS
23928 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23929 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23930 arm64ec_DEBUG = $arm64ec_DEBUG
23931 arm64ec_TARGET = $arm64ec_TARGET
23932 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23933 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23934 i386_CC = $i386_CC
23935 i386_CFLAGS = $i386_CFLAGS
23936 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23937 i386_LDFLAGS = $i386_LDFLAGS
23938 i386_DEBUG = $i386_DEBUG
23939 i386_TARGET = $i386_TARGET
23940 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23941 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23942 x86_64_CC = $x86_64_CC
23943 x86_64_CFLAGS = $x86_64_CFLAGS
23944 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23945 x86_64_LDFLAGS = $x86_64_LDFLAGS
23946 x86_64_DEBUG = $x86_64_DEBUG
23947 x86_64_TARGET = $x86_64_TARGET
23948 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23949 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23950 toolsdir = $toolsdir
23951 MAKEDEP = $MAKEDEP
23952 RUNTESTFLAGS = $RUNTESTFLAGS
23953 SED_CMD = $SED_CMD
23954 FLEX = $FLEX
23955 BISON = $BISON
23956 AR = $AR
23957 ac_ct_AR = $ac_ct_AR
23958 STRIP = $STRIP
23959 RANLIB = $RANLIB
23960 LN_S = $LN_S
23961 GREP = $GREP
23962 EGREP = $EGREP
23963 LDCONFIG = $LDCONFIG
23964 MSGFMT = $MSGFMT
23965 PKG_CONFIG = $PKG_CONFIG
23966 FONTFORGE = $FONTFORGE
23967 RSVG = $RSVG
23968 CONVERT = $CONVERT
23969 ICOTOOL = $ICOTOOL
23970 I386_LIBS = $I386_LIBS
23971 OPENGL_LIBS = $OPENGL_LIBS
23972 DLLFLAGS = $DLLFLAGS
23973 LDDLLFLAGS = $LDDLLFLAGS
23974 LDEXECFLAGS = $LDEXECFLAGS
23975 EXTRACFLAGS = $EXTRACFLAGS
23976 UNIXDLLFLAGS = $UNIXDLLFLAGS
23977 UNIXLDFLAGS = $UNIXLDFLAGS
23978 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23979 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23980 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23981 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23982 DLLEXT = $DLLEXT
23983 LDD = $LDD
23984 OTOOL = $OTOOL
23985 READELF = $READELF
23986 SUBDIRS = $SUBDIRS
23987 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23988 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23989 CARBON_LIBS = $CARBON_LIBS
23990 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23991 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23992 IOKIT_LIBS = $IOKIT_LIBS
23993 METAL_LIBS = $METAL_LIBS
23994 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23995 CORESERVICES_LIBS = $CORESERVICES_LIBS
23996 APPKIT_LIBS = $APPKIT_LIBS
23997 SECURITY_LIBS = $SECURITY_LIBS
23998 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23999 COREAUDIO_LIBS = $COREAUDIO_LIBS
24000 OPENCL_LIBS = $OPENCL_LIBS
24001 OBJC = $OBJC
24002 OBJCFLAGS = $OBJCFLAGS
24003 ac_ct_OBJC = $ac_ct_OBJC
24004 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
24005 PE_ARCHS = $PE_ARCHS
24006 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
24007 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
24008 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
24009 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
24010 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
24011 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
24012 GSM_PE_LIBS = $GSM_PE_LIBS
24013 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
24014 JPEG_PE_LIBS = $JPEG_PE_LIBS
24015 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
24016 JXR_PE_LIBS = $JXR_PE_LIBS
24017 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
24018 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
24019 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
24020 LDAP_PE_LIBS = $LDAP_PE_LIBS
24021 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24022 MPG123_PE_LIBS = $MPG123_PE_LIBS
24023 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24024 MUSL_PE_LIBS = $MUSL_PE_LIBS
24025 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24026 PNG_PE_LIBS = $PNG_PE_LIBS
24027 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24028 TIFF_PE_LIBS = $TIFF_PE_LIBS
24029 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24030 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24031 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24032 XML2_PE_LIBS = $XML2_PE_LIBS
24033 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24034 XSLT_PE_LIBS = $XSLT_PE_LIBS
24035 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24036 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24037 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24038 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24039 PTHREAD_LIBS = $PTHREAD_LIBS
24040 XMKMF = $XMKMF
24041 CPP = $CPP
24042 X_CFLAGS = $X_CFLAGS
24043 X_PRE_LIBS = $X_PRE_LIBS
24044 X_LIBS = $X_LIBS
24045 X_EXTRA_LIBS = $X_EXTRA_LIBS
24046 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24047 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24048 WAYLAND_SCANNER = $WAYLAND_SCANNER
24049 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24050 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24051 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24052 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24053 EGL_CFLAGS = $EGL_CFLAGS
24054 EGL_LIBS = $EGL_LIBS
24055 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24056 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24057 PCAP_LIBS = $PCAP_LIBS
24058 PCSCLITE_LIBS = $PCSCLITE_LIBS
24059 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24060 INOTIFY_LIBS = $INOTIFY_LIBS
24061 DBUS_CFLAGS = $DBUS_CFLAGS
24062 DBUS_LIBS = $DBUS_LIBS
24063 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24064 GNUTLS_LIBS = $GNUTLS_LIBS
24065 SANE_CFLAGS = $SANE_CFLAGS
24066 SANE_LIBS = $SANE_LIBS
24067 USB_CFLAGS = $USB_CFLAGS
24068 USB_LIBS = $USB_LIBS
24069 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24070 GPHOTO2_LIBS = $GPHOTO2_LIBS
24071 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24072 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24073 RESOLV_LIBS = $RESOLV_LIBS
24074 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24075 FREETYPE_LIBS = $FREETYPE_LIBS
24076 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24077 PULSE_CFLAGS = $PULSE_CFLAGS
24078 PULSE_LIBS = $PULSE_LIBS
24079 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24080 GSTREAMER_LIBS = $GSTREAMER_LIBS
24081 ALSA_LIBS = $ALSA_LIBS
24082 OSS4_CFLAGS = $OSS4_CFLAGS
24083 OSS4_LIBS = $OSS4_LIBS
24084 UDEV_CFLAGS = $UDEV_CFLAGS
24085 UDEV_LIBS = $UDEV_LIBS
24086 UNWIND_CFLAGS = $UNWIND_CFLAGS
24087 UNWIND_LIBS = $UNWIND_LIBS
24088 SDL2_CFLAGS = $SDL2_CFLAGS
24089 SDL2_LIBS = $SDL2_LIBS
24090 CAPI20_CFLAGS = $CAPI20_CFLAGS
24091 CAPI20_LIBS = $CAPI20_LIBS
24092 CUPS_CFLAGS = $CUPS_CFLAGS
24093 CUPS_LIBS = $CUPS_LIBS
24094 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24095 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24096 KRB5_CFLAGS = $KRB5_CFLAGS
24097 KRB5_LIBS = $KRB5_LIBS
24098 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24099 GSSAPI_LIBS = $GSSAPI_LIBS
24100 PROCSTAT_LIBS = $PROCSTAT_LIBS
24101 NETAPI_CFLAGS = $NETAPI_CFLAGS
24102 NETAPI_LIBS = $NETAPI_LIBS
24103 MSVCRTFLAGS = $MSVCRTFLAGS
24104 DELAYLOADFLAG = $DELAYLOADFLAG
24105 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24106 RT_LIBS = $RT_LIBS
24107 TAGSFLAGS = $TAGSFLAGS
24108 LIBOBJS = $LIBOBJS
24109 LTLIBOBJS = $LTLIBOBJS
24110 $SET_MAKE
24111 $wine_rules
24112 _WINE_EOF
24113 as_fn_error $? "could not create Makefile" "$LINENO" 5
24116 _ACEOF
24118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24120 # Handling of arguments.
24121 for ac_config_target in $ac_config_targets
24123 case $ac_config_target in
24124 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24125 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24126 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
24127 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24128 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
24129 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
24131 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24132 esac
24133 done
24136 # If the user did not use the arguments to specify the items to instantiate,
24137 # then the envvar interface is used. Set only those that are not.
24138 # We use the long form for the default assignment because of an extremely
24139 # bizarre bug on SunOS 4.1.3.
24140 if $ac_need_defaults; then
24141 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
24142 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
24143 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
24146 # Have a temporary directory for convenience. Make it in the build tree
24147 # simply because there is no reason against having it here, and in addition,
24148 # creating and moving files from /tmp can sometimes cause problems.
24149 # Hook for its removal unless debugging.
24150 # Note that there is a small window in which the directory will not be cleaned:
24151 # after its creation but before its name has been assigned to `$tmp'.
24152 $debug ||
24154 tmp= ac_tmp=
24155 trap 'exit_status=$?
24156 : "${ac_tmp:=$tmp}"
24157 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24159 trap 'as_fn_exit 1' 1 2 13 15
24161 # Create a (secure) tmp directory for tmp files.
24164 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24165 test -d "$tmp"
24166 } ||
24168 tmp=./conf$$-$RANDOM
24169 (umask 077 && mkdir "$tmp")
24170 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24171 ac_tmp=$tmp
24173 # Set up the scripts for CONFIG_HEADERS section.
24174 # No need to generate them if there are no CONFIG_HEADERS.
24175 # This happens for instance with `./config.status Makefile'.
24176 if test -n "$CONFIG_HEADERS"; then
24177 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24178 BEGIN {
24179 _ACEOF
24181 # Transform confdefs.h into an awk script `defines.awk', embedded as
24182 # here-document in config.status, that substitutes the proper values into
24183 # config.h.in to produce config.h.
24185 # Create a delimiter string that does not exist in confdefs.h, to ease
24186 # handling of long lines.
24187 ac_delim='%!_!# '
24188 for ac_last_try in false false :; do
24189 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24190 if test -z "$ac_tt"; then
24191 break
24192 elif $ac_last_try; then
24193 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24194 else
24195 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24197 done
24199 # For the awk script, D is an array of macro values keyed by name,
24200 # likewise P contains macro parameters if any. Preserve backslash
24201 # newline sequences.
24203 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24204 sed -n '
24205 s/.\{148\}/&'"$ac_delim"'/g
24206 t rset
24207 :rset
24208 s/^[ ]*#[ ]*define[ ][ ]*/ /
24209 t def
24211 :def
24212 s/\\$//
24213 t bsnl
24214 s/["\\]/\\&/g
24215 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24216 D["\1"]=" \3"/p
24217 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24219 :bsnl
24220 s/["\\]/\\&/g
24221 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24222 D["\1"]=" \3\\\\\\n"\\/p
24223 t cont
24224 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24225 t cont
24227 :cont
24229 s/.\{148\}/&'"$ac_delim"'/g
24230 t clear
24231 :clear
24232 s/\\$//
24233 t bsnlc
24234 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24236 :bsnlc
24237 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24238 b cont
24239 ' <confdefs.h | sed '
24240 s/'"$ac_delim"'/"\\\
24241 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24244 for (key in D) D_is_set[key] = 1
24245 FS = "\a"
24247 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24248 line = \$ 0
24249 split(line, arg, " ")
24250 if (arg[1] == "#") {
24251 defundef = arg[2]
24252 mac1 = arg[3]
24253 } else {
24254 defundef = substr(arg[1], 2)
24255 mac1 = arg[2]
24257 split(mac1, mac2, "(") #)
24258 macro = mac2[1]
24259 prefix = substr(line, 1, index(line, defundef) - 1)
24260 if (D_is_set[macro]) {
24261 # Preserve the white space surrounding the "#".
24262 print prefix "define", macro P[macro] D[macro]
24263 next
24264 } else {
24265 # Replace #undef with comments. This is necessary, for example,
24266 # in the case of _POSIX_SOURCE, which is predefined and required
24267 # on some systems where configure will not decide to define it.
24268 if (defundef == "undef") {
24269 print "/*", prefix defundef, macro, "*/"
24270 next
24274 { print }
24275 _ACAWK
24276 _ACEOF
24277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24278 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24279 fi # test -n "$CONFIG_HEADERS"
24282 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24283 shift
24284 for ac_tag
24286 case $ac_tag in
24287 :[FHLC]) ac_mode=$ac_tag; continue;;
24288 esac
24289 case $ac_mode$ac_tag in
24290 :[FHL]*:*);;
24291 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24292 :[FH]-) ac_tag=-:-;;
24293 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24294 esac
24295 ac_save_IFS=$IFS
24296 IFS=:
24297 set x $ac_tag
24298 IFS=$ac_save_IFS
24299 shift
24300 ac_file=$1
24301 shift
24303 case $ac_mode in
24304 :L) ac_source=$1;;
24305 :[FH])
24306 ac_file_inputs=
24307 for ac_f
24309 case $ac_f in
24310 -) ac_f="$ac_tmp/stdin";;
24311 *) # Look for the file first in the build tree, then in the source tree
24312 # (if the path is not absolute). The absolute path cannot be DOS-style,
24313 # because $ac_f cannot contain `:'.
24314 test -f "$ac_f" ||
24315 case $ac_f in
24316 [\\/$]*) false;;
24317 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24318 esac ||
24319 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24320 esac
24321 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24322 as_fn_append ac_file_inputs " '$ac_f'"
24323 done
24325 # Let's still pretend it is `configure' which instantiates (i.e., don't
24326 # use $as_me), people would be surprised to read:
24327 # /* config.h. Generated by config.status. */
24328 configure_input='Generated from '`
24329 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24330 `' by configure.'
24331 if test x"$ac_file" != x-; then
24332 configure_input="$ac_file. $configure_input"
24333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24334 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24336 # Neutralize special characters interpreted by sed in replacement strings.
24337 case $configure_input in #(
24338 *\&* | *\|* | *\\* )
24339 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24340 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24341 *) ac_sed_conf_input=$configure_input;;
24342 esac
24344 case $ac_tag in
24345 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24346 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24347 esac
24349 esac
24351 ac_dir=`$as_dirname -- "$ac_file" ||
24352 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24353 X"$ac_file" : 'X\(//\)[^/]' \| \
24354 X"$ac_file" : 'X\(//\)$' \| \
24355 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24356 printf "%s\n" X"$ac_file" |
24357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24358 s//\1/
24361 /^X\(\/\/\)[^/].*/{
24362 s//\1/
24365 /^X\(\/\/\)$/{
24366 s//\1/
24369 /^X\(\/\).*/{
24370 s//\1/
24373 s/.*/./; q'`
24374 as_dir="$ac_dir"; as_fn_mkdir_p
24375 ac_builddir=.
24377 case "$ac_dir" in
24378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24380 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24381 # A ".." for each directory in $ac_dir_suffix.
24382 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24383 case $ac_top_builddir_sub in
24384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24386 esac ;;
24387 esac
24388 ac_abs_top_builddir=$ac_pwd
24389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24390 # for backward compatibility:
24391 ac_top_builddir=$ac_top_build_prefix
24393 case $srcdir in
24394 .) # We are building in place.
24395 ac_srcdir=.
24396 ac_top_srcdir=$ac_top_builddir_sub
24397 ac_abs_top_srcdir=$ac_pwd ;;
24398 [\\/]* | ?:[\\/]* ) # Absolute name.
24399 ac_srcdir=$srcdir$ac_dir_suffix;
24400 ac_top_srcdir=$srcdir
24401 ac_abs_top_srcdir=$srcdir ;;
24402 *) # Relative name.
24403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24404 ac_top_srcdir=$ac_top_build_prefix$srcdir
24405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24406 esac
24407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24410 case $ac_mode in
24414 # CONFIG_HEADER
24416 if test x"$ac_file" != x-; then
24418 printf "%s\n" "/* $configure_input */" >&1 \
24419 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24420 } >"$ac_tmp/config.h" \
24421 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24422 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24424 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24425 else
24426 rm -f "$ac_file"
24427 mv "$ac_tmp/config.h" "$ac_file" \
24428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24430 else
24431 printf "%s\n" "/* $configure_input */" >&1 \
24432 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24433 || as_fn_error $? "could not create -" "$LINENO" 5
24438 # CONFIG_LINK
24441 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24443 else
24444 # Prefer the file from the source tree if names are identical.
24445 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24446 ac_source=$srcdir/$ac_source
24449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24450 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24452 if test ! -r "$ac_source"; then
24453 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24455 rm -f "$ac_file"
24457 # Try a relative symlink, then a hard link, then a copy.
24458 case $ac_source in
24459 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24460 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24461 esac
24462 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24463 ln "$ac_source" "$ac_file" 2>/dev/null ||
24464 cp -p "$ac_source" "$ac_file" ||
24465 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24468 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24469 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24471 esac
24474 case $ac_file$ac_mode in
24475 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24476 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24477 "Makefile":C) wine_fn_output_makefile Makefile ;;
24479 esac
24480 done # for ac_tag
24483 as_fn_exit 0
24484 _ACEOF
24485 ac_clean_files=$ac_clean_files_save
24487 test $ac_write_fail = 0 ||
24488 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24491 # configure is writing to config.log, and then calls config.status.
24492 # config.status does its own redirection, appending to config.log.
24493 # Unfortunately, on DOS this fails, as config.log is still kept open
24494 # by configure, so config.status won't be able to write to it; its
24495 # output is simply discarded. So we exec the FD to /dev/null,
24496 # effectively closing config.log, so it can be properly (re)opened and
24497 # appended to by config.status. When coming back to configure, we
24498 # need to make the FD available again.
24499 if test "$no_create" != yes; then
24500 ac_cs_success=:
24501 ac_config_status_args=
24502 test "$silent" = yes &&
24503 ac_config_status_args="$ac_config_status_args --quiet"
24504 exec 5>/dev/null
24505 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24506 exec 5>>config.log
24507 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24508 # would make configure fail if this is the last instruction.
24509 $ac_cs_success || as_fn_exit 1
24511 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24513 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24517 if test "$no_create" = "yes"
24518 then
24519 exit 0
24522 ac_save_IFS="$IFS"
24523 if test "x$wine_notices" != x; then
24524 echo >&6
24525 IFS="|"
24526 for msg in $wine_notices; do
24527 IFS="$ac_save_IFS"
24528 if ${msg:+false} :
24529 then :
24531 else $as_nop
24532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24533 printf "%s\n" "$as_me: $msg" >&6;}
24535 done
24537 IFS="|"
24538 for msg in $wine_warnings; do
24539 IFS="$ac_save_IFS"
24540 if ${msg:+false} :
24541 then :
24543 else $as_nop
24544 echo >&2
24545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24546 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24548 done
24549 IFS="$ac_save_IFS"
24551 printf "%s\n" "
24552 $as_me: Finished. Do '${ac_make}' to compile Wine.
24553 " >&6