include: Add IFACEMETHOD macros.
[wine.git] / configure
blob8a49c0cde67d6dc727de5cf3676922f051775f30
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.9.
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.9'
615 PACKAGE_STRING='Wine 9.9'
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 ODBC_LIBS
704 ODBC_CFLAGS
705 PCSCLITE_LIBS
706 PCAP_LIBS
707 WAYLAND_EGL_LIBS
708 WAYLAND_EGL_CFLAGS
709 EGL_LIBS
710 EGL_CFLAGS
711 XKBREGISTRY_LIBS
712 XKBREGISTRY_CFLAGS
713 XKBCOMMON_LIBS
714 XKBCOMMON_CFLAGS
715 WAYLAND_SCANNER
716 WAYLAND_CLIENT_LIBS
717 WAYLAND_CLIENT_CFLAGS
718 X_EXTRA_LIBS
719 X_LIBS
720 X_PRE_LIBS
721 X_CFLAGS
723 XMKMF
724 PTHREAD_LIBS
725 ZYDIS_PE_LIBS
726 ZYDIS_PE_CFLAGS
727 ZLIB_PE_LIBS
728 ZLIB_PE_CFLAGS
729 XSLT_PE_LIBS
730 XSLT_PE_CFLAGS
731 XML2_PE_LIBS
732 XML2_PE_CFLAGS
733 VKD3D_PE_LIBS
734 VKD3D_PE_CFLAGS
735 TIFF_PE_LIBS
736 TIFF_PE_CFLAGS
737 PNG_PE_LIBS
738 PNG_PE_CFLAGS
739 MUSL_PE_LIBS
740 MUSL_PE_CFLAGS
741 MPG123_PE_LIBS
742 MPG123_PE_CFLAGS
743 LDAP_PE_LIBS
744 LDAP_PE_CFLAGS
745 LCMS2_PE_LIBS
746 LCMS2_PE_CFLAGS
747 JXR_PE_LIBS
748 JXR_PE_CFLAGS
749 JPEG_PE_LIBS
750 JPEG_PE_CFLAGS
751 GSM_PE_LIBS
752 GSM_PE_CFLAGS
753 FLUIDSYNTH_PE_LIBS
754 FLUIDSYNTH_PE_CFLAGS
755 FAUDIO_PE_LIBS
756 FAUDIO_PE_CFLAGS
757 MINGW_PKG_CONFIG
758 PE_ARCHS
759 WINELOADER_DEPENDS
760 ac_ct_OBJC
761 OBJCFLAGS
762 OBJC
763 OPENCL_LIBS
764 COREAUDIO_LIBS
765 SYSTEMCONFIGURATION_LIBS
766 SECURITY_LIBS
767 APPKIT_LIBS
768 CORESERVICES_LIBS
769 APPLICATIONSERVICES_LIBS
770 METAL_LIBS
771 IOKIT_LIBS
772 DISKARBITRATION_LIBS
773 COREFOUNDATION_LIBS
774 CARBON_LIBS
775 CONFIGURE_TARGETS
776 DISABLED_SUBDIRS
777 SUBDIRS
778 READELF
779 OTOOL
781 DLLEXT
782 WINEPRELOADER_LDFLAGS
783 WINELOADER_LDFLAGS
784 TOP_INSTALL_DEV
785 TOP_INSTALL_LIB
786 UNIXLDFLAGS
787 UNIXDLLFLAGS
788 EXTRACFLAGS
789 LDEXECFLAGS
790 LDDLLFLAGS
791 DLLFLAGS
792 OPENGL_LIBS
793 I386_LIBS
794 ICOTOOL
795 CONVERT
796 RSVG
797 FONTFORGE
798 PKG_CONFIG
799 MSGFMT
800 LDCONFIG
801 EGREP
802 GREP
803 LN_S
804 RANLIB
805 STRIP
806 ac_ct_AR
808 BISON
809 FLEX
810 SED_CMD
811 RUNTESTFLAGS
812 MAKEDEP
813 toolsdir
814 x86_64_DISABLED_SUBDIRS
815 x86_64_DELAYLOADFLAG
816 x86_64_TARGET
817 x86_64_DEBUG
818 x86_64_LDFLAGS
819 x86_64_EXTRACFLAGS
820 x86_64_CFLAGS
821 x86_64_CC
822 i386_DISABLED_SUBDIRS
823 i386_DELAYLOADFLAG
824 i386_TARGET
825 i386_DEBUG
826 i386_LDFLAGS
827 i386_EXTRACFLAGS
828 i386_CFLAGS
829 i386_CC
830 arm64ec_DISABLED_SUBDIRS
831 arm64ec_DELAYLOADFLAG
832 arm64ec_TARGET
833 arm64ec_DEBUG
834 arm64ec_LDFLAGS
835 arm64ec_EXTRACFLAGS
836 arm64ec_CFLAGS
837 arm64ec_CC
838 arm_DISABLED_SUBDIRS
839 arm_DELAYLOADFLAG
840 arm_TARGET
841 arm_DEBUG
842 arm_LDFLAGS
843 arm_EXTRACFLAGS
844 arm_CFLAGS
845 arm_CC
846 aarch64_DISABLED_SUBDIRS
847 aarch64_DELAYLOADFLAG
848 aarch64_TARGET
849 aarch64_DEBUG
850 aarch64_LDFLAGS
851 aarch64_EXTRACFLAGS
852 aarch64_CFLAGS
853 aarch64_CC
854 HOST_ARCH
855 toolsext
856 TARGETFLAGS
858 CPPBIN
859 ac_ct_CXX
860 CXXFLAGS
862 OBJEXT
863 EXEEXT
864 ac_ct_CC
865 CPPFLAGS
866 LDFLAGS
867 CFLAGS
869 SET_MAKE
870 srcdir
871 nlsdir
872 fontdir
873 dlldir
874 host_os
875 host_vendor
876 host_cpu
877 host
878 build_os
879 build_vendor
880 build_cpu
881 build
882 system_dllpath
883 target_alias
884 host_alias
885 build_alias
886 LIBS
887 ECHO_T
888 ECHO_N
889 ECHO_C
890 DEFS
891 mandir
892 localedir
893 libdir
894 psdir
895 pdfdir
896 dvidir
897 htmldir
898 infodir
899 docdir
900 oldincludedir
901 includedir
902 runstatedir
903 localstatedir
904 sharedstatedir
905 sysconfdir
906 datadir
907 datarootdir
908 libexecdir
909 sbindir
910 bindir
911 program_transform_name
912 prefix
913 exec_prefix
914 PACKAGE_URL
915 PACKAGE_BUGREPORT
916 PACKAGE_STRING
917 PACKAGE_VERSION
918 PACKAGE_TARNAME
919 PACKAGE_NAME
920 PATH_SEPARATOR
921 SHELL'
922 ac_subst_files=''
923 ac_user_opts='
924 enable_option_checking
925 enable_archs
926 enable_win16
927 enable_win64
928 enable_tests
929 enable_build_id
930 enable_maintainer_mode
931 enable_silent_rules
932 enable_werror
933 with_alsa
934 with_capi
935 with_coreaudio
936 with_cups
937 with_dbus
938 with_fontconfig
939 with_freetype
940 with_gettext
941 with_gettextpo
942 with_gphoto
943 with_gnutls
944 with_gssapi
945 with_gstreamer
946 with_inotify
947 with_krb5
948 with_mingw
949 with_netapi
950 with_odbc
951 with_opencl
952 with_opengl
953 with_osmesa
954 with_oss
955 with_pcap
956 with_pcsclite
957 with_pthread
958 with_pulse
959 with_sane
960 with_sdl
961 with_udev
962 with_unwind
963 with_usb
964 with_v4l2
965 with_vulkan
966 with_wayland
967 with_xcomposite
968 with_xcursor
969 with_xfixes
970 with_xinerama
971 with_xinput
972 with_xinput2
973 with_xrandr
974 with_xrender
975 with_xshape
976 with_xshm
977 with_xxf86vm
978 with_system_dllpath
979 with_wine_tools
980 with_wine64
981 enable_largefile
982 with_x
983 enable_acledit
984 enable_aclui
985 enable_activeds_tlb
986 enable_activeds
987 enable_actxprxy
988 enable_adsldp
989 enable_adsldpc
990 enable_advapi32
991 enable_advpack
992 enable_amsi
993 enable_amstream
994 enable_apisetschema
995 enable_apphelp
996 enable_appwiz_cpl
997 enable_appxdeploymentclient
998 enable_atl
999 enable_atl100
1000 enable_atl110
1001 enable_atl80
1002 enable_atl90
1003 enable_atlthunk
1004 enable_atmlib
1005 enable_authz
1006 enable_avicap32
1007 enable_avifil32
1008 enable_avrt
1009 enable_bcrypt
1010 enable_bcryptprimitives
1011 enable_bluetoothapis
1012 enable_browseui
1013 enable_bthprops_cpl
1014 enable_cabinet
1015 enable_capi2032
1016 enable_cards
1017 enable_cdosys
1018 enable_cfgmgr32
1019 enable_clusapi
1020 enable_cng_sys
1021 enable_combase
1022 enable_comcat
1023 enable_comctl32
1024 enable_comdlg32
1025 enable_coml2
1026 enable_compstui
1027 enable_comsvcs
1028 enable_concrt140
1029 enable_connect
1030 enable_credui
1031 enable_crtdll
1032 enable_crypt32
1033 enable_cryptdlg
1034 enable_cryptdll
1035 enable_cryptext
1036 enable_cryptnet
1037 enable_cryptowinrt
1038 enable_cryptsp
1039 enable_cryptui
1040 enable_ctapi32
1041 enable_ctl3d32
1042 enable_d2d1
1043 enable_d3d10
1044 enable_d3d10_1
1045 enable_d3d10core
1046 enable_d3d11
1047 enable_d3d12
1048 enable_d3d12core
1049 enable_d3d8
1050 enable_d3d8thk
1051 enable_d3d9
1052 enable_d3dcompiler_33
1053 enable_d3dcompiler_34
1054 enable_d3dcompiler_35
1055 enable_d3dcompiler_36
1056 enable_d3dcompiler_37
1057 enable_d3dcompiler_38
1058 enable_d3dcompiler_39
1059 enable_d3dcompiler_40
1060 enable_d3dcompiler_41
1061 enable_d3dcompiler_42
1062 enable_d3dcompiler_43
1063 enable_d3dcompiler_46
1064 enable_d3dcompiler_47
1065 enable_d3dim
1066 enable_d3dim700
1067 enable_d3drm
1068 enable_d3dx10_33
1069 enable_d3dx10_34
1070 enable_d3dx10_35
1071 enable_d3dx10_36
1072 enable_d3dx10_37
1073 enable_d3dx10_38
1074 enable_d3dx10_39
1075 enable_d3dx10_40
1076 enable_d3dx10_41
1077 enable_d3dx10_42
1078 enable_d3dx10_43
1079 enable_d3dx11_42
1080 enable_d3dx11_43
1081 enable_d3dx9_24
1082 enable_d3dx9_25
1083 enable_d3dx9_26
1084 enable_d3dx9_27
1085 enable_d3dx9_28
1086 enable_d3dx9_29
1087 enable_d3dx9_30
1088 enable_d3dx9_31
1089 enable_d3dx9_32
1090 enable_d3dx9_33
1091 enable_d3dx9_34
1092 enable_d3dx9_35
1093 enable_d3dx9_36
1094 enable_d3dx9_37
1095 enable_d3dx9_38
1096 enable_d3dx9_39
1097 enable_d3dx9_40
1098 enable_d3dx9_41
1099 enable_d3dx9_42
1100 enable_d3dx9_43
1101 enable_d3dxof
1102 enable_davclnt
1103 enable_dbgeng
1104 enable_dbghelp
1105 enable_dciman32
1106 enable_dcomp
1107 enable_ddraw
1108 enable_ddrawex
1109 enable_devenum
1110 enable_dhcpcsvc
1111 enable_dhcpcsvc6
1112 enable_dhtmled_ocx
1113 enable_diasymreader
1114 enable_difxapi
1115 enable_dinput
1116 enable_dinput8
1117 enable_directmanipulation
1118 enable_dispex
1119 enable_dmband
1120 enable_dmcompos
1121 enable_dmime
1122 enable_dmloader
1123 enable_dmscript
1124 enable_dmstyle
1125 enable_dmsynth
1126 enable_dmusic
1127 enable_dmusic32
1128 enable_dnsapi
1129 enable_dplay
1130 enable_dplayx
1131 enable_dpnaddr
1132 enable_dpnet
1133 enable_dpnhpast
1134 enable_dpnhupnp
1135 enable_dpnlobby
1136 enable_dpvoice
1137 enable_dpwsockx
1138 enable_drmclien
1139 enable_dsdmo
1140 enable_dsound
1141 enable_dsquery
1142 enable_dssenh
1143 enable_dsuiext
1144 enable_dswave
1145 enable_dwmapi
1146 enable_dwrite
1147 enable_dx8vb
1148 enable_dxcore
1149 enable_dxdiagn
1150 enable_dxgi
1151 enable_dxtrans
1152 enable_dxva2
1153 enable_esent
1154 enable_evr
1155 enable_explorerframe
1156 enable_faultrep
1157 enable_feclient
1158 enable_fltlib
1159 enable_fltmgr_sys
1160 enable_fntcache
1161 enable_fontsub
1162 enable_fusion
1163 enable_fwpuclnt
1164 enable_gameux
1165 enable_gamingtcui
1166 enable_gdi32
1167 enable_gdiplus
1168 enable_geolocation
1169 enable_glu32
1170 enable_gphoto2_ds
1171 enable_gpkcsp
1172 enable_graphicscapture
1173 enable_hal
1174 enable_hhctrl_ocx
1175 enable_hid
1176 enable_hidclass_sys
1177 enable_hidparse_sys
1178 enable_hlink
1179 enable_hnetcfg
1180 enable_hrtfapo
1181 enable_http_sys
1182 enable_httpapi
1183 enable_hvsimanagementapi
1184 enable_ia2comproxy
1185 enable_iccvid
1186 enable_icmp
1187 enable_ieframe
1188 enable_ieproxy
1189 enable_imaadp32_acm
1190 enable_imagehlp
1191 enable_imm32
1192 enable_inetcomm
1193 enable_inetcpl_cpl
1194 enable_inetmib1
1195 enable_infosoft
1196 enable_initpki
1197 enable_inkobj
1198 enable_inseng
1199 enable_iphlpapi
1200 enable_iprop
1201 enable_ir50_32
1202 enable_irprops_cpl
1203 enable_itircl
1204 enable_itss
1205 enable_joy_cpl
1206 enable_jscript
1207 enable_jsproxy
1208 enable_kerberos
1209 enable_kernel32
1210 enable_kernelbase
1211 enable_ksecdd_sys
1212 enable_ksproxy_ax
1213 enable_ksuser
1214 enable_ktmw32
1215 enable_l3codeca_acm
1216 enable_light_msstyles
1217 enable_loadperf
1218 enable_localspl
1219 enable_localui
1220 enable_lz32
1221 enable_magnification
1222 enable_mapi32
1223 enable_mapistub
1224 enable_mciavi32
1225 enable_mcicda
1226 enable_mciqtz32
1227 enable_mciseq
1228 enable_mciwave
1229 enable_mf
1230 enable_mf3216
1231 enable_mferror
1232 enable_mfmediaengine
1233 enable_mfplat
1234 enable_mfplay
1235 enable_mfreadwrite
1236 enable_mfsrcsnk
1237 enable_mgmtapi
1238 enable_midimap
1239 enable_mlang
1240 enable_mmcndmgr
1241 enable_mmdevapi
1242 enable_mouhid_sys
1243 enable_mountmgr_sys
1244 enable_mp3dmod
1245 enable_mpr
1246 enable_mprapi
1247 enable_msacm32_drv
1248 enable_msacm32
1249 enable_msado15
1250 enable_msadp32_acm
1251 enable_msasn1
1252 enable_msauddecmft
1253 enable_mscat32
1254 enable_mscms
1255 enable_mscoree
1256 enable_mscorwks
1257 enable_msctf
1258 enable_msctfmonitor
1259 enable_msctfp
1260 enable_msdaps
1261 enable_msdasql
1262 enable_msdelta
1263 enable_msdmo
1264 enable_msdrm
1265 enable_msftedit
1266 enable_msg711_acm
1267 enable_msgsm32_acm
1268 enable_mshtml_tlb
1269 enable_mshtml
1270 enable_msi
1271 enable_msident
1272 enable_msimg32
1273 enable_msimsg
1274 enable_msimtf
1275 enable_msisip
1276 enable_msisys_ocx
1277 enable_msls31
1278 enable_msmpeg2vdec
1279 enable_msnet32
1280 enable_mspatcha
1281 enable_msports
1282 enable_msrle32
1283 enable_msscript_ocx
1284 enable_mssign32
1285 enable_mssip32
1286 enable_mstask
1287 enable_msttsengine
1288 enable_msv1_0
1289 enable_msvcirt
1290 enable_msvcm80
1291 enable_msvcm90
1292 enable_msvcp100
1293 enable_msvcp110
1294 enable_msvcp120
1295 enable_msvcp120_app
1296 enable_msvcp140
1297 enable_msvcp140_1
1298 enable_msvcp140_2
1299 enable_msvcp140_atomic_wait
1300 enable_msvcp140_codecvt_ids
1301 enable_msvcp60
1302 enable_msvcp70
1303 enable_msvcp71
1304 enable_msvcp80
1305 enable_msvcp90
1306 enable_msvcp_win
1307 enable_msvcr100
1308 enable_msvcr110
1309 enable_msvcr120
1310 enable_msvcr120_app
1311 enable_msvcr70
1312 enable_msvcr71
1313 enable_msvcr80
1314 enable_msvcr90
1315 enable_msvcrt
1316 enable_msvcrt20
1317 enable_msvcrt40
1318 enable_msvcrtd
1319 enable_msvfw32
1320 enable_msvidc32
1321 enable_mswsock
1322 enable_msxml
1323 enable_msxml2
1324 enable_msxml3
1325 enable_msxml4
1326 enable_msxml6
1327 enable_mtxdm
1328 enable_ncrypt
1329 enable_nddeapi
1330 enable_ndis_sys
1331 enable_netapi32
1332 enable_netcfgx
1333 enable_netio_sys
1334 enable_netprofm
1335 enable_netutils
1336 enable_newdev
1337 enable_ninput
1338 enable_normaliz
1339 enable_npmshtml
1340 enable_npptools
1341 enable_nsi
1342 enable_nsiproxy_sys
1343 enable_ntdll
1344 enable_ntdsapi
1345 enable_ntoskrnl_exe
1346 enable_ntprint
1347 enable_objsel
1348 enable_odbc32
1349 enable_odbcbcp
1350 enable_odbccp32
1351 enable_odbccu32
1352 enable_ole32
1353 enable_oleacc
1354 enable_oleaut32
1355 enable_olecli32
1356 enable_oledb32
1357 enable_oledlg
1358 enable_olepro32
1359 enable_olesvr32
1360 enable_olethk32
1361 enable_opcservices
1362 enable_opencl
1363 enable_opengl32
1364 enable_packager
1365 enable_pdh
1366 enable_photometadatahandler
1367 enable_pidgen
1368 enable_powrprof
1369 enable_printui
1370 enable_prntvpt
1371 enable_propsys
1372 enable_psapi
1373 enable_pstorec
1374 enable_pwrshplugin
1375 enable_qasf
1376 enable_qcap
1377 enable_qdvd
1378 enable_qedit
1379 enable_qmgr
1380 enable_qmgrprxy
1381 enable_quartz
1382 enable_query
1383 enable_qwave
1384 enable_rasapi32
1385 enable_rasdlg
1386 enable_regapi
1387 enable_resutils
1388 enable_riched20
1389 enable_riched32
1390 enable_rpcrt4
1391 enable_rsabase
1392 enable_rsaenh
1393 enable_rstrtmgr
1394 enable_rtutils
1395 enable_rtworkq
1396 enable_samlib
1397 enable_sane_ds
1398 enable_sapi
1399 enable_sas
1400 enable_scarddlg
1401 enable_scardsvr
1402 enable_sccbase
1403 enable_schannel
1404 enable_schedsvc
1405 enable_scrobj
1406 enable_scrrun
1407 enable_scsiport_sys
1408 enable_sechost
1409 enable_secur32
1410 enable_security
1411 enable_sensapi
1412 enable_serialui
1413 enable_setupapi
1414 enable_sfc
1415 enable_sfc_os
1416 enable_shcore
1417 enable_shdoclc
1418 enable_shdocvw
1419 enable_shell32
1420 enable_shfolder
1421 enable_shlwapi
1422 enable_slbcsp
1423 enable_slc
1424 enable_snmpapi
1425 enable_softpub
1426 enable_spoolss
1427 enable_sppc
1428 enable_srclient
1429 enable_srvcli
1430 enable_srvsvc
1431 enable_sspicli
1432 enable_stdole2_tlb
1433 enable_stdole32_tlb
1434 enable_sti
1435 enable_strmdll
1436 enable_svrapi
1437 enable_sxs
1438 enable_t2embed
1439 enable_tapi32
1440 enable_taskschd
1441 enable_tbs
1442 enable_tdh
1443 enable_tdi_sys
1444 enable_threadpoolwinrt
1445 enable_traffic
1446 enable_twain_32
1447 enable_twinapi_appcore
1448 enable_tzres
1449 enable_ucrtbase
1450 enable_uianimation
1451 enable_uiautomationcore
1452 enable_uiribbon
1453 enable_unicows
1454 enable_updspapi
1455 enable_url
1456 enable_urlmon
1457 enable_usbd_sys
1458 enable_user32
1459 enable_userenv
1460 enable_usp10
1461 enable_utildll
1462 enable_uxtheme
1463 enable_vbscript
1464 enable_vcomp
1465 enable_vcomp100
1466 enable_vcomp110
1467 enable_vcomp120
1468 enable_vcomp140
1469 enable_vcomp90
1470 enable_vcruntime140
1471 enable_vcruntime140_1
1472 enable_vdmdbg
1473 enable_version
1474 enable_vga
1475 enable_virtdisk
1476 enable_vssapi
1477 enable_vulkan_1
1478 enable_wbemdisp
1479 enable_wbemprox
1480 enable_wdscore
1481 enable_webservices
1482 enable_websocket
1483 enable_wer
1484 enable_wevtapi
1485 enable_wevtsvc
1486 enable_wiaservc
1487 enable_wimgapi
1488 enable_win32u
1489 enable_windows_applicationmodel
1490 enable_windows_devices_bluetooth
1491 enable_windows_devices_enumeration
1492 enable_windows_devices_usb
1493 enable_windows_gaming_input
1494 enable_windows_gaming_ui_gamebar
1495 enable_windows_globalization
1496 enable_windows_media_devices
1497 enable_windows_media_mediacontrol
1498 enable_windows_media_speech
1499 enable_windows_media
1500 enable_windows_networking_hostname
1501 enable_windows_networking
1502 enable_windows_perception_stub
1503 enable_windows_security_authentication_onlineid
1504 enable_windows_security_credentials_ui_userconsentverifier
1505 enable_windows_storage_applicationdata
1506 enable_windows_system_profile_systemmanufacturers
1507 enable_windows_ui
1508 enable_windowscodecs
1509 enable_windowscodecsext
1510 enable_winealsa_drv
1511 enable_wineandroid_drv
1512 enable_winebus_sys
1513 enable_winecoreaudio_drv
1514 enable_winecrt0
1515 enable_wined3d
1516 enable_winegstreamer
1517 enable_winehid_sys
1518 enable_winemac_drv
1519 enable_winemapi
1520 enable_wineoss_drv
1521 enable_wineps_drv
1522 enable_winepulse_drv
1523 enable_wineusb_sys
1524 enable_winevulkan
1525 enable_winewayland_drv
1526 enable_winex11_drv
1527 enable_winexinput_sys
1528 enable_wing32
1529 enable_winhttp
1530 enable_wininet
1531 enable_winmm
1532 enable_winnls32
1533 enable_winprint
1534 enable_winscard
1535 enable_winspool_drv
1536 enable_winsta
1537 enable_wintab32
1538 enable_wintrust
1539 enable_wintypes
1540 enable_winusb
1541 enable_wlanapi
1542 enable_wlanui
1543 enable_wldap32
1544 enable_wldp
1545 enable_wmasf
1546 enable_wmi
1547 enable_wmiutils
1548 enable_wmp
1549 enable_wmphoto
1550 enable_wmvcore
1551 enable_wnaspi32
1552 enable_wofutil
1553 enable_wow64
1554 enable_wow64cpu
1555 enable_wow64win
1556 enable_wpc
1557 enable_wpcap
1558 enable_ws2_32
1559 enable_wsdapi
1560 enable_wshom_ocx
1561 enable_wsnmp32
1562 enable_wsock32
1563 enable_wtsapi32
1564 enable_wuapi
1565 enable_wuaueng
1566 enable_x3daudio1_0
1567 enable_x3daudio1_1
1568 enable_x3daudio1_2
1569 enable_x3daudio1_3
1570 enable_x3daudio1_4
1571 enable_x3daudio1_5
1572 enable_x3daudio1_6
1573 enable_x3daudio1_7
1574 enable_xactengine2_0
1575 enable_xactengine2_4
1576 enable_xactengine2_7
1577 enable_xactengine2_9
1578 enable_xactengine3_0
1579 enable_xactengine3_1
1580 enable_xactengine3_2
1581 enable_xactengine3_3
1582 enable_xactengine3_4
1583 enable_xactengine3_5
1584 enable_xactengine3_6
1585 enable_xactengine3_7
1586 enable_xapofx1_1
1587 enable_xapofx1_2
1588 enable_xapofx1_3
1589 enable_xapofx1_4
1590 enable_xapofx1_5
1591 enable_xaudio2_0
1592 enable_xaudio2_1
1593 enable_xaudio2_2
1594 enable_xaudio2_3
1595 enable_xaudio2_4
1596 enable_xaudio2_5
1597 enable_xaudio2_6
1598 enable_xaudio2_7
1599 enable_xaudio2_8
1600 enable_xaudio2_9
1601 enable_xinput1_1
1602 enable_xinput1_2
1603 enable_xinput1_3
1604 enable_xinput1_4
1605 enable_xinput9_1_0
1606 enable_xinputuap
1607 enable_xmllite
1608 enable_xolehlp
1609 enable_xpsprint
1610 enable_xpssvcs
1611 enable_fonts
1612 enable_include
1613 enable_adsiid
1614 enable_dmoguids
1615 enable_dxerr8
1616 enable_dxerr9
1617 enable_dxguid
1618 enable_faudio
1619 enable_fluidsynth
1620 enable_gsm
1621 enable_jpeg
1622 enable_jxr
1623 enable_lcms2
1624 enable_ldap
1625 enable_mfuuid
1626 enable_mpg123
1627 enable_musl
1628 enable_png
1629 enable_strmbase
1630 enable_strmiids
1631 enable_tiff
1632 enable_uuid
1633 enable_vkd3d
1634 enable_wbemuuid
1635 enable_wmcodecdspuuid
1636 enable_xml2
1637 enable_xslt
1638 enable_zlib
1639 enable_zydis
1640 enable_loader
1641 enable_nls
1642 enable_po
1643 enable_arp
1644 enable_aspnet_regiis
1645 enable_attrib
1646 enable_cabarc
1647 enable_cacls
1648 enable_certutil
1649 enable_chcp_com
1650 enable_clock
1651 enable_cmd
1652 enable_conhost
1653 enable_control
1654 enable_cscript
1655 enable_dism
1656 enable_dllhost
1657 enable_dplaysvr
1658 enable_dpnsvr
1659 enable_dpvsetup
1660 enable_dxdiag
1661 enable_eject
1662 enable_expand
1663 enable_explorer
1664 enable_extrac32
1665 enable_fc
1666 enable_find
1667 enable_findstr
1668 enable_fsutil
1669 enable_hh
1670 enable_hostname
1671 enable_icacls
1672 enable_icinfo
1673 enable_iexplore
1674 enable_ipconfig
1675 enable_klist
1676 enable_lodctr
1677 enable_mofcomp
1678 enable_mshta
1679 enable_msidb
1680 enable_msiexec
1681 enable_msinfo32
1682 enable_net
1683 enable_netsh
1684 enable_netstat
1685 enable_ngen
1686 enable_notepad
1687 enable_oleview
1688 enable_ping
1689 enable_plugplay
1690 enable_pnputil
1691 enable_powershell
1692 enable_presentationfontcache
1693 enable_progman
1694 enable_reg
1695 enable_regasm
1696 enable_regedit
1697 enable_regini
1698 enable_regsvcs
1699 enable_regsvr32
1700 enable_robocopy
1701 enable_rpcss
1702 enable_rundll32
1703 enable_sc
1704 enable_schtasks
1705 enable_sdbinst
1706 enable_secedit
1707 enable_servicemodelreg
1708 enable_services
1709 enable_setx
1710 enable_shutdown
1711 enable_spoolsv
1712 enable_start
1713 enable_subst
1714 enable_svchost
1715 enable_systeminfo
1716 enable_taskkill
1717 enable_tasklist
1718 enable_taskmgr
1719 enable_termsv
1720 enable_uninstaller
1721 enable_unlodctr
1722 enable_view
1723 enable_wevtutil
1724 enable_where
1725 enable_whoami
1726 enable_wineboot
1727 enable_winebrowser
1728 enable_winecfg
1729 enable_wineconsole
1730 enable_winedbg
1731 enable_winedevice
1732 enable_winefile
1733 enable_winemenubuilder
1734 enable_winemine
1735 enable_winemsibuilder
1736 enable_winepath
1737 enable_winetest
1738 enable_winhlp32
1739 enable_winmgmt
1740 enable_winver
1741 enable_wmic
1742 enable_wmplayer
1743 enable_wordpad
1744 enable_write
1745 enable_wscript
1746 enable_wuauserv
1747 enable_wusa
1748 enable_xcopy
1749 enable_server
1750 enable_tools
1751 enable_sfnt2fon
1752 enable_widl
1753 enable_winebuild
1754 enable_winedump
1755 enable_winegcc
1756 enable_winemaker
1757 enable_wmc
1758 enable_wrc
1760 ac_precious_vars='build_alias
1761 host_alias
1762 target_alias
1764 CFLAGS
1765 LDFLAGS
1766 LIBS
1767 CPPFLAGS
1769 CXXFLAGS
1771 OBJC
1772 OBJCFLAGS
1773 FAUDIO_PE_CFLAGS
1774 FAUDIO_PE_LIBS
1775 FLUIDSYNTH_PE_CFLAGS
1776 FLUIDSYNTH_PE_LIBS
1777 GSM_PE_CFLAGS
1778 GSM_PE_LIBS
1779 JPEG_PE_CFLAGS
1780 JPEG_PE_LIBS
1781 JXR_PE_CFLAGS
1782 JXR_PE_LIBS
1783 LCMS2_PE_CFLAGS
1784 LCMS2_PE_LIBS
1785 LDAP_PE_CFLAGS
1786 LDAP_PE_LIBS
1787 MPG123_PE_CFLAGS
1788 MPG123_PE_LIBS
1789 MUSL_PE_CFLAGS
1790 MUSL_PE_LIBS
1791 PNG_PE_CFLAGS
1792 PNG_PE_LIBS
1793 TIFF_PE_CFLAGS
1794 TIFF_PE_LIBS
1795 VKD3D_PE_CFLAGS
1796 VKD3D_PE_LIBS
1797 XML2_PE_CFLAGS
1798 XML2_PE_LIBS
1799 XSLT_PE_CFLAGS
1800 XSLT_PE_LIBS
1801 ZLIB_PE_CFLAGS
1802 ZLIB_PE_LIBS
1803 ZYDIS_PE_CFLAGS
1804 ZYDIS_PE_LIBS
1805 XMKMF
1807 WAYLAND_CLIENT_CFLAGS
1808 WAYLAND_CLIENT_LIBS
1809 XKBCOMMON_CFLAGS
1810 XKBCOMMON_LIBS
1811 XKBREGISTRY_CFLAGS
1812 XKBREGISTRY_LIBS
1813 EGL_CFLAGS
1814 EGL_LIBS
1815 WAYLAND_EGL_CFLAGS
1816 WAYLAND_EGL_LIBS
1817 ODBC_CFLAGS
1818 ODBC_LIBS
1819 INOTIFY_CFLAGS
1820 INOTIFY_LIBS
1821 DBUS_CFLAGS
1822 DBUS_LIBS
1823 GNUTLS_CFLAGS
1824 GNUTLS_LIBS
1825 SANE_CFLAGS
1826 SANE_LIBS
1827 USB_CFLAGS
1828 USB_LIBS
1829 GPHOTO2_CFLAGS
1830 GPHOTO2_LIBS
1831 GPHOTO2_PORT_CFLAGS
1832 GPHOTO2_PORT_LIBS
1833 FREETYPE_CFLAGS
1834 FREETYPE_LIBS
1835 PULSE_CFLAGS
1836 PULSE_LIBS
1837 GSTREAMER_CFLAGS
1838 GSTREAMER_LIBS
1839 UDEV_CFLAGS
1840 UDEV_LIBS
1841 UNWIND_CFLAGS
1842 UNWIND_LIBS
1843 SDL2_CFLAGS
1844 SDL2_LIBS
1845 CAPI20_CFLAGS
1846 CAPI20_LIBS
1847 CUPS_CFLAGS
1848 CUPS_LIBS
1849 FONTCONFIG_CFLAGS
1850 FONTCONFIG_LIBS
1851 KRB5_CFLAGS
1852 KRB5_LIBS
1853 GSSAPI_CFLAGS
1854 GSSAPI_LIBS
1855 NETAPI_CFLAGS
1856 NETAPI_LIBS'
1859 # Initialize some variables set by options.
1860 ac_init_help=
1861 ac_init_version=false
1862 ac_unrecognized_opts=
1863 ac_unrecognized_sep=
1864 # The variables have the same names as the options, with
1865 # dashes changed to underlines.
1866 cache_file=/dev/null
1867 exec_prefix=NONE
1868 no_create=
1869 no_recursion=
1870 prefix=NONE
1871 program_prefix=NONE
1872 program_suffix=NONE
1873 program_transform_name=s,x,x,
1874 silent=
1875 site=
1876 srcdir=
1877 verbose=
1878 x_includes=NONE
1879 x_libraries=NONE
1881 # Installation directory options.
1882 # These are left unexpanded so users can "make install exec_prefix=/foo"
1883 # and all the variables that are supposed to be based on exec_prefix
1884 # by default will actually change.
1885 # Use braces instead of parens because sh, perl, etc. also accept them.
1886 # (The list follows the same order as the GNU Coding Standards.)
1887 bindir='${exec_prefix}/bin'
1888 sbindir='${exec_prefix}/sbin'
1889 libexecdir='${exec_prefix}/libexec'
1890 datarootdir='${prefix}/share'
1891 datadir='${datarootdir}'
1892 sysconfdir='${prefix}/etc'
1893 sharedstatedir='${prefix}/com'
1894 localstatedir='${prefix}/var'
1895 runstatedir='${localstatedir}/run'
1896 includedir='${prefix}/include'
1897 oldincludedir='/usr/include'
1898 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1899 infodir='${datarootdir}/info'
1900 htmldir='${docdir}'
1901 dvidir='${docdir}'
1902 pdfdir='${docdir}'
1903 psdir='${docdir}'
1904 libdir='${exec_prefix}/lib'
1905 localedir='${datarootdir}/locale'
1906 mandir='${datarootdir}/man'
1908 ac_prev=
1909 ac_dashdash=
1910 for ac_option
1912 # If the previous option needs an argument, assign it.
1913 if test -n "$ac_prev"; then
1914 eval $ac_prev=\$ac_option
1915 ac_prev=
1916 continue
1919 case $ac_option in
1920 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1921 *=) ac_optarg= ;;
1922 *) ac_optarg=yes ;;
1923 esac
1925 case $ac_dashdash$ac_option in
1927 ac_dashdash=yes ;;
1929 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1930 ac_prev=bindir ;;
1931 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1932 bindir=$ac_optarg ;;
1934 -build | --build | --buil | --bui | --bu)
1935 ac_prev=build_alias ;;
1936 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1937 build_alias=$ac_optarg ;;
1939 -cache-file | --cache-file | --cache-fil | --cache-fi \
1940 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1941 ac_prev=cache_file ;;
1942 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1943 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1944 cache_file=$ac_optarg ;;
1946 --config-cache | -C)
1947 cache_file=config.cache ;;
1949 -datadir | --datadir | --datadi | --datad)
1950 ac_prev=datadir ;;
1951 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1952 datadir=$ac_optarg ;;
1954 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1955 | --dataroo | --dataro | --datar)
1956 ac_prev=datarootdir ;;
1957 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1958 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1959 datarootdir=$ac_optarg ;;
1961 -disable-* | --disable-*)
1962 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1963 # Reject names that are not valid shell variable names.
1964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1965 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1966 ac_useropt_orig=$ac_useropt
1967 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1968 case $ac_user_opts in
1970 "enable_$ac_useropt"
1971 "*) ;;
1972 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1973 ac_unrecognized_sep=', ';;
1974 esac
1975 eval enable_$ac_useropt=no ;;
1977 -docdir | --docdir | --docdi | --doc | --do)
1978 ac_prev=docdir ;;
1979 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1980 docdir=$ac_optarg ;;
1982 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1983 ac_prev=dvidir ;;
1984 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1985 dvidir=$ac_optarg ;;
1987 -enable-* | --enable-*)
1988 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1989 # Reject names that are not valid shell variable names.
1990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1991 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1992 ac_useropt_orig=$ac_useropt
1993 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1994 case $ac_user_opts in
1996 "enable_$ac_useropt"
1997 "*) ;;
1998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1999 ac_unrecognized_sep=', ';;
2000 esac
2001 eval enable_$ac_useropt=\$ac_optarg ;;
2003 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2004 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2005 | --exec | --exe | --ex)
2006 ac_prev=exec_prefix ;;
2007 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2008 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2009 | --exec=* | --exe=* | --ex=*)
2010 exec_prefix=$ac_optarg ;;
2012 -gas | --gas | --ga | --g)
2013 # Obsolete; use --with-gas.
2014 with_gas=yes ;;
2016 -help | --help | --hel | --he | -h)
2017 ac_init_help=long ;;
2018 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2019 ac_init_help=recursive ;;
2020 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2021 ac_init_help=short ;;
2023 -host | --host | --hos | --ho)
2024 ac_prev=host_alias ;;
2025 -host=* | --host=* | --hos=* | --ho=*)
2026 host_alias=$ac_optarg ;;
2028 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2029 ac_prev=htmldir ;;
2030 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2031 | --ht=*)
2032 htmldir=$ac_optarg ;;
2034 -includedir | --includedir | --includedi | --included | --include \
2035 | --includ | --inclu | --incl | --inc)
2036 ac_prev=includedir ;;
2037 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2038 | --includ=* | --inclu=* | --incl=* | --inc=*)
2039 includedir=$ac_optarg ;;
2041 -infodir | --infodir | --infodi | --infod | --info | --inf)
2042 ac_prev=infodir ;;
2043 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2044 infodir=$ac_optarg ;;
2046 -libdir | --libdir | --libdi | --libd)
2047 ac_prev=libdir ;;
2048 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2049 libdir=$ac_optarg ;;
2051 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2052 | --libexe | --libex | --libe)
2053 ac_prev=libexecdir ;;
2054 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2055 | --libexe=* | --libex=* | --libe=*)
2056 libexecdir=$ac_optarg ;;
2058 -localedir | --localedir | --localedi | --localed | --locale)
2059 ac_prev=localedir ;;
2060 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2061 localedir=$ac_optarg ;;
2063 -localstatedir | --localstatedir | --localstatedi | --localstated \
2064 | --localstate | --localstat | --localsta | --localst | --locals)
2065 ac_prev=localstatedir ;;
2066 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2067 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2068 localstatedir=$ac_optarg ;;
2070 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2071 ac_prev=mandir ;;
2072 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2073 mandir=$ac_optarg ;;
2075 -nfp | --nfp | --nf)
2076 # Obsolete; use --without-fp.
2077 with_fp=no ;;
2079 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2080 | --no-cr | --no-c | -n)
2081 no_create=yes ;;
2083 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2084 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2085 no_recursion=yes ;;
2087 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2088 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2089 | --oldin | --oldi | --old | --ol | --o)
2090 ac_prev=oldincludedir ;;
2091 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2092 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2093 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2094 oldincludedir=$ac_optarg ;;
2096 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2097 ac_prev=prefix ;;
2098 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2099 prefix=$ac_optarg ;;
2101 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2102 | --program-pre | --program-pr | --program-p)
2103 ac_prev=program_prefix ;;
2104 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2105 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2106 program_prefix=$ac_optarg ;;
2108 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2109 | --program-suf | --program-su | --program-s)
2110 ac_prev=program_suffix ;;
2111 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2112 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2113 program_suffix=$ac_optarg ;;
2115 -program-transform-name | --program-transform-name \
2116 | --program-transform-nam | --program-transform-na \
2117 | --program-transform-n | --program-transform- \
2118 | --program-transform | --program-transfor \
2119 | --program-transfo | --program-transf \
2120 | --program-trans | --program-tran \
2121 | --progr-tra | --program-tr | --program-t)
2122 ac_prev=program_transform_name ;;
2123 -program-transform-name=* | --program-transform-name=* \
2124 | --program-transform-nam=* | --program-transform-na=* \
2125 | --program-transform-n=* | --program-transform-=* \
2126 | --program-transform=* | --program-transfor=* \
2127 | --program-transfo=* | --program-transf=* \
2128 | --program-trans=* | --program-tran=* \
2129 | --progr-tra=* | --program-tr=* | --program-t=*)
2130 program_transform_name=$ac_optarg ;;
2132 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2133 ac_prev=pdfdir ;;
2134 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2135 pdfdir=$ac_optarg ;;
2137 -psdir | --psdir | --psdi | --psd | --ps)
2138 ac_prev=psdir ;;
2139 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2140 psdir=$ac_optarg ;;
2142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2143 | -silent | --silent | --silen | --sile | --sil)
2144 silent=yes ;;
2146 -runstatedir | --runstatedir | --runstatedi | --runstated \
2147 | --runstate | --runstat | --runsta | --runst | --runs \
2148 | --run | --ru | --r)
2149 ac_prev=runstatedir ;;
2150 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2151 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2152 | --run=* | --ru=* | --r=*)
2153 runstatedir=$ac_optarg ;;
2155 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2156 ac_prev=sbindir ;;
2157 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2158 | --sbi=* | --sb=*)
2159 sbindir=$ac_optarg ;;
2161 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2162 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2163 | --sharedst | --shareds | --shared | --share | --shar \
2164 | --sha | --sh)
2165 ac_prev=sharedstatedir ;;
2166 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2167 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2168 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2169 | --sha=* | --sh=*)
2170 sharedstatedir=$ac_optarg ;;
2172 -site | --site | --sit)
2173 ac_prev=site ;;
2174 -site=* | --site=* | --sit=*)
2175 site=$ac_optarg ;;
2177 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2178 ac_prev=srcdir ;;
2179 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2180 srcdir=$ac_optarg ;;
2182 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2183 | --syscon | --sysco | --sysc | --sys | --sy)
2184 ac_prev=sysconfdir ;;
2185 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2186 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2187 sysconfdir=$ac_optarg ;;
2189 -target | --target | --targe | --targ | --tar | --ta | --t)
2190 ac_prev=target_alias ;;
2191 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2192 target_alias=$ac_optarg ;;
2194 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2195 verbose=yes ;;
2197 -version | --version | --versio | --versi | --vers | -V)
2198 ac_init_version=: ;;
2200 -with-* | --with-*)
2201 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2202 # Reject names that are not valid shell variable names.
2203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2204 as_fn_error $? "invalid package name: \`$ac_useropt'"
2205 ac_useropt_orig=$ac_useropt
2206 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2207 case $ac_user_opts in
2209 "with_$ac_useropt"
2210 "*) ;;
2211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2212 ac_unrecognized_sep=', ';;
2213 esac
2214 eval with_$ac_useropt=\$ac_optarg ;;
2216 -without-* | --without-*)
2217 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2218 # Reject names that are not valid shell variable names.
2219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2220 as_fn_error $? "invalid package name: \`$ac_useropt'"
2221 ac_useropt_orig=$ac_useropt
2222 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2223 case $ac_user_opts in
2225 "with_$ac_useropt"
2226 "*) ;;
2227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2228 ac_unrecognized_sep=', ';;
2229 esac
2230 eval with_$ac_useropt=no ;;
2232 --x)
2233 # Obsolete; use --with-x.
2234 with_x=yes ;;
2236 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2237 | --x-incl | --x-inc | --x-in | --x-i)
2238 ac_prev=x_includes ;;
2239 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2240 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2241 x_includes=$ac_optarg ;;
2243 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2244 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2245 ac_prev=x_libraries ;;
2246 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2247 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2248 x_libraries=$ac_optarg ;;
2250 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2251 Try \`$0 --help' for more information"
2254 *=*)
2255 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2256 # Reject names that are not valid shell variable names.
2257 case $ac_envvar in #(
2258 '' | [0-9]* | *[!_$as_cr_alnum]* )
2259 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2260 esac
2261 eval $ac_envvar=\$ac_optarg
2262 export $ac_envvar ;;
2265 # FIXME: should be removed in autoconf 3.0.
2266 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2268 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2272 esac
2273 done
2275 if test -n "$ac_prev"; then
2276 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2277 as_fn_error $? "missing argument to $ac_option"
2280 if test -n "$ac_unrecognized_opts"; then
2281 case $enable_option_checking in
2282 no) ;;
2283 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2284 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2285 esac
2288 # Check all directory arguments for consistency.
2289 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2290 datadir sysconfdir sharedstatedir localstatedir includedir \
2291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2292 libdir localedir mandir runstatedir
2294 eval ac_val=\$$ac_var
2295 # Remove trailing slashes.
2296 case $ac_val in
2297 */ )
2298 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2299 eval $ac_var=\$ac_val;;
2300 esac
2301 # Be sure to have absolute directory names.
2302 case $ac_val in
2303 [\\/$]* | ?:[\\/]* ) continue;;
2304 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2305 esac
2306 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2307 done
2309 # There might be people who depend on the old broken behavior: `$host'
2310 # used to hold the argument of --host etc.
2311 # FIXME: To remove some day.
2312 build=$build_alias
2313 host=$host_alias
2314 target=$target_alias
2316 # FIXME: To remove some day.
2317 if test "x$host_alias" != x; then
2318 if test "x$build_alias" = x; then
2319 cross_compiling=maybe
2320 elif test "x$build_alias" != "x$host_alias"; then
2321 cross_compiling=yes
2325 ac_tool_prefix=
2326 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2328 test "$silent" = yes && exec 6>/dev/null
2331 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2332 ac_ls_di=`ls -di .` &&
2333 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2334 as_fn_error $? "working directory cannot be determined"
2335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2336 as_fn_error $? "pwd does not report name of working directory"
2339 # Find the source files, if location was not specified.
2340 if test -z "$srcdir"; then
2341 ac_srcdir_defaulted=yes
2342 # Try the directory containing this script, then the parent directory.
2343 ac_confdir=`$as_dirname -- "$as_myself" ||
2344 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2345 X"$as_myself" : 'X\(//\)[^/]' \| \
2346 X"$as_myself" : 'X\(//\)$' \| \
2347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2348 printf "%s\n" X"$as_myself" |
2349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2350 s//\1/
2353 /^X\(\/\/\)[^/].*/{
2354 s//\1/
2357 /^X\(\/\/\)$/{
2358 s//\1/
2361 /^X\(\/\).*/{
2362 s//\1/
2365 s/.*/./; q'`
2366 srcdir=$ac_confdir
2367 if test ! -r "$srcdir/$ac_unique_file"; then
2368 srcdir=..
2370 else
2371 ac_srcdir_defaulted=no
2373 if test ! -r "$srcdir/$ac_unique_file"; then
2374 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2375 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2377 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2378 ac_abs_confdir=`(
2379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2380 pwd)`
2381 # When building in place, set srcdir=.
2382 if test "$ac_abs_confdir" = "$ac_pwd"; then
2383 srcdir=.
2385 # Remove unnecessary trailing slashes from srcdir.
2386 # Double slashes in file names in object file debugging info
2387 # mess up M-x gdb in Emacs.
2388 case $srcdir in
2389 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2390 esac
2391 for ac_var in $ac_precious_vars; do
2392 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2393 eval ac_env_${ac_var}_value=\$${ac_var}
2394 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2395 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2396 done
2399 # Report the --help message.
2401 if test "$ac_init_help" = "long"; then
2402 # Omit some internal or obsolete options to make the list less imposing.
2403 # This message is too long to be a string in the A/UX 3.1 sh.
2404 cat <<_ACEOF
2405 \`configure' configures Wine 9.9 to adapt to many kinds of systems.
2407 Usage: $0 [OPTION]... [VAR=VALUE]...
2409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2410 VAR=VALUE. See below for descriptions of some of the useful variables.
2412 Defaults for the options are specified in brackets.
2414 Configuration:
2415 -h, --help display this help and exit
2416 --help=short display options specific to this package
2417 --help=recursive display the short help of all the included packages
2418 -V, --version display version information and exit
2419 -q, --quiet, --silent do not print \`checking ...' messages
2420 --cache-file=FILE cache test results in FILE [disabled]
2421 -C, --config-cache alias for \`--cache-file=config.cache'
2422 -n, --no-create do not create output files
2423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2425 Installation directories:
2426 --prefix=PREFIX install architecture-independent files in PREFIX
2427 [$ac_default_prefix]
2428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2429 [PREFIX]
2431 By default, \`make install' will install all the files in
2432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2434 for instance \`--prefix=\$HOME'.
2436 For better control, use the options below.
2438 Fine tuning of the installation directories:
2439 --bindir=DIR user executables [EPREFIX/bin]
2440 --sbindir=DIR system admin executables [EPREFIX/sbin]
2441 --libexecdir=DIR program executables [EPREFIX/libexec]
2442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2445 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2446 --libdir=DIR object code libraries [EPREFIX/lib]
2447 --includedir=DIR C header files [PREFIX/include]
2448 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2449 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2450 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2451 --infodir=DIR info documentation [DATAROOTDIR/info]
2452 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2453 --mandir=DIR man documentation [DATAROOTDIR/man]
2454 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2455 --htmldir=DIR html documentation [DOCDIR]
2456 --dvidir=DIR dvi documentation [DOCDIR]
2457 --pdfdir=DIR pdf documentation [DOCDIR]
2458 --psdir=DIR ps documentation [DOCDIR]
2459 _ACEOF
2461 cat <<\_ACEOF
2463 X features:
2464 --x-includes=DIR X include files are in DIR
2465 --x-libraries=DIR X library files are in DIR
2467 System types:
2468 --build=BUILD configure for building on BUILD [guessed]
2469 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2470 _ACEOF
2473 if test -n "$ac_init_help"; then
2474 case $ac_init_help in
2475 short | recursive ) echo "Configuration of Wine 9.9:";;
2476 esac
2477 cat <<\_ACEOF
2479 Optional Features:
2480 --disable-option-checking ignore unrecognized --enable/--with options
2481 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2482 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2483 --enable-archs={i386,x86_64,arm,aarch64}
2484 enable multiple architectures for PE compilation
2485 --disable-win16 do not include Win16 support
2486 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2487 binaries)
2488 --disable-tests do not build the regression tests
2489 --enable-build-id include .buildid section in output objects
2490 --enable-maintainer-mode
2491 enable maintainer-specific build rules
2492 --enable-silent-rules use silent build rules (override: "make V=1")
2493 --enable-werror treat compilation warnings as errors
2494 --disable-largefile omit support for large files
2496 Optional Packages:
2497 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2498 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2499 --without-alsa do not use the Alsa sound support
2500 --without-capi do not use CAPI (ISDN support)
2501 --without-coreaudio do not use the CoreAudio sound support
2502 --without-cups do not use CUPS
2503 --without-dbus do not use DBus (dynamic device support)
2504 --without-fontconfig do not use fontconfig
2505 --without-freetype do not use the FreeType library
2506 --without-gettext do not use gettext
2507 --with-gettextpo use the GetTextPO library to rebuild po files
2508 --without-gphoto do not use gphoto (Digital Camera support)
2509 --without-gnutls do not use GnuTLS (schannel support)
2510 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2511 --without-gstreamer do not use GStreamer (codecs support)
2512 --without-inotify do not use inotify (filesystem change notifications)
2513 --without-krb5 do not use krb5 (Kerberos)
2514 --without-mingw do not use the MinGW cross-compiler
2515 --without-netapi do not use the Samba NetAPI library
2516 --without-odbc do not use the ODBC library
2517 --without-opencl do not use OpenCL
2518 --without-opengl do not use OpenGL
2519 --without-osmesa do not use the OSMesa library
2520 --without-oss do not use the OSS sound support
2521 --without-pcap do not use the Packet Capture library
2522 --without-pcsclite do not use PCSC lite
2523 --without-pthread do not use the pthread library
2524 --without-pulse do not use PulseAudio sound support
2525 --without-sane do not use SANE (scanner support)
2526 --without-sdl do not use SDL
2527 --without-udev do not use udev (plug and play support)
2528 --without-unwind do not use the libunwind library (exception
2529 handling)
2530 --without-usb do not use the libusb library
2531 --without-v4l2 do not use v4l2 (video capture)
2532 --without-vulkan do not use Vulkan
2533 --without-wayland do not build the Wayland driver
2534 --without-xcomposite do not use the Xcomposite extension
2535 --without-xcursor do not use the Xcursor extension
2536 --without-xfixes do not use Xfixes for clipboard change notifications
2537 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2538 --without-xinput do not use the Xinput extension
2539 --without-xinput2 do not use the Xinput 2 extension
2540 --without-xrandr do not use Xrandr (multi-monitor support)
2541 --without-xrender do not use the Xrender extension
2542 --without-xshape do not use the Xshape extension
2543 --without-xshm do not use XShm (shared memory extension)
2544 --without-xxf86vm do not use XFree video mode extension
2545 --with-system-dllpath=PATH
2546 load external PE dependencies from colon-separated
2547 path PATH
2548 --with-wine-tools=DIR use Wine tools from directory DIR
2549 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2550 --with-x use the X Window System
2552 Some influential environment variables:
2553 CC C compiler command
2554 CFLAGS C compiler flags
2555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2556 nonstandard directory <lib dir>
2557 LIBS libraries to pass to the linker, e.g. -l<library>
2558 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2559 you have headers in a nonstandard directory <include dir>
2560 CXX C++ compiler command
2561 CXXFLAGS C++ compiler flags
2562 OBJC Objective C compiler command
2563 OBJCFLAGS Objective C compiler flags
2564 FAUDIO_PE_CFLAGS
2565 C compiler flags for the PE faudio, overriding the bundled
2566 version
2567 FAUDIO_PE_LIBS
2568 Linker flags for the PE faudio, overriding the bundled version
2569 FLUIDSYNTH_PE_CFLAGS
2570 C compiler flags for the PE fluidsynth, overriding the bundled
2571 version
2572 FLUIDSYNTH_PE_LIBS
2573 Linker flags for the PE fluidsynth, overriding the bundled
2574 version
2575 GSM_PE_CFLAGS
2576 C compiler flags for the PE gsm, overriding the bundled version
2577 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2578 JPEG_PE_CFLAGS
2579 C compiler flags for the PE jpeg, overriding the bundled version
2580 JPEG_PE_LIBS
2581 Linker flags for the PE jpeg, overriding the bundled version
2582 JXR_PE_CFLAGS
2583 C compiler flags for the PE jxr, overriding the bundled version
2584 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2585 LCMS2_PE_CFLAGS
2586 C compiler flags for the PE lcms2, overriding the bundled
2587 version
2588 LCMS2_PE_LIBS
2589 Linker flags for the PE lcms2, overriding the bundled version
2590 LDAP_PE_CFLAGS
2591 C compiler flags for the PE ldap, overriding the bundled version
2592 LDAP_PE_LIBS
2593 Linker flags for the PE ldap, overriding the bundled version
2594 MPG123_PE_CFLAGS
2595 C compiler flags for the PE mpg123, overriding the bundled
2596 version
2597 MPG123_PE_LIBS
2598 Linker flags for the PE mpg123, overriding the bundled version
2599 MUSL_PE_CFLAGS
2600 C compiler flags for the PE musl, overriding the bundled version
2601 MUSL_PE_LIBS
2602 Linker flags for the PE musl, overriding the bundled version
2603 PNG_PE_CFLAGS
2604 C compiler flags for the PE png, overriding the bundled version
2605 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2606 TIFF_PE_CFLAGS
2607 C compiler flags for the PE tiff, overriding the bundled version
2608 TIFF_PE_LIBS
2609 Linker flags for the PE tiff, overriding the bundled version
2610 VKD3D_PE_CFLAGS
2611 C compiler flags for the PE vkd3d, overriding the bundled
2612 version
2613 VKD3D_PE_LIBS
2614 Linker flags for the PE vkd3d, overriding the bundled version
2615 XML2_PE_CFLAGS
2616 C compiler flags for the PE xml2, overriding the bundled version
2617 XML2_PE_LIBS
2618 Linker flags for the PE xml2, overriding the bundled version
2619 XSLT_PE_CFLAGS
2620 C compiler flags for the PE xslt, overriding the bundled version
2621 XSLT_PE_LIBS
2622 Linker flags for the PE xslt, overriding the bundled version
2623 ZLIB_PE_CFLAGS
2624 C compiler flags for the PE zlib, overriding the bundled version
2625 ZLIB_PE_LIBS
2626 Linker flags for the PE zlib, overriding the bundled version
2627 ZYDIS_PE_CFLAGS
2628 C compiler flags for the PE zydis, overriding the bundled
2629 version
2630 ZYDIS_PE_LIBS
2631 Linker flags for the PE zydis, overriding the bundled version
2632 XMKMF Path to xmkmf, Makefile generator for X Window System
2633 CPP C preprocessor
2634 WAYLAND_CLIENT_CFLAGS
2635 C compiler flags for wayland-client, overriding pkg-config
2636 WAYLAND_CLIENT_LIBS
2637 Linker flags for wayland-client, overriding pkg-config
2638 XKBCOMMON_CFLAGS
2639 C compiler flags for xkbcommon, overriding pkg-config
2640 XKBCOMMON_LIBS
2641 Linker flags for xkbcommon, overriding pkg-config
2642 XKBREGISTRY_CFLAGS
2643 C compiler flags for xkbregistry, overriding pkg-config
2644 XKBREGISTRY_LIBS
2645 Linker flags for xkbregistry, overriding pkg-config
2646 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2647 EGL_LIBS Linker flags for egl, overriding pkg-config
2648 WAYLAND_EGL_CFLAGS
2649 C compiler flags for wayland-egl, overriding pkg-config
2650 WAYLAND_EGL_LIBS
2651 Linker flags for wayland-egl, overriding pkg-config
2652 ODBC_CFLAGS C compiler flags for odbc, overriding pkg-config
2653 ODBC_LIBS Linker flags for odbc, overriding pkg-config
2654 INOTIFY_CFLAGS
2655 C compiler flags for libinotify, overriding pkg-config
2656 INOTIFY_LIBS
2657 Linker flags for libinotify, overriding pkg-config
2658 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2659 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2660 GNUTLS_CFLAGS
2661 C compiler flags for gnutls, overriding pkg-config
2662 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2663 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2664 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2665 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2666 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2667 GPHOTO2_CFLAGS
2668 C compiler flags for libgphoto2, overriding pkg-config
2669 GPHOTO2_LIBS
2670 Linker flags for libgphoto2, overriding pkg-config
2671 GPHOTO2_PORT_CFLAGS
2672 C compiler flags for libgphoto2_port, overriding pkg-config
2673 GPHOTO2_PORT_LIBS
2674 Linker flags for libgphoto2_port, overriding pkg-config
2675 FREETYPE_CFLAGS
2676 C compiler flags for freetype2, overriding pkg-config
2677 FREETYPE_LIBS
2678 Linker flags for freetype2, overriding pkg-config
2679 PULSE_CFLAGS
2680 C compiler flags for libpulse, overriding pkg-config
2681 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2682 GSTREAMER_CFLAGS
2683 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2684 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2685 GSTREAMER_LIBS
2686 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2687 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2688 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2689 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2690 UNWIND_CFLAGS
2691 C compiler flags for libunwind, overriding pkg-config
2692 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2693 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2694 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2695 CAPI20_CFLAGS
2696 C compiler flags for capi20, overriding pkg-config
2697 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2698 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2699 CUPS_LIBS Linker flags for cups, overriding pkg-config
2700 FONTCONFIG_CFLAGS
2701 C compiler flags for fontconfig, overriding pkg-config
2702 FONTCONFIG_LIBS
2703 Linker flags for fontconfig, overriding pkg-config
2704 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2705 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2706 GSSAPI_CFLAGS
2707 C compiler flags for krb5-gssapi, overriding pkg-config
2708 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2709 NETAPI_CFLAGS
2710 C compiler flags for netapi, overriding pkg-config
2711 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2713 Use these variables to override the choices made by `configure' or to help
2714 it to find libraries and programs with nonstandard names/locations.
2716 Report bugs to <wine-devel@winehq.org>.
2717 Wine home page: <https://www.winehq.org>.
2718 _ACEOF
2719 ac_status=$?
2722 if test "$ac_init_help" = "recursive"; then
2723 # If there are subdirs, report their specific --help.
2724 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2725 test -d "$ac_dir" ||
2726 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2727 continue
2728 ac_builddir=.
2730 case "$ac_dir" in
2731 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2733 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2734 # A ".." for each directory in $ac_dir_suffix.
2735 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2736 case $ac_top_builddir_sub in
2737 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2738 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2739 esac ;;
2740 esac
2741 ac_abs_top_builddir=$ac_pwd
2742 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2743 # for backward compatibility:
2744 ac_top_builddir=$ac_top_build_prefix
2746 case $srcdir in
2747 .) # We are building in place.
2748 ac_srcdir=.
2749 ac_top_srcdir=$ac_top_builddir_sub
2750 ac_abs_top_srcdir=$ac_pwd ;;
2751 [\\/]* | ?:[\\/]* ) # Absolute name.
2752 ac_srcdir=$srcdir$ac_dir_suffix;
2753 ac_top_srcdir=$srcdir
2754 ac_abs_top_srcdir=$srcdir ;;
2755 *) # Relative name.
2756 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2757 ac_top_srcdir=$ac_top_build_prefix$srcdir
2758 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2759 esac
2760 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2762 cd "$ac_dir" || { ac_status=$?; continue; }
2763 # Check for configure.gnu first; this name is used for a wrapper for
2764 # Metaconfig's "Configure" on case-insensitive file systems.
2765 if test -f "$ac_srcdir/configure.gnu"; then
2766 echo &&
2767 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2768 elif test -f "$ac_srcdir/configure"; then
2769 echo &&
2770 $SHELL "$ac_srcdir/configure" --help=recursive
2771 else
2772 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2773 fi || ac_status=$?
2774 cd "$ac_pwd" || { ac_status=$?; break; }
2775 done
2778 test -n "$ac_init_help" && exit $ac_status
2779 if $ac_init_version; then
2780 cat <<\_ACEOF
2781 Wine configure 9.9
2782 generated by GNU Autoconf 2.71
2784 Copyright (C) 2021 Free Software Foundation, Inc.
2785 This configure script is free software; the Free Software Foundation
2786 gives unlimited permission to copy, distribute and modify it.
2787 _ACEOF
2788 exit
2791 ## ------------------------ ##
2792 ## Autoconf initialization. ##
2793 ## ------------------------ ##
2795 # ac_fn_c_try_compile LINENO
2796 # --------------------------
2797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2798 ac_fn_c_try_compile ()
2800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2801 rm -f conftest.$ac_objext conftest.beam
2802 if { { ac_try="$ac_compile"
2803 case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 printf "%s\n" "$ac_try_echo"; } >&5
2809 (eval "$ac_compile") 2>conftest.err
2810 ac_status=$?
2811 if test -s conftest.err; then
2812 grep -v '^ *+' conftest.err >conftest.er1
2813 cat conftest.er1 >&5
2814 mv -f conftest.er1 conftest.err
2816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; } && {
2818 test -z "$ac_c_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest.$ac_objext
2821 then :
2822 ac_retval=0
2823 else $as_nop
2824 printf "%s\n" "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 ac_retval=1
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 as_fn_set_status $ac_retval
2832 } # ac_fn_c_try_compile
2834 # ac_fn_cxx_try_compile LINENO
2835 # ----------------------------
2836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_cxx_try_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext conftest.beam
2841 if { { ac_try="$ac_compile"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 printf "%s\n" "$ac_try_echo"; } >&5
2848 (eval "$ac_compile") 2>conftest.err
2849 ac_status=$?
2850 if test -s conftest.err; then
2851 grep -v '^ *+' conftest.err >conftest.er1
2852 cat conftest.er1 >&5
2853 mv -f conftest.er1 conftest.err
2855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_cxx_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.$ac_objext
2860 then :
2861 ac_retval=0
2862 else $as_nop
2863 printf "%s\n" "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_cxx_try_compile
2873 # ac_fn_c_try_link LINENO
2874 # -----------------------
2875 # Try to link conftest.$ac_ext, and return whether this succeeded.
2876 ac_fn_c_try_link ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2880 if { { ac_try="$ac_link"
2881 case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 printf "%s\n" "$ac_try_echo"; } >&5
2887 (eval "$ac_link") 2>conftest.err
2888 ac_status=$?
2889 if test -s conftest.err; then
2890 grep -v '^ *+' conftest.err >conftest.er1
2891 cat conftest.er1 >&5
2892 mv -f conftest.er1 conftest.err
2894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 test $ac_status = 0; } && {
2896 test -z "$ac_c_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest$ac_exeext && {
2899 test "$cross_compiling" = yes ||
2900 test -x conftest$ac_exeext
2902 then :
2903 ac_retval=0
2904 else $as_nop
2905 printf "%s\n" "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2908 ac_retval=1
2910 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2911 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2912 # interfere with the next link command; also delete a directory that is
2913 # left behind by Apple's compiler. We do this before executing the actions.
2914 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 as_fn_set_status $ac_retval
2918 } # ac_fn_c_try_link
2920 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2921 # -------------------------------------------------------
2922 # Tests whether HEADER exists and can be compiled using the include files in
2923 # INCLUDES, setting the cache variable VAR accordingly.
2924 ac_fn_c_check_header_compile ()
2926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2928 printf %s "checking for $2... " >&6; }
2929 if eval test \${$3+y}
2930 then :
2931 printf %s "(cached) " >&6
2932 else $as_nop
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2936 #include <$2>
2937 _ACEOF
2938 if ac_fn_c_try_compile "$LINENO"
2939 then :
2940 eval "$3=yes"
2941 else $as_nop
2942 eval "$3=no"
2944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2946 eval ac_res=\$$3
2947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2948 printf "%s\n" "$ac_res" >&6; }
2949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2951 } # ac_fn_c_check_header_compile
2953 # ac_fn_objc_try_compile LINENO
2954 # -----------------------------
2955 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2956 ac_fn_objc_try_compile ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 rm -f conftest.$ac_objext conftest.beam
2960 if { { ac_try="$ac_compile"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2966 printf "%s\n" "$ac_try_echo"; } >&5
2967 (eval "$ac_compile") 2>conftest.err
2968 ac_status=$?
2969 if test -s conftest.err; then
2970 grep -v '^ *+' conftest.err >conftest.er1
2971 cat conftest.er1 >&5
2972 mv -f conftest.er1 conftest.err
2974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; } && {
2976 test -z "$ac_objc_werror_flag" ||
2977 test ! -s conftest.err
2978 } && test -s conftest.$ac_objext
2979 then :
2980 ac_retval=0
2981 else $as_nop
2982 printf "%s\n" "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 ac_retval=1
2987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2988 as_fn_set_status $ac_retval
2990 } # ac_fn_objc_try_compile
2992 # ac_fn_c_check_func LINENO FUNC VAR
2993 # ----------------------------------
2994 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2995 ac_fn_c_check_func ()
2997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2999 printf %s "checking for $2... " >&6; }
3000 if eval test \${$3+y}
3001 then :
3002 printf %s "(cached) " >&6
3003 else $as_nop
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3006 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3008 #define $2 innocuous_$2
3010 /* System header to define __stub macros and hopefully few prototypes,
3011 which can conflict with char $2 (); below. */
3013 #include <limits.h>
3014 #undef $2
3016 /* Override any GCC internal prototype to avoid an error.
3017 Use char because int might match the return type of a GCC
3018 builtin and then its argument prototype would still apply. */
3019 #ifdef __cplusplus
3020 extern "C"
3021 #endif
3022 char $2 ();
3023 /* The GNU C library defines this for functions which it implements
3024 to always fail with ENOSYS. Some functions are actually named
3025 something starting with __ and the normal name is an alias. */
3026 #if defined __stub_$2 || defined __stub___$2
3027 choke me
3028 #endif
3031 main (void)
3033 return $2 ();
3035 return 0;
3037 _ACEOF
3038 if ac_fn_c_try_link "$LINENO"
3039 then :
3040 eval "$3=yes"
3041 else $as_nop
3042 eval "$3=no"
3044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3045 conftest$ac_exeext conftest.$ac_ext
3047 eval ac_res=\$$3
3048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3049 printf "%s\n" "$ac_res" >&6; }
3050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3052 } # ac_fn_c_check_func
3054 # ac_fn_c_try_cpp LINENO
3055 # ----------------------
3056 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3057 ac_fn_c_try_cpp ()
3059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3060 if { { ac_try="$ac_cpp conftest.$ac_ext"
3061 case "(($ac_try" in
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3064 esac
3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 printf "%s\n" "$ac_try_echo"; } >&5
3067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3068 ac_status=$?
3069 if test -s conftest.err; then
3070 grep -v '^ *+' conftest.err >conftest.er1
3071 cat conftest.er1 >&5
3072 mv -f conftest.er1 conftest.err
3074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; } > conftest.i && {
3076 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3077 test ! -s conftest.err
3079 then :
3080 ac_retval=0
3081 else $as_nop
3082 printf "%s\n" "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3085 ac_retval=1
3087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3088 as_fn_set_status $ac_retval
3090 } # ac_fn_c_try_cpp
3092 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3093 # ----------------------------------------------------
3094 # Tries to find if the field MEMBER exists in type AGGR, after including
3095 # INCLUDES, setting cache variable VAR accordingly.
3096 ac_fn_c_check_member ()
3098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3100 printf %s "checking for $2.$3... " >&6; }
3101 if eval test \${$4+y}
3102 then :
3103 printf %s "(cached) " >&6
3104 else $as_nop
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3109 main (void)
3111 static $2 ac_aggr;
3112 if (ac_aggr.$3)
3113 return 0;
3115 return 0;
3117 _ACEOF
3118 if ac_fn_c_try_compile "$LINENO"
3119 then :
3120 eval "$4=yes"
3121 else $as_nop
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3126 main (void)
3128 static $2 ac_aggr;
3129 if (sizeof ac_aggr.$3)
3130 return 0;
3132 return 0;
3134 _ACEOF
3135 if ac_fn_c_try_compile "$LINENO"
3136 then :
3137 eval "$4=yes"
3138 else $as_nop
3139 eval "$4=no"
3141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3145 eval ac_res=\$$4
3146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3147 printf "%s\n" "$ac_res" >&6; }
3148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3150 } # ac_fn_c_check_member
3152 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3153 # -------------------------------------------
3154 # Tests whether TYPE exists after having included INCLUDES, setting cache
3155 # variable VAR accordingly.
3156 ac_fn_c_check_type ()
3158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3160 printf %s "checking for $2... " >&6; }
3161 if eval test \${$3+y}
3162 then :
3163 printf %s "(cached) " >&6
3164 else $as_nop
3165 eval "$3=no"
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3170 main (void)
3172 if (sizeof ($2))
3173 return 0;
3175 return 0;
3177 _ACEOF
3178 if ac_fn_c_try_compile "$LINENO"
3179 then :
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181 /* end confdefs.h. */
3184 main (void)
3186 if (sizeof (($2)))
3187 return 0;
3189 return 0;
3191 _ACEOF
3192 if ac_fn_c_try_compile "$LINENO"
3193 then :
3195 else $as_nop
3196 eval "$3=yes"
3198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3202 eval ac_res=\$$3
3203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3204 printf "%s\n" "$ac_res" >&6; }
3205 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3207 } # ac_fn_c_check_type
3208 ac_configure_args_raw=
3209 for ac_arg
3211 case $ac_arg in
3212 *\'*)
3213 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3214 esac
3215 as_fn_append ac_configure_args_raw " '$ac_arg'"
3216 done
3218 case $ac_configure_args_raw in
3219 *$as_nl*)
3220 ac_safe_unquote= ;;
3222 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3223 ac_unsafe_a="$ac_unsafe_z#~"
3224 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3225 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3226 esac
3228 cat >config.log <<_ACEOF
3229 This file contains any messages produced by compilers while
3230 running configure, to aid debugging if configure makes a mistake.
3232 It was created by Wine $as_me 9.9, which was
3233 generated by GNU Autoconf 2.71. Invocation command line was
3235 $ $0$ac_configure_args_raw
3237 _ACEOF
3238 exec 5>>config.log
3240 cat <<_ASUNAME
3241 ## --------- ##
3242 ## Platform. ##
3243 ## --------- ##
3245 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3246 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3247 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3248 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3249 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3251 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3252 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3254 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3255 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3256 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3257 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3258 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3259 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3260 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3262 _ASUNAME
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3267 IFS=$as_save_IFS
3268 case $as_dir in #(((
3269 '') as_dir=./ ;;
3270 */) ;;
3271 *) as_dir=$as_dir/ ;;
3272 esac
3273 printf "%s\n" "PATH: $as_dir"
3274 done
3275 IFS=$as_save_IFS
3277 } >&5
3279 cat >&5 <<_ACEOF
3282 ## ----------- ##
3283 ## Core tests. ##
3284 ## ----------- ##
3286 _ACEOF
3289 # Keep a trace of the command line.
3290 # Strip out --no-create and --no-recursion so they do not pile up.
3291 # Strip out --silent because we don't want to record it for future runs.
3292 # Also quote any args containing shell meta-characters.
3293 # Make two passes to allow for proper duplicate-argument suppression.
3294 ac_configure_args=
3295 ac_configure_args0=
3296 ac_configure_args1=
3297 ac_must_keep_next=false
3298 for ac_pass in 1 2
3300 for ac_arg
3302 case $ac_arg in
3303 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3304 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3305 | -silent | --silent | --silen | --sile | --sil)
3306 continue ;;
3307 *\'*)
3308 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3309 esac
3310 case $ac_pass in
3311 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3313 as_fn_append ac_configure_args1 " '$ac_arg'"
3314 if test $ac_must_keep_next = true; then
3315 ac_must_keep_next=false # Got value, back to normal.
3316 else
3317 case $ac_arg in
3318 *=* | --config-cache | -C | -disable-* | --disable-* \
3319 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3320 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3321 | -with-* | --with-* | -without-* | --without-* | --x)
3322 case "$ac_configure_args0 " in
3323 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3324 esac
3326 -* ) ac_must_keep_next=true ;;
3327 esac
3329 as_fn_append ac_configure_args " '$ac_arg'"
3331 esac
3332 done
3333 done
3334 { ac_configure_args0=; unset ac_configure_args0;}
3335 { ac_configure_args1=; unset ac_configure_args1;}
3337 # When interrupted or exit'd, cleanup temporary files, and complete
3338 # config.log. We remove comments because anyway the quotes in there
3339 # would cause problems or look ugly.
3340 # WARNING: Use '\'' to represent an apostrophe within the trap.
3341 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3342 trap 'exit_status=$?
3343 # Sanitize IFS.
3344 IFS=" "" $as_nl"
3345 # Save into config.log some information that might help in debugging.
3347 echo
3349 printf "%s\n" "## ---------------- ##
3350 ## Cache variables. ##
3351 ## ---------------- ##"
3352 echo
3353 # The following way of writing the cache mishandles newlines in values,
3355 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3356 eval ac_val=\$$ac_var
3357 case $ac_val in #(
3358 *${as_nl}*)
3359 case $ac_var in #(
3360 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3361 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3362 esac
3363 case $ac_var in #(
3364 _ | IFS | as_nl) ;; #(
3365 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3366 *) { eval $ac_var=; unset $ac_var;} ;;
3367 esac ;;
3368 esac
3369 done
3370 (set) 2>&1 |
3371 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3372 *${as_nl}ac_space=\ *)
3373 sed -n \
3374 "s/'\''/'\''\\\\'\'''\''/g;
3375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3376 ;; #(
3378 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3380 esac |
3381 sort
3383 echo
3385 printf "%s\n" "## ----------------- ##
3386 ## Output variables. ##
3387 ## ----------------- ##"
3388 echo
3389 for ac_var in $ac_subst_vars
3391 eval ac_val=\$$ac_var
3392 case $ac_val in
3393 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3394 esac
3395 printf "%s\n" "$ac_var='\''$ac_val'\''"
3396 done | sort
3397 echo
3399 if test -n "$ac_subst_files"; then
3400 printf "%s\n" "## ------------------- ##
3401 ## File substitutions. ##
3402 ## ------------------- ##"
3403 echo
3404 for ac_var in $ac_subst_files
3406 eval ac_val=\$$ac_var
3407 case $ac_val in
3408 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3409 esac
3410 printf "%s\n" "$ac_var='\''$ac_val'\''"
3411 done | sort
3412 echo
3415 if test -s confdefs.h; then
3416 printf "%s\n" "## ----------- ##
3417 ## confdefs.h. ##
3418 ## ----------- ##"
3419 echo
3420 cat confdefs.h
3421 echo
3423 test "$ac_signal" != 0 &&
3424 printf "%s\n" "$as_me: caught signal $ac_signal"
3425 printf "%s\n" "$as_me: exit $exit_status"
3426 } >&5
3427 rm -f core *.core core.conftest.* &&
3428 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3429 exit $exit_status
3431 for ac_signal in 1 2 13 15; do
3432 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3433 done
3434 ac_signal=0
3436 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3437 rm -f -r conftest* confdefs.h
3439 printf "%s\n" "/* confdefs.h */" > confdefs.h
3441 # Predefined preprocessor variables.
3443 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3445 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3447 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3449 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3451 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3453 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3456 # Let the site file select an alternate cache file if it wants to.
3457 # Prefer an explicitly selected file to automatically selected ones.
3458 if test -n "$CONFIG_SITE"; then
3459 ac_site_files="$CONFIG_SITE"
3460 elif test "x$prefix" != xNONE; then
3461 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3462 else
3463 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3466 for ac_site_file in $ac_site_files
3468 case $ac_site_file in #(
3469 */*) :
3470 ;; #(
3471 *) :
3472 ac_site_file=./$ac_site_file ;;
3473 esac
3474 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3476 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3477 sed 's/^/| /' "$ac_site_file" >&5
3478 . "$ac_site_file" \
3479 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3481 as_fn_error $? "failed to load site script $ac_site_file
3482 See \`config.log' for more details" "$LINENO" 5; }
3484 done
3486 if test -r "$cache_file"; then
3487 # Some versions of bash will fail to source /dev/null (special files
3488 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3489 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3491 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3492 case $cache_file in
3493 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3494 *) . "./$cache_file";;
3495 esac
3497 else
3498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3499 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3500 >$cache_file
3503 # Test code for whether the C compiler supports C89 (global declarations)
3504 ac_c_conftest_c89_globals='
3505 /* Does the compiler advertise C89 conformance?
3506 Do not test the value of __STDC__, because some compilers set it to 0
3507 while being otherwise adequately conformant. */
3508 #if !defined __STDC__
3509 # error "Compiler does not advertise C89 conformance"
3510 #endif
3512 #include <stddef.h>
3513 #include <stdarg.h>
3514 struct stat;
3515 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3516 struct buf { int x; };
3517 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3518 static char *e (p, i)
3519 char **p;
3520 int i;
3522 return p[i];
3524 static char *f (char * (*g) (char **, int), char **p, ...)
3526 char *s;
3527 va_list v;
3528 va_start (v,p);
3529 s = g (p, va_arg (v,int));
3530 va_end (v);
3531 return s;
3534 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3535 function prototypes and stuff, but not \xHH hex character constants.
3536 These do not provoke an error unfortunately, instead are silently treated
3537 as an "x". The following induces an error, until -std is added to get
3538 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3539 array size at least. It is necessary to write \x00 == 0 to get something
3540 that is true only with -std. */
3541 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3543 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3544 inside strings and character constants. */
3545 #define FOO(x) '\''x'\''
3546 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3548 int test (int i, double x);
3549 struct s1 {int (*f) (int a);};
3550 struct s2 {int (*f) (double a);};
3551 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3552 int, int);'
3554 # Test code for whether the C compiler supports C89 (body of main).
3555 ac_c_conftest_c89_main='
3556 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3559 # Test code for whether the C compiler supports C99 (global declarations)
3560 ac_c_conftest_c99_globals='
3561 // Does the compiler advertise C99 conformance?
3562 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3563 # error "Compiler does not advertise C99 conformance"
3564 #endif
3566 #include <stdbool.h>
3567 extern int puts (const char *);
3568 extern int printf (const char *, ...);
3569 extern int dprintf (int, const char *, ...);
3570 extern void *malloc (size_t);
3572 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3573 // dprintf is used instead of fprintf to avoid needing to declare
3574 // FILE and stderr.
3575 #define debug(...) dprintf (2, __VA_ARGS__)
3576 #define showlist(...) puts (#__VA_ARGS__)
3577 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3578 static void
3579 test_varargs_macros (void)
3581 int x = 1234;
3582 int y = 5678;
3583 debug ("Flag");
3584 debug ("X = %d\n", x);
3585 showlist (The first, second, and third items.);
3586 report (x>y, "x is %d but y is %d", x, y);
3589 // Check long long types.
3590 #define BIG64 18446744073709551615ull
3591 #define BIG32 4294967295ul
3592 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3593 #if !BIG_OK
3594 #error "your preprocessor is broken"
3595 #endif
3596 #if BIG_OK
3597 #else
3598 #error "your preprocessor is broken"
3599 #endif
3600 static long long int bignum = -9223372036854775807LL;
3601 static unsigned long long int ubignum = BIG64;
3603 struct incomplete_array
3605 int datasize;
3606 double data[];
3609 struct named_init {
3610 int number;
3611 const wchar_t *name;
3612 double average;
3615 typedef const char *ccp;
3617 static inline int
3618 test_restrict (ccp restrict text)
3620 // See if C++-style comments work.
3621 // Iterate through items via the restricted pointer.
3622 // Also check for declarations in for loops.
3623 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3624 continue;
3625 return 0;
3628 // Check varargs and va_copy.
3629 static bool
3630 test_varargs (const char *format, ...)
3632 va_list args;
3633 va_start (args, format);
3634 va_list args_copy;
3635 va_copy (args_copy, args);
3637 const char *str = "";
3638 int number = 0;
3639 float fnumber = 0;
3641 while (*format)
3643 switch (*format++)
3645 case '\''s'\'': // string
3646 str = va_arg (args_copy, const char *);
3647 break;
3648 case '\''d'\'': // int
3649 number = va_arg (args_copy, int);
3650 break;
3651 case '\''f'\'': // float
3652 fnumber = va_arg (args_copy, double);
3653 break;
3654 default:
3655 break;
3658 va_end (args_copy);
3659 va_end (args);
3661 return *str && number && fnumber;
3665 # Test code for whether the C compiler supports C99 (body of main).
3666 ac_c_conftest_c99_main='
3667 // Check bool.
3668 _Bool success = false;
3669 success |= (argc != 0);
3671 // Check restrict.
3672 if (test_restrict ("String literal") == 0)
3673 success = true;
3674 char *restrict newvar = "Another string";
3676 // Check varargs.
3677 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3678 test_varargs_macros ();
3680 // Check flexible array members.
3681 struct incomplete_array *ia =
3682 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3683 ia->datasize = 10;
3684 for (int i = 0; i < ia->datasize; ++i)
3685 ia->data[i] = i * 1.234;
3687 // Check named initializers.
3688 struct named_init ni = {
3689 .number = 34,
3690 .name = L"Test wide string",
3691 .average = 543.34343,
3694 ni.number = 58;
3696 int dynamic_array[ni.number];
3697 dynamic_array[0] = argv[0][0];
3698 dynamic_array[ni.number - 1] = 543;
3700 // work around unused variable warnings
3701 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3702 || dynamic_array[ni.number - 1] != 543);
3705 # Test code for whether the C compiler supports C11 (global declarations)
3706 ac_c_conftest_c11_globals='
3707 // Does the compiler advertise C11 conformance?
3708 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3709 # error "Compiler does not advertise C11 conformance"
3710 #endif
3712 // Check _Alignas.
3713 char _Alignas (double) aligned_as_double;
3714 char _Alignas (0) no_special_alignment;
3715 extern char aligned_as_int;
3716 char _Alignas (0) _Alignas (int) aligned_as_int;
3718 // Check _Alignof.
3719 enum
3721 int_alignment = _Alignof (int),
3722 int_array_alignment = _Alignof (int[100]),
3723 char_alignment = _Alignof (char)
3725 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3727 // Check _Noreturn.
3728 int _Noreturn does_not_return (void) { for (;;) continue; }
3730 // Check _Static_assert.
3731 struct test_static_assert
3733 int x;
3734 _Static_assert (sizeof (int) <= sizeof (long int),
3735 "_Static_assert does not work in struct");
3736 long int y;
3739 // Check UTF-8 literals.
3740 #define u8 syntax error!
3741 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3743 // Check duplicate typedefs.
3744 typedef long *long_ptr;
3745 typedef long int *long_ptr;
3746 typedef long_ptr long_ptr;
3748 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3749 struct anonymous
3751 union {
3752 struct { int i; int j; };
3753 struct { int k; long int l; } w;
3755 int m;
3756 } v1;
3759 # Test code for whether the C compiler supports C11 (body of main).
3760 ac_c_conftest_c11_main='
3761 _Static_assert ((offsetof (struct anonymous, i)
3762 == offsetof (struct anonymous, w.k)),
3763 "Anonymous union alignment botch");
3764 v1.i = 2;
3765 v1.w.k = 5;
3766 ok |= v1.i != 5;
3769 # Test code for whether the C compiler supports C11 (complete).
3770 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3771 ${ac_c_conftest_c99_globals}
3772 ${ac_c_conftest_c11_globals}
3775 main (int argc, char **argv)
3777 int ok = 0;
3778 ${ac_c_conftest_c89_main}
3779 ${ac_c_conftest_c99_main}
3780 ${ac_c_conftest_c11_main}
3781 return ok;
3785 # Test code for whether the C compiler supports C99 (complete).
3786 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3787 ${ac_c_conftest_c99_globals}
3790 main (int argc, char **argv)
3792 int ok = 0;
3793 ${ac_c_conftest_c89_main}
3794 ${ac_c_conftest_c99_main}
3795 return ok;
3799 # Test code for whether the C compiler supports C89 (complete).
3800 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3803 main (int argc, char **argv)
3805 int ok = 0;
3806 ${ac_c_conftest_c89_main}
3807 return ok;
3811 # Test code for whether the C++ compiler supports C++98 (global declarations)
3812 ac_cxx_conftest_cxx98_globals='
3813 // Does the compiler advertise C++98 conformance?
3814 #if !defined __cplusplus || __cplusplus < 199711L
3815 # error "Compiler does not advertise C++98 conformance"
3816 #endif
3818 // These inclusions are to reject old compilers that
3819 // lack the unsuffixed header files.
3820 #include <cstdlib>
3821 #include <exception>
3823 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3824 extern void assert (int);
3825 namespace std {
3826 extern int strcmp (const char *, const char *);
3829 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3830 using std::exception;
3831 using std::strcmp;
3833 namespace {
3835 void test_exception_syntax()
3837 try {
3838 throw "test";
3839 } catch (const char *s) {
3840 // Extra parentheses suppress a warning when building autoconf itself,
3841 // due to lint rules shared with more typical C programs.
3842 assert (!(strcmp) (s, "test"));
3846 template <typename T> struct test_template
3848 T const val;
3849 explicit test_template(T t) : val(t) {}
3850 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3853 } // anonymous namespace
3856 # Test code for whether the C++ compiler supports C++98 (body of main)
3857 ac_cxx_conftest_cxx98_main='
3858 assert (argc);
3859 assert (! argv[0]);
3861 test_exception_syntax ();
3862 test_template<double> tt (2.0);
3863 assert (tt.add (4) == 6.0);
3864 assert (true && !false);
3868 # Test code for whether the C++ compiler supports C++11 (global declarations)
3869 ac_cxx_conftest_cxx11_globals='
3870 // Does the compiler advertise C++ 2011 conformance?
3871 #if !defined __cplusplus || __cplusplus < 201103L
3872 # error "Compiler does not advertise C++11 conformance"
3873 #endif
3875 namespace cxx11test
3877 constexpr int get_val() { return 20; }
3879 struct testinit
3881 int i;
3882 double d;
3885 class delegate
3887 public:
3888 delegate(int n) : n(n) {}
3889 delegate(): delegate(2354) {}
3891 virtual int getval() { return this->n; };
3892 protected:
3893 int n;
3896 class overridden : public delegate
3898 public:
3899 overridden(int n): delegate(n) {}
3900 virtual int getval() override final { return this->n * 2; }
3903 class nocopy
3905 public:
3906 nocopy(int i): i(i) {}
3907 nocopy() = default;
3908 nocopy(const nocopy&) = delete;
3909 nocopy & operator=(const nocopy&) = delete;
3910 private:
3911 int i;
3914 // for testing lambda expressions
3915 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3917 return f(v);
3920 // for testing variadic templates and trailing return types
3921 template <typename V> auto sum(V first) -> V
3923 return first;
3925 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3927 return first + sum(rest...);
3932 # Test code for whether the C++ compiler supports C++11 (body of main)
3933 ac_cxx_conftest_cxx11_main='
3935 // Test auto and decltype
3936 auto a1 = 6538;
3937 auto a2 = 48573953.4;
3938 auto a3 = "String literal";
3940 int total = 0;
3941 for (auto i = a3; *i; ++i) { total += *i; }
3943 decltype(a2) a4 = 34895.034;
3946 // Test constexpr
3947 short sa[cxx11test::get_val()] = { 0 };
3950 // Test initializer lists
3951 cxx11test::testinit il = { 4323, 435234.23544 };
3954 // Test range-based for
3955 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3956 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3957 for (auto &x : array) { x += 23; }
3960 // Test lambda expressions
3961 using cxx11test::eval;
3962 assert (eval ([](int x) { return x*2; }, 21) == 42);
3963 double d = 2.0;
3964 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3965 assert (d == 5.0);
3966 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3967 assert (d == 5.0);
3970 // Test use of variadic templates
3971 using cxx11test::sum;
3972 auto a = sum(1);
3973 auto b = sum(1, 2);
3974 auto c = sum(1.0, 2.0, 3.0);
3977 // Test constructor delegation
3978 cxx11test::delegate d1;
3979 cxx11test::delegate d2();
3980 cxx11test::delegate d3(45);
3983 // Test override and final
3984 cxx11test::overridden o1(55464);
3987 // Test nullptr
3988 char *c = nullptr;
3991 // Test template brackets
3992 test_template<::test_template<int>> v(test_template<int>(12));
3995 // Unicode literals
3996 char const *utf8 = u8"UTF-8 string \u2500";
3997 char16_t const *utf16 = u"UTF-8 string \u2500";
3998 char32_t const *utf32 = U"UTF-32 string \u2500";
4002 # Test code for whether the C compiler supports C++11 (complete).
4003 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4004 ${ac_cxx_conftest_cxx11_globals}
4007 main (int argc, char **argv)
4009 int ok = 0;
4010 ${ac_cxx_conftest_cxx98_main}
4011 ${ac_cxx_conftest_cxx11_main}
4012 return ok;
4016 # Test code for whether the C compiler supports C++98 (complete).
4017 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4019 main (int argc, char **argv)
4021 int ok = 0;
4022 ${ac_cxx_conftest_cxx98_main}
4023 return ok;
4027 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4028 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4029 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4030 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4031 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4032 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4033 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4034 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4035 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4037 # Auxiliary files required by this configure script.
4038 ac_aux_files="config.guess config.sub"
4040 # Locations in which to look for auxiliary files.
4041 ac_aux_dir_candidates="${srcdir}/tools"
4043 # Search for a directory containing all of the required auxiliary files,
4044 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4045 # If we don't find one directory that contains all the files we need,
4046 # we report the set of missing files from the *first* directory in
4047 # $ac_aux_dir_candidates and give up.
4048 ac_missing_aux_files=""
4049 ac_first_candidate=:
4050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 as_found=false
4053 for as_dir in $ac_aux_dir_candidates
4055 IFS=$as_save_IFS
4056 case $as_dir in #(((
4057 '') as_dir=./ ;;
4058 */) ;;
4059 *) as_dir=$as_dir/ ;;
4060 esac
4061 as_found=:
4063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4064 ac_aux_dir_found=yes
4065 ac_install_sh=
4066 for ac_aux in $ac_aux_files
4068 # As a special case, if "install-sh" is required, that requirement
4069 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4070 # and $ac_install_sh is set appropriately for whichever one is found.
4071 if test x"$ac_aux" = x"install-sh"
4072 then
4073 if test -f "${as_dir}install-sh"; then
4074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4075 ac_install_sh="${as_dir}install-sh -c"
4076 elif test -f "${as_dir}install.sh"; then
4077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4078 ac_install_sh="${as_dir}install.sh -c"
4079 elif test -f "${as_dir}shtool"; then
4080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4081 ac_install_sh="${as_dir}shtool install -c"
4082 else
4083 ac_aux_dir_found=no
4084 if $ac_first_candidate; then
4085 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4086 else
4087 break
4090 else
4091 if test -f "${as_dir}${ac_aux}"; then
4092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4093 else
4094 ac_aux_dir_found=no
4095 if $ac_first_candidate; then
4096 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4097 else
4098 break
4102 done
4103 if test "$ac_aux_dir_found" = yes; then
4104 ac_aux_dir="$as_dir"
4105 break
4107 ac_first_candidate=false
4109 as_found=false
4110 done
4111 IFS=$as_save_IFS
4112 if $as_found
4113 then :
4115 else $as_nop
4116 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4120 # These three variables are undocumented and unsupported,
4121 # and are intended to be withdrawn in a future Autoconf release.
4122 # They can cause serious problems if a builder's source tree is in a directory
4123 # whose full name contains unusual characters.
4124 if test -f "${ac_aux_dir}config.guess"; then
4125 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4127 if test -f "${ac_aux_dir}config.sub"; then
4128 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4130 if test -f "$ac_aux_dir/configure"; then
4131 ac_configure="$SHELL ${ac_aux_dir}configure"
4134 # Check that the precious variables saved in the cache have kept the same
4135 # value.
4136 ac_cache_corrupted=false
4137 for ac_var in $ac_precious_vars; do
4138 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4139 eval ac_new_set=\$ac_env_${ac_var}_set
4140 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4141 eval ac_new_val=\$ac_env_${ac_var}_value
4142 case $ac_old_set,$ac_new_set in
4143 set,)
4144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4145 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4146 ac_cache_corrupted=: ;;
4147 ,set)
4148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4149 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4150 ac_cache_corrupted=: ;;
4151 ,);;
4153 if test "x$ac_old_val" != "x$ac_new_val"; then
4154 # differences in whitespace do not lead to failure.
4155 ac_old_val_w=`echo x $ac_old_val`
4156 ac_new_val_w=`echo x $ac_new_val`
4157 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4159 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4160 ac_cache_corrupted=:
4161 else
4162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4163 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4164 eval $ac_var=\$ac_old_val
4166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4167 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4169 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4170 fi;;
4171 esac
4172 # Pass precious variables to config.status.
4173 if test "$ac_new_set" = set; then
4174 case $ac_new_val in
4175 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4176 *) ac_arg=$ac_var=$ac_new_val ;;
4177 esac
4178 case " $ac_configure_args " in
4179 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4180 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4181 esac
4183 done
4184 if $ac_cache_corrupted; then
4185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4186 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4188 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4189 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4190 and start over" "$LINENO" 5
4192 ## -------------------- ##
4193 ## Main body of script. ##
4194 ## -------------------- ##
4196 ac_ext=c
4197 ac_cpp='$CPP $CPPFLAGS'
4198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4204 ac_config_headers="$ac_config_headers include/config.h"
4208 libwine_version="1.0"
4211 # Check whether --enable-archs was given.
4212 if test ${enable_archs+y}
4213 then :
4214 enableval=$enable_archs;
4217 # Check whether --enable-win16 was given.
4218 if test ${enable_win16+y}
4219 then :
4220 enableval=$enable_win16;
4223 # Check whether --enable-win64 was given.
4224 if test ${enable_win64+y}
4225 then :
4226 enableval=$enable_win64;
4229 # Check whether --enable-tests was given.
4230 if test ${enable_tests+y}
4231 then :
4232 enableval=$enable_tests;
4235 # Check whether --enable-build-id was given.
4236 if test ${enable_build_id+y}
4237 then :
4238 enableval=$enable_build_id;
4241 # Check whether --enable-maintainer-mode was given.
4242 if test ${enable_maintainer_mode+y}
4243 then :
4244 enableval=$enable_maintainer_mode;
4247 # Check whether --enable-silent-rules was given.
4248 if test ${enable_silent_rules+y}
4249 then :
4250 enableval=$enable_silent_rules;
4253 # Check whether --enable-werror was given.
4254 if test ${enable_werror+y}
4255 then :
4256 enableval=$enable_werror;
4261 # Check whether --with-alsa was given.
4262 if test ${with_alsa+y}
4263 then :
4264 withval=$with_alsa;
4268 # Check whether --with-capi was given.
4269 if test ${with_capi+y}
4270 then :
4271 withval=$with_capi;
4275 # Check whether --with-coreaudio was given.
4276 if test ${with_coreaudio+y}
4277 then :
4278 withval=$with_coreaudio;
4282 # Check whether --with-cups was given.
4283 if test ${with_cups+y}
4284 then :
4285 withval=$with_cups;
4289 # Check whether --with-dbus was given.
4290 if test ${with_dbus+y}
4291 then :
4292 withval=$with_dbus;
4296 # Check whether --with-fontconfig was given.
4297 if test ${with_fontconfig+y}
4298 then :
4299 withval=$with_fontconfig;
4303 # Check whether --with-freetype was given.
4304 if test ${with_freetype+y}
4305 then :
4306 withval=$with_freetype;
4310 # Check whether --with-gettext was given.
4311 if test ${with_gettext+y}
4312 then :
4313 withval=$with_gettext;
4317 # Check whether --with-gettextpo was given.
4318 if test ${with_gettextpo+y}
4319 then :
4320 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4324 # Check whether --with-gphoto was given.
4325 if test ${with_gphoto+y}
4326 then :
4327 withval=$with_gphoto;
4331 # Check whether --with-gnutls was given.
4332 if test ${with_gnutls+y}
4333 then :
4334 withval=$with_gnutls;
4338 # Check whether --with-gssapi was given.
4339 if test ${with_gssapi+y}
4340 then :
4341 withval=$with_gssapi;
4345 # Check whether --with-gstreamer was given.
4346 if test ${with_gstreamer+y}
4347 then :
4348 withval=$with_gstreamer;
4352 # Check whether --with-inotify was given.
4353 if test ${with_inotify+y}
4354 then :
4355 withval=$with_inotify;
4359 # Check whether --with-krb5 was given.
4360 if test ${with_krb5+y}
4361 then :
4362 withval=$with_krb5;
4366 # Check whether --with-mingw was given.
4367 if test ${with_mingw+y}
4368 then :
4369 withval=$with_mingw;
4373 # Check whether --with-netapi was given.
4374 if test ${with_netapi+y}
4375 then :
4376 withval=$with_netapi;
4380 # Check whether --with-odbc was given.
4381 if test ${with_odbc+y}
4382 then :
4383 withval=$with_odbc;
4387 # Check whether --with-opencl was given.
4388 if test ${with_opencl+y}
4389 then :
4390 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4394 # Check whether --with-opengl was given.
4395 if test ${with_opengl+y}
4396 then :
4397 withval=$with_opengl;
4401 # Check whether --with-osmesa was given.
4402 if test ${with_osmesa+y}
4403 then :
4404 withval=$with_osmesa;
4408 # Check whether --with-oss was given.
4409 if test ${with_oss+y}
4410 then :
4411 withval=$with_oss;
4415 # Check whether --with-pcap was given.
4416 if test ${with_pcap+y}
4417 then :
4418 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4422 # Check whether --with-pcsclite was given.
4423 if test ${with_pcsclite+y}
4424 then :
4425 withval=$with_pcsclite;
4429 # Check whether --with-pthread was given.
4430 if test ${with_pthread+y}
4431 then :
4432 withval=$with_pthread;
4436 # Check whether --with-pulse was given.
4437 if test ${with_pulse+y}
4438 then :
4439 withval=$with_pulse;
4443 # Check whether --with-sane was given.
4444 if test ${with_sane+y}
4445 then :
4446 withval=$with_sane;
4450 # Check whether --with-sdl was given.
4451 if test ${with_sdl+y}
4452 then :
4453 withval=$with_sdl;
4457 # Check whether --with-udev was given.
4458 if test ${with_udev+y}
4459 then :
4460 withval=$with_udev;
4464 # Check whether --with-unwind was given.
4465 if test ${with_unwind+y}
4466 then :
4467 withval=$with_unwind;
4471 # Check whether --with-usb was given.
4472 if test ${with_usb+y}
4473 then :
4474 withval=$with_usb;
4478 # Check whether --with-v4l2 was given.
4479 if test ${with_v4l2+y}
4480 then :
4481 withval=$with_v4l2;
4485 # Check whether --with-vulkan was given.
4486 if test ${with_vulkan+y}
4487 then :
4488 withval=$with_vulkan;
4492 # Check whether --with-wayland was given.
4493 if test ${with_wayland+y}
4494 then :
4495 withval=$with_wayland;
4499 # Check whether --with-xcomposite was given.
4500 if test ${with_xcomposite+y}
4501 then :
4502 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4506 # Check whether --with-xcursor was given.
4507 if test ${with_xcursor+y}
4508 then :
4509 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4513 # Check whether --with-xfixes was given.
4514 if test ${with_xfixes+y}
4515 then :
4516 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4520 # Check whether --with-xinerama was given.
4521 if test ${with_xinerama+y}
4522 then :
4523 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4527 # Check whether --with-xinput was given.
4528 if test ${with_xinput+y}
4529 then :
4530 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4534 # Check whether --with-xinput2 was given.
4535 if test ${with_xinput2+y}
4536 then :
4537 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4541 # Check whether --with-xrandr was given.
4542 if test ${with_xrandr+y}
4543 then :
4544 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4548 # Check whether --with-xrender was given.
4549 if test ${with_xrender+y}
4550 then :
4551 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4555 # Check whether --with-xshape was given.
4556 if test ${with_xshape+y}
4557 then :
4558 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4562 # Check whether --with-xshm was given.
4563 if test ${with_xshm+y}
4564 then :
4565 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4569 # Check whether --with-xxf86vm was given.
4570 if test ${with_xxf86vm+y}
4571 then :
4572 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
4577 # Check whether --with-system-dllpath was given.
4578 if test ${with_system_dllpath+y}
4579 then :
4580 withval=$with_system_dllpath; system_dllpath=$withval
4585 # Check whether --with-wine-tools was given.
4586 if test ${with_wine_tools+y}
4587 then :
4588 withval=$with_wine_tools;
4592 # Check whether --with-wine64 was given.
4593 if test ${with_wine64+y}
4594 then :
4595 withval=$with_wine64;
4602 # Make sure we can run config.sub.
4603 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4604 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4607 printf %s "checking build system type... " >&6; }
4608 if test ${ac_cv_build+y}
4609 then :
4610 printf %s "(cached) " >&6
4611 else $as_nop
4612 ac_build_alias=$build_alias
4613 test "x$ac_build_alias" = x &&
4614 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4615 test "x$ac_build_alias" = x &&
4616 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4617 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4618 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4622 printf "%s\n" "$ac_cv_build" >&6; }
4623 case $ac_cv_build in
4624 *-*-*) ;;
4625 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4626 esac
4627 build=$ac_cv_build
4628 ac_save_IFS=$IFS; IFS='-'
4629 set x $ac_cv_build
4630 shift
4631 build_cpu=$1
4632 build_vendor=$2
4633 shift; shift
4634 # Remember, the first character of IFS is used to create $*,
4635 # except with old shells:
4636 build_os=$*
4637 IFS=$ac_save_IFS
4638 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4642 printf %s "checking host system type... " >&6; }
4643 if test ${ac_cv_host+y}
4644 then :
4645 printf %s "(cached) " >&6
4646 else $as_nop
4647 if test "x$host_alias" = x; then
4648 ac_cv_host=$ac_cv_build
4649 else
4650 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4651 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4656 printf "%s\n" "$ac_cv_host" >&6; }
4657 case $ac_cv_host in
4658 *-*-*) ;;
4659 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4660 esac
4661 host=$ac_cv_host
4662 ac_save_IFS=$IFS; IFS='-'
4663 set x $ac_cv_host
4664 shift
4665 host_cpu=$1
4666 host_vendor=$2
4667 shift; shift
4668 # Remember, the first character of IFS is used to create $*,
4669 # except with old shells:
4670 host_os=$*
4671 IFS=$ac_save_IFS
4672 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4676 dlldir=\${libdir}/wine
4678 fontdir=\${datadir}/wine/fonts
4680 nlsdir=\${datadir}/wine/nls
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4686 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4687 set x ${MAKE-make}
4688 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4689 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4690 then :
4691 printf %s "(cached) " >&6
4692 else $as_nop
4693 cat >conftest.make <<\_ACEOF
4694 SHELL = /bin/sh
4695 all:
4696 @echo '@@@%%%=$(MAKE)=@@@%%%'
4697 _ACEOF
4698 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4699 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4700 *@@@%%%=?*=@@@%%%*)
4701 eval ac_cv_prog_make_${ac_make}_set=yes;;
4703 eval ac_cv_prog_make_${ac_make}_set=no;;
4704 esac
4705 rm -f conftest.make
4707 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4709 printf "%s\n" "yes" >&6; }
4710 SET_MAKE=
4711 else
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 printf "%s\n" "no" >&6; }
4714 SET_MAKE="MAKE=${MAKE-make}"
4726 ac_ext=c
4727 ac_cpp='$CPP $CPPFLAGS'
4728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 if test -n "$ac_tool_prefix"; then
4732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4733 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735 printf %s "checking for $ac_word... " >&6; }
4736 if test ${ac_cv_prog_CC+y}
4737 then :
4738 printf %s "(cached) " >&6
4739 else $as_nop
4740 if test -n "$CC"; then
4741 ac_cv_prog_CC="$CC" # Let the user override the test.
4742 else
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 for as_dir in $PATH
4746 IFS=$as_save_IFS
4747 case $as_dir in #(((
4748 '') as_dir=./ ;;
4749 */) ;;
4750 *) as_dir=$as_dir/ ;;
4751 esac
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4754 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4756 break 2
4758 done
4759 done
4760 IFS=$as_save_IFS
4764 CC=$ac_cv_prog_CC
4765 if test -n "$CC"; then
4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4767 printf "%s\n" "$CC" >&6; }
4768 else
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 printf "%s\n" "no" >&6; }
4775 if test -z "$ac_cv_prog_CC"; then
4776 ac_ct_CC=$CC
4777 # Extract the first word of "gcc", so it can be a program name with args.
4778 set dummy gcc; ac_word=$2
4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 printf %s "checking for $ac_word... " >&6; }
4781 if test ${ac_cv_prog_ac_ct_CC+y}
4782 then :
4783 printf %s "(cached) " >&6
4784 else $as_nop
4785 if test -n "$ac_ct_CC"; then
4786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4787 else
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789 for as_dir in $PATH
4791 IFS=$as_save_IFS
4792 case $as_dir in #(((
4793 '') as_dir=./ ;;
4794 */) ;;
4795 *) as_dir=$as_dir/ ;;
4796 esac
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_ac_ct_CC="gcc"
4800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4801 break 2
4803 done
4804 done
4805 IFS=$as_save_IFS
4809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4810 if test -n "$ac_ct_CC"; then
4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4812 printf "%s\n" "$ac_ct_CC" >&6; }
4813 else
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 printf "%s\n" "no" >&6; }
4818 if test "x$ac_ct_CC" = x; then
4819 CC=""
4820 else
4821 case $cross_compiling:$ac_tool_warned in
4822 yes:)
4823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4824 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4825 ac_tool_warned=yes ;;
4826 esac
4827 CC=$ac_ct_CC
4829 else
4830 CC="$ac_cv_prog_CC"
4833 if test -z "$CC"; then
4834 if test -n "$ac_tool_prefix"; then
4835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4836 set dummy ${ac_tool_prefix}cc; ac_word=$2
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 printf %s "checking for $ac_word... " >&6; }
4839 if test ${ac_cv_prog_CC+y}
4840 then :
4841 printf %s "(cached) " >&6
4842 else $as_nop
4843 if test -n "$CC"; then
4844 ac_cv_prog_CC="$CC" # Let the user override the test.
4845 else
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH
4849 IFS=$as_save_IFS
4850 case $as_dir in #(((
4851 '') as_dir=./ ;;
4852 */) ;;
4853 *) as_dir=$as_dir/ ;;
4854 esac
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_CC="${ac_tool_prefix}cc"
4858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4859 break 2
4861 done
4862 done
4863 IFS=$as_save_IFS
4867 CC=$ac_cv_prog_CC
4868 if test -n "$CC"; then
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4870 printf "%s\n" "$CC" >&6; }
4871 else
4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 printf "%s\n" "no" >&6; }
4879 if test -z "$CC"; then
4880 # Extract the first word of "cc", so it can be a program name with args.
4881 set dummy cc; ac_word=$2
4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 printf %s "checking for $ac_word... " >&6; }
4884 if test ${ac_cv_prog_CC+y}
4885 then :
4886 printf %s "(cached) " >&6
4887 else $as_nop
4888 if test -n "$CC"; then
4889 ac_cv_prog_CC="$CC" # Let the user override the test.
4890 else
4891 ac_prog_rejected=no
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 for as_dir in $PATH
4895 IFS=$as_save_IFS
4896 case $as_dir in #(((
4897 '') as_dir=./ ;;
4898 */) ;;
4899 *) as_dir=$as_dir/ ;;
4900 esac
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4903 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4904 ac_prog_rejected=yes
4905 continue
4907 ac_cv_prog_CC="cc"
4908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4909 break 2
4911 done
4912 done
4913 IFS=$as_save_IFS
4915 if test $ac_prog_rejected = yes; then
4916 # We found a bogon in the path, so make sure we never use it.
4917 set dummy $ac_cv_prog_CC
4918 shift
4919 if test $# != 0; then
4920 # We chose a different compiler from the bogus one.
4921 # However, it has the same basename, so the bogon will be chosen
4922 # first if we set CC to just the basename; use the full file name.
4923 shift
4924 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4929 CC=$ac_cv_prog_CC
4930 if test -n "$CC"; then
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4932 printf "%s\n" "$CC" >&6; }
4933 else
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 printf "%s\n" "no" >&6; }
4940 if test -z "$CC"; then
4941 if test -n "$ac_tool_prefix"; then
4942 for ac_prog in cl.exe
4944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 printf %s "checking for $ac_word... " >&6; }
4948 if test ${ac_cv_prog_CC+y}
4949 then :
4950 printf %s "(cached) " >&6
4951 else $as_nop
4952 if test -n "$CC"; then
4953 ac_cv_prog_CC="$CC" # Let the user override the test.
4954 else
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH
4958 IFS=$as_save_IFS
4959 case $as_dir in #(((
4960 '') as_dir=./ ;;
4961 */) ;;
4962 *) as_dir=$as_dir/ ;;
4963 esac
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4968 break 2
4970 done
4971 done
4972 IFS=$as_save_IFS
4976 CC=$ac_cv_prog_CC
4977 if test -n "$CC"; then
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4979 printf "%s\n" "$CC" >&6; }
4980 else
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 printf "%s\n" "no" >&6; }
4986 test -n "$CC" && break
4987 done
4989 if test -z "$CC"; then
4990 ac_ct_CC=$CC
4991 for ac_prog in cl.exe
4993 # Extract the first word of "$ac_prog", so it can be a program name with args.
4994 set dummy $ac_prog; ac_word=$2
4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 printf %s "checking for $ac_word... " >&6; }
4997 if test ${ac_cv_prog_ac_ct_CC+y}
4998 then :
4999 printf %s "(cached) " >&6
5000 else $as_nop
5001 if test -n "$ac_ct_CC"; then
5002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5003 else
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH
5007 IFS=$as_save_IFS
5008 case $as_dir in #(((
5009 '') as_dir=./ ;;
5010 */) ;;
5011 *) as_dir=$as_dir/ ;;
5012 esac
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5015 ac_cv_prog_ac_ct_CC="$ac_prog"
5016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5017 break 2
5019 done
5020 done
5021 IFS=$as_save_IFS
5025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5026 if test -n "$ac_ct_CC"; then
5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5028 printf "%s\n" "$ac_ct_CC" >&6; }
5029 else
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 printf "%s\n" "no" >&6; }
5035 test -n "$ac_ct_CC" && break
5036 done
5038 if test "x$ac_ct_CC" = x; then
5039 CC=""
5040 else
5041 case $cross_compiling:$ac_tool_warned in
5042 yes:)
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5044 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5045 ac_tool_warned=yes ;;
5046 esac
5047 CC=$ac_ct_CC
5052 if test -z "$CC"; then
5053 if test -n "$ac_tool_prefix"; then
5054 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5055 set dummy ${ac_tool_prefix}clang; ac_word=$2
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 printf %s "checking for $ac_word... " >&6; }
5058 if test ${ac_cv_prog_CC+y}
5059 then :
5060 printf %s "(cached) " >&6
5061 else $as_nop
5062 if test -n "$CC"; then
5063 ac_cv_prog_CC="$CC" # Let the user override the test.
5064 else
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 for as_dir in $PATH
5068 IFS=$as_save_IFS
5069 case $as_dir in #(((
5070 '') as_dir=./ ;;
5071 */) ;;
5072 *) as_dir=$as_dir/ ;;
5073 esac
5074 for ac_exec_ext in '' $ac_executable_extensions; do
5075 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5076 ac_cv_prog_CC="${ac_tool_prefix}clang"
5077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5078 break 2
5080 done
5081 done
5082 IFS=$as_save_IFS
5086 CC=$ac_cv_prog_CC
5087 if test -n "$CC"; then
5088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5089 printf "%s\n" "$CC" >&6; }
5090 else
5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 printf "%s\n" "no" >&6; }
5097 if test -z "$ac_cv_prog_CC"; then
5098 ac_ct_CC=$CC
5099 # Extract the first word of "clang", so it can be a program name with args.
5100 set dummy clang; ac_word=$2
5101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102 printf %s "checking for $ac_word... " >&6; }
5103 if test ${ac_cv_prog_ac_ct_CC+y}
5104 then :
5105 printf %s "(cached) " >&6
5106 else $as_nop
5107 if test -n "$ac_ct_CC"; then
5108 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5113 IFS=$as_save_IFS
5114 case $as_dir in #(((
5115 '') as_dir=./ ;;
5116 */) ;;
5117 *) as_dir=$as_dir/ ;;
5118 esac
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5121 ac_cv_prog_ac_ct_CC="clang"
5122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5123 break 2
5125 done
5126 done
5127 IFS=$as_save_IFS
5131 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5132 if test -n "$ac_ct_CC"; then
5133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5134 printf "%s\n" "$ac_ct_CC" >&6; }
5135 else
5136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 printf "%s\n" "no" >&6; }
5140 if test "x$ac_ct_CC" = x; then
5141 CC=""
5142 else
5143 case $cross_compiling:$ac_tool_warned in
5144 yes:)
5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5146 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5147 ac_tool_warned=yes ;;
5148 esac
5149 CC=$ac_ct_CC
5151 else
5152 CC="$ac_cv_prog_CC"
5158 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5159 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5160 as_fn_error $? "no acceptable C compiler found in \$PATH
5161 See \`config.log' for more details" "$LINENO" 5; }
5163 # Provide some information about the compiler.
5164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5165 set X $ac_compile
5166 ac_compiler=$2
5167 for ac_option in --version -v -V -qversion -version; do
5168 { { ac_try="$ac_compiler $ac_option >&5"
5169 case "(($ac_try" in
5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5172 esac
5173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5174 printf "%s\n" "$ac_try_echo"; } >&5
5175 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5176 ac_status=$?
5177 if test -s conftest.err; then
5178 sed '10a\
5179 ... rest of stderr output deleted ...
5180 10q' conftest.err >conftest.er1
5181 cat conftest.er1 >&5
5183 rm -f conftest.er1 conftest.err
5184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5185 test $ac_status = 0; }
5186 done
5188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5192 main (void)
5196 return 0;
5198 _ACEOF
5199 ac_clean_files_save=$ac_clean_files
5200 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5201 # Try to create an executable without -o first, disregard a.out.
5202 # It will help us diagnose broken compilers, and finding out an intuition
5203 # of exeext.
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5205 printf %s "checking whether the C compiler works... " >&6; }
5206 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5208 # The possible output files:
5209 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5211 ac_rmfiles=
5212 for ac_file in $ac_files
5214 case $ac_file in
5215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5216 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5217 esac
5218 done
5219 rm -f $ac_rmfiles
5221 if { { ac_try="$ac_link_default"
5222 case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 printf "%s\n" "$ac_try_echo"; } >&5
5228 (eval "$ac_link_default") 2>&5
5229 ac_status=$?
5230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5232 then :
5233 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5234 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5235 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5236 # so that the user can short-circuit this test for compilers unknown to
5237 # Autoconf.
5238 for ac_file in $ac_files ''
5240 test -f "$ac_file" || continue
5241 case $ac_file in
5242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5244 [ab].out )
5245 # We found the default executable, but exeext='' is most
5246 # certainly right.
5247 break;;
5248 *.* )
5249 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5250 then :; else
5251 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5253 # We set ac_cv_exeext here because the later test for it is not
5254 # safe: cross compilers may not add the suffix if given an `-o'
5255 # argument, so we may need to know it at that point already.
5256 # Even if this section looks crufty: it has the advantage of
5257 # actually working.
5258 break;;
5260 break;;
5261 esac
5262 done
5263 test "$ac_cv_exeext" = no && ac_cv_exeext=
5265 else $as_nop
5266 ac_file=''
5268 if test -z "$ac_file"
5269 then :
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 printf "%s\n" "no" >&6; }
5272 printf "%s\n" "$as_me: failed program was:" >&5
5273 sed 's/^/| /' conftest.$ac_ext >&5
5275 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5276 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5277 as_fn_error 77 "C compiler cannot create executables
5278 See \`config.log' for more details" "$LINENO" 5; }
5279 else $as_nop
5280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5281 printf "%s\n" "yes" >&6; }
5283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5284 printf %s "checking for C compiler default output file name... " >&6; }
5285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5286 printf "%s\n" "$ac_file" >&6; }
5287 ac_exeext=$ac_cv_exeext
5289 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5290 ac_clean_files=$ac_clean_files_save
5291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5292 printf %s "checking for suffix of executables... " >&6; }
5293 if { { ac_try="$ac_link"
5294 case "(($ac_try" in
5295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5297 esac
5298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5299 printf "%s\n" "$ac_try_echo"; } >&5
5300 (eval "$ac_link") 2>&5
5301 ac_status=$?
5302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5303 test $ac_status = 0; }
5304 then :
5305 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5306 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5307 # work properly (i.e., refer to `conftest.exe'), while it won't with
5308 # `rm'.
5309 for ac_file in conftest.exe conftest conftest.*; do
5310 test -f "$ac_file" || continue
5311 case $ac_file in
5312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5313 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5314 break;;
5315 * ) break;;
5316 esac
5317 done
5318 else $as_nop
5319 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5320 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5321 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5322 See \`config.log' for more details" "$LINENO" 5; }
5324 rm -f conftest conftest$ac_cv_exeext
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5326 printf "%s\n" "$ac_cv_exeext" >&6; }
5328 rm -f conftest.$ac_ext
5329 EXEEXT=$ac_cv_exeext
5330 ac_exeext=$EXEEXT
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5333 #include <stdio.h>
5335 main (void)
5337 FILE *f = fopen ("conftest.out", "w");
5338 return ferror (f) || fclose (f) != 0;
5341 return 0;
5343 _ACEOF
5344 ac_clean_files="$ac_clean_files conftest.out"
5345 # Check that the compiler produces executables we can run. If not, either
5346 # the compiler is broken, or we cross compile.
5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5348 printf %s "checking whether we are cross compiling... " >&6; }
5349 if test "$cross_compiling" != yes; then
5350 { { ac_try="$ac_link"
5351 case "(($ac_try" in
5352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5353 *) ac_try_echo=$ac_try;;
5354 esac
5355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5356 printf "%s\n" "$ac_try_echo"; } >&5
5357 (eval "$ac_link") 2>&5
5358 ac_status=$?
5359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5360 test $ac_status = 0; }
5361 if { ac_try='./conftest$ac_cv_exeext'
5362 { { case "(($ac_try" in
5363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5364 *) ac_try_echo=$ac_try;;
5365 esac
5366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5367 printf "%s\n" "$ac_try_echo"; } >&5
5368 (eval "$ac_try") 2>&5
5369 ac_status=$?
5370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5371 test $ac_status = 0; }; }; then
5372 cross_compiling=no
5373 else
5374 if test "$cross_compiling" = maybe; then
5375 cross_compiling=yes
5376 else
5377 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5378 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5379 as_fn_error 77 "cannot run C compiled programs.
5380 If you meant to cross compile, use \`--host'.
5381 See \`config.log' for more details" "$LINENO" 5; }
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5386 printf "%s\n" "$cross_compiling" >&6; }
5388 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5389 ac_clean_files=$ac_clean_files_save
5390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5391 printf %s "checking for suffix of object files... " >&6; }
5392 if test ${ac_cv_objext+y}
5393 then :
5394 printf %s "(cached) " >&6
5395 else $as_nop
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5400 main (void)
5404 return 0;
5406 _ACEOF
5407 rm -f conftest.o conftest.obj
5408 if { { ac_try="$ac_compile"
5409 case "(($ac_try" in
5410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5411 *) ac_try_echo=$ac_try;;
5412 esac
5413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5414 printf "%s\n" "$ac_try_echo"; } >&5
5415 (eval "$ac_compile") 2>&5
5416 ac_status=$?
5417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5418 test $ac_status = 0; }
5419 then :
5420 for ac_file in conftest.o conftest.obj conftest.*; do
5421 test -f "$ac_file" || continue;
5422 case $ac_file in
5423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5424 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5425 break;;
5426 esac
5427 done
5428 else $as_nop
5429 printf "%s\n" "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.$ac_ext >&5
5432 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5433 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5434 as_fn_error $? "cannot compute suffix of object files: cannot compile
5435 See \`config.log' for more details" "$LINENO" 5; }
5437 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5440 printf "%s\n" "$ac_cv_objext" >&6; }
5441 OBJEXT=$ac_cv_objext
5442 ac_objext=$OBJEXT
5443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5444 printf %s "checking whether the compiler supports GNU C... " >&6; }
5445 if test ${ac_cv_c_compiler_gnu+y}
5446 then :
5447 printf %s "(cached) " >&6
5448 else $as_nop
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5453 main (void)
5455 #ifndef __GNUC__
5456 choke me
5457 #endif
5460 return 0;
5462 _ACEOF
5463 if ac_fn_c_try_compile "$LINENO"
5464 then :
5465 ac_compiler_gnu=yes
5466 else $as_nop
5467 ac_compiler_gnu=no
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5470 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5474 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5477 if test $ac_compiler_gnu = yes; then
5478 GCC=yes
5479 else
5480 GCC=
5482 ac_test_CFLAGS=${CFLAGS+y}
5483 ac_save_CFLAGS=$CFLAGS
5484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5485 printf %s "checking whether $CC accepts -g... " >&6; }
5486 if test ${ac_cv_prog_cc_g+y}
5487 then :
5488 printf %s "(cached) " >&6
5489 else $as_nop
5490 ac_save_c_werror_flag=$ac_c_werror_flag
5491 ac_c_werror_flag=yes
5492 ac_cv_prog_cc_g=no
5493 CFLAGS="-g"
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5498 main (void)
5502 return 0;
5504 _ACEOF
5505 if ac_fn_c_try_compile "$LINENO"
5506 then :
5507 ac_cv_prog_cc_g=yes
5508 else $as_nop
5509 CFLAGS=""
5510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5514 main (void)
5518 return 0;
5520 _ACEOF
5521 if ac_fn_c_try_compile "$LINENO"
5522 then :
5524 else $as_nop
5525 ac_c_werror_flag=$ac_save_c_werror_flag
5526 CFLAGS="-g"
5527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5528 /* end confdefs.h. */
5531 main (void)
5535 return 0;
5537 _ACEOF
5538 if ac_fn_c_try_compile "$LINENO"
5539 then :
5540 ac_cv_prog_cc_g=yes
5542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5547 ac_c_werror_flag=$ac_save_c_werror_flag
5549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5550 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5551 if test $ac_test_CFLAGS; then
5552 CFLAGS=$ac_save_CFLAGS
5553 elif test $ac_cv_prog_cc_g = yes; then
5554 if test "$GCC" = yes; then
5555 CFLAGS="-g -O2"
5556 else
5557 CFLAGS="-g"
5559 else
5560 if test "$GCC" = yes; then
5561 CFLAGS="-O2"
5562 else
5563 CFLAGS=
5566 ac_prog_cc_stdc=no
5567 if test x$ac_prog_cc_stdc = xno
5568 then :
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5570 printf %s "checking for $CC option to enable C11 features... " >&6; }
5571 if test ${ac_cv_prog_cc_c11+y}
5572 then :
5573 printf %s "(cached) " >&6
5574 else $as_nop
5575 ac_cv_prog_cc_c11=no
5576 ac_save_CC=$CC
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5579 $ac_c_conftest_c11_program
5580 _ACEOF
5581 for ac_arg in '' -std=gnu11
5583 CC="$ac_save_CC $ac_arg"
5584 if ac_fn_c_try_compile "$LINENO"
5585 then :
5586 ac_cv_prog_cc_c11=$ac_arg
5588 rm -f core conftest.err conftest.$ac_objext conftest.beam
5589 test "x$ac_cv_prog_cc_c11" != "xno" && break
5590 done
5591 rm -f conftest.$ac_ext
5592 CC=$ac_save_CC
5595 if test "x$ac_cv_prog_cc_c11" = xno
5596 then :
5597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5598 printf "%s\n" "unsupported" >&6; }
5599 else $as_nop
5600 if test "x$ac_cv_prog_cc_c11" = x
5601 then :
5602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5603 printf "%s\n" "none needed" >&6; }
5604 else $as_nop
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5606 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5607 CC="$CC $ac_cv_prog_cc_c11"
5609 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5610 ac_prog_cc_stdc=c11
5613 if test x$ac_prog_cc_stdc = xno
5614 then :
5615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5616 printf %s "checking for $CC option to enable C99 features... " >&6; }
5617 if test ${ac_cv_prog_cc_c99+y}
5618 then :
5619 printf %s "(cached) " >&6
5620 else $as_nop
5621 ac_cv_prog_cc_c99=no
5622 ac_save_CC=$CC
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5625 $ac_c_conftest_c99_program
5626 _ACEOF
5627 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5629 CC="$ac_save_CC $ac_arg"
5630 if ac_fn_c_try_compile "$LINENO"
5631 then :
5632 ac_cv_prog_cc_c99=$ac_arg
5634 rm -f core conftest.err conftest.$ac_objext conftest.beam
5635 test "x$ac_cv_prog_cc_c99" != "xno" && break
5636 done
5637 rm -f conftest.$ac_ext
5638 CC=$ac_save_CC
5641 if test "x$ac_cv_prog_cc_c99" = xno
5642 then :
5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5644 printf "%s\n" "unsupported" >&6; }
5645 else $as_nop
5646 if test "x$ac_cv_prog_cc_c99" = x
5647 then :
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5649 printf "%s\n" "none needed" >&6; }
5650 else $as_nop
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5652 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5653 CC="$CC $ac_cv_prog_cc_c99"
5655 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5656 ac_prog_cc_stdc=c99
5659 if test x$ac_prog_cc_stdc = xno
5660 then :
5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5662 printf %s "checking for $CC option to enable C89 features... " >&6; }
5663 if test ${ac_cv_prog_cc_c89+y}
5664 then :
5665 printf %s "(cached) " >&6
5666 else $as_nop
5667 ac_cv_prog_cc_c89=no
5668 ac_save_CC=$CC
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5671 $ac_c_conftest_c89_program
5672 _ACEOF
5673 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5675 CC="$ac_save_CC $ac_arg"
5676 if ac_fn_c_try_compile "$LINENO"
5677 then :
5678 ac_cv_prog_cc_c89=$ac_arg
5680 rm -f core conftest.err conftest.$ac_objext conftest.beam
5681 test "x$ac_cv_prog_cc_c89" != "xno" && break
5682 done
5683 rm -f conftest.$ac_ext
5684 CC=$ac_save_CC
5687 if test "x$ac_cv_prog_cc_c89" = xno
5688 then :
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5690 printf "%s\n" "unsupported" >&6; }
5691 else $as_nop
5692 if test "x$ac_cv_prog_cc_c89" = x
5693 then :
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5695 printf "%s\n" "none needed" >&6; }
5696 else $as_nop
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5698 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5699 CC="$CC $ac_cv_prog_cc_c89"
5701 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5702 ac_prog_cc_stdc=c89
5706 ac_ext=c
5707 ac_cpp='$CPP $CPPFLAGS'
5708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5718 ac_ext=cpp
5719 ac_cpp='$CXXCPP $CPPFLAGS'
5720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5723 if test -z "$CXX"; then
5724 if test -n "$CCC"; then
5725 CXX=$CCC
5726 else
5727 if test -n "$ac_tool_prefix"; then
5728 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5731 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 printf %s "checking for $ac_word... " >&6; }
5734 if test ${ac_cv_prog_CXX+y}
5735 then :
5736 printf %s "(cached) " >&6
5737 else $as_nop
5738 if test -n "$CXX"; then
5739 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744 IFS=$as_save_IFS
5745 case $as_dir in #(((
5746 '') as_dir=./ ;;
5747 */) ;;
5748 *) as_dir=$as_dir/ ;;
5749 esac
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5754 break 2
5756 done
5757 done
5758 IFS=$as_save_IFS
5762 CXX=$ac_cv_prog_CXX
5763 if test -n "$CXX"; then
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5765 printf "%s\n" "$CXX" >&6; }
5766 else
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 printf "%s\n" "no" >&6; }
5772 test -n "$CXX" && break
5773 done
5775 if test -z "$CXX"; then
5776 ac_ct_CXX=$CXX
5777 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5779 # Extract the first word of "$ac_prog", so it can be a program name with args.
5780 set dummy $ac_prog; ac_word=$2
5781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 printf %s "checking for $ac_word... " >&6; }
5783 if test ${ac_cv_prog_ac_ct_CXX+y}
5784 then :
5785 printf %s "(cached) " >&6
5786 else $as_nop
5787 if test -n "$ac_ct_CXX"; then
5788 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5789 else
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 for as_dir in $PATH
5793 IFS=$as_save_IFS
5794 case $as_dir in #(((
5795 '') as_dir=./ ;;
5796 */) ;;
5797 *) as_dir=$as_dir/ ;;
5798 esac
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_ac_ct_CXX="$ac_prog"
5802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5812 if test -n "$ac_ct_CXX"; then
5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5814 printf "%s\n" "$ac_ct_CXX" >&6; }
5815 else
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 printf "%s\n" "no" >&6; }
5821 test -n "$ac_ct_CXX" && break
5822 done
5824 if test "x$ac_ct_CXX" = x; then
5825 CXX="g++"
5826 else
5827 case $cross_compiling:$ac_tool_warned in
5828 yes:)
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5830 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5831 ac_tool_warned=yes ;;
5832 esac
5833 CXX=$ac_ct_CXX
5839 # Provide some information about the compiler.
5840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5841 set X $ac_compile
5842 ac_compiler=$2
5843 for ac_option in --version -v -V -qversion; do
5844 { { ac_try="$ac_compiler $ac_option >&5"
5845 case "(($ac_try" in
5846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5847 *) ac_try_echo=$ac_try;;
5848 esac
5849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5850 printf "%s\n" "$ac_try_echo"; } >&5
5851 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5852 ac_status=$?
5853 if test -s conftest.err; then
5854 sed '10a\
5855 ... rest of stderr output deleted ...
5856 10q' conftest.err >conftest.er1
5857 cat conftest.er1 >&5
5859 rm -f conftest.er1 conftest.err
5860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5861 test $ac_status = 0; }
5862 done
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5865 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5866 if test ${ac_cv_cxx_compiler_gnu+y}
5867 then :
5868 printf %s "(cached) " >&6
5869 else $as_nop
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5874 main (void)
5876 #ifndef __GNUC__
5877 choke me
5878 #endif
5881 return 0;
5883 _ACEOF
5884 if ac_fn_cxx_try_compile "$LINENO"
5885 then :
5886 ac_compiler_gnu=yes
5887 else $as_nop
5888 ac_compiler_gnu=no
5890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5891 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5895 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5898 if test $ac_compiler_gnu = yes; then
5899 GXX=yes
5900 else
5901 GXX=
5903 ac_test_CXXFLAGS=${CXXFLAGS+y}
5904 ac_save_CXXFLAGS=$CXXFLAGS
5905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5906 printf %s "checking whether $CXX accepts -g... " >&6; }
5907 if test ${ac_cv_prog_cxx_g+y}
5908 then :
5909 printf %s "(cached) " >&6
5910 else $as_nop
5911 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5912 ac_cxx_werror_flag=yes
5913 ac_cv_prog_cxx_g=no
5914 CXXFLAGS="-g"
5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5919 main (void)
5923 return 0;
5925 _ACEOF
5926 if ac_fn_cxx_try_compile "$LINENO"
5927 then :
5928 ac_cv_prog_cxx_g=yes
5929 else $as_nop
5930 CXXFLAGS=""
5931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5932 /* end confdefs.h. */
5935 main (void)
5939 return 0;
5941 _ACEOF
5942 if ac_fn_cxx_try_compile "$LINENO"
5943 then :
5945 else $as_nop
5946 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5947 CXXFLAGS="-g"
5948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5952 main (void)
5956 return 0;
5958 _ACEOF
5959 if ac_fn_cxx_try_compile "$LINENO"
5960 then :
5961 ac_cv_prog_cxx_g=yes
5963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5968 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5971 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5972 if test $ac_test_CXXFLAGS; then
5973 CXXFLAGS=$ac_save_CXXFLAGS
5974 elif test $ac_cv_prog_cxx_g = yes; then
5975 if test "$GXX" = yes; then
5976 CXXFLAGS="-g -O2"
5977 else
5978 CXXFLAGS="-g"
5980 else
5981 if test "$GXX" = yes; then
5982 CXXFLAGS="-O2"
5983 else
5984 CXXFLAGS=
5987 ac_prog_cxx_stdcxx=no
5988 if test x$ac_prog_cxx_stdcxx = xno
5989 then :
5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5991 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5992 if test ${ac_cv_prog_cxx_cxx11+y}
5993 then :
5994 printf %s "(cached) " >&6
5995 else $as_nop
5996 ac_cv_prog_cxx_cxx11=no
5997 ac_save_CXX=$CXX
5998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5999 /* end confdefs.h. */
6000 $ac_cxx_conftest_cxx11_program
6001 _ACEOF
6002 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6004 CXX="$ac_save_CXX $ac_arg"
6005 if ac_fn_cxx_try_compile "$LINENO"
6006 then :
6007 ac_cv_prog_cxx_cxx11=$ac_arg
6009 rm -f core conftest.err conftest.$ac_objext conftest.beam
6010 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6011 done
6012 rm -f conftest.$ac_ext
6013 CXX=$ac_save_CXX
6016 if test "x$ac_cv_prog_cxx_cxx11" = xno
6017 then :
6018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6019 printf "%s\n" "unsupported" >&6; }
6020 else $as_nop
6021 if test "x$ac_cv_prog_cxx_cxx11" = x
6022 then :
6023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6024 printf "%s\n" "none needed" >&6; }
6025 else $as_nop
6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6027 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6028 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6030 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6031 ac_prog_cxx_stdcxx=cxx11
6034 if test x$ac_prog_cxx_stdcxx = xno
6035 then :
6036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6037 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6038 if test ${ac_cv_prog_cxx_cxx98+y}
6039 then :
6040 printf %s "(cached) " >&6
6041 else $as_nop
6042 ac_cv_prog_cxx_cxx98=no
6043 ac_save_CXX=$CXX
6044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6045 /* end confdefs.h. */
6046 $ac_cxx_conftest_cxx98_program
6047 _ACEOF
6048 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6050 CXX="$ac_save_CXX $ac_arg"
6051 if ac_fn_cxx_try_compile "$LINENO"
6052 then :
6053 ac_cv_prog_cxx_cxx98=$ac_arg
6055 rm -f core conftest.err conftest.$ac_objext conftest.beam
6056 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6057 done
6058 rm -f conftest.$ac_ext
6059 CXX=$ac_save_CXX
6062 if test "x$ac_cv_prog_cxx_cxx98" = xno
6063 then :
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6065 printf "%s\n" "unsupported" >&6; }
6066 else $as_nop
6067 if test "x$ac_cv_prog_cxx_cxx98" = x
6068 then :
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6070 printf "%s\n" "none needed" >&6; }
6071 else $as_nop
6072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6073 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6074 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6076 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6077 ac_prog_cxx_stdcxx=cxx98
6081 ac_ext=c
6082 ac_cpp='$CPP $CPPFLAGS'
6083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 printf %s "checking for $ac_word... " >&6; }
6092 if test ${ac_cv_prog_CPPBIN+y}
6093 then :
6094 printf %s "(cached) " >&6
6095 else $as_nop
6096 if test -n "$CPPBIN"; then
6097 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6102 IFS=$as_save_IFS
6103 case $as_dir in #(((
6104 '') as_dir=./ ;;
6105 */) ;;
6106 *) as_dir=$as_dir/ ;;
6107 esac
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6112 break 2
6114 done
6115 done
6116 IFS=$as_save_IFS
6120 CPPBIN=$ac_cv_prog_CPPBIN
6121 if test -n "$CPPBIN"; then
6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6123 printf "%s\n" "$CPPBIN" >&6; }
6124 else
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 printf "%s\n" "no" >&6; }
6131 if test -z "$ac_cv_prog_CPPBIN"; then
6132 ac_ct_CPPBIN=$CPPBIN
6133 # Extract the first word of "cpp", so it can be a program name with args.
6134 set dummy cpp; ac_word=$2
6135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6136 printf %s "checking for $ac_word... " >&6; }
6137 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6138 then :
6139 printf %s "(cached) " >&6
6140 else $as_nop
6141 if test -n "$ac_ct_CPPBIN"; then
6142 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6143 else
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in $PATH
6147 IFS=$as_save_IFS
6148 case $as_dir in #(((
6149 '') as_dir=./ ;;
6150 */) ;;
6151 *) as_dir=$as_dir/ ;;
6152 esac
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_ac_ct_CPPBIN="cpp"
6156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6157 break 2
6159 done
6160 done
6161 IFS=$as_save_IFS
6165 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6166 if test -n "$ac_ct_CPPBIN"; then
6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6168 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6169 else
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171 printf "%s\n" "no" >&6; }
6174 if test "x$ac_ct_CPPBIN" = x; then
6175 CPPBIN="cpp"
6176 else
6177 case $cross_compiling:$ac_tool_warned in
6178 yes:)
6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6180 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6181 ac_tool_warned=yes ;;
6182 esac
6183 CPPBIN=$ac_ct_CPPBIN
6185 else
6186 CPPBIN="$ac_cv_prog_CPPBIN"
6190 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6192 if test -n "$ac_tool_prefix"; then
6193 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6194 set dummy ${ac_tool_prefix}ld; ac_word=$2
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 printf %s "checking for $ac_word... " >&6; }
6197 if test ${ac_cv_prog_LD+y}
6198 then :
6199 printf %s "(cached) " >&6
6200 else $as_nop
6201 if test -n "$LD"; then
6202 ac_cv_prog_LD="$LD" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6207 IFS=$as_save_IFS
6208 case $as_dir in #(((
6209 '') as_dir=./ ;;
6210 */) ;;
6211 *) as_dir=$as_dir/ ;;
6212 esac
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6215 ac_cv_prog_LD="${ac_tool_prefix}ld"
6216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6217 break 2
6219 done
6220 done
6221 IFS=$as_save_IFS
6225 LD=$ac_cv_prog_LD
6226 if test -n "$LD"; then
6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6228 printf "%s\n" "$LD" >&6; }
6229 else
6230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 printf "%s\n" "no" >&6; }
6236 if test -z "$ac_cv_prog_LD"; then
6237 ac_ct_LD=$LD
6238 # Extract the first word of "ld", so it can be a program name with args.
6239 set dummy ld; ac_word=$2
6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241 printf %s "checking for $ac_word... " >&6; }
6242 if test ${ac_cv_prog_ac_ct_LD+y}
6243 then :
6244 printf %s "(cached) " >&6
6245 else $as_nop
6246 if test -n "$ac_ct_LD"; then
6247 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6248 else
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 for as_dir in $PATH
6252 IFS=$as_save_IFS
6253 case $as_dir in #(((
6254 '') as_dir=./ ;;
6255 */) ;;
6256 *) as_dir=$as_dir/ ;;
6257 esac
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_ac_ct_LD="ld"
6261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6262 break 2
6264 done
6265 done
6266 IFS=$as_save_IFS
6270 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6271 if test -n "$ac_ct_LD"; then
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6273 printf "%s\n" "$ac_ct_LD" >&6; }
6274 else
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 printf "%s\n" "no" >&6; }
6279 if test "x$ac_ct_LD" = x; then
6280 LD=""
6281 else
6282 case $cross_compiling:$ac_tool_warned in
6283 yes:)
6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6285 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6286 ac_tool_warned=yes ;;
6287 esac
6288 LD=$ac_ct_LD
6290 else
6291 LD="$ac_cv_prog_LD"
6295 case $host in
6296 *-darwin*)
6297 with_fontconfig=${with_fontconfig:-no}
6299 *-mingw32*|*-cygwin*)
6300 enable_win16=${enable_win16:-no}
6301 with_mingw=${with_mingw:-no}
6303 esac
6306 case $host in
6307 x86_64*|amd64*)
6308 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6309 then
6310 CC="$CC -m32"
6311 CXX="$CXX -m32"
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6314 printf %s "checking whether $CC works... " >&6; }
6315 if test ${wine_cv_cc_m32+y}
6316 then :
6317 printf %s "(cached) " >&6
6318 else $as_nop
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6323 main (void)
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_link "$LINENO"
6331 then :
6332 wine_cv_cc_m32=yes
6333 else $as_nop
6334 wine_cv_cc_m32=no
6336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6337 conftest$ac_exeext conftest.$ac_ext
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6340 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6341 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
6342 host_cpu="i386"
6343 notice_platform="32-bit "
6344 TARGETFLAGS="$TARGETFLAGS -m32"
6345 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6346 export PKG_CONFIG_LIBDIR
6347 else
6348 CC="$CC -m64"
6349 CXX="$CXX -m64"
6350 host_cpu="x86_64"
6351 notice_platform="64-bit "
6352 TARGETFLAGS="$TARGETFLAGS -m64"
6355 arm*)
6356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6357 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6358 if test ${wine_cv_thumb2+y}
6359 then :
6360 printf %s "(cached) " >&6
6361 else $as_nop
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6366 main (void)
6368 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6370 return 0;
6372 _ACEOF
6373 if ac_fn_c_try_link "$LINENO"
6374 then :
6375 wine_cv_thumb2=yes
6376 else $as_nop
6377 wine_cv_thumb2=no
6379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6380 conftest$ac_exeext conftest.$ac_ext
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6383 printf "%s\n" "$wine_cv_thumb2" >&6; }
6384 if test x"$wine_cv_thumb2" = xyes
6385 then
6386 CFLAGS="$CFLAGS -mthumb"
6387 else
6388 CFLAGS="$CFLAGS -marm"
6390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6391 printf %s "checking whether $CC supports floating point instructions... " >&6; }
6392 if test ${wine_cv_float_abi+y}
6393 then :
6394 printf %s "(cached) " >&6
6395 else $as_nop
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6400 main (void)
6402 asm("vmrs r2,fpscr");
6404 return 0;
6406 _ACEOF
6407 if ac_fn_c_try_link "$LINENO"
6408 then :
6409 wine_cv_float_abi=yes
6410 else $as_nop
6411 wine_cv_float_abi=no
6413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6414 conftest$ac_exeext conftest.$ac_ext
6416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6417 printf "%s\n" "$wine_cv_float_abi" >&6; }
6418 test $wine_cv_float_abi != no || as_fn_error $? "The ARM target needs to support floating point instructions." "$LINENO" 5
6420 esac
6422 if test "x$enable_win64" = "xyes"
6423 then
6424 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6425 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6428 case $build_os in
6429 cygwin*|mingw32*) toolsext=".exe"
6431 *) toolsext=""
6433 esac
6435 HOST_ARCH=unknown
6436 case "$host_cpu" in
6437 aarch64*) HOST_ARCH=aarch64 ;;
6438 arm*) HOST_ARCH=arm ;;
6439 i[3456789]86*) HOST_ARCH=i386 ;;
6440 x86_64) HOST_ARCH=x86_64 ;;
6441 esac
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6445 printf %s "checking for the directory containing the Wine tools... " >&6; }
6446 if test ${wine_cv_toolsdir+y}
6447 then :
6448 printf %s "(cached) " >&6
6449 else $as_nop
6450 wine_cv_toolsdir="$with_wine_tools"
6451 if test -z "$with_wine_tools"; then
6452 if test "$cross_compiling" = "yes"; then
6453 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6454 elif test -n "$with_wine64"; then
6455 wine_cv_toolsdir="$with_wine64"
6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6460 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6461 if test -z "$wine_cv_toolsdir"; then
6462 wine_makedep=tools/makedep$toolsext
6463 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6464 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6465 enable_tools=${enable_tools:-no}
6466 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6467 else
6468 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6470 toolsdir=$wine_cv_toolsdir
6472 MAKEDEP=$wine_makedep
6474 RUNTESTFLAGS="-q -P wine"
6476 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'"
6479 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6480 then
6481 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6484 for ac_prog in flex
6486 # Extract the first word of "$ac_prog", so it can be a program name with args.
6487 set dummy $ac_prog; ac_word=$2
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 printf %s "checking for $ac_word... " >&6; }
6490 if test ${ac_cv_prog_FLEX+y}
6491 then :
6492 printf %s "(cached) " >&6
6493 else $as_nop
6494 if test -n "$FLEX"; then
6495 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6496 else
6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 for as_dir in $PATH
6500 IFS=$as_save_IFS
6501 case $as_dir in #(((
6502 '') as_dir=./ ;;
6503 */) ;;
6504 *) as_dir=$as_dir/ ;;
6505 esac
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6508 ac_cv_prog_FLEX="$ac_prog"
6509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6510 break 2
6512 done
6513 done
6514 IFS=$as_save_IFS
6518 FLEX=$ac_cv_prog_FLEX
6519 if test -n "$FLEX"; then
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6521 printf "%s\n" "$FLEX" >&6; }
6522 else
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 printf "%s\n" "no" >&6; }
6528 test -n "$FLEX" && break
6529 done
6530 test -n "$FLEX" || FLEX="none"
6532 if test "$FLEX" = "none"
6533 then
6534 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6537 printf %s "checking whether flex is recent enough... " >&6; }
6538 if test ${wine_cv_recent_flex+y}
6539 then :
6540 printf %s "(cached) " >&6
6541 else $as_nop
6542 cat >conftest.l <<EOF
6543 %top{
6544 #include "prediluvian.h"
6548 if $FLEX -t conftest.l >/dev/null 2>&5
6549 then
6550 wine_cv_recent_flex=yes
6551 else
6552 wine_cv_recent_flex=no
6555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6556 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6557 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
6559 for ac_prog in bison
6561 # Extract the first word of "$ac_prog", so it can be a program name with args.
6562 set dummy $ac_prog; ac_word=$2
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6564 printf %s "checking for $ac_word... " >&6; }
6565 if test ${ac_cv_prog_BISON+y}
6566 then :
6567 printf %s "(cached) " >&6
6568 else $as_nop
6569 if test -n "$BISON"; then
6570 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6575 IFS=$as_save_IFS
6576 case $as_dir in #(((
6577 '') as_dir=./ ;;
6578 */) ;;
6579 *) as_dir=$as_dir/ ;;
6580 esac
6581 for ac_exec_ext in '' $ac_executable_extensions; do
6582 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6583 ac_cv_prog_BISON="$ac_prog"
6584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6585 break 2
6587 done
6588 done
6589 IFS=$as_save_IFS
6593 BISON=$ac_cv_prog_BISON
6594 if test -n "$BISON"; then
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6596 printf "%s\n" "$BISON" >&6; }
6597 else
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6599 printf "%s\n" "no" >&6; }
6603 test -n "$BISON" && break
6604 done
6605 test -n "$BISON" || BISON="none"
6607 if test "$BISON" = "none"
6608 then
6609 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6612 printf %s "checking whether bison is recent enough... " >&6; }
6613 if test ${wine_cv_recent_bison+y}
6614 then :
6615 printf %s "(cached) " >&6
6616 else $as_nop
6617 cat >conftest.y <<EOF
6618 %define parse.error verbose
6620 empty: ;
6622 if $BISON conftest.y >/dev/null 2>&5
6623 then
6624 wine_cv_recent_bison=yes
6625 else
6626 wine_cv_recent_bison=no
6629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6630 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6631 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
6633 if test -n "$ac_tool_prefix"; then
6634 for ac_prog in ar gar
6636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 printf %s "checking for $ac_word... " >&6; }
6640 if test ${ac_cv_prog_AR+y}
6641 then :
6642 printf %s "(cached) " >&6
6643 else $as_nop
6644 if test -n "$AR"; then
6645 ac_cv_prog_AR="$AR" # Let the user override the test.
6646 else
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 for as_dir in $PATH
6650 IFS=$as_save_IFS
6651 case $as_dir in #(((
6652 '') as_dir=./ ;;
6653 */) ;;
6654 *) as_dir=$as_dir/ ;;
6655 esac
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6660 break 2
6662 done
6663 done
6664 IFS=$as_save_IFS
6668 AR=$ac_cv_prog_AR
6669 if test -n "$AR"; then
6670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6671 printf "%s\n" "$AR" >&6; }
6672 else
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 printf "%s\n" "no" >&6; }
6678 test -n "$AR" && break
6679 done
6681 if test -z "$AR"; then
6682 ac_ct_AR=$AR
6683 for ac_prog in ar gar
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 printf %s "checking for $ac_word... " >&6; }
6689 if test ${ac_cv_prog_ac_ct_AR+y}
6690 then :
6691 printf %s "(cached) " >&6
6692 else $as_nop
6693 if test -n "$ac_ct_AR"; then
6694 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 case $as_dir in #(((
6701 '') as_dir=./ ;;
6702 */) ;;
6703 *) as_dir=$as_dir/ ;;
6704 esac
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6707 ac_cv_prog_ac_ct_AR="$ac_prog"
6708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6709 break 2
6711 done
6712 done
6713 IFS=$as_save_IFS
6717 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6718 if test -n "$ac_ct_AR"; then
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6720 printf "%s\n" "$ac_ct_AR" >&6; }
6721 else
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 printf "%s\n" "no" >&6; }
6727 test -n "$ac_ct_AR" && break
6728 done
6730 if test "x$ac_ct_AR" = x; then
6731 AR="ar"
6732 else
6733 case $cross_compiling:$ac_tool_warned in
6734 yes:)
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737 ac_tool_warned=yes ;;
6738 esac
6739 AR=$ac_ct_AR
6743 if test -n "$ac_tool_prefix"; then
6744 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6745 set dummy ${ac_tool_prefix}strip; ac_word=$2
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 printf %s "checking for $ac_word... " >&6; }
6748 if test ${ac_cv_prog_STRIP+y}
6749 then :
6750 printf %s "(cached) " >&6
6751 else $as_nop
6752 if test -n "$STRIP"; then
6753 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6754 else
6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 for as_dir in $PATH
6758 IFS=$as_save_IFS
6759 case $as_dir in #(((
6760 '') as_dir=./ ;;
6761 */) ;;
6762 *) as_dir=$as_dir/ ;;
6763 esac
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6766 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6768 break 2
6770 done
6771 done
6772 IFS=$as_save_IFS
6776 STRIP=$ac_cv_prog_STRIP
6777 if test -n "$STRIP"; then
6778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6779 printf "%s\n" "$STRIP" >&6; }
6780 else
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 printf "%s\n" "no" >&6; }
6787 if test -z "$ac_cv_prog_STRIP"; then
6788 ac_ct_STRIP=$STRIP
6789 # Extract the first word of "strip", so it can be a program name with args.
6790 set dummy strip; ac_word=$2
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 printf %s "checking for $ac_word... " >&6; }
6793 if test ${ac_cv_prog_ac_ct_STRIP+y}
6794 then :
6795 printf %s "(cached) " >&6
6796 else $as_nop
6797 if test -n "$ac_ct_STRIP"; then
6798 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6799 else
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801 for as_dir in $PATH
6803 IFS=$as_save_IFS
6804 case $as_dir in #(((
6805 '') as_dir=./ ;;
6806 */) ;;
6807 *) as_dir=$as_dir/ ;;
6808 esac
6809 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6811 ac_cv_prog_ac_ct_STRIP="strip"
6812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6813 break 2
6815 done
6816 done
6817 IFS=$as_save_IFS
6821 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6822 if test -n "$ac_ct_STRIP"; then
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6824 printf "%s\n" "$ac_ct_STRIP" >&6; }
6825 else
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827 printf "%s\n" "no" >&6; }
6830 if test "x$ac_ct_STRIP" = x; then
6831 STRIP="strip"
6832 else
6833 case $cross_compiling:$ac_tool_warned in
6834 yes:)
6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6836 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6837 ac_tool_warned=yes ;;
6838 esac
6839 STRIP=$ac_ct_STRIP
6841 else
6842 STRIP="$ac_cv_prog_STRIP"
6845 if test -n "$ac_tool_prefix"; then
6846 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6847 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 printf %s "checking for $ac_word... " >&6; }
6850 if test ${ac_cv_prog_RANLIB+y}
6851 then :
6852 printf %s "(cached) " >&6
6853 else $as_nop
6854 if test -n "$RANLIB"; then
6855 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6856 else
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858 for as_dir in $PATH
6860 IFS=$as_save_IFS
6861 case $as_dir in #(((
6862 '') as_dir=./ ;;
6863 */) ;;
6864 *) as_dir=$as_dir/ ;;
6865 esac
6866 for ac_exec_ext in '' $ac_executable_extensions; do
6867 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6868 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6870 break 2
6872 done
6873 done
6874 IFS=$as_save_IFS
6878 RANLIB=$ac_cv_prog_RANLIB
6879 if test -n "$RANLIB"; then
6880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6881 printf "%s\n" "$RANLIB" >&6; }
6882 else
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 printf "%s\n" "no" >&6; }
6889 if test -z "$ac_cv_prog_RANLIB"; then
6890 ac_ct_RANLIB=$RANLIB
6891 # Extract the first word of "ranlib", so it can be a program name with args.
6892 set dummy ranlib; ac_word=$2
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 printf %s "checking for $ac_word... " >&6; }
6895 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6896 then :
6897 printf %s "(cached) " >&6
6898 else $as_nop
6899 if test -n "$ac_ct_RANLIB"; then
6900 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6901 else
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6905 IFS=$as_save_IFS
6906 case $as_dir in #(((
6907 '') as_dir=./ ;;
6908 */) ;;
6909 *) as_dir=$as_dir/ ;;
6910 esac
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6913 ac_cv_prog_ac_ct_RANLIB="ranlib"
6914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6915 break 2
6917 done
6918 done
6919 IFS=$as_save_IFS
6923 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6924 if test -n "$ac_ct_RANLIB"; then
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6926 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6927 else
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6929 printf "%s\n" "no" >&6; }
6932 if test "x$ac_ct_RANLIB" = x; then
6933 RANLIB=":"
6934 else
6935 case $cross_compiling:$ac_tool_warned in
6936 yes:)
6937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6938 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6939 ac_tool_warned=yes ;;
6940 esac
6941 RANLIB=$ac_ct_RANLIB
6943 else
6944 RANLIB="$ac_cv_prog_RANLIB"
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6948 printf %s "checking whether ln -s works... " >&6; }
6949 LN_S=$as_ln_s
6950 if test "$LN_S" = "ln -s"; then
6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6952 printf "%s\n" "yes" >&6; }
6953 else
6954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6955 printf "%s\n" "no, using $LN_S" >&6; }
6958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6959 printf %s "checking for grep that handles long lines and -e... " >&6; }
6960 if test ${ac_cv_path_GREP+y}
6961 then :
6962 printf %s "(cached) " >&6
6963 else $as_nop
6964 if test -z "$GREP"; then
6965 ac_path_GREP_found=false
6966 # Loop through the user's path and test for each of PROGNAME-LIST
6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6970 IFS=$as_save_IFS
6971 case $as_dir in #(((
6972 '') as_dir=./ ;;
6973 */) ;;
6974 *) as_dir=$as_dir/ ;;
6975 esac
6976 for ac_prog in grep ggrep
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6980 as_fn_executable_p "$ac_path_GREP" || continue
6981 # Check for GNU ac_path_GREP and select it if it is found.
6982 # Check for GNU $ac_path_GREP
6983 case `"$ac_path_GREP" --version 2>&1` in
6984 *GNU*)
6985 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6987 ac_count=0
6988 printf %s 0123456789 >"conftest.in"
6989 while :
6991 cat "conftest.in" "conftest.in" >"conftest.tmp"
6992 mv "conftest.tmp" "conftest.in"
6993 cp "conftest.in" "conftest.nl"
6994 printf "%s\n" 'GREP' >> "conftest.nl"
6995 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6996 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6997 as_fn_arith $ac_count + 1 && ac_count=$as_val
6998 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6999 # Best one so far, save it but keep looking for a better one
7000 ac_cv_path_GREP="$ac_path_GREP"
7001 ac_path_GREP_max=$ac_count
7003 # 10*(2^10) chars as input seems more than enough
7004 test $ac_count -gt 10 && break
7005 done
7006 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7007 esac
7009 $ac_path_GREP_found && break 3
7010 done
7011 done
7012 done
7013 IFS=$as_save_IFS
7014 if test -z "$ac_cv_path_GREP"; then
7015 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7017 else
7018 ac_cv_path_GREP=$GREP
7022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7023 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7024 GREP="$ac_cv_path_GREP"
7027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7028 printf %s "checking for egrep... " >&6; }
7029 if test ${ac_cv_path_EGREP+y}
7030 then :
7031 printf %s "(cached) " >&6
7032 else $as_nop
7033 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7034 then ac_cv_path_EGREP="$GREP -E"
7035 else
7036 if test -z "$EGREP"; then
7037 ac_path_EGREP_found=false
7038 # Loop through the user's path and test for each of PROGNAME-LIST
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7042 IFS=$as_save_IFS
7043 case $as_dir in #(((
7044 '') as_dir=./ ;;
7045 */) ;;
7046 *) as_dir=$as_dir/ ;;
7047 esac
7048 for ac_prog in egrep
7050 for ac_exec_ext in '' $ac_executable_extensions; do
7051 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7052 as_fn_executable_p "$ac_path_EGREP" || continue
7053 # Check for GNU ac_path_EGREP and select it if it is found.
7054 # Check for GNU $ac_path_EGREP
7055 case `"$ac_path_EGREP" --version 2>&1` in
7056 *GNU*)
7057 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7059 ac_count=0
7060 printf %s 0123456789 >"conftest.in"
7061 while :
7063 cat "conftest.in" "conftest.in" >"conftest.tmp"
7064 mv "conftest.tmp" "conftest.in"
7065 cp "conftest.in" "conftest.nl"
7066 printf "%s\n" 'EGREP' >> "conftest.nl"
7067 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7068 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7069 as_fn_arith $ac_count + 1 && ac_count=$as_val
7070 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7071 # Best one so far, save it but keep looking for a better one
7072 ac_cv_path_EGREP="$ac_path_EGREP"
7073 ac_path_EGREP_max=$ac_count
7075 # 10*(2^10) chars as input seems more than enough
7076 test $ac_count -gt 10 && break
7077 done
7078 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7079 esac
7081 $ac_path_EGREP_found && break 3
7082 done
7083 done
7084 done
7085 IFS=$as_save_IFS
7086 if test -z "$ac_cv_path_EGREP"; then
7087 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7089 else
7090 ac_cv_path_EGREP=$EGREP
7095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7096 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7097 EGREP="$ac_cv_path_EGREP"
7100 # Extract the first word of "ldconfig", so it can be a program name with args.
7101 set dummy ldconfig; ac_word=$2
7102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 printf %s "checking for $ac_word... " >&6; }
7104 if test ${ac_cv_path_LDCONFIG+y}
7105 then :
7106 printf %s "(cached) " >&6
7107 else $as_nop
7108 case $LDCONFIG in
7109 [\\/]* | ?:[\\/]*)
7110 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 for as_dir in /sbin /usr/sbin $PATH
7116 IFS=$as_save_IFS
7117 case $as_dir in #(((
7118 '') as_dir=./ ;;
7119 */) ;;
7120 *) as_dir=$as_dir/ ;;
7121 esac
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7124 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7126 break 2
7128 done
7129 done
7130 IFS=$as_save_IFS
7132 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7134 esac
7136 LDCONFIG=$ac_cv_path_LDCONFIG
7137 if test -n "$LDCONFIG"; then
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7139 printf "%s\n" "$LDCONFIG" >&6; }
7140 else
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 printf "%s\n" "no" >&6; }
7146 for ac_prog in msgfmt
7148 # Extract the first word of "$ac_prog", so it can be a program name with args.
7149 set dummy $ac_prog; ac_word=$2
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 printf %s "checking for $ac_word... " >&6; }
7152 if test ${ac_cv_prog_MSGFMT+y}
7153 then :
7154 printf %s "(cached) " >&6
7155 else $as_nop
7156 if test -n "$MSGFMT"; then
7157 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7158 else
7159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160 for as_dir in $PATH
7162 IFS=$as_save_IFS
7163 case $as_dir in #(((
7164 '') as_dir=./ ;;
7165 */) ;;
7166 *) as_dir=$as_dir/ ;;
7167 esac
7168 for ac_exec_ext in '' $ac_executable_extensions; do
7169 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7170 ac_cv_prog_MSGFMT="$ac_prog"
7171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7172 break 2
7174 done
7175 done
7176 IFS=$as_save_IFS
7180 MSGFMT=$ac_cv_prog_MSGFMT
7181 if test -n "$MSGFMT"; then
7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7183 printf "%s\n" "$MSGFMT" >&6; }
7184 else
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7186 printf "%s\n" "no" >&6; }
7190 test -n "$MSGFMT" && break
7191 done
7192 test -n "$MSGFMT" || MSGFMT="false"
7194 if test ${ac_tool_prefix+y}
7195 then :
7196 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7197 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 printf %s "checking for $ac_word... " >&6; }
7200 if test ${ac_cv_prog_PKG_CONFIG+y}
7201 then :
7202 printf %s "(cached) " >&6
7203 else $as_nop
7204 if test -n "$PKG_CONFIG"; then
7205 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7206 else
7207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 for as_dir in $PATH
7210 IFS=$as_save_IFS
7211 case $as_dir in #(((
7212 '') as_dir=./ ;;
7213 */) ;;
7214 *) as_dir=$as_dir/ ;;
7215 esac
7216 for ac_exec_ext in '' $ac_executable_extensions; do
7217 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7218 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7220 break 2
7222 done
7223 done
7224 IFS=$as_save_IFS
7228 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7229 if test -n "$PKG_CONFIG"; then
7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7231 printf "%s\n" "$PKG_CONFIG" >&6; }
7232 else
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234 printf "%s\n" "no" >&6; }
7239 if ${ac_cv_prog_PKG_CONFIG:+false} :
7240 then :
7241 if test "x$cross_compiling" = xyes
7242 then :
7244 else $as_nop
7245 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7246 # Extract the first word of "pkg-config", so it can be a program name with args.
7247 set dummy pkg-config; ac_word=$2
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 printf %s "checking for $ac_word... " >&6; }
7250 if test ${ac_cv_prog_PKG_CONFIG+y}
7251 then :
7252 printf %s "(cached) " >&6
7253 else $as_nop
7254 if test -n "$PKG_CONFIG"; then
7255 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7256 else
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7260 IFS=$as_save_IFS
7261 case $as_dir in #(((
7262 '') as_dir=./ ;;
7263 */) ;;
7264 *) as_dir=$as_dir/ ;;
7265 esac
7266 for ac_exec_ext in '' $ac_executable_extensions; do
7267 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7268 ac_cv_prog_PKG_CONFIG="pkg-config"
7269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7270 break 2
7272 done
7273 done
7274 IFS=$as_save_IFS
7278 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7279 if test -n "$PKG_CONFIG"; then
7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7281 printf "%s\n" "$PKG_CONFIG" >&6; }
7282 else
7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7284 printf "%s\n" "no" >&6; }
7289 else $as_nop
7290 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7293 if test "x$enable_maintainer_mode" != "xyes"
7294 then
7295 FONTFORGE=""
7296 RSVG=""
7297 CONVERT=""
7298 ICOTOOL=""
7299 else
7300 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7301 for ac_prog in fontforge
7303 # Extract the first word of "$ac_prog", so it can be a program name with args.
7304 set dummy $ac_prog; ac_word=$2
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 printf %s "checking for $ac_word... " >&6; }
7307 if test ${ac_cv_prog_FONTFORGE+y}
7308 then :
7309 printf %s "(cached) " >&6
7310 else $as_nop
7311 if test -n "$FONTFORGE"; then
7312 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7313 else
7314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7315 for as_dir in $PATH
7317 IFS=$as_save_IFS
7318 case $as_dir in #(((
7319 '') as_dir=./ ;;
7320 */) ;;
7321 *) as_dir=$as_dir/ ;;
7322 esac
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7325 ac_cv_prog_FONTFORGE="$ac_prog"
7326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7335 FONTFORGE=$ac_cv_prog_FONTFORGE
7336 if test -n "$FONTFORGE"; then
7337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7338 printf "%s\n" "$FONTFORGE" >&6; }
7339 else
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 printf "%s\n" "no" >&6; }
7345 test -n "$FONTFORGE" && break
7346 done
7347 test -n "$FONTFORGE" || FONTFORGE="false"
7349 for ac_prog in rsvg-convert rsvg
7351 # Extract the first word of "$ac_prog", so it can be a program name with args.
7352 set dummy $ac_prog; ac_word=$2
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354 printf %s "checking for $ac_word... " >&6; }
7355 if test ${ac_cv_prog_RSVG+y}
7356 then :
7357 printf %s "(cached) " >&6
7358 else $as_nop
7359 if test -n "$RSVG"; then
7360 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7361 else
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 for as_dir in $PATH
7365 IFS=$as_save_IFS
7366 case $as_dir in #(((
7367 '') as_dir=./ ;;
7368 */) ;;
7369 *) as_dir=$as_dir/ ;;
7370 esac
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7373 ac_cv_prog_RSVG="$ac_prog"
7374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7375 break 2
7377 done
7378 done
7379 IFS=$as_save_IFS
7383 RSVG=$ac_cv_prog_RSVG
7384 if test -n "$RSVG"; then
7385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7386 printf "%s\n" "$RSVG" >&6; }
7387 else
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 printf "%s\n" "no" >&6; }
7393 test -n "$RSVG" && break
7394 done
7395 test -n "$RSVG" || RSVG="false"
7397 for ac_prog in convert
7399 # Extract the first word of "$ac_prog", so it can be a program name with args.
7400 set dummy $ac_prog; ac_word=$2
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 printf %s "checking for $ac_word... " >&6; }
7403 if test ${ac_cv_prog_CONVERT+y}
7404 then :
7405 printf %s "(cached) " >&6
7406 else $as_nop
7407 if test -n "$CONVERT"; then
7408 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7413 IFS=$as_save_IFS
7414 case $as_dir in #(((
7415 '') as_dir=./ ;;
7416 */) ;;
7417 *) as_dir=$as_dir/ ;;
7418 esac
7419 for ac_exec_ext in '' $ac_executable_extensions; do
7420 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7421 ac_cv_prog_CONVERT="$ac_prog"
7422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7423 break 2
7425 done
7426 done
7427 IFS=$as_save_IFS
7431 CONVERT=$ac_cv_prog_CONVERT
7432 if test -n "$CONVERT"; then
7433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7434 printf "%s\n" "$CONVERT" >&6; }
7435 else
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 printf "%s\n" "no" >&6; }
7441 test -n "$CONVERT" && break
7442 done
7443 test -n "$CONVERT" || CONVERT="false"
7445 for ac_prog in icotool
7447 # Extract the first word of "$ac_prog", so it can be a program name with args.
7448 set dummy $ac_prog; ac_word=$2
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 printf %s "checking for $ac_word... " >&6; }
7451 if test ${ac_cv_prog_ICOTOOL+y}
7452 then :
7453 printf %s "(cached) " >&6
7454 else $as_nop
7455 if test -n "$ICOTOOL"; then
7456 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7457 else
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459 for as_dir in $PATH
7461 IFS=$as_save_IFS
7462 case $as_dir in #(((
7463 '') as_dir=./ ;;
7464 */) ;;
7465 *) as_dir=$as_dir/ ;;
7466 esac
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7469 ac_cv_prog_ICOTOOL="$ac_prog"
7470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 ICOTOOL=$ac_cv_prog_ICOTOOL
7480 if test -n "$ICOTOOL"; then
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7482 printf "%s\n" "$ICOTOOL" >&6; }
7483 else
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 printf "%s\n" "no" >&6; }
7489 test -n "$ICOTOOL" && break
7490 done
7491 test -n "$ICOTOOL" || ICOTOOL="false"
7493 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7494 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7496 if test "$CONVERT" = false
7497 then
7498 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7499 else
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7501 printf %s "checking for recent enough imagemagick... " >&6; }
7502 convert_version=`convert --version | head -n1`
7503 if test "x$convert_version" != "x"
7504 then
7505 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7506 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7507 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7508 then
7509 CONVERT=false
7512 if test "$CONVERT" = false
7513 then
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7515 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7516 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7517 else
7518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7519 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7523 if test "$ICOTOOL" = false
7524 then
7525 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7526 else
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7528 printf %s "checking for recent enough icotool... " >&6; }
7529 icotool_version=`icotool --version | head -n1`
7530 if test "x$icotool_version" != "x"
7531 then
7532 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7533 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7534 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7535 then
7536 ICOTOOL=false
7537 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7540 if test "$ICOTOOL" = false
7541 then
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7543 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7544 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7545 else
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7547 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7551 with_gettext=yes
7552 with_gettextpo=yes
7554 enable_werror=yes
7557 test "x$with_gettext" != xno || MSGFMT=false
7558 if test "$MSGFMT" != "false"
7559 then
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7561 printf %s "checking whether msgfmt supports contexts... " >&6; }
7562 if test ${wine_cv_msgfmt_contexts+y}
7563 then :
7564 printf %s "(cached) " >&6
7565 else $as_nop
7566 cat >conftest.po <<EOF
7567 # comment
7568 msgctxt "ctxt"
7569 msgid "id"
7570 msgstr "str"
7572 if $MSGFMT -o /dev/null conftest.po 2>&5
7573 then
7574 wine_cv_msgfmt_contexts=yes
7575 else
7576 wine_cv_msgfmt_contexts=no
7579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7580 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7581 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7583 if test "$MSGFMT" = false
7584 then :
7585 case "x$with_gettext" in
7586 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7587 xno) ;;
7588 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7589 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7590 esac
7591 enable_po=${enable_po:-no}
7595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7596 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7597 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7598 then :
7599 printf %s "(cached) " >&6
7600 else $as_nop
7601 ac_check_lib_save_LIBS=$LIBS
7602 LIBS="-li386 $LIBS"
7603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h. */
7606 /* Override any GCC internal prototype to avoid an error.
7607 Use char because int might match the return type of a GCC
7608 builtin and then its argument prototype would still apply. */
7609 char i386_set_ldt ();
7611 main (void)
7613 return i386_set_ldt ();
7615 return 0;
7617 _ACEOF
7618 if ac_fn_c_try_link "$LINENO"
7619 then :
7620 ac_cv_lib_i386_i386_set_ldt=yes
7621 else $as_nop
7622 ac_cv_lib_i386_i386_set_ldt=no
7624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7625 conftest$ac_exeext conftest.$ac_ext
7626 LIBS=$ac_check_lib_save_LIBS
7628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7629 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7630 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7631 then :
7632 I386_LIBS="-li386"
7637 OPENGL_LIBS=""
7641 # Check whether --enable-largefile was given.
7642 if test ${enable_largefile+y}
7643 then :
7644 enableval=$enable_largefile;
7647 if test "$enable_largefile" != no; then
7649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7650 printf %s "checking for special C compiler options needed for large files... " >&6; }
7651 if test ${ac_cv_sys_largefile_CC+y}
7652 then :
7653 printf %s "(cached) " >&6
7654 else $as_nop
7655 ac_cv_sys_largefile_CC=no
7656 if test "$GCC" != yes; then
7657 ac_save_CC=$CC
7658 while :; do
7659 # IRIX 6.2 and later do not support large files by default,
7660 # so use the C compiler's -n32 option if that helps.
7661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662 /* end confdefs.h. */
7663 #include <sys/types.h>
7664 /* Check that off_t can represent 2**63 - 1 correctly.
7665 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7666 since some C++ compilers masquerading as C compilers
7667 incorrectly reject 9223372036854775807. */
7668 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7669 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7670 && LARGE_OFF_T % 2147483647 == 1)
7671 ? 1 : -1];
7673 main (void)
7677 return 0;
7679 _ACEOF
7680 if ac_fn_c_try_compile "$LINENO"
7681 then :
7682 break
7684 rm -f core conftest.err conftest.$ac_objext conftest.beam
7685 CC="$CC -n32"
7686 if ac_fn_c_try_compile "$LINENO"
7687 then :
7688 ac_cv_sys_largefile_CC=' -n32'; break
7690 rm -f core conftest.err conftest.$ac_objext conftest.beam
7691 break
7692 done
7693 CC=$ac_save_CC
7694 rm -f conftest.$ac_ext
7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7698 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7699 if test "$ac_cv_sys_largefile_CC" != no; then
7700 CC=$CC$ac_cv_sys_largefile_CC
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7704 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7705 if test ${ac_cv_sys_file_offset_bits+y}
7706 then :
7707 printf %s "(cached) " >&6
7708 else $as_nop
7709 while :; do
7710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711 /* end confdefs.h. */
7712 #include <sys/types.h>
7713 /* Check that off_t can represent 2**63 - 1 correctly.
7714 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7715 since some C++ compilers masquerading as C compilers
7716 incorrectly reject 9223372036854775807. */
7717 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7718 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7719 && LARGE_OFF_T % 2147483647 == 1)
7720 ? 1 : -1];
7722 main (void)
7726 return 0;
7728 _ACEOF
7729 if ac_fn_c_try_compile "$LINENO"
7730 then :
7731 ac_cv_sys_file_offset_bits=no; break
7733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7736 #define _FILE_OFFSET_BITS 64
7737 #include <sys/types.h>
7738 /* Check that off_t can represent 2**63 - 1 correctly.
7739 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7740 since some C++ compilers masquerading as C compilers
7741 incorrectly reject 9223372036854775807. */
7742 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7743 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7744 && LARGE_OFF_T % 2147483647 == 1)
7745 ? 1 : -1];
7747 main (void)
7751 return 0;
7753 _ACEOF
7754 if ac_fn_c_try_compile "$LINENO"
7755 then :
7756 ac_cv_sys_file_offset_bits=64; break
7758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7759 ac_cv_sys_file_offset_bits=unknown
7760 break
7761 done
7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7764 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7765 case $ac_cv_sys_file_offset_bits in #(
7766 no | unknown) ;;
7768 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7770 esac
7771 rm -rf conftest*
7772 if test $ac_cv_sys_file_offset_bits = unknown; then
7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7774 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7775 if test ${ac_cv_sys_large_files+y}
7776 then :
7777 printf %s "(cached) " >&6
7778 else $as_nop
7779 while :; do
7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7782 #include <sys/types.h>
7783 /* Check that off_t can represent 2**63 - 1 correctly.
7784 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7785 since some C++ compilers masquerading as C compilers
7786 incorrectly reject 9223372036854775807. */
7787 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7788 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7789 && LARGE_OFF_T % 2147483647 == 1)
7790 ? 1 : -1];
7792 main (void)
7796 return 0;
7798 _ACEOF
7799 if ac_fn_c_try_compile "$LINENO"
7800 then :
7801 ac_cv_sys_large_files=no; break
7803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7805 /* end confdefs.h. */
7806 #define _LARGE_FILES 1
7807 #include <sys/types.h>
7808 /* Check that off_t can represent 2**63 - 1 correctly.
7809 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7810 since some C++ compilers masquerading as C compilers
7811 incorrectly reject 9223372036854775807. */
7812 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7813 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7814 && LARGE_OFF_T % 2147483647 == 1)
7815 ? 1 : -1];
7817 main (void)
7821 return 0;
7823 _ACEOF
7824 if ac_fn_c_try_compile "$LINENO"
7825 then :
7826 ac_cv_sys_large_files=1; break
7828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7829 ac_cv_sys_large_files=unknown
7830 break
7831 done
7833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7834 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7835 case $ac_cv_sys_large_files in #(
7836 no | unknown) ;;
7838 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7840 esac
7841 rm -rf conftest*
7845 test "$ac_cv_sys_file_offset_bits" = 64 &&
7846 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7849 ac_header= ac_cache=
7850 for ac_item in $ac_header_c_list
7852 if test $ac_cache; then
7853 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7854 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7855 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7857 ac_header= ac_cache=
7858 elif test $ac_header; then
7859 ac_cache=$ac_item
7860 else
7861 ac_header=$ac_item
7863 done
7872 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7873 then :
7875 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_CL_cl_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_EGL_egl_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_arpa_inet_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "asm/termbits.h" "ac_cv_header_asm_termbits_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_asm_termbits_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_ASM_TERMBITS_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_asm_types_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_asm_user_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_elf_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_float_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_gettext_po_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_libproc_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_link_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_filter_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_input_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_major_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_linux_param_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_linux_serial_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_linux_types_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_linux_wireless_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_lwp_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_mach_mach_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_machine_cpu_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_mntent_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_netdb_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_netinet_in_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_port_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_pwd_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_sched_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_scsi_sg_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_stdint_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_attr_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_auxv_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_cdio_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_epoll_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_event_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_extattr_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_filio_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_ipc_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_link_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_modem_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_mtio_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_param_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_prctl_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_queue_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_random_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_resource_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_shm_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_signal_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_sockio_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_strtio_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_syscall_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_times_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_uio_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_user_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_sys_utsname_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_sys_vnode_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_sys_xattr_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_syscall_h" = xyes
8336 then :
8337 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_utime_h" = xyes
8342 then :
8343 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8346 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8348 then :
8349 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8352 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8353 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8354 then :
8355 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8359 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8361 then :
8363 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8367 if test $ac_cv_header_sys_mkdev_h = no; then
8368 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8369 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8370 then :
8372 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8378 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8379 if test ${ac_cv_header_stat_broken+y}
8380 then :
8381 printf %s "(cached) " >&6
8382 else $as_nop
8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8385 #include <sys/types.h>
8386 #include <sys/stat.h>
8388 #if defined S_ISBLK && defined S_IFDIR
8389 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8390 #endif
8392 #if defined S_ISBLK && defined S_IFCHR
8393 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8394 #endif
8396 #if defined S_ISLNK && defined S_IFREG
8397 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8398 #endif
8400 #if defined S_ISSOCK && defined S_IFREG
8401 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8402 #endif
8404 _ACEOF
8405 if ac_fn_c_try_compile "$LINENO"
8406 then :
8407 ac_cv_header_stat_broken=no
8408 else $as_nop
8409 ac_cv_header_stat_broken=yes
8411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8414 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8415 if test $ac_cv_header_stat_broken = yes; then
8417 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8424 #ifdef HAVE_SYS_PARAM_H
8425 # include <sys/param.h>
8426 #endif
8428 if test "x$ac_cv_header_sys_conf_h" = xyes
8429 then :
8430 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8436 #endif
8438 if test "x$ac_cv_header_sys_mount_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8443 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8446 #endif
8448 if test "x$ac_cv_header_sys_statfs_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8453 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8454 #ifdef HAVE_SYS_PARAM_H
8455 # include <sys/param.h>
8456 #endif
8458 if test "x$ac_cv_header_sys_user_h" = xyes
8459 then :
8460 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8463 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8464 #ifdef HAVE_SYS_PARAM_H
8465 # include <sys/param.h>
8466 #endif
8468 if test "x$ac_cv_header_sys_vfs_h" = xyes
8469 then :
8470 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8475 saved_sysctl_h_CFLAGS=$CFLAGS
8476 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8477 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8478 #ifdef HAVE_SYS_PARAM_H
8479 # include <sys/param.h>
8480 #endif
8482 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8483 then :
8484 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8488 CFLAGS=$saved_sysctl_h_CFLAGS
8490 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8491 #include <sys/socket.h>
8492 #ifdef HAVE_SYS_SOCKETVAR_H
8493 # include <sys/socketvar.h>
8494 #endif
8495 #ifdef HAVE_NET_ROUTE_H
8496 # include <net/route.h>
8497 #endif
8498 #ifdef HAVE_NETINET_IN_H
8499 # include <netinet/in.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IN_SYSTM_H
8502 # include <netinet/in_systm.h>
8503 #endif
8504 #ifdef HAVE_NET_IF_H
8505 # include <net/if.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IP_H
8508 # include <netinet/ip.h>
8509 #endif
8511 if test "x$ac_cv_header_netinet_ip_h" = xyes
8512 then :
8513 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8516 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8517 #include <sys/socket.h>
8518 #ifdef HAVE_SYS_SOCKETVAR_H
8519 # include <sys/socketvar.h>
8520 #endif
8521 #ifdef HAVE_NET_ROUTE_H
8522 # include <net/route.h>
8523 #endif
8524 #ifdef HAVE_NETINET_IN_H
8525 # include <netinet/in.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IN_SYSTM_H
8528 # include <netinet/in_systm.h>
8529 #endif
8530 #ifdef HAVE_NET_IF_H
8531 # include <net/if.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IP_H
8534 # include <netinet/ip.h>
8535 #endif
8537 if test "x$ac_cv_header_net_if_h" = xyes
8538 then :
8539 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8542 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8543 #include <sys/socket.h>
8544 #ifdef HAVE_SYS_SOCKETVAR_H
8545 # include <sys/socketvar.h>
8546 #endif
8547 #ifdef HAVE_NET_ROUTE_H
8548 # include <net/route.h>
8549 #endif
8550 #ifdef HAVE_NETINET_IN_H
8551 # include <netinet/in.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IN_SYSTM_H
8554 # include <netinet/in_systm.h>
8555 #endif
8556 #ifdef HAVE_NET_IF_H
8557 # include <net/if.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IP_H
8560 # include <netinet/ip.h>
8561 #endif
8563 if test "x$ac_cv_header_net_if_arp_h" = xyes
8564 then :
8565 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8568 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8569 #include <sys/socket.h>
8570 #ifdef HAVE_SYS_SOCKETVAR_H
8571 # include <sys/socketvar.h>
8572 #endif
8573 #ifdef HAVE_NET_ROUTE_H
8574 # include <net/route.h>
8575 #endif
8576 #ifdef HAVE_NETINET_IN_H
8577 # include <netinet/in.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IN_SYSTM_H
8580 # include <netinet/in_systm.h>
8581 #endif
8582 #ifdef HAVE_NET_IF_H
8583 # include <net/if.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IP_H
8586 # include <netinet/ip.h>
8587 #endif
8589 if test "x$ac_cv_header_net_if_dl_h" = xyes
8590 then :
8591 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8594 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8595 #include <sys/socket.h>
8596 #ifdef HAVE_SYS_SOCKETVAR_H
8597 # include <sys/socketvar.h>
8598 #endif
8599 #ifdef HAVE_NET_ROUTE_H
8600 # include <net/route.h>
8601 #endif
8602 #ifdef HAVE_NETINET_IN_H
8603 # include <netinet/in.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IN_SYSTM_H
8606 # include <netinet/in_systm.h>
8607 #endif
8608 #ifdef HAVE_NET_IF_H
8609 # include <net/if.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IP_H
8612 # include <netinet/ip.h>
8613 #endif
8615 if test "x$ac_cv_header_net_if_types_h" = xyes
8616 then :
8617 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8620 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8621 #include <sys/socket.h>
8622 #ifdef HAVE_SYS_SOCKETVAR_H
8623 # include <sys/socketvar.h>
8624 #endif
8625 #ifdef HAVE_NET_ROUTE_H
8626 # include <net/route.h>
8627 #endif
8628 #ifdef HAVE_NETINET_IN_H
8629 # include <netinet/in.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IN_SYSTM_H
8632 # include <netinet/in_systm.h>
8633 #endif
8634 #ifdef HAVE_NET_IF_H
8635 # include <net/if.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IP_H
8638 # include <netinet/ip.h>
8639 #endif
8641 if test "x$ac_cv_header_net_route_h" = xyes
8642 then :
8643 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8646 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8647 #include <sys/socket.h>
8648 #ifdef HAVE_SYS_SOCKETVAR_H
8649 # include <sys/socketvar.h>
8650 #endif
8651 #ifdef HAVE_NET_ROUTE_H
8652 # include <net/route.h>
8653 #endif
8654 #ifdef HAVE_NETINET_IN_H
8655 # include <netinet/in.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IN_SYSTM_H
8658 # include <netinet/in_systm.h>
8659 #endif
8660 #ifdef HAVE_NET_IF_H
8661 # include <net/if.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IP_H
8664 # include <netinet/ip.h>
8665 #endif
8667 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8668 then :
8669 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8672 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8673 #include <sys/socket.h>
8674 #ifdef HAVE_SYS_SOCKETVAR_H
8675 # include <sys/socketvar.h>
8676 #endif
8677 #ifdef HAVE_NET_ROUTE_H
8678 # include <net/route.h>
8679 #endif
8680 #ifdef HAVE_NETINET_IN_H
8681 # include <netinet/in.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IN_SYSTM_H
8684 # include <netinet/in_systm.h>
8685 #endif
8686 #ifdef HAVE_NET_IF_H
8687 # include <net/if.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IP_H
8690 # include <netinet/ip.h>
8691 #endif
8693 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8694 then :
8695 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8698 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8699 #include <sys/socket.h>
8700 #ifdef HAVE_SYS_SOCKETVAR_H
8701 # include <sys/socketvar.h>
8702 #endif
8703 #ifdef HAVE_NET_ROUTE_H
8704 # include <net/route.h>
8705 #endif
8706 #ifdef HAVE_NETINET_IN_H
8707 # include <netinet/in.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IN_SYSTM_H
8710 # include <netinet/in_systm.h>
8711 #endif
8712 #ifdef HAVE_NET_IF_H
8713 # include <net/if.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IP_H
8716 # include <netinet/ip.h>
8717 #endif
8719 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8720 then :
8721 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8724 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8725 #include <sys/socket.h>
8726 #ifdef HAVE_SYS_SOCKETVAR_H
8727 # include <sys/socketvar.h>
8728 #endif
8729 #ifdef HAVE_NET_ROUTE_H
8730 # include <net/route.h>
8731 #endif
8732 #ifdef HAVE_NETINET_IN_H
8733 # include <netinet/in.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IN_SYSTM_H
8736 # include <netinet/in_systm.h>
8737 #endif
8738 #ifdef HAVE_NET_IF_H
8739 # include <net/if.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IP_H
8742 # include <netinet/ip.h>
8743 #endif
8745 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8746 then :
8747 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8750 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8751 #include <sys/socket.h>
8752 #ifdef HAVE_SYS_SOCKETVAR_H
8753 # include <sys/socketvar.h>
8754 #endif
8755 #ifdef HAVE_NET_ROUTE_H
8756 # include <net/route.h>
8757 #endif
8758 #ifdef HAVE_NETINET_IN_H
8759 # include <netinet/in.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IN_SYSTM_H
8762 # include <netinet/in_systm.h>
8763 #endif
8764 #ifdef HAVE_NET_IF_H
8765 # include <net/if.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IP_H
8768 # include <netinet/ip.h>
8769 #endif
8771 if test "x$ac_cv_header_netinet_udp_h" = xyes
8772 then :
8773 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8776 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8777 #include <sys/socket.h>
8778 #ifdef HAVE_SYS_SOCKETVAR_H
8779 # include <sys/socketvar.h>
8780 #endif
8781 #ifdef HAVE_NET_ROUTE_H
8782 # include <net/route.h>
8783 #endif
8784 #ifdef HAVE_NETINET_IN_H
8785 # include <netinet/in.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IN_SYSTM_H
8788 # include <netinet/in_systm.h>
8789 #endif
8790 #ifdef HAVE_NET_IF_H
8791 # include <net/if.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IP_H
8794 # include <netinet/ip.h>
8795 #endif
8797 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8798 then :
8799 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8802 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8803 #include <sys/socket.h>
8804 #ifdef HAVE_SYS_SOCKETVAR_H
8805 # include <sys/socketvar.h>
8806 #endif
8807 #ifdef HAVE_NET_ROUTE_H
8808 # include <net/route.h>
8809 #endif
8810 #ifdef HAVE_NETINET_IN_H
8811 # include <netinet/in.h>
8812 #endif
8813 #ifdef HAVE_NETINET_IN_SYSTM_H
8814 # include <netinet/in_systm.h>
8815 #endif
8816 #ifdef HAVE_NET_IF_H
8817 # include <net/if.h>
8818 #endif
8819 #ifdef HAVE_NETINET_IP_H
8820 # include <netinet/ip.h>
8821 #endif
8823 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8824 then :
8825 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8828 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8829 #include <sys/socket.h>
8830 #ifdef HAVE_SYS_SOCKETVAR_H
8831 # include <sys/socketvar.h>
8832 #endif
8833 #ifdef HAVE_NET_ROUTE_H
8834 # include <net/route.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IN_H
8837 # include <netinet/in.h>
8838 #endif
8839 #ifdef HAVE_NETINET_IN_SYSTM_H
8840 # include <netinet/in_systm.h>
8841 #endif
8842 #ifdef HAVE_NET_IF_H
8843 # include <net/if.h>
8844 #endif
8845 #ifdef HAVE_NETINET_IP_H
8846 # include <netinet/ip.h>
8847 #endif
8849 if test "x$ac_cv_header_sys_un_h" = xyes
8850 then :
8851 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8856 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8857 #include <sys/socket.h>
8858 #ifdef HAVE_SYS_SOCKETVAR_H
8859 # include <sys/socketvar.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IN_H
8862 # include <netinet/in.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IN_SYSTM_H
8865 # include <netinet/in_systm.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_H
8868 # include <netinet/ip.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IP_VAR_H
8871 # include <netinet/ip_var.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IP_ICMP_H
8874 # include <netinet/ip_icmp.h>
8875 #endif
8876 #ifdef HAVE_NETINET_UDP_H
8877 # include <netinet/udp.h>
8878 #endif
8879 #ifdef HAVE_NETINET_TCP_H
8880 # include <netinet/tcp.h>
8881 #endif
8883 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8884 then :
8885 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8888 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8889 #include <sys/socket.h>
8890 #ifdef HAVE_SYS_SOCKETVAR_H
8891 # include <sys/socketvar.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IN_H
8894 # include <netinet/in.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IN_SYSTM_H
8897 # include <netinet/in_systm.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_H
8900 # include <netinet/ip.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IP_VAR_H
8903 # include <netinet/ip_var.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IP_ICMP_H
8906 # include <netinet/ip_icmp.h>
8907 #endif
8908 #ifdef HAVE_NETINET_UDP_H
8909 # include <netinet/udp.h>
8910 #endif
8911 #ifdef HAVE_NETINET_TCP_H
8912 # include <netinet/tcp.h>
8913 #endif
8915 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8916 then :
8917 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8920 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8921 #include <sys/socket.h>
8922 #ifdef HAVE_SYS_SOCKETVAR_H
8923 # include <sys/socketvar.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IN_H
8926 # include <netinet/in.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IN_SYSTM_H
8929 # include <netinet/in_systm.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_H
8932 # include <netinet/ip.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_VAR_H
8935 # include <netinet/ip_var.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IP_ICMP_H
8938 # include <netinet/ip_icmp.h>
8939 #endif
8940 #ifdef HAVE_NETINET_UDP_H
8941 # include <netinet/udp.h>
8942 #endif
8943 #ifdef HAVE_NETINET_TCP_H
8944 # include <netinet/tcp.h>
8945 #endif
8947 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8948 then :
8949 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8952 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8953 #include <sys/socket.h>
8954 #ifdef HAVE_SYS_SOCKETVAR_H
8955 # include <sys/socketvar.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IN_H
8958 # include <netinet/in.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IN_SYSTM_H
8961 # include <netinet/in_systm.h>
8962 #endif
8963 #ifdef HAVE_NETINET_IP_H
8964 # include <netinet/ip.h>
8965 #endif
8966 #ifdef HAVE_NETINET_IP_VAR_H
8967 # include <netinet/ip_var.h>
8968 #endif
8969 #ifdef HAVE_NETINET_IP_ICMP_H
8970 # include <netinet/ip_icmp.h>
8971 #endif
8972 #ifdef HAVE_NETINET_UDP_H
8973 # include <netinet/udp.h>
8974 #endif
8975 #ifdef HAVE_NETINET_TCP_H
8976 # include <netinet/tcp.h>
8977 #endif
8979 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8980 then :
8981 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8987 #include <sys/socket.h>
8988 #ifdef HAVE_ASM_TYPES_H
8989 # include <asm/types.h>
8990 #endif
8991 #ifdef HAVE_LINUX_TYPES_H
8992 # include <linux/types.h>
8993 #endif
8995 if test "x$ac_cv_header_linux_ipx_h" = xyes
8996 then :
8997 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_ASM_TYPES_H
9003 # include <asm/types.h>
9004 #endif
9005 #ifdef HAVE_LINUX_TYPES_H
9006 # include <linux/types.h>
9007 #endif
9009 if test "x$ac_cv_header_linux_irda_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9015 #include <sys/socket.h>
9016 #ifdef HAVE_ASM_TYPES_H
9017 # include <asm/types.h>
9018 #endif
9019 #ifdef HAVE_LINUX_TYPES_H
9020 # include <linux/types.h>
9021 #endif
9023 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9024 then :
9025 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9030 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9031 #include <sys/socket.h>
9032 #ifdef HAVE_NETINET_IN_H
9033 # include <netinet/in.h>
9034 #endif
9035 #ifdef HAVE_ARPA_NAMESER_H
9036 # include <arpa/nameser.h>
9037 #endif
9039 if test "x$ac_cv_header_resolv_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9046 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9048 if test "x$ac_cv_header_ifaddrs_h" = xyes
9049 then :
9050 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9057 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9058 then :
9059 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9064 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9065 #ifdef HAVE_SYS_UCONTEXT_H
9066 #include <sys/ucontext.h>
9067 #endif
9069 if test "x$ac_cv_header_sys_thr_h" = xyes
9070 then :
9071 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9076 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9078 if test "x$ac_cv_header_pthread_np_h" = xyes
9079 then :
9080 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9085 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9086 #include <sys/types.h>
9087 #ifdef HAVE_ASM_TYPES_H
9088 #include <asm/types.h>
9089 #endif
9091 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9092 then :
9093 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9098 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9099 #include <sys/param.h>
9100 #endif
9101 #include <sys/socket.h>
9102 #ifdef HAVE_SYS_QUEUE_H
9103 #include <sys/queue.h>
9104 #endif
9106 if test "x$ac_cv_header_libprocstat_h" = xyes
9107 then :
9108 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9113 if test "x$ac_cv_header_sys_xattr_h" = xyes
9114 then
9115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9116 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9117 if test ${wine_cv_xattr_extra_args+y}
9118 then :
9119 printf %s "(cached) " >&6
9120 else $as_nop
9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9122 /* end confdefs.h. */
9123 #include <sys/xattr.h>
9125 main (void)
9127 getxattr("", "", "", 0, 0, 0);
9129 return 0;
9131 _ACEOF
9132 if ac_fn_c_try_compile "$LINENO"
9133 then :
9134 wine_cv_xattr_extra_args=yes
9135 else $as_nop
9136 wine_cv_xattr_extra_args=no
9138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9141 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9142 test $wine_cv_xattr_extra_args != yes ||
9143 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9148 DLLFLAGS=""
9150 LDDLLFLAGS=""
9152 LDEXECFLAGS=""
9154 EXTRACFLAGS=""
9156 UNIXDLLFLAGS="-fPIC"
9158 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9160 TOP_INSTALL_LIB=""
9162 TOP_INSTALL_DEV=""
9164 WINELOADER_LDFLAGS=""
9166 WINEPRELOADER_LDFLAGS=""
9168 DLLEXT=".so"
9170 LIBEXT="so"
9171 # Extract the first word of "ldd", so it can be a program name with args.
9172 set dummy ldd; ac_word=$2
9173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9174 printf %s "checking for $ac_word... " >&6; }
9175 if test ${ac_cv_path_LDD+y}
9176 then :
9177 printf %s "(cached) " >&6
9178 else $as_nop
9179 case $LDD in
9180 [\\/]* | ?:[\\/]*)
9181 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9185 as_dummy="/sbin:/usr/sbin:$PATH"
9186 for as_dir in $as_dummy
9188 IFS=$as_save_IFS
9189 case $as_dir in #(((
9190 '') as_dir=./ ;;
9191 */) ;;
9192 *) as_dir=$as_dir/ ;;
9193 esac
9194 for ac_exec_ext in '' $ac_executable_extensions; do
9195 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9196 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9198 break 2
9200 done
9201 done
9202 IFS=$as_save_IFS
9204 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9206 esac
9208 LDD=$ac_cv_path_LDD
9209 if test -n "$LDD"; then
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9211 printf "%s\n" "$LDD" >&6; }
9212 else
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9214 printf "%s\n" "no" >&6; }
9218 if test -n "$ac_tool_prefix"; then
9219 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9220 set dummy ${ac_tool_prefix}otool; ac_word=$2
9221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222 printf %s "checking for $ac_word... " >&6; }
9223 if test ${ac_cv_prog_OTOOL+y}
9224 then :
9225 printf %s "(cached) " >&6
9226 else $as_nop
9227 if test -n "$OTOOL"; then
9228 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9229 else
9230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9231 for as_dir in $PATH
9233 IFS=$as_save_IFS
9234 case $as_dir in #(((
9235 '') as_dir=./ ;;
9236 */) ;;
9237 *) as_dir=$as_dir/ ;;
9238 esac
9239 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9241 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9243 break 2
9245 done
9246 done
9247 IFS=$as_save_IFS
9251 OTOOL=$ac_cv_prog_OTOOL
9252 if test -n "$OTOOL"; then
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9254 printf "%s\n" "$OTOOL" >&6; }
9255 else
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257 printf "%s\n" "no" >&6; }
9262 if test -z "$ac_cv_prog_OTOOL"; then
9263 ac_ct_OTOOL=$OTOOL
9264 # Extract the first word of "otool", so it can be a program name with args.
9265 set dummy otool; ac_word=$2
9266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9267 printf %s "checking for $ac_word... " >&6; }
9268 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9269 then :
9270 printf %s "(cached) " >&6
9271 else $as_nop
9272 if test -n "$ac_ct_OTOOL"; then
9273 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9274 else
9275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9276 for as_dir in $PATH
9278 IFS=$as_save_IFS
9279 case $as_dir in #(((
9280 '') as_dir=./ ;;
9281 */) ;;
9282 *) as_dir=$as_dir/ ;;
9283 esac
9284 for ac_exec_ext in '' $ac_executable_extensions; do
9285 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9286 ac_cv_prog_ac_ct_OTOOL="otool"
9287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9288 break 2
9290 done
9291 done
9292 IFS=$as_save_IFS
9296 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9297 if test -n "$ac_ct_OTOOL"; then
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9299 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9300 else
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9302 printf "%s\n" "no" >&6; }
9305 if test "x$ac_ct_OTOOL" = x; then
9306 OTOOL="otool"
9307 else
9308 case $cross_compiling:$ac_tool_warned in
9309 yes:)
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9311 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9312 ac_tool_warned=yes ;;
9313 esac
9314 OTOOL=$ac_ct_OTOOL
9316 else
9317 OTOOL="$ac_cv_prog_OTOOL"
9320 if test -n "$ac_tool_prefix"; then
9321 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9322 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9324 printf %s "checking for $ac_word... " >&6; }
9325 if test ${ac_cv_prog_READELF+y}
9326 then :
9327 printf %s "(cached) " >&6
9328 else $as_nop
9329 if test -n "$READELF"; then
9330 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9331 else
9332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9333 for as_dir in $PATH
9335 IFS=$as_save_IFS
9336 case $as_dir in #(((
9337 '') as_dir=./ ;;
9338 */) ;;
9339 *) as_dir=$as_dir/ ;;
9340 esac
9341 for ac_exec_ext in '' $ac_executable_extensions; do
9342 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9343 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9345 break 2
9347 done
9348 done
9349 IFS=$as_save_IFS
9353 READELF=$ac_cv_prog_READELF
9354 if test -n "$READELF"; then
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9356 printf "%s\n" "$READELF" >&6; }
9357 else
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359 printf "%s\n" "no" >&6; }
9364 if test -z "$ac_cv_prog_READELF"; then
9365 ac_ct_READELF=$READELF
9366 # Extract the first word of "readelf", so it can be a program name with args.
9367 set dummy readelf; ac_word=$2
9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9369 printf %s "checking for $ac_word... " >&6; }
9370 if test ${ac_cv_prog_ac_ct_READELF+y}
9371 then :
9372 printf %s "(cached) " >&6
9373 else $as_nop
9374 if test -n "$ac_ct_READELF"; then
9375 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9376 else
9377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9378 for as_dir in $PATH
9380 IFS=$as_save_IFS
9381 case $as_dir in #(((
9382 '') as_dir=./ ;;
9383 */) ;;
9384 *) as_dir=$as_dir/ ;;
9385 esac
9386 for ac_exec_ext in '' $ac_executable_extensions; do
9387 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9388 ac_cv_prog_ac_ct_READELF="readelf"
9389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9390 break 2
9392 done
9393 done
9394 IFS=$as_save_IFS
9398 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9399 if test -n "$ac_ct_READELF"; then
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9401 printf "%s\n" "$ac_ct_READELF" >&6; }
9402 else
9403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9404 printf "%s\n" "no" >&6; }
9407 if test "x$ac_ct_READELF" = x; then
9408 READELF="true"
9409 else
9410 case $cross_compiling:$ac_tool_warned in
9411 yes:)
9412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9413 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9414 ac_tool_warned=yes ;;
9415 esac
9416 READELF=$ac_ct_READELF
9418 else
9419 READELF="$ac_cv_prog_READELF"
9422 wine_rules="all:"
9423 SUBDIRS=""
9425 DISABLED_SUBDIRS=""
9427 CONFIGURE_TARGETS=""
9430 wine_fn_config_makefile ()
9432 as_fn_append SUBDIRS " \\$as_nl $1"
9433 eval enable=\$$2
9434 case "$enable" in
9435 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9436 yes) ;;
9437 *aarch64*|*arm*|*i386*|*x86_64*)
9438 if test -n "$PE_ARCHS"
9439 then
9440 for i in $PE_ARCHS
9442 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9443 done
9444 else
9445 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9446 fi ;;
9448 case "$1, $PE_ARCHS " in
9449 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9450 esac ;;
9451 esac
9454 wine_fn_config_symlink ()
9456 ac_links=$@
9457 as_fn_append wine_rules "
9458 $ac_links:
9459 @./config.status \$@"
9460 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9463 case $host_os in
9464 cygwin*|mingw32*)
9465 LIBEXT="dll"
9466 DLLEXT=""
9467 EXTRACFLAGS="-D__WINE_PE_BUILD"
9468 if test "x$HOST_ARCH" = xi386
9469 then :
9470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9471 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9472 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9473 then :
9474 printf %s "(cached) " >&6
9475 else $as_nop
9476 ac_wine_try_cflags_saved=$CFLAGS
9477 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9480 int main(int argc, char **argv) { return 0; }
9481 _ACEOF
9482 if ac_fn_c_try_link "$LINENO"
9483 then :
9484 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9485 else $as_nop
9486 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9489 conftest$ac_exeext conftest.$ac_ext
9490 CFLAGS=$ac_wine_try_cflags_saved
9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9493 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9494 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9495 then :
9496 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9499 enable_loader=${enable_loader:-no}
9500 enable_server=${enable_server:-no}
9501 with_x=${with_x:-no}
9502 with_pthread=${with_pthread:-no}
9505 darwin*|macosx*)
9506 LIBEXT="dylib"
9507 DLLFLAGS="$DLLFLAGS -fPIC"
9508 LDDLLFLAGS="-fPIC"
9509 enable_winemac_drv=${enable_winemac_drv:-yes}
9510 CARBON_LIBS="-framework Carbon"
9512 COREFOUNDATION_LIBS="-framework CoreFoundation"
9514 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9516 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9518 METAL_LIBS="-framework Metal"
9520 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9522 CORESERVICES_LIBS="-framework CoreServices"
9524 APPKIT_LIBS="-framework AppKit"
9526 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9528 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9531 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9533 case $HOST_ARCH in
9534 i386|x86_64) wine_can_build_preloader=yes ;;
9535 *) wine_can_build_preloader=no ;;
9536 esac
9538 if test "$wine_can_build_preloader" = "yes"
9539 then
9540 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"
9541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9542 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9543 if test ${ac_cv_cflags__Wl__no_pie+y}
9544 then :
9545 printf %s "(cached) " >&6
9546 else $as_nop
9547 ac_wine_try_cflags_saved=$CFLAGS
9548 CFLAGS="$CFLAGS -Wl,-no_pie"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551 int main(int argc, char **argv) { return 0; }
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"
9554 then :
9555 ac_cv_cflags__Wl__no_pie=yes
9556 else $as_nop
9557 ac_cv_cflags__Wl__no_pie=no
9559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9560 conftest$ac_exeext conftest.$ac_ext
9561 CFLAGS=$ac_wine_try_cflags_saved
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9564 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9565 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9566 then :
9567 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9569 case $HOST_ARCH in
9570 i386)
9571 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9573 x86_64)
9574 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9576 esac
9577 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9578 else
9579 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9582 if test "x$with_coreaudio" != "xno";
9583 then
9584 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9586 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9588 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9589 then
9590 OPENCL_LIBS="-framework OpenCL"
9592 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9596 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9597 ac_ext=m
9598 ac_cpp='$OBJCPP $CPPFLAGS'
9599 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9600 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9601 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9603 ac_ext=m
9604 ac_cpp='$OBJCPP $CPPFLAGS'
9605 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9606 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9607 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9608 if test -n "$ac_tool_prefix"; then
9609 for ac_prog in gcc objcc objc cc CC clang
9611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9614 printf %s "checking for $ac_word... " >&6; }
9615 if test ${ac_cv_prog_OBJC+y}
9616 then :
9617 printf %s "(cached) " >&6
9618 else $as_nop
9619 if test -n "$OBJC"; then
9620 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9621 else
9622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9623 for as_dir in $PATH
9625 IFS=$as_save_IFS
9626 case $as_dir in #(((
9627 '') as_dir=./ ;;
9628 */) ;;
9629 *) as_dir=$as_dir/ ;;
9630 esac
9631 for ac_exec_ext in '' $ac_executable_extensions; do
9632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9633 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9635 break 2
9637 done
9638 done
9639 IFS=$as_save_IFS
9643 OBJC=$ac_cv_prog_OBJC
9644 if test -n "$OBJC"; then
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9646 printf "%s\n" "$OBJC" >&6; }
9647 else
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 printf "%s\n" "no" >&6; }
9653 test -n "$OBJC" && break
9654 done
9656 if test -z "$OBJC"; then
9657 ac_ct_OBJC=$OBJC
9658 for ac_prog in gcc objcc objc cc CC clang
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy $ac_prog; ac_word=$2
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 printf %s "checking for $ac_word... " >&6; }
9664 if test ${ac_cv_prog_ac_ct_OBJC+y}
9665 then :
9666 printf %s "(cached) " >&6
9667 else $as_nop
9668 if test -n "$ac_ct_OBJC"; then
9669 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9670 else
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 for as_dir in $PATH
9674 IFS=$as_save_IFS
9675 case $as_dir in #(((
9676 '') as_dir=./ ;;
9677 */) ;;
9678 *) as_dir=$as_dir/ ;;
9679 esac
9680 for ac_exec_ext in '' $ac_executable_extensions; do
9681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9684 break 2
9686 done
9687 done
9688 IFS=$as_save_IFS
9692 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9693 if test -n "$ac_ct_OBJC"; then
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9695 printf "%s\n" "$ac_ct_OBJC" >&6; }
9696 else
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 printf "%s\n" "no" >&6; }
9702 test -n "$ac_ct_OBJC" && break
9703 done
9705 if test "x$ac_ct_OBJC" = x; then
9706 OBJC="gcc"
9707 else
9708 case $cross_compiling:$ac_tool_warned in
9709 yes:)
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9712 ac_tool_warned=yes ;;
9713 esac
9714 OBJC=$ac_ct_OBJC
9718 # Provide some information about the compiler.
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9720 set X $ac_compile
9721 ac_compiler=$2
9722 for ac_option in --version -v -V -qversion; do
9723 { { ac_try="$ac_compiler $ac_option >&5"
9724 case "(($ac_try" in
9725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9726 *) ac_try_echo=$ac_try;;
9727 esac
9728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9729 printf "%s\n" "$ac_try_echo"; } >&5
9730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9731 ac_status=$?
9732 if test -s conftest.err; then
9733 sed '10a\
9734 ... rest of stderr output deleted ...
9735 10q' conftest.err >conftest.er1
9736 cat conftest.er1 >&5
9738 rm -f conftest.er1 conftest.err
9739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9740 test $ac_status = 0; }
9741 done
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9744 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9745 if test ${ac_cv_objc_compiler_gnu+y}
9746 then :
9747 printf %s "(cached) " >&6
9748 else $as_nop
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9753 main (void)
9755 #ifndef __GNUC__
9756 choke me
9757 #endif
9760 return 0;
9762 _ACEOF
9763 if ac_fn_objc_try_compile "$LINENO"
9764 then :
9765 ac_compiler_gnu=yes
9766 else $as_nop
9767 ac_compiler_gnu=no
9769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9770 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9774 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9775 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9777 if test $ac_compiler_gnu = yes; then
9778 GOBJC=yes
9779 else
9780 GOBJC=
9782 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9783 ac_save_OBJCFLAGS=$OBJCFLAGS
9784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9785 printf %s "checking whether $OBJC accepts -g... " >&6; }
9786 if test ${ac_cv_prog_objc_g+y}
9787 then :
9788 printf %s "(cached) " >&6
9789 else $as_nop
9790 ac_save_objc_werror_flag=$ac_objc_werror_flag
9791 ac_objc_werror_flag=yes
9792 ac_cv_prog_objc_g=no
9793 OBJCFLAGS="-g"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9798 main (void)
9802 return 0;
9804 _ACEOF
9805 if ac_fn_objc_try_compile "$LINENO"
9806 then :
9807 ac_cv_prog_objc_g=yes
9808 else $as_nop
9809 OBJCFLAGS=""
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9814 main (void)
9818 return 0;
9820 _ACEOF
9821 if ac_fn_objc_try_compile "$LINENO"
9822 then :
9824 else $as_nop
9825 ac_objc_werror_flag=$ac_save_objc_werror_flag
9826 OBJCFLAGS="-g"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9831 main (void)
9835 return 0;
9837 _ACEOF
9838 if ac_fn_objc_try_compile "$LINENO"
9839 then :
9840 ac_cv_prog_objc_g=yes
9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 ac_objc_werror_flag=$ac_save_objc_werror_flag
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9850 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9851 if test $ac_test_OBJCFLAGS; then
9852 OBJCFLAGS=$ac_save_OBJCFLAGS
9853 elif test $ac_cv_prog_objc_g = yes; then
9854 if test "$GOBJC" = yes; then
9855 OBJCFLAGS="-g -O2"
9856 else
9857 OBJCFLAGS="-g"
9859 else
9860 if test "$GOBJC" = yes; then
9861 OBJCFLAGS="-O2"
9862 else
9863 OBJCFLAGS=
9866 ac_ext=m
9867 ac_cpp='$OBJCPP $CPPFLAGS'
9868 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9869 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9870 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 #include <Metal/Metal.h>
9877 main (void)
9879 id<MTLDevice> device; device.registryID;
9881 return 0;
9883 _ACEOF
9884 if ac_fn_objc_try_compile "$LINENO"
9885 then :
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9887 printf "%s\n" "yes" >&6; }
9889 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9891 else $as_nop
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9893 printf "%s\n" "no" >&6; }
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9896 ac_ext=c
9897 ac_cpp='$CPP $CPPFLAGS'
9898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9903 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9904 WINELOADER_DEPENDS="wine_info.plist"
9908 linux-android*)
9910 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9912 DLLFLAGS="$DLLFLAGS -fPIC"
9913 LDDLLFLAGS="-fPIC"
9914 LDEXECFLAGS="-Wl,-pie"
9915 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9917 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9918 if test ${ac_cv_cflags__Wl__z_defs+y}
9919 then :
9920 printf %s "(cached) " >&6
9921 else $as_nop
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 CFLAGS="$CFLAGS -Wl,-z,defs"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 int main(int argc, char **argv) { return 0; }
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"
9929 then :
9930 ac_cv_cflags__Wl__z_defs=yes
9931 else $as_nop
9932 ac_cv_cflags__Wl__z_defs=no
9934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9935 conftest$ac_exeext conftest.$ac_ext
9936 CFLAGS=$ac_wine_try_cflags_saved
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9939 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9940 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9941 then :
9942 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9945 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9946 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9947 then :
9948 printf %s "(cached) " >&6
9949 else $as_nop
9950 ac_wine_try_cflags_saved=$CFLAGS
9951 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9954 int main(int argc, char **argv) { return 0; }
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"
9957 then :
9958 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9959 else $as_nop
9960 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9963 conftest$ac_exeext conftest.$ac_ext
9964 CFLAGS=$ac_wine_try_cflags_saved
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9967 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9968 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9969 then :
9970 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9972 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9975 printf %s "checking for -lEGL... " >&6; }
9976 if test ${ac_cv_lib_soname_EGL+y}
9977 then :
9978 printf %s "(cached) " >&6
9979 else $as_nop
9980 ac_check_soname_save_LIBS=$LIBS
9981 LIBS="-lEGL $LIBS"
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9988 char eglGetProcAddress ();
9990 main (void)
9992 return eglGetProcAddress ();
9994 return 0;
9996 _ACEOF
9997 if ac_fn_c_try_link "$LINENO"
9998 then :
9999 case "$LIBEXT" in
10000 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10001 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'` ;;
10002 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10003 if ${ac_cv_lib_soname_EGL:+false} :
10004 then :
10005 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10006 fi ;;
10007 esac
10008 else $as_nop
10009 ac_cv_lib_soname_EGL=
10011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10012 conftest$ac_exeext conftest.$ac_ext
10013 LIBS=$ac_check_soname_save_LIBS
10015 if ${ac_cv_lib_soname_EGL:+false} :
10016 then :
10017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10018 printf "%s\n" "not found" >&6; }
10020 else $as_nop
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10022 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10024 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10029 printf %s "checking for -lGLESv2... " >&6; }
10030 if test ${ac_cv_lib_soname_GLESv2+y}
10031 then :
10032 printf %s "(cached) " >&6
10033 else $as_nop
10034 ac_check_soname_save_LIBS=$LIBS
10035 LIBS="-lGLESv2 $LIBS"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10042 char glFlush ();
10044 main (void)
10046 return glFlush ();
10048 return 0;
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"
10052 then :
10053 case "$LIBEXT" in
10054 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10055 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'` ;;
10056 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10057 if ${ac_cv_lib_soname_GLESv2:+false} :
10058 then :
10059 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10060 fi ;;
10061 esac
10062 else $as_nop
10063 ac_cv_lib_soname_GLESv2=
10065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_soname_save_LIBS
10069 if ${ac_cv_lib_soname_GLESv2:+false} :
10070 then :
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10072 printf "%s\n" "not found" >&6; }
10074 else $as_nop
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10076 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10078 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10083 if test "x$exec_prefix" = xNONE
10084 then
10085 case $HOST_ARCH in
10086 i386) exec_prefix='${prefix}/x86' ;;
10087 x86_64) exec_prefix='${prefix}/x86_64' ;;
10088 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10089 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10090 esac
10096 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10098 if test $HOST_ARCH = i386
10099 then
10100 DLLFLAGS="$DLLFLAGS -fno-PIC"
10101 LDDLLFLAGS="-fno-PIC"
10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10103 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10104 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10105 then :
10106 printf %s "(cached) " >&6
10107 else $as_nop
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int main(int argc, char **argv) { return 0; }
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"
10115 then :
10116 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10117 else $as_nop
10118 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10121 conftest$ac_exeext conftest.$ac_ext
10122 CFLAGS=$ac_wine_try_cflags_saved
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10125 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10126 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10127 then :
10128 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10130 else
10131 DLLFLAGS="$DLLFLAGS -fPIC"
10132 LDDLLFLAGS="-fPIC"
10135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10136 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10137 if test ${ac_cv_wl_z_defs+y}
10138 then :
10139 printf %s "(cached) " >&6
10140 else $as_nop
10141 ac_save_CFLAGS="$CFLAGS"
10142 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10145 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10146 _ACEOF
10147 if ac_fn_c_try_link "$LINENO"
10148 then :
10149 ac_cv_wl_z_defs=yes
10150 else $as_nop
10151 ac_cv_wl_z_defs=no
10153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10154 conftest$ac_exeext conftest.$ac_ext
10155 CFLAGS=$ac_save_CFLAGS
10157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10158 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10159 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10162 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10163 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10164 then :
10165 printf %s "(cached) " >&6
10166 else $as_nop
10167 ac_wine_try_cflags_saved=$CFLAGS
10168 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10171 int main(int argc, char **argv) { return 0; }
10172 _ACEOF
10173 if ac_fn_c_try_link "$LINENO"
10174 then :
10175 ac_cv_cflags__Wl___export_dynamic=yes
10176 else $as_nop
10177 ac_cv_cflags__Wl___export_dynamic=no
10179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10180 conftest$ac_exeext conftest.$ac_ext
10181 CFLAGS=$ac_wine_try_cflags_saved
10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10184 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10185 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10186 then :
10187 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10189 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10191 case $host_os in
10192 linux*)
10193 as_fn_append WINELOADER_LDFLAGS " -pie"
10194 case $HOST_ARCH in
10195 i386|arm)
10196 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10199 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10200 if test ${ac_cv_cflags__static_pie+y}
10201 then :
10202 printf %s "(cached) " >&6
10203 else $as_nop
10204 ac_wine_try_cflags_saved=$CFLAGS
10205 CFLAGS="$CFLAGS -static-pie"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10208 int main(int argc, char **argv) { return 0; }
10209 _ACEOF
10210 if ac_fn_c_try_link "$LINENO"
10211 then :
10212 ac_cv_cflags__static_pie=yes
10213 else $as_nop
10214 ac_cv_cflags__static_pie=no
10216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10217 conftest$ac_exeext conftest.$ac_ext
10218 CFLAGS=$ac_wine_try_cflags_saved
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10221 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10222 if test "x$ac_cv_cflags__static_pie" = xyes
10223 then :
10224 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10225 else $as_nop
10226 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10229 esac
10232 case $HOST_ARCH in
10233 i386|arm)
10234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10235 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10236 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10237 then :
10238 printf %s "(cached) " >&6
10239 else $as_nop
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10244 int main(int argc, char **argv) { return 0; }
10245 _ACEOF
10246 if ac_fn_c_try_link "$LINENO"
10247 then :
10248 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10249 else $as_nop
10250 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10253 conftest$ac_exeext conftest.$ac_ext
10254 CFLAGS=$ac_wine_try_cflags_saved
10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10257 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10258 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10259 then :
10260 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10261 else $as_nop
10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10263 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10264 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10265 then :
10266 printf %s "(cached) " >&6
10267 else $as_nop
10268 ac_wine_try_cflags_saved=$CFLAGS
10269 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10272 int main(int argc, char **argv) { return 0; }
10273 _ACEOF
10274 if ac_fn_c_try_link "$LINENO"
10275 then :
10276 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10277 else $as_nop
10278 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10281 conftest$ac_exeext conftest.$ac_ext
10282 CFLAGS=$ac_wine_try_cflags_saved
10284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10285 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10286 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10287 then :
10288 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10293 as_fn_append WINELOADER_LDFLAGS " -pie"
10295 esac
10297 esac
10299 esac
10301 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10302 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10303 enable_winemac_drv=${enable_winemac_drv:-no}
10305 PE_ARCHS=""
10307 cross_archs=
10308 if test ${enable_archs+y}
10309 then :
10310 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10311 ac_save_IFS=$IFS
10312 IFS=' ,'
10313 set x $enable_archs
10314 IFS=$ac_save_IFS
10315 shift
10316 for arch
10318 case $arch in
10319 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10320 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10321 esac
10322 done
10323 else $as_nop
10324 if test "x$with_mingw" != xno
10325 then
10326 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10330 saved_CC=$CC
10331 saved_CFLAGS=$CFLAGS
10332 saved_LDFLAGS=$LDFLAGS
10334 { extra_arch=; unset extra_arch;}
10335 for arch in $cross_archs
10337 case $arch in
10338 arm64ec) test ${extra_arch+y} || extra_arch=x86_64 ;;
10339 x86_64) extra_arch="" ;;
10340 esac
10341 done
10343 for wine_arch in $cross_archs $extra_arch
10345 case "x$with_mingw" in
10346 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10347 esac
10348 if eval \${${wine_arch}_CC:+false} :
10349 then :
10350 case $wine_arch in
10351 aarch64)
10352 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10354 # Extract the first word of "$ac_prog", so it can be a program name with args.
10355 set dummy $ac_prog; ac_word=$2
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10357 printf %s "checking for $ac_word... " >&6; }
10358 if test ${ac_cv_prog_aarch64_CC+y}
10359 then :
10360 printf %s "(cached) " >&6
10361 else $as_nop
10362 if test -n "$aarch64_CC"; then
10363 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10364 else
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10368 IFS=$as_save_IFS
10369 case $as_dir in #(((
10370 '') as_dir=./ ;;
10371 */) ;;
10372 *) as_dir=$as_dir/ ;;
10373 esac
10374 for ac_exec_ext in '' $ac_executable_extensions; do
10375 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10376 ac_cv_prog_aarch64_CC="$ac_prog"
10377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10378 break 2
10380 done
10381 done
10382 IFS=$as_save_IFS
10386 aarch64_CC=$ac_cv_prog_aarch64_CC
10387 if test -n "$aarch64_CC"; then
10388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10389 printf "%s\n" "$aarch64_CC" >&6; }
10390 else
10391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10392 printf "%s\n" "no" >&6; }
10396 test -n "$aarch64_CC" && break
10397 done
10398 test -n "$aarch64_CC" || aarch64_CC="false"
10401 arm64ec)
10402 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10404 # Extract the first word of "$ac_prog", so it can be a program name with args.
10405 set dummy $ac_prog; ac_word=$2
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10407 printf %s "checking for $ac_word... " >&6; }
10408 if test ${ac_cv_prog_arm64ec_CC+y}
10409 then :
10410 printf %s "(cached) " >&6
10411 else $as_nop
10412 if test -n "$arm64ec_CC"; then
10413 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10414 else
10415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10416 for as_dir in $PATH
10418 IFS=$as_save_IFS
10419 case $as_dir in #(((
10420 '') as_dir=./ ;;
10421 */) ;;
10422 *) as_dir=$as_dir/ ;;
10423 esac
10424 for ac_exec_ext in '' $ac_executable_extensions; do
10425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10426 ac_cv_prog_arm64ec_CC="$ac_prog"
10427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10428 break 2
10430 done
10431 done
10432 IFS=$as_save_IFS
10436 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10437 if test -n "$arm64ec_CC"; then
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10439 printf "%s\n" "$arm64ec_CC" >&6; }
10440 else
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10442 printf "%s\n" "no" >&6; }
10446 test -n "$arm64ec_CC" && break
10447 done
10448 test -n "$arm64ec_CC" || arm64ec_CC="false"
10451 arm)
10452 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10454 # Extract the first word of "$ac_prog", so it can be a program name with args.
10455 set dummy $ac_prog; ac_word=$2
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10457 printf %s "checking for $ac_word... " >&6; }
10458 if test ${ac_cv_prog_arm_CC+y}
10459 then :
10460 printf %s "(cached) " >&6
10461 else $as_nop
10462 if test -n "$arm_CC"; then
10463 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10464 else
10465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10466 for as_dir in $PATH
10468 IFS=$as_save_IFS
10469 case $as_dir in #(((
10470 '') as_dir=./ ;;
10471 */) ;;
10472 *) as_dir=$as_dir/ ;;
10473 esac
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10476 ac_cv_prog_arm_CC="$ac_prog"
10477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10478 break 2
10480 done
10481 done
10482 IFS=$as_save_IFS
10486 arm_CC=$ac_cv_prog_arm_CC
10487 if test -n "$arm_CC"; then
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10489 printf "%s\n" "$arm_CC" >&6; }
10490 else
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 printf "%s\n" "no" >&6; }
10496 test -n "$arm_CC" && break
10497 done
10498 test -n "$arm_CC" || arm_CC="false"
10501 i386)
10502 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 "
10503 for ac_prog in $ac_prefix_list clang
10505 # Extract the first word of "$ac_prog", so it can be a program name with args.
10506 set dummy $ac_prog; ac_word=$2
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10508 printf %s "checking for $ac_word... " >&6; }
10509 if test ${ac_cv_prog_i386_CC+y}
10510 then :
10511 printf %s "(cached) " >&6
10512 else $as_nop
10513 if test -n "$i386_CC"; then
10514 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10515 else
10516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517 for as_dir in $PATH
10519 IFS=$as_save_IFS
10520 case $as_dir in #(((
10521 '') as_dir=./ ;;
10522 */) ;;
10523 *) as_dir=$as_dir/ ;;
10524 esac
10525 for ac_exec_ext in '' $ac_executable_extensions; do
10526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10527 ac_cv_prog_i386_CC="$ac_prog"
10528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10529 break 2
10531 done
10532 done
10533 IFS=$as_save_IFS
10537 i386_CC=$ac_cv_prog_i386_CC
10538 if test -n "$i386_CC"; then
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10540 printf "%s\n" "$i386_CC" >&6; }
10541 else
10542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10543 printf "%s\n" "no" >&6; }
10547 test -n "$i386_CC" && break
10548 done
10549 test -n "$i386_CC" || i386_CC="false"
10552 x86_64)
10553 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10554 for ac_prog in $ac_prefix_list clang
10556 # Extract the first word of "$ac_prog", so it can be a program name with args.
10557 set dummy $ac_prog; ac_word=$2
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10559 printf %s "checking for $ac_word... " >&6; }
10560 if test ${ac_cv_prog_x86_64_CC+y}
10561 then :
10562 printf %s "(cached) " >&6
10563 else $as_nop
10564 if test -n "$x86_64_CC"; then
10565 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10566 else
10567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10568 for as_dir in $PATH
10570 IFS=$as_save_IFS
10571 case $as_dir in #(((
10572 '') as_dir=./ ;;
10573 */) ;;
10574 *) as_dir=$as_dir/ ;;
10575 esac
10576 for ac_exec_ext in '' $ac_executable_extensions; do
10577 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10578 ac_cv_prog_x86_64_CC="$ac_prog"
10579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10580 break 2
10582 done
10583 done
10584 IFS=$as_save_IFS
10588 x86_64_CC=$ac_cv_prog_x86_64_CC
10589 if test -n "$x86_64_CC"; then
10590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10591 printf "%s\n" "$x86_64_CC" >&6; }
10592 else
10593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10594 printf "%s\n" "no" >&6; }
10598 test -n "$x86_64_CC" && break
10599 done
10600 test -n "$x86_64_CC" || x86_64_CC="false"
10603 esac
10606 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10607 LDFLAGS=$CROSSLDFLAGS
10608 eval CC=\$${wine_arch}_CC
10609 eval ${wine_arch}_CFLAGS=\$CFLAGS
10610 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10611 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10613 target=""
10614 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10616 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10617 then :
10619 else $as_nop
10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10621 printf %s "checking whether $CC works... " >&6; }
10622 if eval test \${$as_wine_cv_crosscc+y}
10623 then :
10624 printf %s "(cached) " >&6
10625 else $as_nop
10626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10627 /* end confdefs.h. */
10630 main (void)
10634 return 0;
10636 _ACEOF
10637 if ac_fn_c_try_compile "$LINENO"
10638 then :
10639 eval "$as_wine_cv_crosscc=yes"
10640 else $as_nop
10641 eval "$as_wine_cv_crosscc=no"
10643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10645 eval ac_res=\$$as_wine_cv_crosscc
10646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10647 printf "%s\n" "$ac_res" >&6; }
10649 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10650 then :
10651 set x $CC
10652 shift
10653 while test $# -ge 1
10655 case "$1" in
10656 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10657 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10658 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10659 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10660 esac
10661 shift
10662 done
10664 llvm_target=$target
10665 if test -z "$llvm_target"
10666 then
10667 case $wine_arch in
10668 i386) llvm_target=i686-windows ;;
10669 arm) llvm_target=armv7-windows ;;
10670 *) llvm_target=$wine_arch-windows ;;
10671 esac
10673 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10674 llvm_extra_ldflags=""
10675 case $llvm_target in
10676 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10677 esac
10678 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10680 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10681 if eval test \${$as_ac_var+y}
10682 then :
10683 printf %s "(cached) " >&6
10684 else $as_nop
10685 ac_wine_try_cflags_saved=$CFLAGS
10686 ac_wine_try_cflags_saved_exeext=$ac_exeext
10687 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10688 ac_exeext=".exe"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10691 void *__os_arm64x_dispatch_ret = 0;
10692 int __cdecl mainCRTStartup(void) { return 0; }
10693 _ACEOF
10694 if ac_fn_c_try_link "$LINENO"
10695 then :
10696 eval "$as_ac_var=yes"
10697 else $as_nop
10698 eval "$as_ac_var=no"
10700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10701 conftest$ac_exeext conftest.$ac_ext
10702 CFLAGS=$ac_wine_try_cflags_saved
10703 ac_exeext=$ac_wine_try_cflags_saved_exeext
10705 eval ac_res=\$$as_ac_var
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10707 printf "%s\n" "$ac_res" >&6; }
10708 if eval test \"x\$"$as_ac_var"\" = x"yes"
10709 then :
10710 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10711 llvm_extra_ldflags="--no-default-config"
10712 else $as_nop
10713 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10715 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10716 if eval test \${$as_ac_var+y}
10717 then :
10718 printf %s "(cached) " >&6
10719 else $as_nop
10720 ac_wine_try_cflags_saved=$CFLAGS
10721 ac_wine_try_cflags_saved_exeext=$ac_exeext
10722 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10723 ac_exeext=".exe"
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10726 void *__os_arm64x_dispatch_ret = 0;
10727 int __cdecl mainCRTStartup(void) { return 0; }
10728 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"
10730 then :
10731 eval "$as_ac_var=yes"
10732 else $as_nop
10733 eval "$as_ac_var=no"
10735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10736 conftest$ac_exeext conftest.$ac_ext
10737 CFLAGS=$ac_wine_try_cflags_saved
10738 ac_exeext=$ac_wine_try_cflags_saved_exeext
10740 eval ac_res=\$$as_ac_var
10741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10742 printf "%s\n" "$ac_res" >&6; }
10743 if eval test \"x\$"$as_ac_var"\" = x"yes"
10744 then :
10746 else $as_nop
10747 llvm_extra_cflags=""
10748 fi }
10749 fi }
10750 if test -n "$llvm_extra_cflags"
10751 then
10752 target=$llvm_target
10753 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10754 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10755 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10756 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10758 eval "${wine_arch}_TARGET=\$target"
10762 if test -z "$target"
10763 then
10764 if test ${enable_archs+y}
10765 then :
10766 as_fn_error $? "$wine_arch PE cross-compiler not found.
10767 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10769 continue
10772 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10775 printf %s "checking for $CC option to enable C99 features... " >&6; }
10776 if eval test \${$as_wine_cv_crosscc_c99+y}
10777 then :
10778 printf %s "(cached) " >&6
10779 else $as_nop
10780 eval "$as_wine_cv_crosscc_c99=no"
10781 for arg in '' '-std=gnu99' '-D__STDC__'
10783 test -z "$arg" || CC="$CC $arg"
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10786 $ac_c_conftest_c99_program
10787 _ACEOF
10788 if ac_fn_c_try_compile "$LINENO"
10789 then :
10790 eval "$as_wine_cv_crosscc_c99=\$arg"
10791 else $as_nop
10792 eval "$as_wine_cv_crosscc_c99=no"
10794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10795 eval CC=\$${wine_arch}_CC
10796 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10797 then :
10799 else $as_nop
10800 break
10802 done
10805 eval res=\$$as_wine_cv_crosscc_c99
10807 case "x$res" in
10808 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10809 printf "%s\n" "none needed" >&6; } ;;
10810 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10811 printf "%s\n" "unsupported" >&6; }
10812 if test ${enable_archs+y}
10813 then :
10814 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10815 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10817 continue
10819 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10820 printf "%s\n" "$res" >&6; }
10821 as_fn_append ${wine_arch}_CC " $res" ;;
10822 esac
10824 if test "x$wine_arch" = xi386
10825 then :
10827 else $as_nop
10828 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10831 printf %s "checking whether $CC supports SEH directives... " >&6; }
10832 if eval test \${$as_wine_cv_seh_support+y}
10833 then :
10834 printf %s "(cached) " >&6
10835 else $as_nop
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10838 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10840 main (void)
10844 return 0;
10846 _ACEOF
10847 if ac_fn_c_try_compile "$LINENO"
10848 then :
10849 eval "$as_wine_cv_seh_support=yes"
10850 else $as_nop
10851 eval "$as_wine_cv_seh_support=no"
10853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10855 eval ac_res=\$$as_wine_cv_seh_support
10856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10857 printf "%s\n" "$ac_res" >&6; }
10858 eval res=\$$as_wine_cv_seh_support
10860 if test "x$res" = xyes
10861 then :
10863 else $as_nop
10864 if test ${enable_archs+y}
10865 then :
10866 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10867 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10869 continue
10873 if test "x$wine_arch" = x$extra_arch
10874 then :
10876 else $as_nop
10877 as_fn_append PE_ARCHS " $wine_arch"
10880 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10882 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10883 if eval test \${$as_ac_var+y}
10884 then :
10885 printf %s "(cached) " >&6
10886 else $as_nop
10887 ac_wine_try_cflags_saved=$CFLAGS
10888 ac_wine_try_cflags_saved_exeext=$ac_exeext
10889 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10890 ac_exeext=".exe"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10893 void *__os_arm64x_dispatch_ret = 0;
10894 int __cdecl mainCRTStartup(void) { return 0; }
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"
10897 then :
10898 eval "$as_ac_var=yes"
10899 else $as_nop
10900 eval "$as_ac_var=no"
10902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10903 conftest$ac_exeext conftest.$ac_ext
10904 CFLAGS=$ac_wine_try_cflags_saved
10905 ac_exeext=$ac_wine_try_cflags_saved_exeext
10907 eval ac_res=\$$as_ac_var
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10909 printf "%s\n" "$ac_res" >&6; }
10910 if eval test \"x\$"$as_ac_var"\" = x"yes"
10911 then :
10912 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10913 fi }
10914 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10916 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10917 if eval test \${$as_ac_var+y}
10918 then :
10919 printf %s "(cached) " >&6
10920 else $as_nop
10921 ac_wine_try_cflags_saved=$CFLAGS
10922 ac_wine_try_cflags_saved_exeext=$ac_exeext
10923 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10924 ac_exeext=".exe"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927 void *__os_arm64x_dispatch_ret = 0;
10928 int __cdecl mainCRTStartup(void) { return 0; }
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"
10931 then :
10932 eval "$as_ac_var=yes"
10933 else $as_nop
10934 eval "$as_ac_var=no"
10936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10937 conftest$ac_exeext conftest.$ac_ext
10938 CFLAGS=$ac_wine_try_cflags_saved
10939 ac_exeext=$ac_wine_try_cflags_saved_exeext
10941 eval ac_res=\$$as_ac_var
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10943 printf "%s\n" "$ac_res" >&6; }
10944 if eval test \"x\$"$as_ac_var"\" = x"yes"
10945 then :
10946 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10947 fi }
10948 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10950 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10951 if eval test \${$as_ac_var+y}
10952 then :
10953 printf %s "(cached) " >&6
10954 else $as_nop
10955 ac_wine_try_cflags_saved=$CFLAGS
10956 ac_wine_try_cflags_saved_exeext=$ac_exeext
10957 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10958 ac_exeext=".exe"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10961 void *__os_arm64x_dispatch_ret = 0;
10962 int __cdecl mainCRTStartup(void) { return 0; }
10963 _ACEOF
10964 if ac_fn_c_try_link "$LINENO"
10965 then :
10966 eval "$as_ac_var=yes"
10967 else $as_nop
10968 eval "$as_ac_var=no"
10970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10971 conftest$ac_exeext conftest.$ac_ext
10972 CFLAGS=$ac_wine_try_cflags_saved
10973 ac_exeext=$ac_wine_try_cflags_saved_exeext
10975 eval ac_res=\$$as_ac_var
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10977 printf "%s\n" "$ac_res" >&6; }
10978 if eval test \"x\$"$as_ac_var"\" = x"yes"
10979 then :
10980 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10981 fi }
10982 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10984 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10985 if eval test \${$as_ac_var+y}
10986 then :
10987 printf %s "(cached) " >&6
10988 else $as_nop
10989 ac_wine_try_cflags_saved=$CFLAGS
10990 ac_wine_try_cflags_saved_exeext=$ac_exeext
10991 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10992 ac_exeext=".exe"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10995 void *__os_arm64x_dispatch_ret = 0;
10996 int __cdecl mainCRTStartup(void) { return 0; }
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"
10999 then :
11000 eval "$as_ac_var=yes"
11001 else $as_nop
11002 eval "$as_ac_var=no"
11004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11005 conftest$ac_exeext conftest.$ac_ext
11006 CFLAGS=$ac_wine_try_cflags_saved
11007 ac_exeext=$ac_wine_try_cflags_saved_exeext
11009 eval ac_res=\$$as_ac_var
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11011 printf "%s\n" "$ac_res" >&6; }
11012 if eval test \"x\$"$as_ac_var"\" = x"yes"
11013 then :
11014 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11015 fi }
11016 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11018 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11019 if eval test \${$as_ac_var+y}
11020 then :
11021 printf %s "(cached) " >&6
11022 else $as_nop
11023 ac_wine_try_cflags_saved=$CFLAGS
11024 ac_wine_try_cflags_saved_exeext=$ac_exeext
11025 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11026 ac_exeext=".exe"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029 void *__os_arm64x_dispatch_ret = 0;
11030 int __cdecl mainCRTStartup(void) { return 0; }
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"
11033 then :
11034 eval "$as_ac_var=yes"
11035 else $as_nop
11036 eval "$as_ac_var=no"
11038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11039 conftest$ac_exeext conftest.$ac_ext
11040 CFLAGS=$ac_wine_try_cflags_saved
11041 ac_exeext=$ac_wine_try_cflags_saved_exeext
11043 eval ac_res=\$$as_ac_var
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11045 printf "%s\n" "$ac_res" >&6; }
11046 if eval test \"x\$"$as_ac_var"\" = x"yes"
11047 then :
11048 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11049 fi }
11050 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11052 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11053 if eval test \${$as_ac_var+y}
11054 then :
11055 printf %s "(cached) " >&6
11056 else $as_nop
11057 ac_wine_try_cflags_saved=$CFLAGS
11058 ac_wine_try_cflags_saved_exeext=$ac_exeext
11059 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11060 ac_exeext=".exe"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11063 void *__os_arm64x_dispatch_ret = 0;
11064 int __cdecl mainCRTStartup(void) { return 0; }
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"
11067 then :
11068 eval "$as_ac_var=yes"
11069 else $as_nop
11070 eval "$as_ac_var=no"
11072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11073 conftest$ac_exeext conftest.$ac_ext
11074 CFLAGS=$ac_wine_try_cflags_saved
11075 ac_exeext=$ac_wine_try_cflags_saved_exeext
11077 eval ac_res=\$$as_ac_var
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11079 printf "%s\n" "$ac_res" >&6; }
11080 if eval test \"x\$"$as_ac_var"\" = x"yes"
11081 then :
11082 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11083 fi }
11084 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11086 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11087 if eval test \${$as_ac_var+y}
11088 then :
11089 printf %s "(cached) " >&6
11090 else $as_nop
11091 ac_wine_try_cflags_saved=$CFLAGS
11092 ac_wine_try_cflags_saved_exeext=$ac_exeext
11093 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11094 ac_exeext=".exe"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11097 void *__os_arm64x_dispatch_ret = 0;
11098 int __cdecl mainCRTStartup(void) { return 0; }
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"
11101 then :
11102 eval "$as_ac_var=yes"
11103 else $as_nop
11104 eval "$as_ac_var=no"
11106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11107 conftest$ac_exeext conftest.$ac_ext
11108 CFLAGS=$ac_wine_try_cflags_saved
11109 ac_exeext=$ac_wine_try_cflags_saved_exeext
11111 eval ac_res=\$$as_ac_var
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11113 printf "%s\n" "$ac_res" >&6; }
11114 if eval test \"x\$"$as_ac_var"\" = x"yes"
11115 then :
11116 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11117 fi }
11118 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11120 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11121 if eval test \${$as_ac_var+y}
11122 then :
11123 printf %s "(cached) " >&6
11124 else $as_nop
11125 ac_wine_try_cflags_saved=$CFLAGS
11126 ac_wine_try_cflags_saved_exeext=$ac_exeext
11127 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11128 ac_exeext=".exe"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11131 void *__os_arm64x_dispatch_ret = 0;
11132 int __cdecl mainCRTStartup(void) { return 0; }
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"
11135 then :
11136 eval "$as_ac_var=yes"
11137 else $as_nop
11138 eval "$as_ac_var=no"
11140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11141 conftest$ac_exeext conftest.$ac_ext
11142 CFLAGS=$ac_wine_try_cflags_saved
11143 ac_exeext=$ac_wine_try_cflags_saved_exeext
11145 eval ac_res=\$$as_ac_var
11146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11147 printf "%s\n" "$ac_res" >&6; }
11148 if eval test \"x\$"$as_ac_var"\" = x"yes"
11149 then :
11150 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11151 fi }
11152 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11154 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11155 if eval test \${$as_ac_var+y}
11156 then :
11157 printf %s "(cached) " >&6
11158 else $as_nop
11159 ac_wine_try_cflags_saved=$CFLAGS
11160 ac_wine_try_cflags_saved_exeext=$ac_exeext
11161 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11162 ac_exeext=".exe"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11165 void *__os_arm64x_dispatch_ret = 0;
11166 int __cdecl mainCRTStartup(void) { return 0; }
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"
11169 then :
11170 eval "$as_ac_var=yes"
11171 else $as_nop
11172 eval "$as_ac_var=no"
11174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11175 conftest$ac_exeext conftest.$ac_ext
11176 CFLAGS=$ac_wine_try_cflags_saved
11177 ac_exeext=$ac_wine_try_cflags_saved_exeext
11179 eval ac_res=\$$as_ac_var
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11181 printf "%s\n" "$ac_res" >&6; }
11182 if eval test \"x\$"$as_ac_var"\" = x"yes"
11183 then :
11184 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11185 fi }
11186 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11188 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11189 if eval test \${$as_ac_var+y}
11190 then :
11191 printf %s "(cached) " >&6
11192 else $as_nop
11193 ac_wine_try_cflags_saved=$CFLAGS
11194 ac_wine_try_cflags_saved_exeext=$ac_exeext
11195 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11196 ac_exeext=".exe"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11199 void *__os_arm64x_dispatch_ret = 0;
11200 int __cdecl mainCRTStartup(void) { return 0; }
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"
11203 then :
11204 eval "$as_ac_var=yes"
11205 else $as_nop
11206 eval "$as_ac_var=no"
11208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11209 conftest$ac_exeext conftest.$ac_ext
11210 CFLAGS=$ac_wine_try_cflags_saved
11211 ac_exeext=$ac_wine_try_cflags_saved_exeext
11213 eval ac_res=\$$as_ac_var
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11215 printf "%s\n" "$ac_res" >&6; }
11216 if eval test \"x\$"$as_ac_var"\" = x"yes"
11217 then :
11218 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11219 fi }
11220 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11222 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11223 if eval test \${$as_ac_var+y}
11224 then :
11225 printf %s "(cached) " >&6
11226 else $as_nop
11227 ac_wine_try_cflags_saved=$CFLAGS
11228 ac_wine_try_cflags_saved_exeext=$ac_exeext
11229 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11230 ac_exeext=".exe"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11233 void *__os_arm64x_dispatch_ret = 0;
11234 int __cdecl mainCRTStartup(void) { return 0; }
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"
11237 then :
11238 eval "$as_ac_var=yes"
11239 else $as_nop
11240 eval "$as_ac_var=no"
11242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11243 conftest$ac_exeext conftest.$ac_ext
11244 CFLAGS=$ac_wine_try_cflags_saved
11245 ac_exeext=$ac_wine_try_cflags_saved_exeext
11247 eval ac_res=\$$as_ac_var
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11249 printf "%s\n" "$ac_res" >&6; }
11250 if eval test \"x\$"$as_ac_var"\" = x"yes"
11251 then :
11252 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11253 fi }
11254 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11256 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11257 if eval test \${$as_ac_var+y}
11258 then :
11259 printf %s "(cached) " >&6
11260 else $as_nop
11261 ac_wine_try_cflags_saved=$CFLAGS
11262 ac_wine_try_cflags_saved_exeext=$ac_exeext
11263 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11264 ac_exeext=".exe"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11267 void *__os_arm64x_dispatch_ret = 0;
11268 int __cdecl mainCRTStartup(void) { return 0; }
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"
11271 then :
11272 eval "$as_ac_var=yes"
11273 else $as_nop
11274 eval "$as_ac_var=no"
11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11279 ac_exeext=$ac_wine_try_cflags_saved_exeext
11281 eval ac_res=\$$as_ac_var
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11283 printf "%s\n" "$ac_res" >&6; }
11284 if eval test \"x\$"$as_ac_var"\" = x"yes"
11285 then :
11286 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11287 fi }
11288 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11290 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11291 if eval test \${$as_ac_var+y}
11292 then :
11293 printf %s "(cached) " >&6
11294 else $as_nop
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_exeext=$ac_exeext
11297 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11298 ac_exeext=".exe"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11301 void *__os_arm64x_dispatch_ret = 0;
11302 int __cdecl mainCRTStartup(void) { return 0; }
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"
11305 then :
11306 eval "$as_ac_var=yes"
11307 else $as_nop
11308 eval "$as_ac_var=no"
11310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11311 conftest$ac_exeext conftest.$ac_ext
11312 CFLAGS=$ac_wine_try_cflags_saved
11313 ac_exeext=$ac_wine_try_cflags_saved_exeext
11315 eval ac_res=\$$as_ac_var
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11317 printf "%s\n" "$ac_res" >&6; }
11318 if eval test \"x\$"$as_ac_var"\" = x"yes"
11319 then :
11320 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11321 fi }
11322 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11324 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11325 if eval test \${$as_ac_var+y}
11326 then :
11327 printf %s "(cached) " >&6
11328 else $as_nop
11329 ac_wine_try_cflags_saved=$CFLAGS
11330 ac_wine_try_cflags_saved_exeext=$ac_exeext
11331 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11332 ac_exeext=".exe"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335 void *__os_arm64x_dispatch_ret = 0;
11336 int __cdecl mainCRTStartup(void) { return 0; }
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"
11339 then :
11340 eval "$as_ac_var=yes"
11341 else $as_nop
11342 eval "$as_ac_var=no"
11344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11345 conftest$ac_exeext conftest.$ac_ext
11346 CFLAGS=$ac_wine_try_cflags_saved
11347 ac_exeext=$ac_wine_try_cflags_saved_exeext
11349 eval ac_res=\$$as_ac_var
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11351 printf "%s\n" "$ac_res" >&6; }
11352 if eval test \"x\$"$as_ac_var"\" = x"yes"
11353 then :
11354 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11355 fi }
11356 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11358 printf %s "checking whether $CC supports -Wvla... " >&6; }
11359 if eval test \${$as_ac_var+y}
11360 then :
11361 printf %s "(cached) " >&6
11362 else $as_nop
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_exeext=$ac_exeext
11365 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11366 ac_exeext=".exe"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 void *__os_arm64x_dispatch_ret = 0;
11370 int __cdecl mainCRTStartup(void) { return 0; }
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"
11373 then :
11374 eval "$as_ac_var=yes"
11375 else $as_nop
11376 eval "$as_ac_var=no"
11378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11379 conftest$ac_exeext conftest.$ac_ext
11380 CFLAGS=$ac_wine_try_cflags_saved
11381 ac_exeext=$ac_wine_try_cflags_saved_exeext
11383 eval ac_res=\$$as_ac_var
11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11385 printf "%s\n" "$ac_res" >&6; }
11386 if eval test \"x\$"$as_ac_var"\" = x"yes"
11387 then :
11388 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11389 fi }
11390 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11392 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11393 if eval test \${$as_ac_var+y}
11394 then :
11395 printf %s "(cached) " >&6
11396 else $as_nop
11397 ac_wine_try_cflags_saved=$CFLAGS
11398 ac_wine_try_cflags_saved_exeext=$ac_exeext
11399 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11400 ac_exeext=".exe"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 void *__os_arm64x_dispatch_ret = 0;
11404 int __cdecl mainCRTStartup(void) { return 0; }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"
11407 then :
11408 eval "$as_ac_var=yes"
11409 else $as_nop
11410 eval "$as_ac_var=no"
11412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11413 conftest$ac_exeext conftest.$ac_ext
11414 CFLAGS=$ac_wine_try_cflags_saved
11415 ac_exeext=$ac_wine_try_cflags_saved_exeext
11417 eval ac_res=\$$as_ac_var
11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11419 printf "%s\n" "$ac_res" >&6; }
11420 if eval test \"x\$"$as_ac_var"\" = x"yes"
11421 then :
11422 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11423 fi }
11424 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11426 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11427 if eval test \${$as_ac_var+y}
11428 then :
11429 printf %s "(cached) " >&6
11430 else $as_nop
11431 ac_wine_try_cflags_saved=$CFLAGS
11432 ac_wine_try_cflags_saved_exeext=$ac_exeext
11433 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11434 ac_exeext=".exe"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11437 void *__os_arm64x_dispatch_ret = 0;
11438 int __cdecl mainCRTStartup(void) { return 0; }
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"
11441 then :
11442 eval "$as_ac_var=yes"
11443 else $as_nop
11444 eval "$as_ac_var=no"
11446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11447 conftest$ac_exeext conftest.$ac_ext
11448 CFLAGS=$ac_wine_try_cflags_saved
11449 ac_exeext=$ac_wine_try_cflags_saved_exeext
11451 eval ac_res=\$$as_ac_var
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11453 printf "%s\n" "$ac_res" >&6; }
11454 if eval test \"x\$"$as_ac_var"\" = x"yes"
11455 then :
11456 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11457 fi }
11458 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11460 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11461 if eval test \${$as_ac_var+y}
11462 then :
11463 printf %s "(cached) " >&6
11464 else $as_nop
11465 ac_wine_try_cflags_saved=$CFLAGS
11466 ac_wine_try_cflags_saved_exeext=$ac_exeext
11467 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11468 ac_exeext=".exe"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11471 void *__os_arm64x_dispatch_ret = 0;
11472 int __cdecl mainCRTStartup(void) { return 0; }
11473 _ACEOF
11474 if ac_fn_c_try_link "$LINENO"
11475 then :
11476 eval "$as_ac_var=yes"
11477 else $as_nop
11478 eval "$as_ac_var=no"
11480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11481 conftest$ac_exeext conftest.$ac_ext
11482 CFLAGS=$ac_wine_try_cflags_saved
11483 ac_exeext=$ac_wine_try_cflags_saved_exeext
11485 eval ac_res=\$$as_ac_var
11486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11487 printf "%s\n" "$ac_res" >&6; }
11488 if eval test \"x\$"$as_ac_var"\" = x"yes"
11489 then :
11490 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11491 fi }
11492 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11494 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11495 if eval test \${$as_ac_var+y}
11496 then :
11497 printf %s "(cached) " >&6
11498 else $as_nop
11499 ac_wine_try_cflags_saved=$CFLAGS
11500 ac_wine_try_cflags_saved_exeext=$ac_exeext
11501 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11502 ac_exeext=".exe"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11505 void *__os_arm64x_dispatch_ret = 0;
11506 int __cdecl mainCRTStartup(void) { return 0; }
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"
11509 then :
11510 eval "$as_ac_var=yes"
11511 else $as_nop
11512 eval "$as_ac_var=no"
11514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11515 conftest$ac_exeext conftest.$ac_ext
11516 CFLAGS=$ac_wine_try_cflags_saved
11517 ac_exeext=$ac_wine_try_cflags_saved_exeext
11519 eval ac_res=\$$as_ac_var
11520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11521 printf "%s\n" "$ac_res" >&6; }
11522 if eval test \"x\$"$as_ac_var"\" = x"yes"
11523 then :
11524 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11525 fi }
11526 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" | $as_tr_sh`
11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11528 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11529 if eval test \${$as_ac_var+y}
11530 then :
11531 printf %s "(cached) " >&6
11532 else $as_nop
11533 ac_wine_try_cflags_saved=$CFLAGS
11534 ac_wine_try_cflags_saved_exeext=$ac_exeext
11535 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11536 ac_exeext=".exe"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 void *__os_arm64x_dispatch_ret = 0;
11540 int __cdecl mainCRTStartup(void) { return 0; }
11541 _ACEOF
11542 if ac_fn_c_try_link "$LINENO"
11543 then :
11544 eval "$as_ac_var=yes"
11545 else $as_nop
11546 eval "$as_ac_var=no"
11548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11549 conftest$ac_exeext conftest.$ac_ext
11550 CFLAGS=$ac_wine_try_cflags_saved
11551 ac_exeext=$ac_wine_try_cflags_saved_exeext
11553 eval ac_res=\$$as_ac_var
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11555 printf "%s\n" "$ac_res" >&6; }
11556 if eval test \"x\$"$as_ac_var"\" = x"yes"
11557 then :
11559 else $as_nop
11560 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11562 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11563 if eval test \${$as_ac_var+y}
11564 then :
11565 printf %s "(cached) " >&6
11566 else $as_nop
11567 ac_wine_try_cflags_saved=$CFLAGS
11568 ac_wine_try_cflags_saved_exeext=$ac_exeext
11569 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11570 ac_exeext=".exe"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 void *__os_arm64x_dispatch_ret = 0;
11574 int __cdecl mainCRTStartup(void) { return 0; }
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"
11577 then :
11578 eval "$as_ac_var=yes"
11579 else $as_nop
11580 eval "$as_ac_var=no"
11582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11583 conftest$ac_exeext conftest.$ac_ext
11584 CFLAGS=$ac_wine_try_cflags_saved
11585 ac_exeext=$ac_wine_try_cflags_saved_exeext
11587 eval ac_res=\$$as_ac_var
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11589 printf "%s\n" "$ac_res" >&6; }
11590 if eval test \"x\$"$as_ac_var"\" = x"yes"
11591 then :
11592 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11593 fi }
11594 fi }
11596 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" | $as_tr_sh`
11597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11598 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11599 if eval test \${$as_ac_var+y}
11600 then :
11601 printf %s "(cached) " >&6
11602 else $as_nop
11603 ac_wine_try_cflags_saved=$CFLAGS
11604 ac_wine_try_cflags_saved_exeext=$ac_exeext
11605 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11606 ac_exeext=".exe"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11609 void *__os_arm64x_dispatch_ret = 0;
11610 int __cdecl mainCRTStartup(void) { return 0; }
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"
11613 then :
11614 eval "$as_ac_var=yes"
11615 else $as_nop
11616 eval "$as_ac_var=no"
11618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11619 conftest$ac_exeext conftest.$ac_ext
11620 CFLAGS=$ac_wine_try_cflags_saved
11621 ac_exeext=$ac_wine_try_cflags_saved_exeext
11623 eval ac_res=\$$as_ac_var
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11625 printf "%s\n" "$ac_res" >&6; }
11626 if eval test \"x\$"$as_ac_var"\" = x"yes"
11627 then :
11628 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11629 fi }
11631 case $wine_arch in
11632 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11634 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11635 if eval test \${$as_ac_var+y}
11636 then :
11637 printf %s "(cached) " >&6
11638 else $as_nop
11639 ac_wine_try_cflags_saved=$CFLAGS
11640 ac_wine_try_cflags_saved_exeext=$ac_exeext
11641 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11642 ac_exeext=".exe"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11645 void *__os_arm64x_dispatch_ret = 0;
11646 int __cdecl mainCRTStartup(void) { return 0; }
11647 _ACEOF
11648 if ac_fn_c_try_link "$LINENO"
11649 then :
11650 eval "$as_ac_var=yes"
11651 else $as_nop
11652 eval "$as_ac_var=no"
11654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11655 conftest$ac_exeext conftest.$ac_ext
11656 CFLAGS=$ac_wine_try_cflags_saved
11657 ac_exeext=$ac_wine_try_cflags_saved_exeext
11659 eval ac_res=\$$as_ac_var
11660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11661 printf "%s\n" "$ac_res" >&6; }
11662 if eval test \"x\$"$as_ac_var"\" = x"yes"
11663 then :
11664 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11665 fi }
11666 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11668 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11669 if eval test \${$as_ac_var+y}
11670 then :
11671 printf %s "(cached) " >&6
11672 else $as_nop
11673 ac_wine_try_cflags_saved=$CFLAGS
11674 ac_wine_try_cflags_saved_exeext=$ac_exeext
11675 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11676 ac_exeext=".exe"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11679 void *__os_arm64x_dispatch_ret = 0;
11680 int __cdecl mainCRTStartup(void) { return 0; }
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"
11683 then :
11684 eval "$as_ac_var=yes"
11685 else $as_nop
11686 eval "$as_ac_var=no"
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 CFLAGS=$ac_wine_try_cflags_saved
11691 ac_exeext=$ac_wine_try_cflags_saved_exeext
11693 eval ac_res=\$$as_ac_var
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11695 printf "%s\n" "$ac_res" >&6; }
11696 if eval test \"x\$"$as_ac_var"\" = x"yes"
11697 then :
11698 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11699 fi }
11700 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11702 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11703 if eval test \${$as_ac_var+y}
11704 then :
11705 printf %s "(cached) " >&6
11706 else $as_nop
11707 ac_wine_try_cflags_saved=$CFLAGS
11708 ac_wine_try_cflags_saved_exeext=$ac_exeext
11709 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11710 ac_exeext=".exe"
11711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h. */
11713 void *__os_arm64x_dispatch_ret = 0;
11714 int __cdecl mainCRTStartup(void) { return 0; }
11715 _ACEOF
11716 if ac_fn_c_try_link "$LINENO"
11717 then :
11718 eval "$as_ac_var=yes"
11719 else $as_nop
11720 eval "$as_ac_var=no"
11722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11723 conftest$ac_exeext conftest.$ac_ext
11724 CFLAGS=$ac_wine_try_cflags_saved
11725 ac_exeext=$ac_wine_try_cflags_saved_exeext
11727 eval ac_res=\$$as_ac_var
11728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11729 printf "%s\n" "$ac_res" >&6; }
11730 if eval test \"x\$"$as_ac_var"\" = x"yes"
11731 then :
11732 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11733 fi } ;;
11734 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11736 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11737 if eval test \${$as_ac_var+y}
11738 then :
11739 printf %s "(cached) " >&6
11740 else $as_nop
11741 ac_wine_try_cflags_saved=$CFLAGS
11742 ac_wine_try_cflags_saved_exeext=$ac_exeext
11743 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11744 ac_exeext=".exe"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 void *__os_arm64x_dispatch_ret = 0;
11748 int __cdecl mainCRTStartup(void) { return 0; }
11749 _ACEOF
11750 if ac_fn_c_try_link "$LINENO"
11751 then :
11752 eval "$as_ac_var=yes"
11753 else $as_nop
11754 eval "$as_ac_var=no"
11756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11757 conftest$ac_exeext conftest.$ac_ext
11758 CFLAGS=$ac_wine_try_cflags_saved
11759 ac_exeext=$ac_wine_try_cflags_saved_exeext
11761 eval ac_res=\$$as_ac_var
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11763 printf "%s\n" "$ac_res" >&6; }
11764 if eval test \"x\$"$as_ac_var"\" = x"yes"
11765 then :
11766 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11767 fi }
11768 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11770 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11771 if eval test \${$as_ac_var+y}
11772 then :
11773 printf %s "(cached) " >&6
11774 else $as_nop
11775 ac_wine_try_cflags_saved=$CFLAGS
11776 ac_wine_try_cflags_saved_exeext=$ac_exeext
11777 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11778 ac_exeext=".exe"
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11781 void *__os_arm64x_dispatch_ret = 0;
11782 int __cdecl mainCRTStartup(void) { return 0; }
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"
11785 then :
11786 eval "$as_ac_var=yes"
11787 else $as_nop
11788 eval "$as_ac_var=no"
11790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11791 conftest$ac_exeext conftest.$ac_ext
11792 CFLAGS=$ac_wine_try_cflags_saved
11793 ac_exeext=$ac_wine_try_cflags_saved_exeext
11795 eval ac_res=\$$as_ac_var
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11797 printf "%s\n" "$ac_res" >&6; }
11798 if eval test \"x\$"$as_ac_var"\" = x"yes"
11799 then :
11800 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11801 fi }
11802 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11804 printf %s "checking whether $CC supports -mcx16... " >&6; }
11805 if eval test \${$as_ac_var+y}
11806 then :
11807 printf %s "(cached) " >&6
11808 else $as_nop
11809 ac_wine_try_cflags_saved=$CFLAGS
11810 ac_wine_try_cflags_saved_exeext=$ac_exeext
11811 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11812 ac_exeext=".exe"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 void *__os_arm64x_dispatch_ret = 0;
11816 int __cdecl mainCRTStartup(void) { return 0; }
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"
11819 then :
11820 eval "$as_ac_var=yes"
11821 else $as_nop
11822 eval "$as_ac_var=no"
11824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11825 conftest$ac_exeext conftest.$ac_ext
11826 CFLAGS=$ac_wine_try_cflags_saved
11827 ac_exeext=$ac_wine_try_cflags_saved_exeext
11829 eval ac_res=\$$as_ac_var
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11831 printf "%s\n" "$ac_res" >&6; }
11832 if eval test \"x\$"$as_ac_var"\" = x"yes"
11833 then :
11834 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11835 fi }
11836 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11838 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11839 if eval test \${$as_ac_var+y}
11840 then :
11841 printf %s "(cached) " >&6
11842 else $as_nop
11843 ac_wine_try_cflags_saved=$CFLAGS
11844 ac_wine_try_cflags_saved_exeext=$ac_exeext
11845 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11846 ac_exeext=".exe"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11849 void *__os_arm64x_dispatch_ret = 0;
11850 int __cdecl mainCRTStartup(void) { return 0; }
11851 _ACEOF
11852 if ac_fn_c_try_link "$LINENO"
11853 then :
11854 eval "$as_ac_var=yes"
11855 else $as_nop
11856 eval "$as_ac_var=no"
11858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11859 conftest$ac_exeext conftest.$ac_ext
11860 CFLAGS=$ac_wine_try_cflags_saved
11861 ac_exeext=$ac_wine_try_cflags_saved_exeext
11863 eval ac_res=\$$as_ac_var
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11865 printf "%s\n" "$ac_res" >&6; }
11866 if eval test \"x\$"$as_ac_var"\" = x"yes"
11867 then :
11868 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11869 fi } ;;
11870 esac
11872 wine_crossdebug=$CROSSDEBUG
11873 if test -z "$wine_crossdebug"
11874 then
11875 for ac_flag in $CFLAGS; do
11876 case $ac_flag in
11877 -gdwarf*) wine_crossdebug=dwarf ;;
11878 -gcodeview) wine_crossdebug=pdb ;;
11879 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11880 esac
11881 done
11884 ac_debug_format_seen=""
11885 for ac_flag in $CFLAGS; do
11886 case $ac_flag in
11887 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11888 esac
11889 done
11890 if test "x$ac_debug_format_seen" = x
11891 then
11892 case $wine_crossdebug in
11893 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11895 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11896 if eval test \${$as_ac_var+y}
11897 then :
11898 printf %s "(cached) " >&6
11899 else $as_nop
11900 ac_wine_try_cflags_saved=$CFLAGS
11901 ac_wine_try_cflags_saved_exeext=$ac_exeext
11902 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11903 ac_exeext=".exe"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11906 void *__os_arm64x_dispatch_ret = 0;
11907 int __cdecl mainCRTStartup(void) { return 0; }
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"
11910 then :
11911 eval "$as_ac_var=yes"
11912 else $as_nop
11913 eval "$as_ac_var=no"
11915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11916 conftest$ac_exeext conftest.$ac_ext
11917 CFLAGS=$ac_wine_try_cflags_saved
11918 ac_exeext=$ac_wine_try_cflags_saved_exeext
11920 eval ac_res=\$$as_ac_var
11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11922 printf "%s\n" "$ac_res" >&6; }
11923 if eval test \"x\$"$as_ac_var"\" = x"yes"
11924 then :
11925 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11926 fi } ;;
11927 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11929 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11930 if eval test \${$as_ac_var+y}
11931 then :
11932 printf %s "(cached) " >&6
11933 else $as_nop
11934 ac_wine_try_cflags_saved=$CFLAGS
11935 ac_wine_try_cflags_saved_exeext=$ac_exeext
11936 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11937 ac_exeext=".exe"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 void *__os_arm64x_dispatch_ret = 0;
11941 int __cdecl mainCRTStartup(void) { return 0; }
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"
11944 then :
11945 eval "$as_ac_var=yes"
11946 else $as_nop
11947 eval "$as_ac_var=no"
11949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11950 conftest$ac_exeext conftest.$ac_ext
11951 CFLAGS=$ac_wine_try_cflags_saved
11952 ac_exeext=$ac_wine_try_cflags_saved_exeext
11954 eval ac_res=\$$as_ac_var
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11956 printf "%s\n" "$ac_res" >&6; }
11957 if eval test \"x\$"$as_ac_var"\" = x"yes"
11958 then :
11959 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11960 fi } ;;
11961 esac
11963 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11965 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11967 printf %s "checking whether $CC supports -Werror... " >&6; }
11968 if eval test \${$as_ac_var+y}
11969 then :
11970 printf %s "(cached) " >&6
11971 else $as_nop
11972 ac_wine_try_cflags_saved=$CFLAGS
11973 ac_wine_try_cflags_saved_exeext=$ac_exeext
11974 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11975 ac_exeext=".exe"
11976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11978 void *__os_arm64x_dispatch_ret = 0;
11979 int __cdecl mainCRTStartup(void) { return 0; }
11980 _ACEOF
11981 if ac_fn_c_try_link "$LINENO"
11982 then :
11983 eval "$as_ac_var=yes"
11984 else $as_nop
11985 eval "$as_ac_var=no"
11987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11988 conftest$ac_exeext conftest.$ac_ext
11989 CFLAGS=$ac_wine_try_cflags_saved
11990 ac_exeext=$ac_wine_try_cflags_saved_exeext
11992 eval ac_res=\$$as_ac_var
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11994 printf "%s\n" "$ac_res" >&6; }
11995 if eval test \"x\$"$as_ac_var"\" = x"yes"
11996 then :
11997 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11998 fi }
11999 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
12001 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
12002 if eval test \${$as_ac_var+y}
12003 then :
12004 printf %s "(cached) " >&6
12005 else $as_nop
12006 ac_wine_try_cflags_saved=$CFLAGS
12007 ac_wine_try_cflags_saved_exeext=$ac_exeext
12008 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
12009 ac_exeext=".exe"
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12012 void *__os_arm64x_dispatch_ret = 0;
12013 int __cdecl mainCRTStartup(void) { return 0; }
12014 _ACEOF
12015 if ac_fn_c_try_link "$LINENO"
12016 then :
12017 eval "$as_ac_var=yes"
12018 else $as_nop
12019 eval "$as_ac_var=no"
12021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12022 conftest$ac_exeext conftest.$ac_ext
12023 CFLAGS=$ac_wine_try_cflags_saved
12024 ac_exeext=$ac_wine_try_cflags_saved_exeext
12026 eval ac_res=\$$as_ac_var
12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12028 printf "%s\n" "$ac_res" >&6; }
12029 if eval test \"x\$"$as_ac_var"\" = x"yes"
12030 then :
12031 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12032 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12033 fi }
12035 done
12037 CC=$saved_CC
12038 CFLAGS=$saved_CFLAGS
12039 LDFLAGS=$saved_LDFLAGS
12041 case $HOST_ARCH in
12042 arm|aarch64)
12043 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
12044 DLLEXT="" ;;
12046 if test "x$PE_ARCHS" = "x"
12047 then :
12048 case "x$with_mingw" in
12049 x) as_fn_append wine_notices "|Suitable PE cross-compiler not found, PE files won't be built." ;;
12050 xno) ;;
12051 *) as_fn_error $? "Suitable PE cross-compiler not found, PE files won't be built.
12052 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12053 esac
12055 fi ;;
12056 esac
12059 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12060 then
12061 if test "x$HOST_ARCH" = xi386
12062 then :
12063 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12064 else $as_nop
12065 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12067 for ac_prog in $ac_prefix_list
12069 # Extract the first word of "$ac_prog", so it can be a program name with args.
12070 set dummy $ac_prog; ac_word=$2
12071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12072 printf %s "checking for $ac_word... " >&6; }
12073 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12074 then :
12075 printf %s "(cached) " >&6
12076 else $as_nop
12077 if test -n "$MINGW_PKG_CONFIG"; then
12078 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12079 else
12080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12081 for as_dir in $PATH
12083 IFS=$as_save_IFS
12084 case $as_dir in #(((
12085 '') as_dir=./ ;;
12086 */) ;;
12087 *) as_dir=$as_dir/ ;;
12088 esac
12089 for ac_exec_ext in '' $ac_executable_extensions; do
12090 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12091 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12093 break 2
12095 done
12096 done
12097 IFS=$as_save_IFS
12101 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12102 if test -n "$MINGW_PKG_CONFIG"; then
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12104 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12105 else
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12107 printf "%s\n" "no" >&6; }
12111 test -n "$MINGW_PKG_CONFIG" && break
12112 done
12113 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12115 if ${FAUDIO_PE_CFLAGS:+false} :
12116 then :
12117 if test ${MINGW_PKG_CONFIG+y}
12118 then :
12119 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12122 if ${FAUDIO_PE_LIBS:+false} :
12123 then :
12124 if test ${MINGW_PKG_CONFIG+y}
12125 then :
12126 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12129 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12130 ac_save_CPPFLAGS=$CPPFLAGS
12131 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12133 printf %s "checking for MinGW FAudio.h... " >&6; }
12134 if test ${ac_cv_mingw_header_FAudio_h+y}
12135 then :
12136 printf %s "(cached) " >&6
12137 else $as_nop
12138 ac_wine_check_headers_saved_cc=$CC
12139 ac_wine_check_headers_saved_exeext=$ac_exeext
12140 eval CC=\$${wine_arch}_CC
12141 ac_exeext=".exe"
12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12145 #include <FAudio.h>
12147 main (void)
12151 return 0;
12153 _ACEOF
12154 if ac_fn_c_try_compile "$LINENO"
12155 then :
12156 ac_cv_mingw_header_FAudio_h=yes
12157 else $as_nop
12158 ac_cv_mingw_header_FAudio_h=no
12160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12161 CC=$ac_wine_check_headers_saved_cc
12162 ac_exeext=$ac_wine_check_headers_saved_exeext
12164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12165 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12166 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12167 then :
12168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12169 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12170 if test ${ac_cv_mingw_lib_FAudio+y}
12171 then :
12172 printf %s "(cached) " >&6
12173 else $as_nop
12174 ac_wine_check_headers_saved_cc=$CC
12175 ac_wine_check_headers_saved_exeext=$ac_exeext
12176 ac_wine_check_headers_saved_libs=$LIBS
12177 eval CC=\$${wine_arch}_CC
12178 ac_exeext=".exe"
12179 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12186 char FAudio_CommitOperationSet ();
12188 main (void)
12190 return FAudio_CommitOperationSet ();
12192 return 0;
12194 _ACEOF
12195 if ac_fn_c_try_link "$LINENO"
12196 then :
12197 ac_cv_mingw_lib_FAudio=yes
12198 else $as_nop
12199 ac_cv_mingw_lib_FAudio=no
12201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12202 conftest$ac_exeext conftest.$ac_ext
12203 CC=$ac_wine_check_headers_saved_cc
12204 ac_exeext=$ac_wine_check_headers_saved_exeext
12205 LIBS=$ac_wine_check_headers_saved_libs
12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12208 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12209 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12210 then :
12212 else $as_nop
12213 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12215 else $as_nop
12216 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12218 CPPFLAGS=$ac_save_CPPFLAGS
12220 if test "x$FAUDIO_PE_LIBS" = "x"
12221 then
12222 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12225 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12226 then :
12227 if test ${MINGW_PKG_CONFIG+y}
12228 then :
12229 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12232 if ${FLUIDSYNTH_PE_LIBS:+false} :
12233 then :
12234 if test ${MINGW_PKG_CONFIG+y}
12235 then :
12236 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12239 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12240 ac_save_CPPFLAGS=$CPPFLAGS
12241 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12243 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12244 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12245 then :
12246 printf %s "(cached) " >&6
12247 else $as_nop
12248 ac_wine_check_headers_saved_cc=$CC
12249 ac_wine_check_headers_saved_exeext=$ac_exeext
12250 eval CC=\$${wine_arch}_CC
12251 ac_exeext=".exe"
12252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12255 #include <fluidsynth.h>
12257 main (void)
12261 return 0;
12263 _ACEOF
12264 if ac_fn_c_try_compile "$LINENO"
12265 then :
12266 ac_cv_mingw_header_fluidsynth_h=yes
12267 else $as_nop
12268 ac_cv_mingw_header_fluidsynth_h=no
12270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12271 CC=$ac_wine_check_headers_saved_cc
12272 ac_exeext=$ac_wine_check_headers_saved_exeext
12274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12275 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12276 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12277 then :
12278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12279 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12280 if test ${ac_cv_mingw_lib_fluidsynth+y}
12281 then :
12282 printf %s "(cached) " >&6
12283 else $as_nop
12284 ac_wine_check_headers_saved_cc=$CC
12285 ac_wine_check_headers_saved_exeext=$ac_exeext
12286 ac_wine_check_headers_saved_libs=$LIBS
12287 eval CC=\$${wine_arch}_CC
12288 ac_exeext=".exe"
12289 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12296 char new_fluid_synth ();
12298 main (void)
12300 return new_fluid_synth ();
12302 return 0;
12304 _ACEOF
12305 if ac_fn_c_try_link "$LINENO"
12306 then :
12307 ac_cv_mingw_lib_fluidsynth=yes
12308 else $as_nop
12309 ac_cv_mingw_lib_fluidsynth=no
12311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12312 conftest$ac_exeext conftest.$ac_ext
12313 CC=$ac_wine_check_headers_saved_cc
12314 ac_exeext=$ac_wine_check_headers_saved_exeext
12315 LIBS=$ac_wine_check_headers_saved_libs
12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12318 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12319 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12320 then :
12322 else $as_nop
12323 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12325 else $as_nop
12326 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12328 CPPFLAGS=$ac_save_CPPFLAGS
12330 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12331 then
12332 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12335 if ${JPEG_PE_CFLAGS:+false} :
12336 then :
12337 if test ${MINGW_PKG_CONFIG+y}
12338 then :
12339 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12342 if ${JPEG_PE_LIBS:+false} :
12343 then :
12344 if test ${MINGW_PKG_CONFIG+y}
12345 then :
12346 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12350 ac_save_CPPFLAGS=$CPPFLAGS
12351 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12353 printf %s "checking for MinGW jpeglib.h... " >&6; }
12354 if test ${ac_cv_mingw_header_jpeglib_h+y}
12355 then :
12356 printf %s "(cached) " >&6
12357 else $as_nop
12358 ac_wine_check_headers_saved_cc=$CC
12359 ac_wine_check_headers_saved_exeext=$ac_exeext
12360 eval CC=\$${wine_arch}_CC
12361 ac_exeext=".exe"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12364 #include <stddef.h>
12365 #include <stdio.h>
12366 #include <jpeglib.h>
12368 main (void)
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_compile "$LINENO"
12376 then :
12377 ac_cv_mingw_header_jpeglib_h=yes
12378 else $as_nop
12379 ac_cv_mingw_header_jpeglib_h=no
12381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12382 CC=$ac_wine_check_headers_saved_cc
12383 ac_exeext=$ac_wine_check_headers_saved_exeext
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12386 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12387 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12388 then :
12389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12390 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12391 if test ${ac_cv_mingw_lib_jpeg+y}
12392 then :
12393 printf %s "(cached) " >&6
12394 else $as_nop
12395 ac_wine_check_headers_saved_cc=$CC
12396 ac_wine_check_headers_saved_exeext=$ac_exeext
12397 ac_wine_check_headers_saved_libs=$LIBS
12398 eval CC=\$${wine_arch}_CC
12399 ac_exeext=".exe"
12400 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12404 /* Override any GCC internal prototype to avoid an error.
12405 Use char because int might match the return type of a GCC
12406 builtin and then its argument prototype would still apply. */
12407 char jpeg_start_decompress ();
12409 main (void)
12411 return jpeg_start_decompress ();
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"
12417 then :
12418 ac_cv_mingw_lib_jpeg=yes
12419 else $as_nop
12420 ac_cv_mingw_lib_jpeg=no
12422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12423 conftest$ac_exeext conftest.$ac_ext
12424 CC=$ac_wine_check_headers_saved_cc
12425 ac_exeext=$ac_wine_check_headers_saved_exeext
12426 LIBS=$ac_wine_check_headers_saved_libs
12428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12429 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12430 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12431 then :
12433 else $as_nop
12434 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12436 else $as_nop
12437 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12439 CPPFLAGS=$ac_save_CPPFLAGS
12441 if test "x$JPEG_PE_LIBS" = "x"
12442 then
12443 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12446 if ${LCMS2_PE_CFLAGS:+false} :
12447 then :
12448 if test ${MINGW_PKG_CONFIG+y}
12449 then :
12450 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12453 if ${LCMS2_PE_LIBS:+false} :
12454 then :
12455 if test ${MINGW_PKG_CONFIG+y}
12456 then :
12457 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12460 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12461 ac_save_CPPFLAGS=$CPPFLAGS
12462 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12464 printf %s "checking for MinGW lcms2.h... " >&6; }
12465 if test ${ac_cv_mingw_header_lcms2_h+y}
12466 then :
12467 printf %s "(cached) " >&6
12468 else $as_nop
12469 ac_wine_check_headers_saved_cc=$CC
12470 ac_wine_check_headers_saved_exeext=$ac_exeext
12471 eval CC=\$${wine_arch}_CC
12472 ac_exeext=".exe"
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 #include <lcms2.h>
12478 main (void)
12482 return 0;
12484 _ACEOF
12485 if ac_fn_c_try_compile "$LINENO"
12486 then :
12487 ac_cv_mingw_header_lcms2_h=yes
12488 else $as_nop
12489 ac_cv_mingw_header_lcms2_h=no
12491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12492 CC=$ac_wine_check_headers_saved_cc
12493 ac_exeext=$ac_wine_check_headers_saved_exeext
12495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12496 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12497 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12498 then :
12499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12500 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12501 if test ${ac_cv_mingw_lib_lcms2+y}
12502 then :
12503 printf %s "(cached) " >&6
12504 else $as_nop
12505 ac_wine_check_headers_saved_cc=$CC
12506 ac_wine_check_headers_saved_exeext=$ac_exeext
12507 ac_wine_check_headers_saved_libs=$LIBS
12508 eval CC=\$${wine_arch}_CC
12509 ac_exeext=".exe"
12510 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 /* Override any GCC internal prototype to avoid an error.
12515 Use char because int might match the return type of a GCC
12516 builtin and then its argument prototype would still apply. */
12517 char cmsOpenProfileFromFile ();
12519 main (void)
12521 return cmsOpenProfileFromFile ();
12523 return 0;
12525 _ACEOF
12526 if ac_fn_c_try_link "$LINENO"
12527 then :
12528 ac_cv_mingw_lib_lcms2=yes
12529 else $as_nop
12530 ac_cv_mingw_lib_lcms2=no
12532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12533 conftest$ac_exeext conftest.$ac_ext
12534 CC=$ac_wine_check_headers_saved_cc
12535 ac_exeext=$ac_wine_check_headers_saved_exeext
12536 LIBS=$ac_wine_check_headers_saved_libs
12538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12539 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12540 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12541 then :
12543 else $as_nop
12544 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12546 else $as_nop
12547 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12549 CPPFLAGS=$ac_save_CPPFLAGS
12551 if test "x$LCMS2_PE_LIBS" = "x"
12552 then
12553 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12556 if ${MPG123_PE_CFLAGS:+false} :
12557 then :
12558 if test ${MINGW_PKG_CONFIG+y}
12559 then :
12560 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12563 if ${MPG123_PE_LIBS:+false} :
12564 then :
12565 if test ${MINGW_PKG_CONFIG+y}
12566 then :
12567 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12570 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12571 ac_save_CPPFLAGS=$CPPFLAGS
12572 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12574 printf %s "checking for MinGW mpg123.h... " >&6; }
12575 if test ${ac_cv_mingw_header_mpg123_h+y}
12576 then :
12577 printf %s "(cached) " >&6
12578 else $as_nop
12579 ac_wine_check_headers_saved_cc=$CC
12580 ac_wine_check_headers_saved_exeext=$ac_exeext
12581 eval CC=\$${wine_arch}_CC
12582 ac_exeext=".exe"
12583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12584 /* end confdefs.h. */
12586 #include <mpg123.h>
12588 main (void)
12592 return 0;
12594 _ACEOF
12595 if ac_fn_c_try_compile "$LINENO"
12596 then :
12597 ac_cv_mingw_header_mpg123_h=yes
12598 else $as_nop
12599 ac_cv_mingw_header_mpg123_h=no
12601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12602 CC=$ac_wine_check_headers_saved_cc
12603 ac_exeext=$ac_wine_check_headers_saved_exeext
12605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12606 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12607 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12608 then :
12609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12610 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12611 if test ${ac_cv_mingw_lib_mpg123+y}
12612 then :
12613 printf %s "(cached) " >&6
12614 else $as_nop
12615 ac_wine_check_headers_saved_cc=$CC
12616 ac_wine_check_headers_saved_exeext=$ac_exeext
12617 ac_wine_check_headers_saved_libs=$LIBS
12618 eval CC=\$${wine_arch}_CC
12619 ac_exeext=".exe"
12620 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 /* Override any GCC internal prototype to avoid an error.
12625 Use char because int might match the return type of a GCC
12626 builtin and then its argument prototype would still apply. */
12627 char mpg123_feed ();
12629 main (void)
12631 return mpg123_feed ();
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"
12637 then :
12638 ac_cv_mingw_lib_mpg123=yes
12639 else $as_nop
12640 ac_cv_mingw_lib_mpg123=no
12642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12643 conftest$ac_exeext conftest.$ac_ext
12644 CC=$ac_wine_check_headers_saved_cc
12645 ac_exeext=$ac_wine_check_headers_saved_exeext
12646 LIBS=$ac_wine_check_headers_saved_libs
12648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12649 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12650 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12651 then :
12653 else $as_nop
12654 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12656 else $as_nop
12657 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12659 CPPFLAGS=$ac_save_CPPFLAGS
12661 if test "x$MPG123_PE_LIBS" = "x"
12662 then
12663 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12666 if ${PNG_PE_CFLAGS:+false} :
12667 then :
12668 if test ${MINGW_PKG_CONFIG+y}
12669 then :
12670 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12673 if ${PNG_PE_LIBS:+false} :
12674 then :
12675 if test ${MINGW_PKG_CONFIG+y}
12676 then :
12677 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12681 ac_save_CPPFLAGS=$CPPFLAGS
12682 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12684 printf %s "checking for MinGW png.h... " >&6; }
12685 if test ${ac_cv_mingw_header_png_h+y}
12686 then :
12687 printf %s "(cached) " >&6
12688 else $as_nop
12689 ac_wine_check_headers_saved_cc=$CC
12690 ac_wine_check_headers_saved_exeext=$ac_exeext
12691 eval CC=\$${wine_arch}_CC
12692 ac_exeext=".exe"
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12696 #include <png.h>
12698 main (void)
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_compile "$LINENO"
12706 then :
12707 ac_cv_mingw_header_png_h=yes
12708 else $as_nop
12709 ac_cv_mingw_header_png_h=no
12711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12712 CC=$ac_wine_check_headers_saved_cc
12713 ac_exeext=$ac_wine_check_headers_saved_exeext
12715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12716 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12717 if test "x$ac_cv_mingw_header_png_h" = xyes
12718 then :
12719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12720 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12721 if test ${ac_cv_mingw_lib_png+y}
12722 then :
12723 printf %s "(cached) " >&6
12724 else $as_nop
12725 ac_wine_check_headers_saved_cc=$CC
12726 ac_wine_check_headers_saved_exeext=$ac_exeext
12727 ac_wine_check_headers_saved_libs=$LIBS
12728 eval CC=\$${wine_arch}_CC
12729 ac_exeext=".exe"
12730 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12732 /* end confdefs.h. */
12734 /* Override any GCC internal prototype to avoid an error.
12735 Use char because int might match the return type of a GCC
12736 builtin and then its argument prototype would still apply. */
12737 char png_create_read_struct ();
12739 main (void)
12741 return png_create_read_struct ();
12743 return 0;
12745 _ACEOF
12746 if ac_fn_c_try_link "$LINENO"
12747 then :
12748 ac_cv_mingw_lib_png=yes
12749 else $as_nop
12750 ac_cv_mingw_lib_png=no
12752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12753 conftest$ac_exeext conftest.$ac_ext
12754 CC=$ac_wine_check_headers_saved_cc
12755 ac_exeext=$ac_wine_check_headers_saved_exeext
12756 LIBS=$ac_wine_check_headers_saved_libs
12758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12759 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12760 if test "x$ac_cv_mingw_lib_png" = xyes
12761 then :
12763 else $as_nop
12764 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12766 else $as_nop
12767 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12769 CPPFLAGS=$ac_save_CPPFLAGS
12771 if test "x$PNG_PE_LIBS" = "x"
12772 then
12773 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12776 if ${TIFF_PE_CFLAGS:+false} :
12777 then :
12778 if test ${MINGW_PKG_CONFIG+y}
12779 then :
12780 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12783 if ${TIFF_PE_LIBS:+false} :
12784 then :
12785 if test ${MINGW_PKG_CONFIG+y}
12786 then :
12787 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12791 ac_save_CPPFLAGS=$CPPFLAGS
12792 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12794 printf %s "checking for MinGW tiffio.h... " >&6; }
12795 if test ${ac_cv_mingw_header_tiffio_h+y}
12796 then :
12797 printf %s "(cached) " >&6
12798 else $as_nop
12799 ac_wine_check_headers_saved_cc=$CC
12800 ac_wine_check_headers_saved_exeext=$ac_exeext
12801 eval CC=\$${wine_arch}_CC
12802 ac_exeext=".exe"
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12806 #include <tiffio.h>
12808 main (void)
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_compile "$LINENO"
12816 then :
12817 ac_cv_mingw_header_tiffio_h=yes
12818 else $as_nop
12819 ac_cv_mingw_header_tiffio_h=no
12821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12822 CC=$ac_wine_check_headers_saved_cc
12823 ac_exeext=$ac_wine_check_headers_saved_exeext
12825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12826 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12827 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12828 then :
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12830 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12831 if test ${ac_cv_mingw_lib_tiff+y}
12832 then :
12833 printf %s "(cached) " >&6
12834 else $as_nop
12835 ac_wine_check_headers_saved_cc=$CC
12836 ac_wine_check_headers_saved_exeext=$ac_exeext
12837 ac_wine_check_headers_saved_libs=$LIBS
12838 eval CC=\$${wine_arch}_CC
12839 ac_exeext=".exe"
12840 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12847 char TIFFClientOpen ();
12849 main (void)
12851 return TIFFClientOpen ();
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_link "$LINENO"
12857 then :
12858 ac_cv_mingw_lib_tiff=yes
12859 else $as_nop
12860 ac_cv_mingw_lib_tiff=no
12862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12863 conftest$ac_exeext conftest.$ac_ext
12864 CC=$ac_wine_check_headers_saved_cc
12865 ac_exeext=$ac_wine_check_headers_saved_exeext
12866 LIBS=$ac_wine_check_headers_saved_libs
12868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12869 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12870 if test "x$ac_cv_mingw_lib_tiff" = xyes
12871 then :
12873 else $as_nop
12874 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12876 else $as_nop
12877 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12879 CPPFLAGS=$ac_save_CPPFLAGS
12881 if test "x$TIFF_PE_LIBS" = "x"
12882 then
12883 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12886 if ${XML2_PE_CFLAGS:+false} :
12887 then :
12888 if test ${MINGW_PKG_CONFIG+y}
12889 then :
12890 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12893 if ${XML2_PE_LIBS:+false} :
12894 then :
12895 if test ${MINGW_PKG_CONFIG+y}
12896 then :
12897 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12900 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12901 ac_save_CPPFLAGS=$CPPFLAGS
12902 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12904 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12905 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12906 then :
12907 printf %s "(cached) " >&6
12908 else $as_nop
12909 ac_wine_check_headers_saved_cc=$CC
12910 ac_wine_check_headers_saved_exeext=$ac_exeext
12911 eval CC=\$${wine_arch}_CC
12912 ac_exeext=".exe"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 #include <libxml/parser.h>
12918 main (void)
12922 return 0;
12924 _ACEOF
12925 if ac_fn_c_try_compile "$LINENO"
12926 then :
12927 ac_cv_mingw_header_libxml_parser_h=yes
12928 else $as_nop
12929 ac_cv_mingw_header_libxml_parser_h=no
12931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12932 CC=$ac_wine_check_headers_saved_cc
12933 ac_exeext=$ac_wine_check_headers_saved_exeext
12935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12936 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12937 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12938 then :
12941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12942 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12943 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12944 then :
12945 printf %s "(cached) " >&6
12946 else $as_nop
12947 ac_wine_check_headers_saved_cc=$CC
12948 ac_wine_check_headers_saved_exeext=$ac_exeext
12949 eval CC=\$${wine_arch}_CC
12950 ac_exeext=".exe"
12951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12952 /* end confdefs.h. */
12954 #include <libxml/xmlsave.h>
12956 main (void)
12960 return 0;
12962 _ACEOF
12963 if ac_fn_c_try_compile "$LINENO"
12964 then :
12965 ac_cv_mingw_header_libxml_xmlsave_h=yes
12966 else $as_nop
12967 ac_cv_mingw_header_libxml_xmlsave_h=no
12969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12970 CC=$ac_wine_check_headers_saved_cc
12971 ac_exeext=$ac_wine_check_headers_saved_exeext
12973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12974 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12975 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12976 then :
12979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12980 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12981 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12982 then :
12983 printf %s "(cached) " >&6
12984 else $as_nop
12985 ac_wine_check_headers_saved_cc=$CC
12986 ac_wine_check_headers_saved_exeext=$ac_exeext
12987 eval CC=\$${wine_arch}_CC
12988 ac_exeext=".exe"
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 #include <libxml/SAX2.h>
12994 main (void)
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_compile "$LINENO"
13002 then :
13003 ac_cv_mingw_header_libxml_SAX2_h=yes
13004 else $as_nop
13005 ac_cv_mingw_header_libxml_SAX2_h=no
13007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13008 CC=$ac_wine_check_headers_saved_cc
13009 ac_exeext=$ac_wine_check_headers_saved_exeext
13011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
13012 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
13013 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
13014 then :
13017 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"
13018 then
13019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
13020 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
13021 if test ${ac_cv_mingw_lib_xml2+y}
13022 then :
13023 printf %s "(cached) " >&6
13024 else $as_nop
13025 ac_wine_check_headers_saved_cc=$CC
13026 ac_wine_check_headers_saved_exeext=$ac_exeext
13027 ac_wine_check_headers_saved_libs=$LIBS
13028 eval CC=\$${wine_arch}_CC
13029 ac_exeext=".exe"
13030 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13034 /* Override any GCC internal prototype to avoid an error.
13035 Use char because int might match the return type of a GCC
13036 builtin and then its argument prototype would still apply. */
13037 char xmlFirstElementChild ();
13039 main (void)
13041 return xmlFirstElementChild ();
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_link "$LINENO"
13047 then :
13048 ac_cv_mingw_lib_xml2=yes
13049 else $as_nop
13050 ac_cv_mingw_lib_xml2=no
13052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13053 conftest$ac_exeext conftest.$ac_ext
13054 CC=$ac_wine_check_headers_saved_cc
13055 ac_exeext=$ac_wine_check_headers_saved_exeext
13056 LIBS=$ac_wine_check_headers_saved_libs
13058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13059 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13060 if test "x$ac_cv_mingw_lib_xml2" = xyes
13061 then :
13063 else $as_nop
13064 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13066 else
13067 XML2_PE_CFLAGS=""
13068 XML2_PE_LIBS=""
13070 CPPFLAGS=$ac_save_CPPFLAGS
13072 if test "x$XML2_PE_LIBS" = "x"
13073 then
13074 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13077 if ${XSLT_PE_CFLAGS:+false} :
13078 then :
13079 if test ${MINGW_PKG_CONFIG+y}
13080 then :
13081 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13084 if ${XSLT_PE_LIBS:+false} :
13085 then :
13086 if test ${MINGW_PKG_CONFIG+y}
13087 then :
13088 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13091 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13092 ac_save_CPPFLAGS=$CPPFLAGS
13093 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13095 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13096 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13097 then :
13098 printf %s "(cached) " >&6
13099 else $as_nop
13100 ac_wine_check_headers_saved_cc=$CC
13101 ac_wine_check_headers_saved_exeext=$ac_exeext
13102 eval CC=\$${wine_arch}_CC
13103 ac_exeext=".exe"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 #include <libxslt/pattern.h>
13109 main (void)
13113 return 0;
13115 _ACEOF
13116 if ac_fn_c_try_compile "$LINENO"
13117 then :
13118 ac_cv_mingw_header_libxslt_pattern_h=yes
13119 else $as_nop
13120 ac_cv_mingw_header_libxslt_pattern_h=no
13122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13123 CC=$ac_wine_check_headers_saved_cc
13124 ac_exeext=$ac_wine_check_headers_saved_exeext
13126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13127 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13128 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13129 then :
13132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13133 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13134 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13135 then :
13136 printf %s "(cached) " >&6
13137 else $as_nop
13138 ac_wine_check_headers_saved_cc=$CC
13139 ac_wine_check_headers_saved_exeext=$ac_exeext
13140 eval CC=\$${wine_arch}_CC
13141 ac_exeext=".exe"
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 #include <libxslt/transform.h>
13147 main (void)
13151 return 0;
13153 _ACEOF
13154 if ac_fn_c_try_compile "$LINENO"
13155 then :
13156 ac_cv_mingw_header_libxslt_transform_h=yes
13157 else $as_nop
13158 ac_cv_mingw_header_libxslt_transform_h=no
13160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13161 CC=$ac_wine_check_headers_saved_cc
13162 ac_exeext=$ac_wine_check_headers_saved_exeext
13164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13165 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13166 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13167 then :
13170 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13171 then
13172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13173 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13174 if test ${ac_cv_mingw_lib_xslt+y}
13175 then :
13176 printf %s "(cached) " >&6
13177 else $as_nop
13178 ac_wine_check_headers_saved_cc=$CC
13179 ac_wine_check_headers_saved_exeext=$ac_exeext
13180 ac_wine_check_headers_saved_libs=$LIBS
13181 eval CC=\$${wine_arch}_CC
13182 ac_exeext=".exe"
13183 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13187 /* Override any GCC internal prototype to avoid an error.
13188 Use char because int might match the return type of a GCC
13189 builtin and then its argument prototype would still apply. */
13190 char xsltCompilePattern ();
13192 main (void)
13194 return xsltCompilePattern ();
13196 return 0;
13198 _ACEOF
13199 if ac_fn_c_try_link "$LINENO"
13200 then :
13201 ac_cv_mingw_lib_xslt=yes
13202 else $as_nop
13203 ac_cv_mingw_lib_xslt=no
13205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13206 conftest$ac_exeext conftest.$ac_ext
13207 CC=$ac_wine_check_headers_saved_cc
13208 ac_exeext=$ac_wine_check_headers_saved_exeext
13209 LIBS=$ac_wine_check_headers_saved_libs
13211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13212 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13213 if test "x$ac_cv_mingw_lib_xslt" = xyes
13214 then :
13216 else $as_nop
13217 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13219 else
13220 XSLT_PE_CFLAGS=""
13221 XSLT_PE_LIBS=""
13223 CPPFLAGS=$ac_save_CPPFLAGS
13225 if test "x$XSLT_PE_LIBS" = "x"
13226 then
13227 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13230 if ${VKD3D_PE_CFLAGS:+false} :
13231 then :
13232 if test ${MINGW_PKG_CONFIG+y}
13233 then :
13234 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13237 if ${VKD3D_PE_LIBS:+false} :
13238 then :
13239 if test ${MINGW_PKG_CONFIG+y}
13240 then :
13241 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13244 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13245 ac_save_CPPFLAGS=$CPPFLAGS
13246 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13248 printf %s "checking for MinGW vkd3d.h... " >&6; }
13249 if test ${ac_cv_mingw_header_vkd3d_h+y}
13250 then :
13251 printf %s "(cached) " >&6
13252 else $as_nop
13253 ac_wine_check_headers_saved_cc=$CC
13254 ac_wine_check_headers_saved_exeext=$ac_exeext
13255 eval CC=\$${wine_arch}_CC
13256 ac_exeext=".exe"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 #include <vkd3d.h>
13262 main (void)
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_compile "$LINENO"
13270 then :
13271 ac_cv_mingw_header_vkd3d_h=yes
13272 else $as_nop
13273 ac_cv_mingw_header_vkd3d_h=no
13275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13276 CC=$ac_wine_check_headers_saved_cc
13277 ac_exeext=$ac_wine_check_headers_saved_exeext
13279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13280 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13281 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13282 then :
13285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13286 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13287 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13288 then :
13289 printf %s "(cached) " >&6
13290 else $as_nop
13291 ac_wine_check_headers_saved_cc=$CC
13292 ac_wine_check_headers_saved_exeext=$ac_exeext
13293 eval CC=\$${wine_arch}_CC
13294 ac_exeext=".exe"
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 #include <vkd3d_shader.h>
13300 main (void)
13304 return 0;
13306 _ACEOF
13307 if ac_fn_c_try_compile "$LINENO"
13308 then :
13309 ac_cv_mingw_header_vkd3d_shader_h=yes
13310 else $as_nop
13311 ac_cv_mingw_header_vkd3d_shader_h=no
13313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13314 CC=$ac_wine_check_headers_saved_cc
13315 ac_exeext=$ac_wine_check_headers_saved_exeext
13317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13318 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13319 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13320 then :
13323 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13324 then
13325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13326 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13327 if test ${ac_cv_mingw_lib_vkd3d+y}
13328 then :
13329 printf %s "(cached) " >&6
13330 else $as_nop
13331 ac_wine_check_headers_saved_cc=$CC
13332 ac_wine_check_headers_saved_exeext=$ac_exeext
13333 ac_wine_check_headers_saved_libs=$LIBS
13334 eval CC=\$${wine_arch}_CC
13335 ac_exeext=".exe"
13336 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13343 char vkd3d_set_log_callback ();
13345 main (void)
13347 return vkd3d_set_log_callback ();
13349 return 0;
13351 _ACEOF
13352 if ac_fn_c_try_link "$LINENO"
13353 then :
13354 ac_cv_mingw_lib_vkd3d=yes
13355 else $as_nop
13356 ac_cv_mingw_lib_vkd3d=no
13358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13359 conftest$ac_exeext conftest.$ac_ext
13360 CC=$ac_wine_check_headers_saved_cc
13361 ac_exeext=$ac_wine_check_headers_saved_exeext
13362 LIBS=$ac_wine_check_headers_saved_libs
13364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13365 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13366 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13367 then :
13369 else $as_nop
13372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13373 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13374 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13375 then :
13376 printf %s "(cached) " >&6
13377 else $as_nop
13378 ac_wine_check_headers_saved_cc=$CC
13379 ac_wine_check_headers_saved_exeext=$ac_exeext
13380 ac_wine_check_headers_saved_libs=$LIBS
13381 eval CC=\$${wine_arch}_CC
13382 ac_exeext=".exe"
13383 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13390 char vkd3d_shader_build_varying_map ();
13392 main (void)
13394 return vkd3d_shader_build_varying_map ();
13396 return 0;
13398 _ACEOF
13399 if ac_fn_c_try_link "$LINENO"
13400 then :
13401 ac_cv_mingw_lib_vkd3d_shader=yes
13402 else $as_nop
13403 ac_cv_mingw_lib_vkd3d_shader=no
13405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13406 conftest$ac_exeext conftest.$ac_ext
13407 CC=$ac_wine_check_headers_saved_cc
13408 ac_exeext=$ac_wine_check_headers_saved_exeext
13409 LIBS=$ac_wine_check_headers_saved_libs
13411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13412 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13413 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13414 then :
13416 else $as_nop
13419 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13420 then
13421 VKD3D_PE_CFLAGS=""
13422 VKD3D_PE_LIBS=""
13424 else
13425 VKD3D_PE_CFLAGS=""
13426 VKD3D_PE_LIBS=""
13428 CPPFLAGS=$ac_save_CPPFLAGS
13430 if test "x$VKD3D_PE_LIBS" = "x"
13431 then
13432 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13435 if ${ZLIB_PE_CFLAGS:+false} :
13436 then :
13437 if test ${MINGW_PKG_CONFIG+y}
13438 then :
13439 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13442 if ${ZLIB_PE_LIBS:+false} :
13443 then :
13444 if test ${MINGW_PKG_CONFIG+y}
13445 then :
13446 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13449 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13450 ac_save_CPPFLAGS=$CPPFLAGS
13451 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13453 printf %s "checking for MinGW zlib.h... " >&6; }
13454 if test ${ac_cv_mingw_header_zlib_h+y}
13455 then :
13456 printf %s "(cached) " >&6
13457 else $as_nop
13458 ac_wine_check_headers_saved_cc=$CC
13459 ac_wine_check_headers_saved_exeext=$ac_exeext
13460 eval CC=\$${wine_arch}_CC
13461 ac_exeext=".exe"
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13465 #include <zlib.h>
13467 main (void)
13471 return 0;
13473 _ACEOF
13474 if ac_fn_c_try_compile "$LINENO"
13475 then :
13476 ac_cv_mingw_header_zlib_h=yes
13477 else $as_nop
13478 ac_cv_mingw_header_zlib_h=no
13480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13481 CC=$ac_wine_check_headers_saved_cc
13482 ac_exeext=$ac_wine_check_headers_saved_exeext
13484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13485 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13486 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13487 then :
13488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13489 printf %s "checking for inflate in MinGW -lz... " >&6; }
13490 if test ${ac_cv_mingw_lib_z+y}
13491 then :
13492 printf %s "(cached) " >&6
13493 else $as_nop
13494 ac_wine_check_headers_saved_cc=$CC
13495 ac_wine_check_headers_saved_exeext=$ac_exeext
13496 ac_wine_check_headers_saved_libs=$LIBS
13497 eval CC=\$${wine_arch}_CC
13498 ac_exeext=".exe"
13499 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13503 /* Override any GCC internal prototype to avoid an error.
13504 Use char because int might match the return type of a GCC
13505 builtin and then its argument prototype would still apply. */
13506 char inflate ();
13508 main (void)
13510 return inflate ();
13512 return 0;
13514 _ACEOF
13515 if ac_fn_c_try_link "$LINENO"
13516 then :
13517 ac_cv_mingw_lib_z=yes
13518 else $as_nop
13519 ac_cv_mingw_lib_z=no
13521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13522 conftest$ac_exeext conftest.$ac_ext
13523 CC=$ac_wine_check_headers_saved_cc
13524 ac_exeext=$ac_wine_check_headers_saved_exeext
13525 LIBS=$ac_wine_check_headers_saved_libs
13527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13528 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13529 if test "x$ac_cv_mingw_lib_z" = xyes
13530 then :
13532 else $as_nop
13533 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13535 else $as_nop
13536 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13538 CPPFLAGS=$ac_save_CPPFLAGS
13540 if test "x$ZLIB_PE_LIBS" = "x"
13541 then
13542 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13546 if ${FAUDIO_PE_LIBS:+false} :
13547 then :
13548 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13549 if ${FAUDIO_PE_CFLAGS:+false} :
13550 then :
13551 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13552 else $as_nop
13553 enable_faudio=no
13555 else $as_nop
13556 enable_faudio=no
13558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13561 if ${FLUIDSYNTH_PE_LIBS:+false} :
13562 then :
13563 FLUIDSYNTH_PE_LIBS="fluidsynth"
13564 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13565 then :
13566 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13567 else $as_nop
13568 enable_fluidsynth=no
13570 else $as_nop
13571 enable_fluidsynth=no
13573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13576 if ${GSM_PE_LIBS:+false} :
13577 then :
13578 GSM_PE_LIBS=gsm
13579 if ${GSM_PE_CFLAGS:+false} :
13580 then :
13581 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13582 else $as_nop
13583 enable_gsm=no
13585 else $as_nop
13586 enable_gsm=no
13588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13591 if ${JPEG_PE_LIBS:+false} :
13592 then :
13593 JPEG_PE_LIBS=jpeg
13594 if ${JPEG_PE_CFLAGS:+false} :
13595 then :
13596 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13597 else $as_nop
13598 enable_jpeg=no
13600 else $as_nop
13601 enable_jpeg=no
13603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13606 if ${JXR_PE_LIBS:+false} :
13607 then :
13608 JXR_PE_LIBS=jxr
13609 if ${JXR_PE_CFLAGS:+false} :
13610 then :
13611 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13612 else $as_nop
13613 enable_jxr=no
13615 else $as_nop
13616 enable_jxr=no
13618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13621 if ${LCMS2_PE_LIBS:+false} :
13622 then :
13623 LCMS2_PE_LIBS=lcms2
13624 if ${LCMS2_PE_CFLAGS:+false} :
13625 then :
13626 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13627 else $as_nop
13628 enable_lcms2=no
13630 else $as_nop
13631 enable_lcms2=no
13633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13636 if ${LDAP_PE_LIBS:+false} :
13637 then :
13638 LDAP_PE_LIBS=ldap
13639 if ${LDAP_PE_CFLAGS:+false} :
13640 then :
13641 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13642 else $as_nop
13643 enable_ldap=no
13645 else $as_nop
13646 enable_ldap=no
13648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13651 if ${MPG123_PE_LIBS:+false} :
13652 then :
13653 MPG123_PE_LIBS=mpg123
13654 if ${MPG123_PE_CFLAGS:+false} :
13655 then :
13656 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13657 else $as_nop
13658 enable_mpg123=no
13660 else $as_nop
13661 enable_mpg123=no
13663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13666 if ${MUSL_PE_LIBS:+false} :
13667 then :
13668 MUSL_PE_LIBS=musl
13669 if ${MUSL_PE_CFLAGS:+false} :
13670 then :
13671 MUSL_PE_CFLAGS=
13672 else $as_nop
13673 enable_musl=no
13675 else $as_nop
13676 enable_musl=no
13678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13681 if ${PNG_PE_LIBS:+false} :
13682 then :
13683 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13684 if ${PNG_PE_CFLAGS:+false} :
13685 then :
13686 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13687 else $as_nop
13688 enable_png=no
13690 else $as_nop
13691 enable_png=no
13693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13696 if ${TIFF_PE_LIBS:+false} :
13697 then :
13698 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13699 if ${TIFF_PE_CFLAGS:+false} :
13700 then :
13701 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13702 else $as_nop
13703 enable_tiff=no
13705 else $as_nop
13706 enable_tiff=no
13708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13711 if ${VKD3D_PE_LIBS:+false} :
13712 then :
13713 VKD3D_PE_LIBS=vkd3d
13714 if ${VKD3D_PE_CFLAGS:+false} :
13715 then :
13716 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13717 else $as_nop
13718 enable_vkd3d=no
13720 else $as_nop
13721 enable_vkd3d=no
13723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13726 if ${XML2_PE_LIBS:+false} :
13727 then :
13728 XML2_PE_LIBS=xml2
13729 if ${XML2_PE_CFLAGS:+false} :
13730 then :
13731 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13732 else $as_nop
13733 enable_xml2=no
13735 else $as_nop
13736 enable_xml2=no
13738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13741 if ${XSLT_PE_LIBS:+false} :
13742 then :
13743 XSLT_PE_LIBS=xslt
13744 if ${XSLT_PE_CFLAGS:+false} :
13745 then :
13746 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13747 else $as_nop
13748 enable_xslt=no
13750 else $as_nop
13751 enable_xslt=no
13753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13756 if ${ZLIB_PE_LIBS:+false} :
13757 then :
13758 ZLIB_PE_LIBS=z
13759 if ${ZLIB_PE_CFLAGS:+false} :
13760 then :
13761 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13762 else $as_nop
13763 enable_zlib=no
13765 else $as_nop
13766 enable_zlib=no
13768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13771 if ${ZYDIS_PE_LIBS:+false} :
13772 then :
13773 ZYDIS_PE_LIBS=zydis
13774 if ${ZYDIS_PE_CFLAGS:+false} :
13775 then :
13776 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13777 else $as_nop
13778 enable_zydis=no
13780 else $as_nop
13781 enable_zydis=no
13783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13788 if test "x$with_pthread" = xno
13789 then :
13791 else $as_nop
13792 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13793 if test "x$ac_cv_func_pthread_create" = xyes
13794 then :
13796 else $as_nop
13797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13798 printf %s "checking for pthread_create in -lpthread... " >&6; }
13799 if test ${ac_cv_lib_pthread_pthread_create+y}
13800 then :
13801 printf %s "(cached) " >&6
13802 else $as_nop
13803 ac_check_lib_save_LIBS=$LIBS
13804 LIBS="-lpthread $LIBS"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13811 char pthread_create ();
13813 main (void)
13815 return pthread_create ();
13817 return 0;
13819 _ACEOF
13820 if ac_fn_c_try_link "$LINENO"
13821 then :
13822 ac_cv_lib_pthread_pthread_create=yes
13823 else $as_nop
13824 ac_cv_lib_pthread_pthread_create=no
13826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS=$ac_check_lib_save_LIBS
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13831 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13832 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13833 then :
13834 PTHREAD_LIBS="-lpthread"
13841 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13842 then :
13843 case "x$with_pthread" in
13844 xno) ;;
13845 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13846 Wine cannot support threads without libpthread.
13847 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13848 esac
13853 ac_ext=c
13854 ac_cpp='$CPP $CPPFLAGS'
13855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13859 printf %s "checking how to run the C preprocessor... " >&6; }
13860 # On Suns, sometimes $CPP names a directory.
13861 if test -n "$CPP" && test -d "$CPP"; then
13862 CPP=
13864 if test -z "$CPP"; then
13865 if test ${ac_cv_prog_CPP+y}
13866 then :
13867 printf %s "(cached) " >&6
13868 else $as_nop
13869 # Double quotes because $CC needs to be expanded
13870 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13872 ac_preproc_ok=false
13873 for ac_c_preproc_warn_flag in '' yes
13875 # Use a header file that comes with gcc, so configuring glibc
13876 # with a fresh cross-compiler works.
13877 # On the NeXT, cc -E runs the code through the compiler's parser,
13878 # not just through cpp. "Syntax error" is here to catch this case.
13879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13881 #include <limits.h>
13882 Syntax error
13883 _ACEOF
13884 if ac_fn_c_try_cpp "$LINENO"
13885 then :
13887 else $as_nop
13888 # Broken: fails on valid input.
13889 continue
13891 rm -f conftest.err conftest.i conftest.$ac_ext
13893 # OK, works on sane cases. Now check whether nonexistent headers
13894 # can be detected and how.
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 #include <ac_nonexistent.h>
13898 _ACEOF
13899 if ac_fn_c_try_cpp "$LINENO"
13900 then :
13901 # Broken: success on invalid input.
13902 continue
13903 else $as_nop
13904 # Passes both tests.
13905 ac_preproc_ok=:
13906 break
13908 rm -f conftest.err conftest.i conftest.$ac_ext
13910 done
13911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13912 rm -f conftest.i conftest.err conftest.$ac_ext
13913 if $ac_preproc_ok
13914 then :
13915 break
13918 done
13919 ac_cv_prog_CPP=$CPP
13922 CPP=$ac_cv_prog_CPP
13923 else
13924 ac_cv_prog_CPP=$CPP
13926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13927 printf "%s\n" "$CPP" >&6; }
13928 ac_preproc_ok=false
13929 for ac_c_preproc_warn_flag in '' yes
13931 # Use a header file that comes with gcc, so configuring glibc
13932 # with a fresh cross-compiler works.
13933 # On the NeXT, cc -E runs the code through the compiler's parser,
13934 # not just through cpp. "Syntax error" is here to catch this case.
13935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13937 #include <limits.h>
13938 Syntax error
13939 _ACEOF
13940 if ac_fn_c_try_cpp "$LINENO"
13941 then :
13943 else $as_nop
13944 # Broken: fails on valid input.
13945 continue
13947 rm -f conftest.err conftest.i conftest.$ac_ext
13949 # OK, works on sane cases. Now check whether nonexistent headers
13950 # can be detected and how.
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 #include <ac_nonexistent.h>
13954 _ACEOF
13955 if ac_fn_c_try_cpp "$LINENO"
13956 then :
13957 # Broken: success on invalid input.
13958 continue
13959 else $as_nop
13960 # Passes both tests.
13961 ac_preproc_ok=:
13962 break
13964 rm -f conftest.err conftest.i conftest.$ac_ext
13966 done
13967 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13968 rm -f conftest.i conftest.err conftest.$ac_ext
13969 if $ac_preproc_ok
13970 then :
13972 else $as_nop
13973 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13974 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13975 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13976 See \`config.log' for more details" "$LINENO" 5; }
13979 ac_ext=c
13980 ac_cpp='$CPP $CPPFLAGS'
13981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13987 printf %s "checking for X... " >&6; }
13990 # Check whether --with-x was given.
13991 if test ${with_x+y}
13992 then :
13993 withval=$with_x;
13996 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13997 if test "x$with_x" = xno; then
13998 # The user explicitly disabled X.
13999 have_x=disabled
14000 else
14001 case $x_includes,$x_libraries in #(
14002 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
14003 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
14004 then :
14005 printf %s "(cached) " >&6
14006 else $as_nop
14007 # One or both of the vars are not set, and there is no cached value.
14008 ac_x_includes=no
14009 ac_x_libraries=no
14010 # Do we need to do anything special at all?
14011 ac_save_LIBS=$LIBS
14012 LIBS="-lX11 $LIBS"
14013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 #include <X11/Xlib.h>
14017 main (void)
14019 XrmInitialize ()
14021 return 0;
14023 _ACEOF
14024 if ac_fn_c_try_link "$LINENO"
14025 then :
14026 # We can compile and link X programs with no special options.
14027 ac_x_includes=
14028 ac_x_libraries=
14030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14031 conftest$ac_exeext conftest.$ac_ext
14032 LIBS="$ac_save_LIBS"
14033 # If that didn't work, only try xmkmf and file system searches
14034 # for native compilation.
14035 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
14036 then :
14037 rm -f -r conftest.dir
14038 if mkdir conftest.dir; then
14039 cd conftest.dir
14040 cat >Imakefile <<'_ACEOF'
14041 incroot:
14042 @echo incroot='${INCROOT}'
14043 usrlibdir:
14044 @echo usrlibdir='${USRLIBDIR}'
14045 libdir:
14046 @echo libdir='${LIBDIR}'
14047 _ACEOF
14048 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
14049 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14050 for ac_var in incroot usrlibdir libdir; do
14051 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14052 done
14053 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14054 for ac_extension in a so sl dylib la dll; do
14055 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14056 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14057 ac_im_usrlibdir=$ac_im_libdir; break
14059 done
14060 # Screen out bogus values from the imake configuration. They are
14061 # bogus both because they are the default anyway, and because
14062 # using them would break gcc on systems where it needs fixed includes.
14063 case $ac_im_incroot in
14064 /usr/include) ac_x_includes= ;;
14065 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14066 esac
14067 case $ac_im_usrlibdir in
14068 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
14069 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14070 esac
14072 cd ..
14073 rm -f -r conftest.dir
14076 # Standard set of common directories for X headers.
14077 # Check X11 before X11Rn because it is often a symlink to the current release.
14078 ac_x_header_dirs='
14079 /usr/X11/include
14080 /usr/X11R7/include
14081 /usr/X11R6/include
14082 /usr/X11R5/include
14083 /usr/X11R4/include
14085 /usr/include/X11
14086 /usr/include/X11R7
14087 /usr/include/X11R6
14088 /usr/include/X11R5
14089 /usr/include/X11R4
14091 /usr/local/X11/include
14092 /usr/local/X11R7/include
14093 /usr/local/X11R6/include
14094 /usr/local/X11R5/include
14095 /usr/local/X11R4/include
14097 /usr/local/include/X11
14098 /usr/local/include/X11R7
14099 /usr/local/include/X11R6
14100 /usr/local/include/X11R5
14101 /usr/local/include/X11R4
14103 /opt/X11/include
14105 /usr/X386/include
14106 /usr/x386/include
14107 /usr/XFree86/include/X11
14109 /usr/include
14110 /usr/local/include
14111 /usr/unsupported/include
14112 /usr/athena/include
14113 /usr/local/x11r5/include
14114 /usr/lpp/Xamples/include
14116 /usr/openwin/include
14117 /usr/openwin/share/include'
14119 if test "$ac_x_includes" = no; then
14120 # Guess where to find include files, by looking for Xlib.h.
14121 # First, try using that file with no special directory specified.
14122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14124 #include <X11/Xlib.h>
14125 _ACEOF
14126 if ac_fn_c_try_cpp "$LINENO"
14127 then :
14128 # We can compile using X headers with no special include directory.
14129 ac_x_includes=
14130 else $as_nop
14131 for ac_dir in $ac_x_header_dirs; do
14132 if test -r "$ac_dir/X11/Xlib.h"; then
14133 ac_x_includes=$ac_dir
14134 break
14136 done
14138 rm -f conftest.err conftest.i conftest.$ac_ext
14139 fi # $ac_x_includes = no
14141 if test "$ac_x_libraries" = no; then
14142 # Check for the libraries.
14143 # See if we find them without any special options.
14144 # Don't add to $LIBS permanently.
14145 ac_save_LIBS=$LIBS
14146 LIBS="-lX11 $LIBS"
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 #include <X11/Xlib.h>
14151 main (void)
14153 XrmInitialize ()
14155 return 0;
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"
14159 then :
14160 LIBS=$ac_save_LIBS
14161 # We can link X programs with no special library path.
14162 ac_x_libraries=
14163 else $as_nop
14164 LIBS=$ac_save_LIBS
14165 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14167 # Don't even attempt the hair of trying to link an X program!
14168 for ac_extension in a so sl dylib la dll; do
14169 if test -r "$ac_dir/libX11.$ac_extension"; then
14170 ac_x_libraries=$ac_dir
14171 break 2
14173 done
14174 done
14176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14177 conftest$ac_exeext conftest.$ac_ext
14178 fi # $ac_x_libraries = no
14181 # Record the results.
14182 case $ac_x_includes,$ac_x_libraries in #(
14183 no,* | *,no | *\'*) :
14184 # Didn't find X, or a directory has "'" in its name.
14185 ac_cv_have_x="have_x=no" ;; #(
14186 *) :
14187 # Record where we found X for the cache.
14188 ac_cv_have_x="have_x=yes\
14189 ac_x_includes='$ac_x_includes'\
14190 ac_x_libraries='$ac_x_libraries'" ;;
14191 esac
14193 ;; #(
14194 *) have_x=yes;;
14195 esac
14196 eval "$ac_cv_have_x"
14197 fi # $with_x != no
14199 if test "$have_x" != yes; then
14200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14201 printf "%s\n" "$have_x" >&6; }
14202 no_x=yes
14203 else
14204 # If each of the values was on the command line, it overrides each guess.
14205 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14206 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14207 # Update the cache value to reflect the command line values.
14208 ac_cv_have_x="have_x=yes\
14209 ac_x_includes='$x_includes'\
14210 ac_x_libraries='$x_libraries'"
14211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14212 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14215 if test "$no_x" = yes; then
14216 # Not all programs may use this symbol, but it does not hurt to define it.
14218 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14220 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14221 else
14222 if test -n "$x_includes"; then
14223 X_CFLAGS="$X_CFLAGS -I$x_includes"
14226 # It would also be nice to do this for all -L options, not just this one.
14227 if test -n "$x_libraries"; then
14228 X_LIBS="$X_LIBS -L$x_libraries"
14229 # For Solaris; some versions of Sun CC require a space after -R and
14230 # others require no space. Words are not sufficient . . . .
14231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14232 printf %s "checking whether -R must be followed by a space... " >&6; }
14233 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14234 ac_xsave_c_werror_flag=$ac_c_werror_flag
14235 ac_c_werror_flag=yes
14236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14240 main (void)
14244 return 0;
14246 _ACEOF
14247 if ac_fn_c_try_link "$LINENO"
14248 then :
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14250 printf "%s\n" "no" >&6; }
14251 X_LIBS="$X_LIBS -R$x_libraries"
14252 else $as_nop
14253 LIBS="$ac_xsave_LIBS -R $x_libraries"
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14258 main (void)
14262 return 0;
14264 _ACEOF
14265 if ac_fn_c_try_link "$LINENO"
14266 then :
14267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14268 printf "%s\n" "yes" >&6; }
14269 X_LIBS="$X_LIBS -R $x_libraries"
14270 else $as_nop
14271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14272 printf "%s\n" "neither works" >&6; }
14274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14275 conftest$ac_exeext conftest.$ac_ext
14277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14278 conftest$ac_exeext conftest.$ac_ext
14279 ac_c_werror_flag=$ac_xsave_c_werror_flag
14280 LIBS=$ac_xsave_LIBS
14283 # Check for system-dependent libraries X programs must link with.
14284 # Do this before checking for the system-independent R6 libraries
14285 # (-lICE), since we may need -lsocket or whatever for X linking.
14287 if test "$ISC" = yes; then
14288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14289 else
14290 # Martyn Johnson says this is needed for Ultrix, if the X
14291 # libraries were built with DECnet support. And Karl Berry says
14292 # the Alpha needs dnet_stub (dnet does not exist).
14293 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14297 /* Override any GCC internal prototype to avoid an error.
14298 Use char because int might match the return type of a GCC
14299 builtin and then its argument prototype would still apply. */
14300 char XOpenDisplay ();
14302 main (void)
14304 return XOpenDisplay ();
14306 return 0;
14308 _ACEOF
14309 if ac_fn_c_try_link "$LINENO"
14310 then :
14312 else $as_nop
14313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14314 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14315 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14316 then :
14317 printf %s "(cached) " >&6
14318 else $as_nop
14319 ac_check_lib_save_LIBS=$LIBS
14320 LIBS="-ldnet $LIBS"
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14324 /* Override any GCC internal prototype to avoid an error.
14325 Use char because int might match the return type of a GCC
14326 builtin and then its argument prototype would still apply. */
14327 char dnet_ntoa ();
14329 main (void)
14331 return dnet_ntoa ();
14333 return 0;
14335 _ACEOF
14336 if ac_fn_c_try_link "$LINENO"
14337 then :
14338 ac_cv_lib_dnet_dnet_ntoa=yes
14339 else $as_nop
14340 ac_cv_lib_dnet_dnet_ntoa=no
14342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14343 conftest$ac_exeext conftest.$ac_ext
14344 LIBS=$ac_check_lib_save_LIBS
14346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14347 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14348 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14349 then :
14350 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14353 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14355 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14356 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14357 then :
14358 printf %s "(cached) " >&6
14359 else $as_nop
14360 ac_check_lib_save_LIBS=$LIBS
14361 LIBS="-ldnet_stub $LIBS"
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14368 char dnet_ntoa ();
14370 main (void)
14372 return dnet_ntoa ();
14374 return 0;
14376 _ACEOF
14377 if ac_fn_c_try_link "$LINENO"
14378 then :
14379 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14380 else $as_nop
14381 ac_cv_lib_dnet_stub_dnet_ntoa=no
14383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14384 conftest$ac_exeext conftest.$ac_ext
14385 LIBS=$ac_check_lib_save_LIBS
14387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14388 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14389 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14390 then :
14391 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS="$ac_xsave_LIBS"
14400 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14401 # to get the SysV transport functions.
14402 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14403 # needs -lnsl.
14404 # The nsl library prevents programs from opening the X display
14405 # on Irix 5.2, according to T.E. Dickey.
14406 # The functions gethostbyname, getservbyname, and inet_addr are
14407 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14408 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14409 if test "x$ac_cv_func_gethostbyname" = xyes
14410 then :
14414 if test $ac_cv_func_gethostbyname = no; then
14415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14416 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14417 if test ${ac_cv_lib_nsl_gethostbyname+y}
14418 then :
14419 printf %s "(cached) " >&6
14420 else $as_nop
14421 ac_check_lib_save_LIBS=$LIBS
14422 LIBS="-lnsl $LIBS"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14426 /* Override any GCC internal prototype to avoid an error.
14427 Use char because int might match the return type of a GCC
14428 builtin and then its argument prototype would still apply. */
14429 char gethostbyname ();
14431 main (void)
14433 return gethostbyname ();
14435 return 0;
14437 _ACEOF
14438 if ac_fn_c_try_link "$LINENO"
14439 then :
14440 ac_cv_lib_nsl_gethostbyname=yes
14441 else $as_nop
14442 ac_cv_lib_nsl_gethostbyname=no
14444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14445 conftest$ac_exeext conftest.$ac_ext
14446 LIBS=$ac_check_lib_save_LIBS
14448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14449 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14450 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14451 then :
14452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14455 if test $ac_cv_lib_nsl_gethostbyname = no; then
14456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14457 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14458 if test ${ac_cv_lib_bsd_gethostbyname+y}
14459 then :
14460 printf %s "(cached) " >&6
14461 else $as_nop
14462 ac_check_lib_save_LIBS=$LIBS
14463 LIBS="-lbsd $LIBS"
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14470 char gethostbyname ();
14472 main (void)
14474 return gethostbyname ();
14476 return 0;
14478 _ACEOF
14479 if ac_fn_c_try_link "$LINENO"
14480 then :
14481 ac_cv_lib_bsd_gethostbyname=yes
14482 else $as_nop
14483 ac_cv_lib_bsd_gethostbyname=no
14485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14486 conftest$ac_exeext conftest.$ac_ext
14487 LIBS=$ac_check_lib_save_LIBS
14489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14490 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14491 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14492 then :
14493 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14499 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14500 # socket/setsockopt and other routines are undefined under SCO ODT
14501 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14502 # on later versions), says Simon Leinen: it contains gethostby*
14503 # variants that don't use the name server (or something). -lsocket
14504 # must be given before -lnsl if both are needed. We assume that
14505 # if connect needs -lnsl, so does gethostbyname.
14506 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14507 if test "x$ac_cv_func_connect" = xyes
14508 then :
14512 if test $ac_cv_func_connect = no; then
14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14514 printf %s "checking for connect in -lsocket... " >&6; }
14515 if test ${ac_cv_lib_socket_connect+y}
14516 then :
14517 printf %s "(cached) " >&6
14518 else $as_nop
14519 ac_check_lib_save_LIBS=$LIBS
14520 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14524 /* Override any GCC internal prototype to avoid an error.
14525 Use char because int might match the return type of a GCC
14526 builtin and then its argument prototype would still apply. */
14527 char connect ();
14529 main (void)
14531 return connect ();
14533 return 0;
14535 _ACEOF
14536 if ac_fn_c_try_link "$LINENO"
14537 then :
14538 ac_cv_lib_socket_connect=yes
14539 else $as_nop
14540 ac_cv_lib_socket_connect=no
14542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14543 conftest$ac_exeext conftest.$ac_ext
14544 LIBS=$ac_check_lib_save_LIBS
14546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14547 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14548 if test "x$ac_cv_lib_socket_connect" = xyes
14549 then :
14550 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14555 # Guillermo Gomez says -lposix is necessary on A/UX.
14556 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14557 if test "x$ac_cv_func_remove" = xyes
14558 then :
14562 if test $ac_cv_func_remove = no; then
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14564 printf %s "checking for remove in -lposix... " >&6; }
14565 if test ${ac_cv_lib_posix_remove+y}
14566 then :
14567 printf %s "(cached) " >&6
14568 else $as_nop
14569 ac_check_lib_save_LIBS=$LIBS
14570 LIBS="-lposix $LIBS"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14574 /* Override any GCC internal prototype to avoid an error.
14575 Use char because int might match the return type of a GCC
14576 builtin and then its argument prototype would still apply. */
14577 char remove ();
14579 main (void)
14581 return remove ();
14583 return 0;
14585 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"
14587 then :
14588 ac_cv_lib_posix_remove=yes
14589 else $as_nop
14590 ac_cv_lib_posix_remove=no
14592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14593 conftest$ac_exeext conftest.$ac_ext
14594 LIBS=$ac_check_lib_save_LIBS
14596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14597 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14598 if test "x$ac_cv_lib_posix_remove" = xyes
14599 then :
14600 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14605 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14606 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14607 if test "x$ac_cv_func_shmat" = xyes
14608 then :
14612 if test $ac_cv_func_shmat = no; then
14613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14614 printf %s "checking for shmat in -lipc... " >&6; }
14615 if test ${ac_cv_lib_ipc_shmat+y}
14616 then :
14617 printf %s "(cached) " >&6
14618 else $as_nop
14619 ac_check_lib_save_LIBS=$LIBS
14620 LIBS="-lipc $LIBS"
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14624 /* Override any GCC internal prototype to avoid an error.
14625 Use char because int might match the return type of a GCC
14626 builtin and then its argument prototype would still apply. */
14627 char shmat ();
14629 main (void)
14631 return shmat ();
14633 return 0;
14635 _ACEOF
14636 if ac_fn_c_try_link "$LINENO"
14637 then :
14638 ac_cv_lib_ipc_shmat=yes
14639 else $as_nop
14640 ac_cv_lib_ipc_shmat=no
14642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14643 conftest$ac_exeext conftest.$ac_ext
14644 LIBS=$ac_check_lib_save_LIBS
14646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14647 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14648 if test "x$ac_cv_lib_ipc_shmat" = xyes
14649 then :
14650 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14656 # Check for libraries that X11R6 Xt/Xaw programs need.
14657 ac_save_LDFLAGS=$LDFLAGS
14658 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14659 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14660 # check for ICE first), but we must link in the order -lSM -lICE or
14661 # we get undefined symbols. So assume we have SM if we have ICE.
14662 # These have to be linked with before -lX11, unlike the other
14663 # libraries we check for below, so use a different variable.
14664 # John Interrante, Karl Berry
14665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14666 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14667 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14668 then :
14669 printf %s "(cached) " >&6
14670 else $as_nop
14671 ac_check_lib_save_LIBS=$LIBS
14672 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14676 /* Override any GCC internal prototype to avoid an error.
14677 Use char because int might match the return type of a GCC
14678 builtin and then its argument prototype would still apply. */
14679 char IceConnectionNumber ();
14681 main (void)
14683 return IceConnectionNumber ();
14685 return 0;
14687 _ACEOF
14688 if ac_fn_c_try_link "$LINENO"
14689 then :
14690 ac_cv_lib_ICE_IceConnectionNumber=yes
14691 else $as_nop
14692 ac_cv_lib_ICE_IceConnectionNumber=no
14694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14695 conftest$ac_exeext conftest.$ac_ext
14696 LIBS=$ac_check_lib_save_LIBS
14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14699 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14700 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14701 then :
14702 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14705 LDFLAGS=$ac_save_LDFLAGS
14710 if test "$have_x" = "yes"
14711 then
14712 ac_save_CPPFLAGS="$CPPFLAGS"
14713 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14716 printf %s "checking for -lX11... " >&6; }
14717 if test ${ac_cv_lib_soname_X11+y}
14718 then :
14719 printf %s "(cached) " >&6
14720 else $as_nop
14721 ac_check_soname_save_LIBS=$LIBS
14722 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14726 /* Override any GCC internal prototype to avoid an error.
14727 Use char because int might match the return type of a GCC
14728 builtin and then its argument prototype would still apply. */
14729 char XCreateWindow ();
14731 main (void)
14733 return XCreateWindow ();
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"
14739 then :
14740 case "$LIBEXT" in
14741 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14742 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'` ;;
14743 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14744 if ${ac_cv_lib_soname_X11:+false} :
14745 then :
14746 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14747 fi ;;
14748 esac
14749 else $as_nop
14750 ac_cv_lib_soname_X11=
14752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14753 conftest$ac_exeext conftest.$ac_ext
14754 LIBS=$ac_check_soname_save_LIBS
14756 if ${ac_cv_lib_soname_X11:+false} :
14757 then :
14758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14759 printf "%s\n" "not found" >&6; }
14761 else $as_nop
14762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14763 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14765 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14770 printf %s "checking for -lXext... " >&6; }
14771 if test ${ac_cv_lib_soname_Xext+y}
14772 then :
14773 printf %s "(cached) " >&6
14774 else $as_nop
14775 ac_check_soname_save_LIBS=$LIBS
14776 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14780 /* Override any GCC internal prototype to avoid an error.
14781 Use char because int might match the return type of a GCC
14782 builtin and then its argument prototype would still apply. */
14783 char XextCreateExtension ();
14785 main (void)
14787 return XextCreateExtension ();
14789 return 0;
14791 _ACEOF
14792 if ac_fn_c_try_link "$LINENO"
14793 then :
14794 case "$LIBEXT" in
14795 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14796 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'` ;;
14797 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14798 if ${ac_cv_lib_soname_Xext:+false} :
14799 then :
14800 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14801 fi ;;
14802 esac
14803 else $as_nop
14804 ac_cv_lib_soname_Xext=
14806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14807 conftest$ac_exeext conftest.$ac_ext
14808 LIBS=$ac_check_soname_save_LIBS
14810 if ${ac_cv_lib_soname_Xext:+false} :
14811 then :
14812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14813 printf "%s\n" "not found" >&6; }
14815 else $as_nop
14816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14817 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14819 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14821 X_LIBS="$X_LIBS -lXext"
14823 X_LIBS="$X_LIBS -lX11"
14825 xlib_includes="#include <X11/Xlib.h>
14826 #include <X11/Xutil.h>"
14828 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14830 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14831 then :
14832 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14835 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14837 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14838 then :
14839 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14842 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14844 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14845 then :
14846 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14849 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14851 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14852 then :
14853 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14856 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14858 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14859 then :
14860 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14863 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14865 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14866 then :
14867 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14870 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14872 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14873 then :
14874 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14877 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14879 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14880 then :
14881 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14884 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14886 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14887 then :
14888 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14893 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14895 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14896 then :
14897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14898 printf %s "checking for -lXcursor... " >&6; }
14899 if test ${ac_cv_lib_soname_Xcursor+y}
14900 then :
14901 printf %s "(cached) " >&6
14902 else $as_nop
14903 ac_check_soname_save_LIBS=$LIBS
14904 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14908 /* Override any GCC internal prototype to avoid an error.
14909 Use char because int might match the return type of a GCC
14910 builtin and then its argument prototype would still apply. */
14911 char XcursorImageLoadCursor ();
14913 main (void)
14915 return XcursorImageLoadCursor ();
14917 return 0;
14919 _ACEOF
14920 if ac_fn_c_try_link "$LINENO"
14921 then :
14922 case "$LIBEXT" in
14923 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14924 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'` ;;
14925 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14926 if ${ac_cv_lib_soname_Xcursor:+false} :
14927 then :
14928 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14929 fi ;;
14930 esac
14931 else $as_nop
14932 ac_cv_lib_soname_Xcursor=
14934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14935 conftest$ac_exeext conftest.$ac_ext
14936 LIBS=$ac_check_soname_save_LIBS
14938 if ${ac_cv_lib_soname_Xcursor:+false} :
14939 then :
14940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14941 printf "%s\n" "not found" >&6; }
14943 else $as_nop
14944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14945 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14947 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14953 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14954 then :
14955 case "x$with_xcursor" in
14956 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14957 xno) ;;
14958 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14959 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14960 esac
14964 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14966 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14967 then :
14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14969 printf %s "checking for -lXi... " >&6; }
14970 if test ${ac_cv_lib_soname_Xi+y}
14971 then :
14972 printf %s "(cached) " >&6
14973 else $as_nop
14974 ac_check_soname_save_LIBS=$LIBS
14975 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14982 char XOpenDevice ();
14984 main (void)
14986 return XOpenDevice ();
14988 return 0;
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"
14992 then :
14993 case "$LIBEXT" in
14994 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14995 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'` ;;
14996 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14997 if ${ac_cv_lib_soname_Xi:+false} :
14998 then :
14999 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15000 fi ;;
15001 esac
15002 else $as_nop
15003 ac_cv_lib_soname_Xi=
15005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15006 conftest$ac_exeext conftest.$ac_ext
15007 LIBS=$ac_check_soname_save_LIBS
15009 if ${ac_cv_lib_soname_Xi:+false} :
15010 then :
15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15012 printf "%s\n" "not found" >&6; }
15014 else $as_nop
15015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
15016 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
15018 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
15024 if test "x$ac_cv_lib_soname_Xi" = "x"
15025 then :
15026 case "x$with_xinput" in
15027 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15028 xno) ;;
15029 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15030 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15031 esac
15035 if test "x$ac_cv_lib_soname_Xi" != x
15036 then
15037 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15038 then :
15039 case "x$with_xinput2" in
15040 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15041 xno) ;;
15042 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
15043 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15044 esac
15049 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15050 then
15051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15052 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
15053 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15054 then :
15055 printf %s "(cached) " >&6
15056 else $as_nop
15057 ac_check_lib_save_LIBS=$LIBS
15058 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15062 /* Override any GCC internal prototype to avoid an error.
15063 Use char because int might match the return type of a GCC
15064 builtin and then its argument prototype would still apply. */
15065 char XShmQueryExtension ();
15067 main (void)
15069 return XShmQueryExtension ();
15071 return 0;
15073 _ACEOF
15074 if ac_fn_c_try_link "$LINENO"
15075 then :
15076 ac_cv_lib_Xext_XShmQueryExtension=yes
15077 else $as_nop
15078 ac_cv_lib_Xext_XShmQueryExtension=no
15080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_check_lib_save_LIBS
15084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15085 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15086 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15087 then :
15089 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15094 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15095 then :
15096 case "x$with_xshm" in
15097 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15098 xno) ;;
15099 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15100 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15101 esac
15105 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15106 then
15107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15108 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15109 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15110 then :
15111 printf %s "(cached) " >&6
15112 else $as_nop
15113 ac_check_lib_save_LIBS=$LIBS
15114 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 char XShapeQueryExtension ();
15123 main (void)
15125 return XShapeQueryExtension ();
15127 return 0;
15129 _ACEOF
15130 if ac_fn_c_try_link "$LINENO"
15131 then :
15132 ac_cv_lib_Xext_XShapeQueryExtension=yes
15133 else $as_nop
15134 ac_cv_lib_Xext_XShapeQueryExtension=no
15136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15137 conftest$ac_exeext conftest.$ac_ext
15138 LIBS=$ac_check_lib_save_LIBS
15140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15141 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15142 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15143 then :
15145 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15150 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15151 then :
15152 case "x$with_xshape" in
15153 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15154 xno) ;;
15155 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15156 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15157 esac
15161 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15162 then
15163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15164 printf %s "checking for -lXxf86vm... " >&6; }
15165 if test ${ac_cv_lib_soname_Xxf86vm+y}
15166 then :
15167 printf %s "(cached) " >&6
15168 else $as_nop
15169 ac_check_soname_save_LIBS=$LIBS
15170 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15177 char XF86VidModeQueryExtension ();
15179 main (void)
15181 return XF86VidModeQueryExtension ();
15183 return 0;
15185 _ACEOF
15186 if ac_fn_c_try_link "$LINENO"
15187 then :
15188 case "$LIBEXT" in
15189 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15190 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'` ;;
15191 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15192 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15193 then :
15194 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15195 fi ;;
15196 esac
15197 else $as_nop
15198 ac_cv_lib_soname_Xxf86vm=
15200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15201 conftest$ac_exeext conftest.$ac_ext
15202 LIBS=$ac_check_soname_save_LIBS
15204 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15205 then :
15206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15207 printf "%s\n" "not found" >&6; }
15209 else $as_nop
15210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15211 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15213 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15218 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15219 then :
15220 case "x$with_xxf86vm" in
15221 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15222 xno) ;;
15223 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15224 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15225 esac
15229 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15230 then
15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15232 printf %s "checking for -lXrender... " >&6; }
15233 if test ${ac_cv_lib_soname_Xrender+y}
15234 then :
15235 printf %s "(cached) " >&6
15236 else $as_nop
15237 ac_check_soname_save_LIBS=$LIBS
15238 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15242 /* Override any GCC internal prototype to avoid an error.
15243 Use char because int might match the return type of a GCC
15244 builtin and then its argument prototype would still apply. */
15245 char XRenderQueryExtension ();
15247 main (void)
15249 return XRenderQueryExtension ();
15251 return 0;
15253 _ACEOF
15254 if ac_fn_c_try_link "$LINENO"
15255 then :
15256 case "$LIBEXT" in
15257 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15258 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'` ;;
15259 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15260 if ${ac_cv_lib_soname_Xrender:+false} :
15261 then :
15262 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15263 fi ;;
15264 esac
15265 else $as_nop
15266 ac_cv_lib_soname_Xrender=
15268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15269 conftest$ac_exeext conftest.$ac_ext
15270 LIBS=$ac_check_soname_save_LIBS
15272 if ${ac_cv_lib_soname_Xrender:+false} :
15273 then :
15274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15275 printf "%s\n" "not found" >&6; }
15277 else $as_nop
15278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15279 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15281 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15284 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15285 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15286 then :
15287 printf %s "(cached) " >&6
15288 else $as_nop
15289 ac_check_lib_save_LIBS=$LIBS
15290 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15294 /* Override any GCC internal prototype to avoid an error.
15295 Use char because int might match the return type of a GCC
15296 builtin and then its argument prototype would still apply. */
15297 char XRenderSetPictureTransform ();
15299 main (void)
15301 return XRenderSetPictureTransform ();
15303 return 0;
15305 _ACEOF
15306 if ac_fn_c_try_link "$LINENO"
15307 then :
15308 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15309 else $as_nop
15310 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15313 conftest$ac_exeext conftest.$ac_ext
15314 LIBS=$ac_check_lib_save_LIBS
15316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15317 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15318 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15319 then :
15321 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15326 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15327 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15328 then :
15329 printf %s "(cached) " >&6
15330 else $as_nop
15331 ac_check_lib_save_LIBS=$LIBS
15332 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15339 char XRenderCreateLinearGradient ();
15341 main (void)
15343 return XRenderCreateLinearGradient ();
15345 return 0;
15347 _ACEOF
15348 if ac_fn_c_try_link "$LINENO"
15349 then :
15350 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15351 else $as_nop
15352 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15355 conftest$ac_exeext conftest.$ac_ext
15356 LIBS=$ac_check_lib_save_LIBS
15358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15359 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15360 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15361 then :
15363 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15370 if test "x$ac_cv_lib_soname_Xrender" = "x"
15371 then :
15372 case "x$with_xrender" in
15373 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15374 xno) ;;
15375 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15376 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15377 esac
15381 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15382 then
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15385 #include <X11/Xlib.h>
15386 #include <X11/extensions/Xrandr.h>
15388 main (void)
15390 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15392 return 0;
15394 _ACEOF
15395 if ac_fn_c_try_compile "$LINENO"
15396 then :
15397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15398 printf %s "checking for -lXrandr... " >&6; }
15399 if test ${ac_cv_lib_soname_Xrandr+y}
15400 then :
15401 printf %s "(cached) " >&6
15402 else $as_nop
15403 ac_check_soname_save_LIBS=$LIBS
15404 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15411 char XRRQueryExtension ();
15413 main (void)
15415 return XRRQueryExtension ();
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"
15421 then :
15422 case "$LIBEXT" in
15423 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15424 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'` ;;
15425 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15426 if ${ac_cv_lib_soname_Xrandr:+false} :
15427 then :
15428 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15429 fi ;;
15430 esac
15431 else $as_nop
15432 ac_cv_lib_soname_Xrandr=
15434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15435 conftest$ac_exeext conftest.$ac_ext
15436 LIBS=$ac_check_soname_save_LIBS
15438 if ${ac_cv_lib_soname_Xrandr:+false} :
15439 then :
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15441 printf "%s\n" "not found" >&6; }
15443 else $as_nop
15444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15445 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15447 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #include <X11/Xlib.h>
15452 #include <X11/extensions/Xrandr.h>
15454 main (void)
15456 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15458 return 0;
15460 _ACEOF
15461 if ac_fn_c_try_compile "$LINENO"
15462 then :
15464 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15466 else $as_nop
15467 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15474 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15475 then :
15476 case "x$with_xrandr" in
15477 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15478 xno) ;;
15479 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15480 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15481 esac
15485 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15486 then
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15489 #include <X11/Xlib.h>
15490 #include <X11/extensions/Xfixes.h>
15492 main (void)
15494 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15496 return 0;
15498 _ACEOF
15499 if ac_fn_c_try_compile "$LINENO"
15500 then :
15501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15502 printf %s "checking for -lXfixes... " >&6; }
15503 if test ${ac_cv_lib_soname_Xfixes+y}
15504 then :
15505 printf %s "(cached) " >&6
15506 else $as_nop
15507 ac_check_soname_save_LIBS=$LIBS
15508 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15512 /* Override any GCC internal prototype to avoid an error.
15513 Use char because int might match the return type of a GCC
15514 builtin and then its argument prototype would still apply. */
15515 char XFixesQueryVersion ();
15517 main (void)
15519 return XFixesQueryVersion ();
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_link "$LINENO"
15525 then :
15526 case "$LIBEXT" in
15527 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15528 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'` ;;
15529 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15530 if ${ac_cv_lib_soname_Xfixes:+false} :
15531 then :
15532 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15533 fi ;;
15534 esac
15535 else $as_nop
15536 ac_cv_lib_soname_Xfixes=
15538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15539 conftest$ac_exeext conftest.$ac_ext
15540 LIBS=$ac_check_soname_save_LIBS
15542 if ${ac_cv_lib_soname_Xfixes:+false} :
15543 then :
15544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15545 printf "%s\n" "not found" >&6; }
15547 else $as_nop
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15549 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15551 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15558 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15559 then :
15560 case "x$with_xfixes" in
15561 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15562 xno) ;;
15563 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15564 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15565 esac
15569 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15570 then
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15573 #include <X11/Xlib.h>
15574 #include <X11/extensions/Xinerama.h>
15576 main (void)
15578 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15580 return 0;
15582 _ACEOF
15583 if ac_fn_c_try_compile "$LINENO"
15584 then :
15585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15586 printf %s "checking for -lXinerama... " >&6; }
15587 if test ${ac_cv_lib_soname_Xinerama+y}
15588 then :
15589 printf %s "(cached) " >&6
15590 else $as_nop
15591 ac_check_soname_save_LIBS=$LIBS
15592 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15596 /* Override any GCC internal prototype to avoid an error.
15597 Use char because int might match the return type of a GCC
15598 builtin and then its argument prototype would still apply. */
15599 char XineramaQueryScreens ();
15601 main (void)
15603 return XineramaQueryScreens ();
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"
15609 then :
15610 case "$LIBEXT" in
15611 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15612 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'` ;;
15613 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15614 if ${ac_cv_lib_soname_Xinerama:+false} :
15615 then :
15616 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15617 fi ;;
15618 esac
15619 else $as_nop
15620 ac_cv_lib_soname_Xinerama=
15622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_check_soname_save_LIBS
15626 if ${ac_cv_lib_soname_Xinerama:+false} :
15627 then :
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15629 printf "%s\n" "not found" >&6; }
15631 else $as_nop
15632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15633 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15635 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15642 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15643 then :
15644 case "x$with_xinerama" in
15645 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15646 xno) ;;
15647 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15648 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15649 esac
15653 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15655 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15656 then :
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15658 printf %s "checking for -lXcomposite... " >&6; }
15659 if test ${ac_cv_lib_soname_Xcomposite+y}
15660 then :
15661 printf %s "(cached) " >&6
15662 else $as_nop
15663 ac_check_soname_save_LIBS=$LIBS
15664 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 char XCompositeRedirectWindow ();
15673 main (void)
15675 return XCompositeRedirectWindow ();
15677 return 0;
15679 _ACEOF
15680 if ac_fn_c_try_link "$LINENO"
15681 then :
15682 case "$LIBEXT" in
15683 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15684 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'` ;;
15685 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15686 if ${ac_cv_lib_soname_Xcomposite:+false} :
15687 then :
15688 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15689 fi ;;
15690 esac
15691 else $as_nop
15692 ac_cv_lib_soname_Xcomposite=
15694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15695 conftest$ac_exeext conftest.$ac_ext
15696 LIBS=$ac_check_soname_save_LIBS
15698 if ${ac_cv_lib_soname_Xcomposite:+false} :
15699 then :
15700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15701 printf "%s\n" "not found" >&6; }
15703 else $as_nop
15704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15705 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15707 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15713 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15714 then :
15715 case "x$with_xcomposite" in
15716 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15717 xno) ;;
15718 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15719 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15720 esac
15724 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15726 if test "x$ac_cv_member_XICCallback_callback" = xyes
15727 then :
15729 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15733 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15735 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15736 then :
15738 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15745 opengl_msg=""
15746 if test "x$with_opengl" != "xno"
15747 then
15748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15749 printf %s "checking for -lGL... " >&6; }
15750 if test ${ac_cv_lib_soname_GL+y}
15751 then :
15752 printf %s "(cached) " >&6
15753 else $as_nop
15754 ac_check_soname_save_LIBS=$LIBS
15755 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15759 /* Override any GCC internal prototype to avoid an error.
15760 Use char because int might match the return type of a GCC
15761 builtin and then its argument prototype would still apply. */
15762 char glXCreateContext ();
15764 main (void)
15766 return glXCreateContext ();
15768 return 0;
15770 _ACEOF
15771 if ac_fn_c_try_link "$LINENO"
15772 then :
15773 case "$LIBEXT" in
15774 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15775 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'` ;;
15776 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15777 if ${ac_cv_lib_soname_GL:+false} :
15778 then :
15779 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15780 fi ;;
15781 esac
15782 else $as_nop
15783 ac_cv_lib_soname_GL=
15785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15786 conftest$ac_exeext conftest.$ac_ext
15787 LIBS=$ac_check_soname_save_LIBS
15789 if ${ac_cv_lib_soname_GL:+false} :
15790 then :
15791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15792 printf "%s\n" "not found" >&6; }
15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15794 printf %s "checking for -lGL... " >&6; }
15795 if test ${ac_cv_lib_soname_GL+y}
15796 then :
15797 printf %s "(cached) " >&6
15798 else $as_nop
15799 ac_check_soname_save_LIBS=$LIBS
15800 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"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 char glXCreateContext ();
15809 main (void)
15811 return glXCreateContext ();
15813 return 0;
15815 _ACEOF
15816 if ac_fn_c_try_link "$LINENO"
15817 then :
15818 case "$LIBEXT" in
15819 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15820 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'` ;;
15821 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15822 if ${ac_cv_lib_soname_GL:+false} :
15823 then :
15824 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15825 fi ;;
15826 esac
15827 else $as_nop
15828 ac_cv_lib_soname_GL=
15830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15831 conftest$ac_exeext conftest.$ac_ext
15832 LIBS=$ac_check_soname_save_LIBS
15834 if ${ac_cv_lib_soname_GL:+false} :
15835 then :
15836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15837 printf "%s\n" "not found" >&6; }
15838 if test -f /usr/X11R6/lib/libGL.a
15839 then
15840 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15841 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15842 else
15843 opengl_msg="No OpenGL library found on this system."
15845 else $as_nop
15846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15847 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15849 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15851 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"
15853 else $as_nop
15854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15855 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15857 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15859 OPENGL_LIBS="-lGL"
15861 if test "x$with_osmesa" != "xno"
15862 then
15863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15864 printf %s "checking for -lOSMesa... " >&6; }
15865 if test ${ac_cv_lib_soname_OSMesa+y}
15866 then :
15867 printf %s "(cached) " >&6
15868 else $as_nop
15869 ac_check_soname_save_LIBS=$LIBS
15870 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15874 /* Override any GCC internal prototype to avoid an error.
15875 Use char because int might match the return type of a GCC
15876 builtin and then its argument prototype would still apply. */
15877 char OSMesaGetProcAddress ();
15879 main (void)
15881 return OSMesaGetProcAddress ();
15883 return 0;
15885 _ACEOF
15886 if ac_fn_c_try_link "$LINENO"
15887 then :
15888 case "$LIBEXT" in
15889 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15890 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'` ;;
15891 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15892 if ${ac_cv_lib_soname_OSMesa:+false} :
15893 then :
15894 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15895 fi ;;
15896 esac
15897 else $as_nop
15898 ac_cv_lib_soname_OSMesa=
15900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15901 conftest$ac_exeext conftest.$ac_ext
15902 LIBS=$ac_check_soname_save_LIBS
15904 if ${ac_cv_lib_soname_OSMesa:+false} :
15905 then :
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15907 printf "%s\n" "not found" >&6; }
15909 else $as_nop
15910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15911 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15913 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15917 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15918 then :
15919 case "x$with_osmesa" in
15920 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15921 xno) ;;
15922 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15923 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15924 esac
15929 if test -n "$opengl_msg"
15930 then :
15931 case "x$with_opengl" in
15932 x) as_fn_append wine_warnings "|$opengl_msg
15933 OpenGL and Direct3D won't be supported." ;;
15934 xno) ;;
15935 *) as_fn_error $? "$opengl_msg
15936 OpenGL and Direct3D won't be supported.
15937 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15938 esac
15942 CPPFLAGS="$ac_save_CPPFLAGS"
15943 else
15944 X_CFLAGS=""
15945 X_LIBS=""
15948 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15949 then
15950 if test "x$X_LIBS" = "x"
15951 then :
15952 case "x$with_x" in
15953 xno) ;;
15954 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15955 without X support, which probably isn't what you want. You will need
15956 to install ${notice_platform}development packages of Xlib at the very least.
15957 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15958 esac
15959 enable_winex11_drv=${enable_winex11_drv:-no}
15961 else
15962 if test "x$X_LIBS" = "x"
15963 then :
15964 case "x$with_x" in
15965 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15966 xno) ;;
15967 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15968 This is an error since --with-x was requested." "$LINENO" 5 ;;
15969 esac
15970 enable_winex11_drv=${enable_winex11_drv:-no}
15974 if test "x$with_wayland" != "xno"
15975 then
15976 rm -f conftest.err
15977 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15978 then :
15979 if test ${PKG_CONFIG+y}
15980 then :
15981 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15985 if ${WAYLAND_CLIENT_LIBS:+false} :
15986 then :
15987 if test ${PKG_CONFIG+y}
15988 then :
15989 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15996 if test -s conftest.err; then
15997 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15998 cat conftest.err >&5
16000 rm -f conftest.err
16001 ac_save_CPPFLAGS=$CPPFLAGS
16002 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
16003 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
16004 if test "x$ac_cv_header_wayland_client_h" = xyes
16005 then :
16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
16007 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
16008 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
16009 then :
16010 printf %s "(cached) " >&6
16011 else $as_nop
16012 ac_check_lib_save_LIBS=$LIBS
16013 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
16014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16015 /* end confdefs.h. */
16017 /* Override any GCC internal prototype to avoid an error.
16018 Use char because int might match the return type of a GCC
16019 builtin and then its argument prototype would still apply. */
16020 char wl_display_connect ();
16022 main (void)
16024 return wl_display_connect ();
16026 return 0;
16028 _ACEOF
16029 if ac_fn_c_try_link "$LINENO"
16030 then :
16031 ac_cv_lib_wayland_client_wl_display_connect=yes
16032 else $as_nop
16033 ac_cv_lib_wayland_client_wl_display_connect=no
16035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16036 conftest$ac_exeext conftest.$ac_ext
16037 LIBS=$ac_check_lib_save_LIBS
16039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16040 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16041 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16042 then :
16043 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16044 set dummy wayland-scanner; ac_word=$2
16045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16046 printf %s "checking for $ac_word... " >&6; }
16047 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16048 then :
16049 printf %s "(cached) " >&6
16050 else $as_nop
16051 case $WAYLAND_SCANNER in
16052 [\\/]* | ?:[\\/]*)
16053 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
16056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16057 for as_dir in $PATH
16059 IFS=$as_save_IFS
16060 case $as_dir in #(((
16061 '') as_dir=./ ;;
16062 */) ;;
16063 *) as_dir=$as_dir/ ;;
16064 esac
16065 for ac_exec_ext in '' $ac_executable_extensions; do
16066 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16067 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
16068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16069 break 2
16071 done
16072 done
16073 IFS=$as_save_IFS
16075 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`"
16077 esac
16079 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
16080 if test -n "$WAYLAND_SCANNER"; then
16081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16082 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16083 else
16084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16085 printf "%s\n" "no" >&6; }
16089 else $as_nop
16090 WAYLAND_CLIENT_LIBS=""
16095 CPPFLAGS=$ac_save_CPPFLAGS
16097 rm -f conftest.err
16098 if ${XKBCOMMON_CFLAGS:+false} :
16099 then :
16100 if test ${PKG_CONFIG+y}
16101 then :
16102 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16106 if ${XKBCOMMON_LIBS:+false} :
16107 then :
16108 if test ${PKG_CONFIG+y}
16109 then :
16110 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16117 if test -s conftest.err; then
16118 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16119 cat conftest.err >&5
16121 rm -f conftest.err
16122 ac_save_CPPFLAGS=$CPPFLAGS
16123 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16124 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16125 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16126 then :
16127 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16132 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16133 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16134 then :
16135 printf %s "(cached) " >&6
16136 else $as_nop
16137 ac_check_lib_save_LIBS=$LIBS
16138 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16145 char xkb_context_new ();
16147 main (void)
16149 return xkb_context_new ();
16151 return 0;
16153 _ACEOF
16154 if ac_fn_c_try_link "$LINENO"
16155 then :
16156 ac_cv_lib_xkbcommon_xkb_context_new=yes
16157 else $as_nop
16158 ac_cv_lib_xkbcommon_xkb_context_new=no
16160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16161 conftest$ac_exeext conftest.$ac_ext
16162 LIBS=$ac_check_lib_save_LIBS
16164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16165 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16166 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16167 then :
16169 else $as_nop
16170 XKBCOMMON_LIBS=""
16173 CPPFLAGS=$ac_save_CPPFLAGS
16175 rm -f conftest.err
16176 if ${XKBREGISTRY_CFLAGS:+false} :
16177 then :
16178 if test ${PKG_CONFIG+y}
16179 then :
16180 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16184 if ${XKBREGISTRY_LIBS:+false} :
16185 then :
16186 if test ${PKG_CONFIG+y}
16187 then :
16188 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16195 if test -s conftest.err; then
16196 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16197 cat conftest.err >&5
16199 rm -f conftest.err
16200 ac_save_CPPFLAGS=$CPPFLAGS
16201 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16202 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16203 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16204 then :
16205 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16210 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16211 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16212 then :
16213 printf %s "(cached) " >&6
16214 else $as_nop
16215 ac_check_lib_save_LIBS=$LIBS
16216 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16220 /* Override any GCC internal prototype to avoid an error.
16221 Use char because int might match the return type of a GCC
16222 builtin and then its argument prototype would still apply. */
16223 char rxkb_context_new ();
16225 main (void)
16227 return rxkb_context_new ();
16229 return 0;
16231 _ACEOF
16232 if ac_fn_c_try_link "$LINENO"
16233 then :
16234 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16235 else $as_nop
16236 ac_cv_lib_xkbregistry_rxkb_context_new=no
16238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16239 conftest$ac_exeext conftest.$ac_ext
16240 LIBS=$ac_check_lib_save_LIBS
16242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16243 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16244 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16245 then :
16247 else $as_nop
16248 XKBREGISTRY_LIBS=""
16251 CPPFLAGS=$ac_save_CPPFLAGS
16253 if test "x$with_opengl" != "xno"
16254 then
16255 rm -f conftest.err
16256 if ${EGL_CFLAGS:+false} :
16257 then :
16258 if test ${PKG_CONFIG+y}
16259 then :
16260 EGL_CFLAGS=`$PKG_CONFIG --cflags egl 2>conftest.err`
16264 if ${EGL_LIBS:+false} :
16265 then :
16266 if test ${PKG_CONFIG+y}
16267 then :
16268 EGL_LIBS=`$PKG_CONFIG --libs egl 2>/dev/null`
16272 EGL_LIBS=${EGL_LIBS:-"-lEGL"}
16273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16275 if test -s conftest.err; then
16276 printf %s "$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16277 cat conftest.err >&5
16279 rm -f conftest.err
16280 ac_save_CPPFLAGS=$CPPFLAGS
16281 CPPFLAGS="$CPPFLAGS $EGL_CFLAGS"
16282 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16283 if test "x$ac_cv_header_EGL_egl_h" = xyes
16284 then :
16285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16286 printf %s "checking for -lEGL... " >&6; }
16287 if test ${ac_cv_lib_soname_EGL+y}
16288 then :
16289 printf %s "(cached) " >&6
16290 else $as_nop
16291 ac_check_soname_save_LIBS=$LIBS
16292 LIBS="-lEGL $EGL_LIBS $LIBS"
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16296 /* Override any GCC internal prototype to avoid an error.
16297 Use char because int might match the return type of a GCC
16298 builtin and then its argument prototype would still apply. */
16299 char eglGetProcAddress ();
16301 main (void)
16303 return eglGetProcAddress ();
16305 return 0;
16307 _ACEOF
16308 if ac_fn_c_try_link "$LINENO"
16309 then :
16310 case "$LIBEXT" in
16311 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16312 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'` ;;
16313 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16314 if ${ac_cv_lib_soname_EGL:+false} :
16315 then :
16316 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16317 fi ;;
16318 esac
16319 else $as_nop
16320 ac_cv_lib_soname_EGL=
16322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_soname_save_LIBS
16326 if ${ac_cv_lib_soname_EGL:+false} :
16327 then :
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16329 printf "%s\n" "not found" >&6; }
16331 else $as_nop
16332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16333 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16335 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16341 CPPFLAGS=$ac_save_CPPFLAGS
16343 rm -f conftest.err
16344 if ${WAYLAND_EGL_CFLAGS:+false} :
16345 then :
16346 if test ${PKG_CONFIG+y}
16347 then :
16348 WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16352 if ${WAYLAND_EGL_LIBS:+false} :
16353 then :
16354 if test ${PKG_CONFIG+y}
16355 then :
16356 WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16363 if test -s conftest.err; then
16364 printf %s "$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16365 cat conftest.err >&5
16367 rm -f conftest.err
16368 ac_save_CPPFLAGS=$CPPFLAGS
16369 CPPFLAGS="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16370 ac_fn_c_check_header_compile "$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16371 if test "x$ac_cv_header_wayland_egl_h" = xyes
16372 then :
16373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16374 printf %s "checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16375 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16376 then :
16377 printf %s "(cached) " >&6
16378 else $as_nop
16379 ac_check_lib_save_LIBS=$LIBS
16380 LIBS="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16384 /* Override any GCC internal prototype to avoid an error.
16385 Use char because int might match the return type of a GCC
16386 builtin and then its argument prototype would still apply. */
16387 char wl_egl_window_create ();
16389 main (void)
16391 return wl_egl_window_create ();
16393 return 0;
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"
16397 then :
16398 ac_cv_lib_wayland_egl_wl_egl_window_create=yes
16399 else $as_nop
16400 ac_cv_lib_wayland_egl_wl_egl_window_create=no
16402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16403 conftest$ac_exeext conftest.$ac_ext
16404 LIBS=$ac_check_lib_save_LIBS
16406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16407 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16408 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16409 then :
16411 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16413 else $as_nop
16414 WAYLAND_EGL_LIBS=""
16419 CPPFLAGS=$ac_save_CPPFLAGS
16421 if test "x$with_wayland" != "x"
16422 then
16423 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16424 then :
16425 case "x$with_opengl" in
16426 x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16427 xno) ;;
16428 *) as_fn_error $? "EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16429 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16430 esac
16436 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"
16437 then :
16438 case "x$with_wayland" in
16439 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16440 xno) ;;
16441 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16442 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16443 esac
16444 enable_winewayland_drv=${enable_winewayland_drv:-no}
16447 if test "$ac_cv_header_CL_cl_h" = "yes"
16448 then
16449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16450 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16451 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16452 then :
16453 printf %s "(cached) " >&6
16454 else $as_nop
16455 ac_check_lib_save_LIBS=$LIBS
16456 LIBS="-lOpenCL $LIBS"
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16460 /* Override any GCC internal prototype to avoid an error.
16461 Use char because int might match the return type of a GCC
16462 builtin and then its argument prototype would still apply. */
16463 char clGetPlatformInfo ();
16465 main (void)
16467 return clGetPlatformInfo ();
16469 return 0;
16471 _ACEOF
16472 if ac_fn_c_try_link "$LINENO"
16473 then :
16474 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16475 else $as_nop
16476 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16479 conftest$ac_exeext conftest.$ac_ext
16480 LIBS=$ac_check_lib_save_LIBS
16482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16483 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16484 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16485 then :
16486 OPENCL_LIBS="-lOpenCL"
16491 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16492 then :
16493 case "x$with_opencl" in
16494 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16495 xno) ;;
16496 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16497 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16498 esac
16499 enable_opencl=${enable_opencl:-no}
16502 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16503 then
16504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16505 printf %s "checking for pcap_init in -lpcap... " >&6; }
16506 if test ${ac_cv_lib_pcap_pcap_init+y}
16507 then :
16508 printf %s "(cached) " >&6
16509 else $as_nop
16510 ac_check_lib_save_LIBS=$LIBS
16511 LIBS="-lpcap $LIBS"
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16515 /* Override any GCC internal prototype to avoid an error.
16516 Use char because int might match the return type of a GCC
16517 builtin and then its argument prototype would still apply. */
16518 char pcap_init ();
16520 main (void)
16522 return pcap_init ();
16524 return 0;
16526 _ACEOF
16527 if ac_fn_c_try_link "$LINENO"
16528 then :
16529 ac_cv_lib_pcap_pcap_init=yes
16530 else $as_nop
16531 ac_cv_lib_pcap_pcap_init=no
16533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16534 conftest$ac_exeext conftest.$ac_ext
16535 LIBS=$ac_check_lib_save_LIBS
16537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16538 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16539 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16540 then :
16541 PCAP_LIBS="-lpcap"
16546 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16547 then :
16548 case "x$with_pcap" in
16549 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16550 xno) ;;
16551 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16552 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16553 esac
16554 enable_wpcap=${enable_wpcap:-no}
16557 if test "x$with_pcsclite" != "xno"
16558 then
16559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16560 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16561 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16562 then :
16563 printf %s "(cached) " >&6
16564 else $as_nop
16565 ac_check_lib_save_LIBS=$LIBS
16566 LIBS="-lpcsclite $LIBS"
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16570 /* Override any GCC internal prototype to avoid an error.
16571 Use char because int might match the return type of a GCC
16572 builtin and then its argument prototype would still apply. */
16573 char SCardEstablishContext ();
16575 main (void)
16577 return SCardEstablishContext ();
16579 return 0;
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"
16583 then :
16584 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16585 else $as_nop
16586 ac_cv_lib_pcsclite_SCardEstablishContext=no
16588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16589 conftest$ac_exeext conftest.$ac_ext
16590 LIBS=$ac_check_lib_save_LIBS
16592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16593 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16594 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16595 then :
16596 PCSCLITE_LIBS="-lpcsclite"
16598 else $as_nop
16599 case $host_os in
16600 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16602 esac
16606 if test "x$PCSCLITE_LIBS" = x
16607 then :
16608 case "x$with_pcsclite" in
16609 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16610 xno) ;;
16611 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16612 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16613 esac
16614 enable_winscard=${enable_winscard:-no}
16617 if test "x$with_odbc" != "xno"
16618 then
16619 rm -f conftest.err
16620 if ${ODBC_CFLAGS:+false} :
16621 then :
16622 if test ${PKG_CONFIG+y}
16623 then :
16624 ODBC_CFLAGS=`$PKG_CONFIG --cflags odbc 2>conftest.err`
16628 if ${ODBC_LIBS:+false} :
16629 then :
16630 if test ${PKG_CONFIG+y}
16631 then :
16632 ODBC_LIBS=`$PKG_CONFIG --libs odbc 2>/dev/null`
16636 ODBC_LIBS=${ODBC_LIBS:-"-lodbc"}
16637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc cflags: $ODBC_CFLAGS" >&5
16638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc libs: $ODBC_LIBS" >&5
16639 if test -s conftest.err; then
16640 printf %s "$as_me:${as_lineno-$LINENO}: odbc errors: " >&5
16641 cat conftest.err >&5
16643 rm -f conftest.err
16644 ac_save_CPPFLAGS=$CPPFLAGS
16645 CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
16646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLConnect in -lodbc" >&5
16647 printf %s "checking for SQLConnect in -lodbc... " >&6; }
16648 if test ${ac_cv_lib_odbc_SQLConnect+y}
16649 then :
16650 printf %s "(cached) " >&6
16651 else $as_nop
16652 ac_check_lib_save_LIBS=$LIBS
16653 LIBS="-lodbc $ODBC_LIBS $LIBS"
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16657 /* Override any GCC internal prototype to avoid an error.
16658 Use char because int might match the return type of a GCC
16659 builtin and then its argument prototype would still apply. */
16660 char SQLConnect ();
16662 main (void)
16664 return SQLConnect ();
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"
16670 then :
16671 ac_cv_lib_odbc_SQLConnect=yes
16672 else $as_nop
16673 ac_cv_lib_odbc_SQLConnect=no
16675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16676 conftest$ac_exeext conftest.$ac_ext
16677 LIBS=$ac_check_lib_save_LIBS
16679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_odbc_SQLConnect" >&5
16680 printf "%s\n" "$ac_cv_lib_odbc_SQLConnect" >&6; }
16681 if test "x$ac_cv_lib_odbc_SQLConnect" = xyes
16682 then :
16684 else $as_nop
16685 ODBC_LIBS=""
16688 CPPFLAGS=$ac_save_CPPFLAGS
16691 if test "x$ODBC_LIBS" = x
16692 then :
16693 case "x$with_odbc" in
16694 x) as_fn_append wine_notices "|libodbc not found, ODBC won't be supported." ;;
16695 xno) ;;
16696 *) as_fn_error $? "libodbc not found, ODBC won't be supported.
16697 This is an error since --with-odbc was requested." "$LINENO" 5 ;;
16698 esac
16699 enable_odbc32=${enable_odbc32:-no}
16702 if test "x$with_inotify" != "xno"
16703 then
16704 rm -f conftest.err
16705 if ${INOTIFY_CFLAGS:+false} :
16706 then :
16707 if test ${PKG_CONFIG+y}
16708 then :
16709 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16713 if ${INOTIFY_LIBS:+false} :
16714 then :
16715 if test ${PKG_CONFIG+y}
16716 then :
16717 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16724 if test -s conftest.err; then
16725 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16726 cat conftest.err >&5
16728 rm -f conftest.err
16729 ac_save_CPPFLAGS=$CPPFLAGS
16730 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16731 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16732 if test "x$ac_cv_header_sys_inotify_h" = xyes
16733 then :
16734 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16739 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16740 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16741 then :
16742 printf %s "(cached) " >&6
16743 else $as_nop
16744 ac_check_lib_save_LIBS=$LIBS
16745 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16749 /* Override any GCC internal prototype to avoid an error.
16750 Use char because int might match the return type of a GCC
16751 builtin and then its argument prototype would still apply. */
16752 char inotify_add_watch ();
16754 main (void)
16756 return inotify_add_watch ();
16758 return 0;
16760 _ACEOF
16761 if ac_fn_c_try_link "$LINENO"
16762 then :
16763 ac_cv_lib_inotify_inotify_add_watch=yes
16764 else $as_nop
16765 ac_cv_lib_inotify_inotify_add_watch=no
16767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16768 conftest$ac_exeext conftest.$ac_ext
16769 LIBS=$ac_check_lib_save_LIBS
16771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16772 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16773 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16774 then :
16776 else $as_nop
16777 INOTIFY_LIBS=""
16780 CPPFLAGS=$ac_save_CPPFLAGS
16783 if test "$ac_cv_header_sys_inotify_h" != "yes"
16784 then :
16785 case "x$with_inotify" in
16786 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16787 xno) ;;
16788 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16789 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16790 esac
16794 if test "x$with_dbus" != "xno"
16795 then
16796 rm -f conftest.err
16797 if ${DBUS_CFLAGS:+false} :
16798 then :
16799 if test ${PKG_CONFIG+y}
16800 then :
16801 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16805 if ${DBUS_LIBS:+false} :
16806 then :
16807 if test ${PKG_CONFIG+y}
16808 then :
16809 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16816 if test -s conftest.err; then
16817 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16818 cat conftest.err >&5
16820 rm -f conftest.err
16821 ac_save_CPPFLAGS=$CPPFLAGS
16822 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16823 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16824 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16825 then :
16826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16827 printf %s "checking for -ldbus-1... " >&6; }
16828 if test ${ac_cv_lib_soname_dbus_1+y}
16829 then :
16830 printf %s "(cached) " >&6
16831 else $as_nop
16832 ac_check_soname_save_LIBS=$LIBS
16833 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16837 /* Override any GCC internal prototype to avoid an error.
16838 Use char because int might match the return type of a GCC
16839 builtin and then its argument prototype would still apply. */
16840 char dbus_connection_close ();
16842 main (void)
16844 return dbus_connection_close ();
16846 return 0;
16848 _ACEOF
16849 if ac_fn_c_try_link "$LINENO"
16850 then :
16851 case "$LIBEXT" in
16852 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16853 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'` ;;
16854 *) 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'`
16855 if ${ac_cv_lib_soname_dbus_1:+false} :
16856 then :
16857 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16858 fi ;;
16859 esac
16860 else $as_nop
16861 ac_cv_lib_soname_dbus_1=
16863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16864 conftest$ac_exeext conftest.$ac_ext
16865 LIBS=$ac_check_soname_save_LIBS
16867 if ${ac_cv_lib_soname_dbus_1:+false} :
16868 then :
16869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16870 printf "%s\n" "not found" >&6; }
16871 DBUS_CFLAGS=""
16872 else $as_nop
16873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16874 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16876 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16880 else $as_nop
16881 DBUS_CFLAGS=""
16884 CPPFLAGS=$ac_save_CPPFLAGS
16887 case $host_os in
16888 darwin*|macosx*) ;;
16889 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16890 then :
16891 case "x$with_dbus" in
16892 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16893 xno) ;;
16894 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16895 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16896 esac
16898 fi ;;
16899 esac
16901 if test "x$with_gnutls" != "xno"
16902 then
16903 rm -f conftest.err
16904 if ${GNUTLS_CFLAGS:+false} :
16905 then :
16906 if test ${PKG_CONFIG+y}
16907 then :
16908 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16912 if ${GNUTLS_LIBS:+false} :
16913 then :
16914 if test ${PKG_CONFIG+y}
16915 then :
16916 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16920 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16923 if test -s conftest.err; then
16924 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16925 cat conftest.err >&5
16927 rm -f conftest.err
16928 ac_save_CPPFLAGS=$CPPFLAGS
16929 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16930 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16931 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16932 then :
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #include <gnutls/gnutls.h>
16936 #include <gnutls/crypto.h>
16938 main (void)
16940 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16942 return 0;
16944 _ACEOF
16945 if ac_fn_c_try_compile "$LINENO"
16946 then :
16947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16948 printf %s "checking for -lgnutls... " >&6; }
16949 if test ${ac_cv_lib_soname_gnutls+y}
16950 then :
16951 printf %s "(cached) " >&6
16952 else $as_nop
16953 ac_check_soname_save_LIBS=$LIBS
16954 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16958 /* Override any GCC internal prototype to avoid an error.
16959 Use char because int might match the return type of a GCC
16960 builtin and then its argument prototype would still apply. */
16961 char gnutls_global_init ();
16963 main (void)
16965 return gnutls_global_init ();
16967 return 0;
16969 _ACEOF
16970 if ac_fn_c_try_link "$LINENO"
16971 then :
16972 case "$LIBEXT" in
16973 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16974 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'` ;;
16975 *) 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'`
16976 if ${ac_cv_lib_soname_gnutls:+false} :
16977 then :
16978 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'`
16979 fi ;;
16980 esac
16981 else $as_nop
16982 ac_cv_lib_soname_gnutls=
16984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16985 conftest$ac_exeext conftest.$ac_ext
16986 LIBS=$ac_check_soname_save_LIBS
16988 if ${ac_cv_lib_soname_gnutls:+false} :
16989 then :
16990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16991 printf "%s\n" "not found" >&6; }
16992 GNUTLS_CFLAGS=""
16993 else $as_nop
16994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16995 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16997 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
17001 ac_wine_check_funcs_save_LIBS="$LIBS"
17002 LIBS="$LIBS $GNUTLS_LIBS"
17004 for ac_func in gnutls_cipher_init
17005 do :
17006 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
17007 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
17008 then :
17009 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
17011 else $as_nop
17012 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
17015 done
17016 LIBS="$ac_wine_check_funcs_save_LIBS"
17018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17019 else $as_nop
17020 GNUTLS_CFLAGS=""
17023 CPPFLAGS=$ac_save_CPPFLAGS
17026 if test "x$ac_cv_lib_soname_gnutls" = "x"
17027 then :
17028 case "x$with_gnutls" in
17029 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
17030 xno) ;;
17031 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
17032 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
17033 esac
17037 if test "x$with_sane" != "xno"
17038 then
17039 rm -f conftest.err
17040 if ${SANE_CFLAGS:+false} :
17041 then :
17042 if test ${PKG_CONFIG+y}
17043 then :
17044 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
17047 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
17048 if ${SANE_LIBS:+false} :
17049 then :
17050 if test ${PKG_CONFIG+y}
17051 then :
17052 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
17055 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
17057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
17058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
17059 if test -s conftest.err; then
17060 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
17061 cat conftest.err >&5
17063 rm -f conftest.err
17064 ac_save_CPPFLAGS=$CPPFLAGS
17065 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
17066 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
17067 if test "x$ac_cv_header_sane_sane_h" = xyes
17068 then :
17069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
17070 printf %s "checking for sane_init in -lsane... " >&6; }
17071 if test ${ac_cv_lib_sane_sane_init+y}
17072 then :
17073 printf %s "(cached) " >&6
17074 else $as_nop
17075 ac_check_lib_save_LIBS=$LIBS
17076 LIBS="-lsane $SANE_LIBS $LIBS"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17080 /* Override any GCC internal prototype to avoid an error.
17081 Use char because int might match the return type of a GCC
17082 builtin and then its argument prototype would still apply. */
17083 char sane_init ();
17085 main (void)
17087 return sane_init ();
17089 return 0;
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"
17093 then :
17094 ac_cv_lib_sane_sane_init=yes
17095 else $as_nop
17096 ac_cv_lib_sane_sane_init=no
17098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17099 conftest$ac_exeext conftest.$ac_ext
17100 LIBS=$ac_check_lib_save_LIBS
17102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
17103 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
17104 if test "x$ac_cv_lib_sane_sane_init" = xyes
17105 then :
17111 CPPFLAGS=$ac_save_CPPFLAGS
17114 if test "$ac_cv_lib_sane_sane_init" != "yes"
17115 then :
17116 case "x$with_sane" in
17117 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17118 xno) ;;
17119 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
17120 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17121 esac
17122 enable_sane_ds=${enable_sane_ds:-no}
17125 if test "x$with_usb" != "xno"
17126 then
17127 rm -f conftest.err
17128 if ${USB_CFLAGS:+false} :
17129 then :
17130 if test ${PKG_CONFIG+y}
17131 then :
17132 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17136 if ${USB_LIBS:+false} :
17137 then :
17138 if test ${PKG_CONFIG+y}
17139 then :
17140 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17144 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
17145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17147 if test -s conftest.err; then
17148 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17149 cat conftest.err >&5
17151 rm -f conftest.err
17152 ac_save_CPPFLAGS=$CPPFLAGS
17153 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
17154 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17155 if test "x$ac_cv_header_libusb_h" = xyes
17156 then :
17157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17158 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17159 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17160 then :
17161 printf %s "(cached) " >&6
17162 else $as_nop
17163 ac_check_lib_save_LIBS=$LIBS
17164 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17168 /* Override any GCC internal prototype to avoid an error.
17169 Use char because int might match the return type of a GCC
17170 builtin and then its argument prototype would still apply. */
17171 char libusb_interrupt_event_handler ();
17173 main (void)
17175 return libusb_interrupt_event_handler ();
17177 return 0;
17179 _ACEOF
17180 if ac_fn_c_try_link "$LINENO"
17181 then :
17182 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
17183 else $as_nop
17184 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
17186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17187 conftest$ac_exeext conftest.$ac_ext
17188 LIBS=$ac_check_lib_save_LIBS
17190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17191 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17192 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17193 then :
17195 else $as_nop
17196 USB_LIBS=""
17199 else $as_nop
17200 USB_LIBS=""
17203 CPPFLAGS=$ac_save_CPPFLAGS
17206 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17207 then :
17208 case "x$with_usb" in
17209 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17210 xno) ;;
17211 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17212 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17213 esac
17214 enable_wineusb_sys=${enable_wineusb_sys:-no}
17217 if test "x$with_v4l2" != "xno"
17218 then
17219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17220 printf %s "checking for -lv4l2... " >&6; }
17221 if test ${ac_cv_lib_soname_v4l2+y}
17222 then :
17223 printf %s "(cached) " >&6
17224 else $as_nop
17225 ac_check_soname_save_LIBS=$LIBS
17226 LIBS="-lv4l2 $LIBS"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17230 /* Override any GCC internal prototype to avoid an error.
17231 Use char because int might match the return type of a GCC
17232 builtin and then its argument prototype would still apply. */
17233 char v4l2_open ();
17235 main (void)
17237 return v4l2_open ();
17239 return 0;
17241 _ACEOF
17242 if ac_fn_c_try_link "$LINENO"
17243 then :
17244 case "$LIBEXT" in
17245 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17246 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'` ;;
17247 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17248 if ${ac_cv_lib_soname_v4l2:+false} :
17249 then :
17250 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17251 fi ;;
17252 esac
17253 else $as_nop
17254 ac_cv_lib_soname_v4l2=
17256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17257 conftest$ac_exeext conftest.$ac_ext
17258 LIBS=$ac_check_soname_save_LIBS
17260 if ${ac_cv_lib_soname_v4l2:+false} :
17261 then :
17262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17263 printf "%s\n" "not found" >&6; }
17265 else $as_nop
17266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17267 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17269 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17274 if test "x$ac_cv_lib_soname_v4l2" = "x"
17275 then :
17276 case "x$with_v4l2" in
17277 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
17278 xno) ;;
17279 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
17280 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17281 esac
17285 if test "x$with_gphoto" != "xno"
17286 then
17287 rm -f conftest.err
17288 if ${GPHOTO2_CFLAGS:+false} :
17289 then :
17290 if test ${PKG_CONFIG+y}
17291 then :
17292 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17295 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17296 if ${GPHOTO2_LIBS:+false} :
17297 then :
17298 if test ${PKG_CONFIG+y}
17299 then :
17300 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17303 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17304 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
17305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17307 if test -s conftest.err; then
17308 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17309 cat conftest.err >&5
17311 rm -f conftest.err
17312 ac_save_CPPFLAGS=$CPPFLAGS
17313 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
17314 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17315 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17316 then :
17317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17318 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
17319 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17320 then :
17321 printf %s "(cached) " >&6
17322 else $as_nop
17323 ac_check_lib_save_LIBS=$LIBS
17324 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17328 /* Override any GCC internal prototype to avoid an error.
17329 Use char because int might match the return type of a GCC
17330 builtin and then its argument prototype would still apply. */
17331 char gp_camera_new ();
17333 main (void)
17335 return gp_camera_new ();
17337 return 0;
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"
17341 then :
17342 ac_cv_lib_gphoto2_gp_camera_new=yes
17343 else $as_nop
17344 ac_cv_lib_gphoto2_gp_camera_new=no
17346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17347 conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17351 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17352 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17353 then :
17359 CPPFLAGS=$ac_save_CPPFLAGS
17361 rm -f conftest.err
17362 if ${GPHOTO2_PORT_CFLAGS:+false} :
17363 then :
17364 if test ${PKG_CONFIG+y}
17365 then :
17366 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17369 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17370 if ${GPHOTO2_PORT_LIBS:+false} :
17371 then :
17372 if test ${PKG_CONFIG+y}
17373 then :
17374 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17377 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17378 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17381 if test -s conftest.err; then
17382 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17383 cat conftest.err >&5
17385 rm -f conftest.err
17386 ac_save_CPPFLAGS=$CPPFLAGS
17387 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17388 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17389 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17390 then :
17391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17392 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17393 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17394 then :
17395 printf %s "(cached) " >&6
17396 else $as_nop
17397 ac_check_lib_save_LIBS=$LIBS
17398 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17402 /* Override any GCC internal prototype to avoid an error.
17403 Use char because int might match the return type of a GCC
17404 builtin and then its argument prototype would still apply. */
17405 char gp_port_info_list_new ();
17407 main (void)
17409 return gp_port_info_list_new ();
17411 return 0;
17413 _ACEOF
17414 if ac_fn_c_try_link "$LINENO"
17415 then :
17416 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17417 else $as_nop
17418 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17421 conftest$ac_exeext conftest.$ac_ext
17422 LIBS=$ac_check_lib_save_LIBS
17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17425 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17426 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17427 then :
17429 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17431 else $as_nop
17432 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17435 else $as_nop
17436 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17439 CPPFLAGS=$ac_save_CPPFLAGS
17442 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17443 then :
17444 case "x$with_gphoto" in
17445 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17446 xno) ;;
17447 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17448 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17449 esac
17450 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17452 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17453 then :
17454 case "x$with_gphoto" in
17455 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17456 xno) ;;
17457 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17458 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17459 esac
17464 if test "$ac_cv_header_resolv_h" = "yes"
17465 then
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17467 printf %s "checking for resolver library... " >&6; }
17468 if test ${ac_cv_have_resolv+y}
17469 then :
17470 printf %s "(cached) " >&6
17471 else $as_nop
17472 ac_save_LIBS="$LIBS"
17473 for lib in '' -lresolv
17475 LIBS="$lib $ac_save_LIBS"
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #ifdef HAVE_NETINET_IN_H
17479 #include <netinet/in.h>
17480 #endif
17481 #include <resolv.h>
17483 main (void)
17485 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17487 return 0;
17489 _ACEOF
17490 if ac_fn_c_try_link "$LINENO"
17491 then :
17492 ac_cv_have_resolv=${lib:-"none required"}
17493 else $as_nop
17494 ac_cv_have_resolv="not found"
17496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17497 conftest$ac_exeext conftest.$ac_ext
17498 test "x$ac_cv_have_resolv" = "xnot found" || break
17499 done
17500 LIBS="$ac_save_LIBS"
17502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17503 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17505 case "$ac_cv_have_resolv" in
17506 "not found") ;;
17507 "none required")
17509 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17512 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17514 RESOLV_LIBS=$ac_cv_have_resolv
17516 esac
17518 if test "x$ac_cv_have_resolv" != "xnot found"
17519 then
17520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17521 printf %s "checking for res_getservers... " >&6; }
17522 if test ${ac_cv_have_res_getservers+y}
17523 then :
17524 printf %s "(cached) " >&6
17525 else $as_nop
17526 ac_save_LIBS="$LIBS"
17527 LIBS="$RESOLV_LIBS $LIBS"
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #include <resolv.h>
17532 main (void)
17534 res_getservers(NULL, NULL, 0);
17536 return 0;
17538 _ACEOF
17539 if ac_fn_c_try_link "$LINENO"
17540 then :
17541 ac_cv_have_res_getservers=yes
17542 else $as_nop
17543 ac_cv_have_res_getservers=no
17545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17546 conftest$ac_exeext conftest.$ac_ext
17547 LIBS="$ac_save_LIBS"
17549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17550 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17551 if test "$ac_cv_have_res_getservers" = "yes"
17552 then
17554 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17560 if test "x$with_freetype" != "xno"
17561 then
17562 rm -f conftest.err
17563 if ${FREETYPE_CFLAGS:+false} :
17564 then :
17565 if test ${PKG_CONFIG+y}
17566 then :
17567 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17570 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17571 if ${FREETYPE_LIBS:+false} :
17572 then :
17573 if test ${PKG_CONFIG+y}
17574 then :
17575 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17578 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17579 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17582 if test -s conftest.err; then
17583 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17584 cat conftest.err >&5
17586 rm -f conftest.err
17587 ac_save_CPPFLAGS=$CPPFLAGS
17588 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17589 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17590 if test "x$ac_cv_header_ft2build_h" = xyes
17591 then :
17592 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17596 if test "$ac_cv_header_ft2build_h" = "yes"
17597 then
17598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17599 printf %s "checking for -lfreetype... " >&6; }
17600 if test ${ac_cv_lib_soname_freetype+y}
17601 then :
17602 printf %s "(cached) " >&6
17603 else $as_nop
17604 ac_check_soname_save_LIBS=$LIBS
17605 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17609 /* Override any GCC internal prototype to avoid an error.
17610 Use char because int might match the return type of a GCC
17611 builtin and then its argument prototype would still apply. */
17612 char FT_Init_FreeType ();
17614 main (void)
17616 return FT_Init_FreeType ();
17618 return 0;
17620 _ACEOF
17621 if ac_fn_c_try_link "$LINENO"
17622 then :
17623 case "$LIBEXT" in
17624 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17625 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'` ;;
17626 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17627 if ${ac_cv_lib_soname_freetype:+false} :
17628 then :
17629 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17630 fi ;;
17631 esac
17632 else $as_nop
17633 ac_cv_lib_soname_freetype=
17635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17636 conftest$ac_exeext conftest.$ac_ext
17637 LIBS=$ac_check_soname_save_LIBS
17639 if ${ac_cv_lib_soname_freetype:+false} :
17640 then :
17641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17642 printf "%s\n" "not found" >&6; }
17643 FREETYPE_LIBS=""
17644 else $as_nop
17645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17646 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17648 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17651 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17653 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17654 #include FT_MODULE_H
17656 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17657 then :
17659 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17665 else
17666 FREETYPE_CFLAGS=""
17667 FREETYPE_LIBS=""
17669 CPPFLAGS=$ac_save_CPPFLAGS
17672 if test "x$ac_cv_lib_soname_freetype" = x
17673 then :
17674 case "x$with_freetype" in
17675 xno) ;;
17676 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17677 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17678 esac
17679 enable_fonts=${enable_fonts:-no}
17682 ac_wine_check_funcs_save_LIBS="$LIBS"
17683 LIBS="$LIBS $PTHREAD_LIBS"
17684 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17685 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17686 then :
17687 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17691 LIBS="$ac_wine_check_funcs_save_LIBS"
17693 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17694 then
17695 if test "$ac_cv_header_gettext_po_h" = "yes"
17696 then
17697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17698 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17699 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17700 then :
17701 printf %s "(cached) " >&6
17702 else $as_nop
17703 ac_check_lib_save_LIBS=$LIBS
17704 LIBS="-lgettextpo $LIBS"
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17708 /* Override any GCC internal prototype to avoid an error.
17709 Use char because int might match the return type of a GCC
17710 builtin and then its argument prototype would still apply. */
17711 char po_message_msgctxt ();
17713 main (void)
17715 return po_message_msgctxt ();
17717 return 0;
17719 _ACEOF
17720 if ac_fn_c_try_link "$LINENO"
17721 then :
17722 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17723 else $as_nop
17724 ac_cv_lib_gettextpo_po_message_msgctxt=no
17726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17727 conftest$ac_exeext conftest.$ac_ext
17728 LIBS=$ac_check_lib_save_LIBS
17730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17731 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17732 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17733 then :
17735 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17737 GETTEXTPO_LIBS="-lgettextpo"
17742 if test "x$GETTEXTPO_LIBS" = "x"
17743 then :
17744 case "x$with_gettextpo" in
17745 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17746 xno) ;;
17747 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17748 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17749 esac
17752 if test "$srcdir" != .
17753 then :
17754 case "x$with_gettextpo" in
17755 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17756 xno) ;;
17757 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17758 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17759 esac
17764 if test "x$with_pulse" != "xno";
17765 then
17766 rm -f conftest.err
17767 if ${PULSE_CFLAGS:+false} :
17768 then :
17769 if test ${PKG_CONFIG+y}
17770 then :
17771 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17775 if ${PULSE_LIBS:+false} :
17776 then :
17777 if test ${PKG_CONFIG+y}
17778 then :
17779 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17786 if test -s conftest.err; then
17787 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17788 cat conftest.err >&5
17790 rm -f conftest.err
17791 ac_save_CPPFLAGS=$CPPFLAGS
17792 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17793 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17794 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17795 then :
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17797 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17798 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17799 then :
17800 printf %s "(cached) " >&6
17801 else $as_nop
17802 ac_check_lib_save_LIBS=$LIBS
17803 LIBS="-lpulse $PULSE_LIBS $LIBS"
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17807 /* Override any GCC internal prototype to avoid an error.
17808 Use char because int might match the return type of a GCC
17809 builtin and then its argument prototype would still apply. */
17810 char pa_stream_is_corked ();
17812 main (void)
17814 return pa_stream_is_corked ();
17816 return 0;
17818 _ACEOF
17819 if ac_fn_c_try_link "$LINENO"
17820 then :
17821 ac_cv_lib_pulse_pa_stream_is_corked=yes
17822 else $as_nop
17823 ac_cv_lib_pulse_pa_stream_is_corked=no
17825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17826 conftest$ac_exeext conftest.$ac_ext
17827 LIBS=$ac_check_lib_save_LIBS
17829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17830 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17831 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17832 then :
17834 else $as_nop
17835 PULSE_LIBS=""
17838 else $as_nop
17839 PULSE_LIBS=""
17842 CPPFLAGS=$ac_save_CPPFLAGS
17845 if test -z "$PULSE_LIBS"
17846 then :
17847 case "x$with_pulse" in
17848 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17849 xno) ;;
17850 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17851 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17852 esac
17853 enable_winepulse_drv=${enable_winepulse_drv:-no}
17856 if test "x$with_gstreamer" != "xno"
17857 then
17858 rm -f conftest.err
17859 if ${GSTREAMER_CFLAGS:+false} :
17860 then :
17861 if test ${PKG_CONFIG+y}
17862 then :
17863 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17867 if ${GSTREAMER_LIBS:+false} :
17868 then :
17869 if test ${PKG_CONFIG+y}
17870 then :
17871 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17876 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
17877 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
17878 if test -s conftest.err; then
17879 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17880 cat conftest.err >&5
17882 rm -f conftest.err
17883 ac_save_CPPFLAGS=$CPPFLAGS
17884 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17885 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17886 if test "x$ac_cv_header_gst_gst_h" = xyes
17887 then :
17888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17889 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17892 #include <gst/gst.h>
17894 main (void)
17896 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17898 return 0;
17900 _ACEOF
17901 if ac_fn_c_try_compile "$LINENO"
17902 then :
17903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17904 printf "%s\n" "yes" >&6; }
17905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17906 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17907 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17908 then :
17909 printf %s "(cached) " >&6
17910 else $as_nop
17911 ac_check_lib_save_LIBS=$LIBS
17912 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17916 /* Override any GCC internal prototype to avoid an error.
17917 Use char because int might match the return type of a GCC
17918 builtin and then its argument prototype would still apply. */
17919 char gst_pad_new ();
17921 main (void)
17923 return gst_pad_new ();
17925 return 0;
17927 _ACEOF
17928 if ac_fn_c_try_link "$LINENO"
17929 then :
17930 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17931 else $as_nop
17932 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17935 conftest$ac_exeext conftest.$ac_ext
17936 LIBS=$ac_check_lib_save_LIBS
17938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17939 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17940 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17941 then :
17945 else $as_nop
17946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17947 printf "%s\n" "no" >&6; }
17948 ac_glib2_broken=yes
17949 enable_winegstreamer=${enable_winegstreamer:-no}
17950 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17955 CPPFLAGS=$ac_save_CPPFLAGS
17958 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17959 then :
17960 case "x$with_gstreamer" in
17961 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17962 xno) ;;
17963 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17964 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17965 esac
17966 enable_winegstreamer=${enable_winegstreamer:-no}
17969 ALSA_LIBS=""
17971 if test "x$with_alsa" != "xno"
17972 then
17973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17974 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17975 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17976 then :
17977 printf %s "(cached) " >&6
17978 else $as_nop
17979 ac_check_lib_save_LIBS=$LIBS
17980 LIBS="-lasound $LIBS"
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17984 /* Override any GCC internal prototype to avoid an error.
17985 Use char because int might match the return type of a GCC
17986 builtin and then its argument prototype would still apply. */
17987 char snd_pcm_hw_params_get_access_mask ();
17989 main (void)
17991 return snd_pcm_hw_params_get_access_mask ();
17993 return 0;
17995 _ACEOF
17996 if ac_fn_c_try_link "$LINENO"
17997 then :
17998 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17999 else $as_nop
18000 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
18002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18003 conftest$ac_exeext conftest.$ac_ext
18004 LIBS=$ac_check_lib_save_LIBS
18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
18007 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
18008 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
18009 then :
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18012 #include <alsa/asoundlib.h>
18014 main (void)
18016 snd_pcm_hw_params_get_access_mask(NULL, NULL)
18018 return 0;
18020 _ACEOF
18021 if ac_fn_c_try_compile "$LINENO"
18022 then :
18023 ALSA_LIBS="-lasound"
18025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18029 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
18031 if test "x$with_oss" != xno
18032 then
18033 ac_save_CPPFLAGS="$CPPFLAGS"
18034 if test -f /etc/oss.conf
18035 then
18036 . /etc/oss.conf
18038 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
18039 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
18040 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
18041 if test "x$ac_cv_header_sys_soundcard_h" = xyes
18042 then :
18043 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
18045 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
18046 then :
18048 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
18050 OSS4_CFLAGS="$ac_oss_incl"
18052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
18053 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
18054 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
18055 then :
18056 printf %s "(cached) " >&6
18057 else $as_nop
18058 ac_check_lib_save_LIBS=$LIBS
18059 LIBS="-lossaudio $LIBS"
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h. */
18063 /* Override any GCC internal prototype to avoid an error.
18064 Use char because int might match the return type of a GCC
18065 builtin and then its argument prototype would still apply. */
18066 char _oss_ioctl ();
18068 main (void)
18070 return _oss_ioctl ();
18072 return 0;
18074 _ACEOF
18075 if ac_fn_c_try_link "$LINENO"
18076 then :
18077 ac_cv_lib_ossaudio__oss_ioctl=yes
18078 else $as_nop
18079 ac_cv_lib_ossaudio__oss_ioctl=no
18081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18082 conftest$ac_exeext conftest.$ac_ext
18083 LIBS=$ac_check_lib_save_LIBS
18085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
18086 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
18087 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
18088 then :
18089 OSS4_LIBS="-lossaudio"
18097 CPPFLAGS="$ac_save_CPPFLAGS"
18099 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
18100 then :
18101 case "x$with_oss" in
18102 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
18103 xno) ;;
18104 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
18105 This is an error since --with-oss was requested." "$LINENO" 5 ;;
18106 esac
18107 enable_wineoss_drv=${enable_wineoss_drv:-no}
18110 if test "x$with_udev" != "xno"
18111 then
18112 rm -f conftest.err
18113 if ${UDEV_CFLAGS:+false} :
18114 then :
18115 if test ${PKG_CONFIG+y}
18116 then :
18117 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18121 if ${UDEV_LIBS:+false} :
18122 then :
18123 if test ${PKG_CONFIG+y}
18124 then :
18125 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
18129 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
18130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18132 if test -s conftest.err; then
18133 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18134 cat conftest.err >&5
18136 rm -f conftest.err
18137 ac_save_CPPFLAGS=$CPPFLAGS
18138 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
18139 for ac_header in libudev.h
18140 do :
18141 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18142 if test "x$ac_cv_header_libudev_h" = xyes
18143 then :
18144 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18146 printf %s "checking for udev_new in -ludev... " >&6; }
18147 if test ${ac_cv_lib_udev_udev_new+y}
18148 then :
18149 printf %s "(cached) " >&6
18150 else $as_nop
18151 ac_check_lib_save_LIBS=$LIBS
18152 LIBS="-ludev $UDEV_LIBS $LIBS"
18153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18154 /* end confdefs.h. */
18156 /* Override any GCC internal prototype to avoid an error.
18157 Use char because int might match the return type of a GCC
18158 builtin and then its argument prototype would still apply. */
18159 char udev_new ();
18161 main (void)
18163 return udev_new ();
18165 return 0;
18167 _ACEOF
18168 if ac_fn_c_try_link "$LINENO"
18169 then :
18170 ac_cv_lib_udev_udev_new=yes
18171 else $as_nop
18172 ac_cv_lib_udev_udev_new=no
18174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18175 conftest$ac_exeext conftest.$ac_ext
18176 LIBS=$ac_check_lib_save_LIBS
18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18179 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18180 if test "x$ac_cv_lib_udev_udev_new" = xyes
18181 then :
18183 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18185 else $as_nop
18186 UDEV_LIBS=""
18189 else $as_nop
18190 UDEV_LIBS=""
18193 done
18194 CPPFLAGS=$ac_save_CPPFLAGS
18197 if test "x$UDEV_LIBS" = "x"
18198 then :
18199 case "x$with_udev" in
18200 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18201 xno) ;;
18202 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
18203 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18204 esac
18208 if test $HOST_ARCH = x86_64
18209 then
18210 if test "x$with_unwind" != xno
18211 then
18212 rm -f conftest.err
18213 if ${UNWIND_CFLAGS:+false} :
18214 then :
18215 if test ${PKG_CONFIG+y}
18216 then :
18217 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18221 if ${UNWIND_LIBS:+false} :
18222 then :
18223 if test ${PKG_CONFIG+y}
18224 then :
18225 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18229 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
18230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18232 if test -s conftest.err; then
18233 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18234 cat conftest.err >&5
18236 rm -f conftest.err
18237 ac_save_CPPFLAGS=$CPPFLAGS
18238 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18240 printf %s "checking for unw_step... " >&6; }
18241 if test ${wine_cv_have_unw_step+y}
18242 then :
18243 printf %s "(cached) " >&6
18244 else $as_nop
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18247 #define UNW_LOCAL_ONLY
18248 #include <libunwind.h>
18250 main (void)
18252 unw_cursor_t cursor; unw_step( &cursor );
18254 return 0;
18256 _ACEOF
18257 if ac_fn_c_try_link "$LINENO"
18258 then :
18259 wine_cv_have_unw_step="yes"
18260 else $as_nop
18261 wine_cv_have_unw_step="no"
18263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18264 conftest$ac_exeext conftest.$ac_ext
18266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18267 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18268 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
18269 then
18270 save_libs=$LIBS
18271 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
18272 LIBS="$UNWIND_LIBS $LIBS"
18273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18274 printf %s "checking for unw_step in libunwind... " >&6; }
18275 if test ${wine_cv_have_libunwind_unw_step+y}
18276 then :
18277 printf %s "(cached) " >&6
18278 else $as_nop
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18281 #define UNW_LOCAL_ONLY
18282 #include <libunwind.h>
18284 main (void)
18286 unw_cursor_t cursor; unw_step( &cursor );
18288 return 0;
18290 _ACEOF
18291 if ac_fn_c_try_link "$LINENO"
18292 then :
18293 wine_cv_have_libunwind_unw_step="yes"
18294 else $as_nop
18295 wine_cv_have_libunwind_unw_step="no"
18297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18298 conftest$ac_exeext conftest.$ac_ext
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18301 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18302 LIBS=$save_libs
18304 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
18305 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18306 then
18308 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18311 CPPFLAGS=$ac_save_CPPFLAGS
18314 case $host in
18315 *-darwin*)
18316 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18317 then :
18318 case "x$with_unwind" in
18319 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18320 xno) ;;
18321 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
18322 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18323 esac
18325 fi ;;
18326 esac
18329 if test "x$with_sdl" != "xno"
18330 then
18331 rm -f conftest.err
18332 if ${SDL2_CFLAGS:+false} :
18333 then :
18334 if test ${PKG_CONFIG+y}
18335 then :
18336 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18340 if ${SDL2_LIBS:+false} :
18341 then :
18342 if test ${PKG_CONFIG+y}
18343 then :
18344 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18348 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
18349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18351 if test -s conftest.err; then
18352 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18353 cat conftest.err >&5
18355 rm -f conftest.err
18356 ac_save_CPPFLAGS=$CPPFLAGS
18357 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18358 for ac_header in SDL.h
18359 do :
18360 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18361 if test "x$ac_cv_header_SDL_h" = xyes
18362 then :
18363 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18365 printf %s "checking for -lSDL2... " >&6; }
18366 if test ${ac_cv_lib_soname_SDL2+y}
18367 then :
18368 printf %s "(cached) " >&6
18369 else $as_nop
18370 ac_check_soname_save_LIBS=$LIBS
18371 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18373 /* end confdefs.h. */
18375 /* Override any GCC internal prototype to avoid an error.
18376 Use char because int might match the return type of a GCC
18377 builtin and then its argument prototype would still apply. */
18378 char SDL_Init ();
18380 main (void)
18382 return SDL_Init ();
18384 return 0;
18386 _ACEOF
18387 if ac_fn_c_try_link "$LINENO"
18388 then :
18389 case "$LIBEXT" in
18390 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18391 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'` ;;
18392 *) 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'`
18393 if ${ac_cv_lib_soname_SDL2:+false} :
18394 then :
18395 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18396 fi ;;
18397 esac
18398 else $as_nop
18399 ac_cv_lib_soname_SDL2=
18401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18402 conftest$ac_exeext conftest.$ac_ext
18403 LIBS=$ac_check_soname_save_LIBS
18405 if ${ac_cv_lib_soname_SDL2:+false} :
18406 then :
18407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18408 printf "%s\n" "not found" >&6; }
18410 else $as_nop
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18412 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18414 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18420 done
18421 CPPFLAGS=$ac_save_CPPFLAGS
18424 if test "x$ac_cv_lib_soname_SDL2" = "x"
18425 then :
18426 case "x$with_sdl" in
18427 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18428 xno) ;;
18429 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18430 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18431 esac
18435 if test "x$with_capi" != "xno"
18436 then
18437 rm -f conftest.err
18438 if ${CAPI20_CFLAGS:+false} :
18439 then :
18440 if test ${PKG_CONFIG+y}
18441 then :
18442 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18446 if ${CAPI20_LIBS:+false} :
18447 then :
18448 if test ${PKG_CONFIG+y}
18449 then :
18450 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18457 if test -s conftest.err; then
18458 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18459 cat conftest.err >&5
18461 rm -f conftest.err
18462 ac_save_CPPFLAGS=$CPPFLAGS
18463 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18464 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18466 if test "x$ac_cv_header_capi20_h" = xyes
18467 then :
18468 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18471 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18473 if test "x$ac_cv_header_linux_capi_h" = xyes
18474 then :
18475 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18479 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18480 then
18481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18482 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18483 if test ${ac_cv_lib_capi20_capi20_register+y}
18484 then :
18485 printf %s "(cached) " >&6
18486 else $as_nop
18487 ac_check_lib_save_LIBS=$LIBS
18488 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18490 /* end confdefs.h. */
18492 /* Override any GCC internal prototype to avoid an error.
18493 Use char because int might match the return type of a GCC
18494 builtin and then its argument prototype would still apply. */
18495 char capi20_register ();
18497 main (void)
18499 return capi20_register ();
18501 return 0;
18503 _ACEOF
18504 if ac_fn_c_try_link "$LINENO"
18505 then :
18506 ac_cv_lib_capi20_capi20_register=yes
18507 else $as_nop
18508 ac_cv_lib_capi20_capi20_register=no
18510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18511 conftest$ac_exeext conftest.$ac_ext
18512 LIBS=$ac_check_lib_save_LIBS
18514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18515 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18516 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18517 then :
18519 else $as_nop
18520 CAPI20_LIBS=""
18524 CPPFLAGS=$ac_save_CPPFLAGS
18527 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18528 then :
18529 case "x$with_capi" in
18530 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18531 xno) ;;
18532 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18533 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18534 esac
18535 enable_capi2032=${enable_capi2032:-no}
18538 if test "x$with_cups" != "xno"
18539 then
18540 rm -f conftest.err
18541 if ${CUPS_CFLAGS:+false} :
18542 then :
18543 if test ${PKG_CONFIG+y}
18544 then :
18545 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18548 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18549 if ${CUPS_LIBS:+false} :
18550 then :
18551 if test ${PKG_CONFIG+y}
18552 then :
18553 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18556 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18557 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18560 if test -s conftest.err; then
18561 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18562 cat conftest.err >&5
18564 rm -f conftest.err
18565 ac_save_CPPFLAGS=$CPPFLAGS
18566 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18567 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18568 if test "x$ac_cv_header_cups_cups_h" = xyes
18569 then :
18570 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18573 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18574 if test "x$ac_cv_header_cups_ppd_h" = xyes
18575 then :
18576 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18580 if test "$ac_cv_header_cups_cups_h" = "yes"
18581 then
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18583 printf %s "checking for -lcups... " >&6; }
18584 if test ${ac_cv_lib_soname_cups+y}
18585 then :
18586 printf %s "(cached) " >&6
18587 else $as_nop
18588 ac_check_soname_save_LIBS=$LIBS
18589 LIBS="-lcups $CUPS_LIBS $LIBS"
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18593 /* Override any GCC internal prototype to avoid an error.
18594 Use char because int might match the return type of a GCC
18595 builtin and then its argument prototype would still apply. */
18596 char cupsGetDefault ();
18598 main (void)
18600 return cupsGetDefault ();
18602 return 0;
18604 _ACEOF
18605 if ac_fn_c_try_link "$LINENO"
18606 then :
18607 case "$LIBEXT" in
18608 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18609 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'` ;;
18610 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18611 if ${ac_cv_lib_soname_cups:+false} :
18612 then :
18613 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18614 fi ;;
18615 esac
18616 else $as_nop
18617 ac_cv_lib_soname_cups=
18619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18620 conftest$ac_exeext conftest.$ac_ext
18621 LIBS=$ac_check_soname_save_LIBS
18623 if ${ac_cv_lib_soname_cups:+false} :
18624 then :
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18626 printf "%s\n" "not found" >&6; }
18627 CUPS_LIBS=""
18628 else $as_nop
18629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18630 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18632 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18636 else
18637 CUPS_CFLAGS=""
18638 CUPS_LIBS=""
18640 CPPFLAGS=$ac_save_CPPFLAGS
18643 if test "x$ac_cv_lib_soname_cups" = "x"
18644 then :
18645 case "x$with_cups" in
18646 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18647 xno) ;;
18648 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18649 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18650 esac
18654 if test "x$with_fontconfig" != "xno"
18655 then
18656 rm -f conftest.err
18657 if ${FONTCONFIG_CFLAGS:+false} :
18658 then :
18659 if test ${PKG_CONFIG+y}
18660 then :
18661 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18664 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18665 if ${FONTCONFIG_LIBS:+false} :
18666 then :
18667 if test ${PKG_CONFIG+y}
18668 then :
18669 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18672 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18676 if test -s conftest.err; then
18677 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18678 cat conftest.err >&5
18680 rm -f conftest.err
18681 ac_save_CPPFLAGS=$CPPFLAGS
18682 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18683 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18684 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18685 then :
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18687 printf %s "checking for -lfontconfig... " >&6; }
18688 if test ${ac_cv_lib_soname_fontconfig+y}
18689 then :
18690 printf %s "(cached) " >&6
18691 else $as_nop
18692 ac_check_soname_save_LIBS=$LIBS
18693 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18697 /* Override any GCC internal prototype to avoid an error.
18698 Use char because int might match the return type of a GCC
18699 builtin and then its argument prototype would still apply. */
18700 char FcInit ();
18702 main (void)
18704 return FcInit ();
18706 return 0;
18708 _ACEOF
18709 if ac_fn_c_try_link "$LINENO"
18710 then :
18711 case "$LIBEXT" in
18712 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18713 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'` ;;
18714 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18715 if ${ac_cv_lib_soname_fontconfig:+false} :
18716 then :
18717 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18718 fi ;;
18719 esac
18720 else $as_nop
18721 ac_cv_lib_soname_fontconfig=
18723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18724 conftest$ac_exeext conftest.$ac_ext
18725 LIBS=$ac_check_soname_save_LIBS
18727 if ${ac_cv_lib_soname_fontconfig:+false} :
18728 then :
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18730 printf "%s\n" "not found" >&6; }
18731 FONTCONFIG_CFLAGS=""
18732 else $as_nop
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18734 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18736 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18740 else $as_nop
18741 FONTCONFIG_CFLAGS=""
18744 CPPFLAGS=$ac_save_CPPFLAGS
18747 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18748 then :
18749 case "x$with_fontconfig" in
18750 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18751 xno) ;;
18752 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18753 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18754 esac
18758 if test "x$with_krb5" != "xno"
18759 then
18760 rm -f conftest.err
18761 if ${KRB5_CFLAGS:+false} :
18762 then :
18763 if test ${PKG_CONFIG+y}
18764 then :
18765 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18768 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18769 if ${KRB5_LIBS:+false} :
18770 then :
18771 if test ${PKG_CONFIG+y}
18772 then :
18773 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18776 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18780 if test -s conftest.err; then
18781 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18782 cat conftest.err >&5
18784 rm -f conftest.err
18785 ac_save_CPPFLAGS=$CPPFLAGS
18786 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18787 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18788 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18789 then :
18790 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18794 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18795 then
18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18797 printf %s "checking for -lkrb5... " >&6; }
18798 if test ${ac_cv_lib_soname_krb5+y}
18799 then :
18800 printf %s "(cached) " >&6
18801 else $as_nop
18802 ac_check_soname_save_LIBS=$LIBS
18803 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18807 /* Override any GCC internal prototype to avoid an error.
18808 Use char because int might match the return type of a GCC
18809 builtin and then its argument prototype would still apply. */
18810 char krb5_is_config_principal ();
18812 main (void)
18814 return krb5_is_config_principal ();
18816 return 0;
18818 _ACEOF
18819 if ac_fn_c_try_link "$LINENO"
18820 then :
18821 case "$LIBEXT" in
18822 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18823 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'` ;;
18824 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18825 if ${ac_cv_lib_soname_krb5:+false} :
18826 then :
18827 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18828 fi ;;
18829 esac
18830 else $as_nop
18831 ac_cv_lib_soname_krb5=
18833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18834 conftest$ac_exeext conftest.$ac_ext
18835 LIBS=$ac_check_soname_save_LIBS
18837 if ${ac_cv_lib_soname_krb5:+false} :
18838 then :
18839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18840 printf "%s\n" "not found" >&6; }
18841 KRB5_CFLAGS=""
18842 else $as_nop
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18844 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18846 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18850 else
18851 KRB5_CFLAGS=""
18853 CPPFLAGS=$ac_save_CPPFLAGS
18856 if test "x$ac_cv_lib_soname_krb5" = "x"
18857 then :
18858 case "x$with_krb5" in
18859 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18860 xno) ;;
18861 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18862 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18863 esac
18866 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18868 if test "x$with_gssapi" != "xno"
18869 then
18870 rm -f conftest.err
18871 if ${GSSAPI_CFLAGS:+false} :
18872 then :
18873 if test ${PKG_CONFIG+y}
18874 then :
18875 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18878 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18879 if ${GSSAPI_LIBS:+false} :
18880 then :
18881 if test ${PKG_CONFIG+y}
18882 then :
18883 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18886 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18890 if test -s conftest.err; then
18891 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18892 cat conftest.err >&5
18894 rm -f conftest.err
18895 ac_save_CPPFLAGS=$CPPFLAGS
18896 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18897 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18898 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18899 then :
18900 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18903 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18904 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18905 then :
18906 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18910 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18911 then
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18913 printf %s "checking for -lgssapi_krb5... " >&6; }
18914 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18915 then :
18916 printf %s "(cached) " >&6
18917 else $as_nop
18918 ac_check_soname_save_LIBS=$LIBS
18919 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18923 /* Override any GCC internal prototype to avoid an error.
18924 Use char because int might match the return type of a GCC
18925 builtin and then its argument prototype would still apply. */
18926 char gss_init_sec_context ();
18928 main (void)
18930 return gss_init_sec_context ();
18932 return 0;
18934 _ACEOF
18935 if ac_fn_c_try_link "$LINENO"
18936 then :
18937 case "$LIBEXT" in
18938 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18939 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'` ;;
18940 *) 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'`
18941 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18942 then :
18943 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18944 fi ;;
18945 esac
18946 else $as_nop
18947 ac_cv_lib_soname_gssapi_krb5=
18949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18950 conftest$ac_exeext conftest.$ac_ext
18951 LIBS=$ac_check_soname_save_LIBS
18953 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18954 then :
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18956 printf "%s\n" "not found" >&6; }
18957 GSSAPI_CFLAGS=""
18958 else $as_nop
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18960 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18962 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18966 else
18967 GSSAPI_CFLAGS=""
18969 CPPFLAGS=$ac_save_CPPFLAGS
18972 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18973 then :
18974 case "x$with_gssapi" in
18975 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18976 xno) ;;
18977 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18978 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18979 esac
18983 if test "$ac_cv_header_libprocstat_h" = "yes"
18984 then
18985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18986 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18987 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18988 then :
18989 printf %s "(cached) " >&6
18990 else $as_nop
18991 ac_check_lib_save_LIBS=$LIBS
18992 LIBS="-lprocstat $LIBS"
18993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18994 /* end confdefs.h. */
18996 /* Override any GCC internal prototype to avoid an error.
18997 Use char because int might match the return type of a GCC
18998 builtin and then its argument prototype would still apply. */
18999 char procstat_open_sysctl ();
19001 main (void)
19003 return procstat_open_sysctl ();
19005 return 0;
19007 _ACEOF
19008 if ac_fn_c_try_link "$LINENO"
19009 then :
19010 ac_cv_lib_procstat_procstat_open_sysctl=yes
19011 else $as_nop
19012 ac_cv_lib_procstat_procstat_open_sysctl=no
19014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19015 conftest$ac_exeext conftest.$ac_ext
19016 LIBS=$ac_check_lib_save_LIBS
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
19019 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
19020 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
19021 then :
19023 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
19025 PROCSTAT_LIBS="-lprocstat"
19031 if test "x$with_netapi" != "xno"
19032 then
19033 rm -f conftest.err
19034 if ${NETAPI_CFLAGS:+false} :
19035 then :
19036 if test ${PKG_CONFIG+y}
19037 then :
19038 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
19042 if ${NETAPI_LIBS:+false} :
19043 then :
19044 if test ${PKG_CONFIG+y}
19045 then :
19046 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
19051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
19052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
19053 if test -s conftest.err; then
19054 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
19055 cat conftest.err >&5
19057 rm -f conftest.err
19058 ac_save_CPPFLAGS=$CPPFLAGS
19059 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
19060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19061 printf %s "checking for -lnetapi... " >&6; }
19062 if test ${ac_cv_lib_soname_netapi+y}
19063 then :
19064 printf %s "(cached) " >&6
19065 else $as_nop
19066 ac_check_soname_save_LIBS=$LIBS
19067 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
19068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19069 /* end confdefs.h. */
19071 /* Override any GCC internal prototype to avoid an error.
19072 Use char because int might match the return type of a GCC
19073 builtin and then its argument prototype would still apply. */
19074 char libnetapi_init ();
19076 main (void)
19078 return libnetapi_init ();
19080 return 0;
19082 _ACEOF
19083 if ac_fn_c_try_link "$LINENO"
19084 then :
19085 case "$LIBEXT" in
19086 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19087 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'` ;;
19088 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19089 if ${ac_cv_lib_soname_netapi:+false} :
19090 then :
19091 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19092 fi ;;
19093 esac
19094 else $as_nop
19095 ac_cv_lib_soname_netapi=
19097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19098 conftest$ac_exeext conftest.$ac_ext
19099 LIBS=$ac_check_soname_save_LIBS
19101 if ${ac_cv_lib_soname_netapi:+false} :
19102 then :
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19104 printf "%s\n" "not found" >&6; }
19105 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19107 else $as_nop
19108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19109 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19111 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19115 CPPFLAGS=$ac_save_CPPFLAGS
19118 if test "x$ac_cv_lib_soname_netapi" = "x"
19119 then :
19120 case "x$with_netapi" in
19121 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
19122 xno) ;;
19123 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
19124 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19125 esac
19126 enable_netapi=${enable_netapi:-no}
19130 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
19131 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19132 then
19133 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
19136 if test "x$with_vulkan" != "xno"
19137 then
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19139 printf %s "checking for -lvulkan... " >&6; }
19140 if test ${ac_cv_lib_soname_vulkan+y}
19141 then :
19142 printf %s "(cached) " >&6
19143 else $as_nop
19144 ac_check_soname_save_LIBS=$LIBS
19145 LIBS="-lvulkan $LIBS"
19146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19149 /* Override any GCC internal prototype to avoid an error.
19150 Use char because int might match the return type of a GCC
19151 builtin and then its argument prototype would still apply. */
19152 char vkGetInstanceProcAddr ();
19154 main (void)
19156 return vkGetInstanceProcAddr ();
19158 return 0;
19160 _ACEOF
19161 if ac_fn_c_try_link "$LINENO"
19162 then :
19163 case "$LIBEXT" in
19164 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19165 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'` ;;
19166 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19167 if ${ac_cv_lib_soname_vulkan:+false} :
19168 then :
19169 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19170 fi ;;
19171 esac
19172 else $as_nop
19173 ac_cv_lib_soname_vulkan=
19175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19176 conftest$ac_exeext conftest.$ac_ext
19177 LIBS=$ac_check_soname_save_LIBS
19179 if ${ac_cv_lib_soname_vulkan:+false} :
19180 then :
19181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19182 printf "%s\n" "not found" >&6; }
19184 else $as_nop
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19186 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19188 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19192 if test "x$ac_cv_lib_soname_vulkan" = "x"
19193 then
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19195 printf %s "checking for -lMoltenVK... " >&6; }
19196 if test ${ac_cv_lib_soname_MoltenVK+y}
19197 then :
19198 printf %s "(cached) " >&6
19199 else $as_nop
19200 ac_check_soname_save_LIBS=$LIBS
19201 LIBS="-lMoltenVK $LIBS"
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19205 /* Override any GCC internal prototype to avoid an error.
19206 Use char because int might match the return type of a GCC
19207 builtin and then its argument prototype would still apply. */
19208 char vkGetInstanceProcAddr ();
19210 main (void)
19212 return vkGetInstanceProcAddr ();
19214 return 0;
19216 _ACEOF
19217 if ac_fn_c_try_link "$LINENO"
19218 then :
19219 case "$LIBEXT" in
19220 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19221 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'` ;;
19222 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19223 if ${ac_cv_lib_soname_MoltenVK:+false} :
19224 then :
19225 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19226 fi ;;
19227 esac
19228 else $as_nop
19229 ac_cv_lib_soname_MoltenVK=
19231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19232 conftest$ac_exeext conftest.$ac_ext
19233 LIBS=$ac_check_soname_save_LIBS
19235 if ${ac_cv_lib_soname_MoltenVK:+false} :
19236 then :
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19238 printf "%s\n" "not found" >&6; }
19240 else $as_nop
19241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19242 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19244 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19246 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19251 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19252 then :
19253 case "x$with_vulkan" in
19254 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19255 xno) ;;
19256 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19257 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19258 esac
19263 if test "x${GCC}" = "xyes"
19264 then
19265 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
19267 saved_CFLAGS=$CFLAGS
19268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19269 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19270 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19271 then :
19272 printf %s "(cached) " >&6
19273 else $as_nop
19274 ac_wine_try_cflags_saved=$CFLAGS
19275 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19277 /* end confdefs.h. */
19278 int main(int argc, char **argv) { return 0; }
19279 _ACEOF
19280 if ac_fn_c_try_link "$LINENO"
19281 then :
19282 ac_cv_cflags__Werror_unknown_warning_option=yes
19283 else $as_nop
19284 ac_cv_cflags__Werror_unknown_warning_option=no
19286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19287 conftest$ac_exeext conftest.$ac_ext
19288 CFLAGS=$ac_wine_try_cflags_saved
19290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19291 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19292 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19293 then :
19294 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19297 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19298 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19299 then :
19300 printf %s "(cached) " >&6
19301 else $as_nop
19302 ac_wine_try_cflags_saved=$CFLAGS
19303 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19306 int main(int argc, char **argv) { return 0; }
19307 _ACEOF
19308 if ac_fn_c_try_link "$LINENO"
19309 then :
19310 ac_cv_cflags__Werror_unused_command_line_argument=yes
19311 else $as_nop
19312 ac_cv_cflags__Werror_unused_command_line_argument=no
19314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19315 conftest$ac_exeext conftest.$ac_ext
19316 CFLAGS=$ac_wine_try_cflags_saved
19318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19319 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19320 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19321 then :
19322 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19325 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19326 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19327 then :
19328 printf %s "(cached) " >&6
19329 else $as_nop
19330 ac_wine_try_cflags_saved=$CFLAGS
19331 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19333 /* end confdefs.h. */
19334 int main(int argc, char **argv) { return 0; }
19335 _ACEOF
19336 if ac_fn_c_try_link "$LINENO"
19337 then :
19338 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19339 else $as_nop
19340 ac_cv_cflags__Werror_ignored_optimization_argument=no
19342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19343 conftest$ac_exeext conftest.$ac_ext
19344 CFLAGS=$ac_wine_try_cflags_saved
19346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19347 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19348 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19349 then :
19350 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19353 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19354 if test ${ac_cv_cflags__fcf_protection_none+y}
19355 then :
19356 printf %s "(cached) " >&6
19357 else $as_nop
19358 ac_wine_try_cflags_saved=$CFLAGS
19359 CFLAGS="$CFLAGS -fcf-protection=none"
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 int main(int argc, char **argv) { return 0; }
19363 _ACEOF
19364 if ac_fn_c_try_link "$LINENO"
19365 then :
19366 ac_cv_cflags__fcf_protection_none=yes
19367 else $as_nop
19368 ac_cv_cflags__fcf_protection_none=no
19370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19371 conftest$ac_exeext conftest.$ac_ext
19372 CFLAGS=$ac_wine_try_cflags_saved
19374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19375 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19376 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19377 then :
19378 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19381 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19382 if test ${ac_cv_cflags__fvisibility_hidden+y}
19383 then :
19384 printf %s "(cached) " >&6
19385 else $as_nop
19386 ac_wine_try_cflags_saved=$CFLAGS
19387 CFLAGS="$CFLAGS -fvisibility=hidden"
19388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19389 /* end confdefs.h. */
19390 int main(int argc, char **argv) { return 0; }
19391 _ACEOF
19392 if ac_fn_c_try_link "$LINENO"
19393 then :
19394 ac_cv_cflags__fvisibility_hidden=yes
19395 else $as_nop
19396 ac_cv_cflags__fvisibility_hidden=no
19398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19399 conftest$ac_exeext conftest.$ac_ext
19400 CFLAGS=$ac_wine_try_cflags_saved
19402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19403 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19404 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19405 then :
19406 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19409 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19410 if test ${ac_cv_cflags__fno_stack_protector+y}
19411 then :
19412 printf %s "(cached) " >&6
19413 else $as_nop
19414 ac_wine_try_cflags_saved=$CFLAGS
19415 CFLAGS="$CFLAGS -fno-stack-protector"
19416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19417 /* end confdefs.h. */
19418 int main(int argc, char **argv) { return 0; }
19419 _ACEOF
19420 if ac_fn_c_try_link "$LINENO"
19421 then :
19422 ac_cv_cflags__fno_stack_protector=yes
19423 else $as_nop
19424 ac_cv_cflags__fno_stack_protector=no
19426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19427 conftest$ac_exeext conftest.$ac_ext
19428 CFLAGS=$ac_wine_try_cflags_saved
19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19431 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19432 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19433 then :
19434 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19437 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19438 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19439 then :
19440 printf %s "(cached) " >&6
19441 else $as_nop
19442 ac_wine_try_cflags_saved=$CFLAGS
19443 CFLAGS="$CFLAGS -fno-strict-aliasing"
19444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19445 /* end confdefs.h. */
19446 int main(int argc, char **argv) { return 0; }
19447 _ACEOF
19448 if ac_fn_c_try_link "$LINENO"
19449 then :
19450 ac_cv_cflags__fno_strict_aliasing=yes
19451 else $as_nop
19452 ac_cv_cflags__fno_strict_aliasing=no
19454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19455 conftest$ac_exeext conftest.$ac_ext
19456 CFLAGS=$ac_wine_try_cflags_saved
19458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19459 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19460 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19461 then :
19462 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19465 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19466 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19467 then :
19468 printf %s "(cached) " >&6
19469 else $as_nop
19470 ac_wine_try_cflags_saved=$CFLAGS
19471 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 int main(int argc, char **argv) { return 0; }
19475 _ACEOF
19476 if ac_fn_c_try_link "$LINENO"
19477 then :
19478 ac_cv_cflags__Wdeclaration_after_statement=yes
19479 else $as_nop
19480 ac_cv_cflags__Wdeclaration_after_statement=no
19482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19483 conftest$ac_exeext conftest.$ac_ext
19484 CFLAGS=$ac_wine_try_cflags_saved
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19487 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19488 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19489 then :
19490 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19493 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19494 if test ${ac_cv_cflags__Wempty_body+y}
19495 then :
19496 printf %s "(cached) " >&6
19497 else $as_nop
19498 ac_wine_try_cflags_saved=$CFLAGS
19499 CFLAGS="$CFLAGS -Wempty-body"
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19502 int main(int argc, char **argv) { return 0; }
19503 _ACEOF
19504 if ac_fn_c_try_link "$LINENO"
19505 then :
19506 ac_cv_cflags__Wempty_body=yes
19507 else $as_nop
19508 ac_cv_cflags__Wempty_body=no
19510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19511 conftest$ac_exeext conftest.$ac_ext
19512 CFLAGS=$ac_wine_try_cflags_saved
19514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19515 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19516 if test "x$ac_cv_cflags__Wempty_body" = xyes
19517 then :
19518 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19521 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19522 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19523 then :
19524 printf %s "(cached) " >&6
19525 else $as_nop
19526 ac_wine_try_cflags_saved=$CFLAGS
19527 CFLAGS="$CFLAGS -Wignored-qualifiers"
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 int main(int argc, char **argv) { return 0; }
19531 _ACEOF
19532 if ac_fn_c_try_link "$LINENO"
19533 then :
19534 ac_cv_cflags__Wignored_qualifiers=yes
19535 else $as_nop
19536 ac_cv_cflags__Wignored_qualifiers=no
19538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19539 conftest$ac_exeext conftest.$ac_ext
19540 CFLAGS=$ac_wine_try_cflags_saved
19542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19543 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19544 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19545 then :
19546 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19549 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19550 if test ${ac_cv_cflags__Winit_self+y}
19551 then :
19552 printf %s "(cached) " >&6
19553 else $as_nop
19554 ac_wine_try_cflags_saved=$CFLAGS
19555 CFLAGS="$CFLAGS -Winit-self"
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 int main(int argc, char **argv) { return 0; }
19559 _ACEOF
19560 if ac_fn_c_try_link "$LINENO"
19561 then :
19562 ac_cv_cflags__Winit_self=yes
19563 else $as_nop
19564 ac_cv_cflags__Winit_self=no
19566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19567 conftest$ac_exeext conftest.$ac_ext
19568 CFLAGS=$ac_wine_try_cflags_saved
19570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19571 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19572 if test "x$ac_cv_cflags__Winit_self" = xyes
19573 then :
19574 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19577 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19578 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19579 then :
19580 printf %s "(cached) " >&6
19581 else $as_nop
19582 ac_wine_try_cflags_saved=$CFLAGS
19583 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19586 int main(int argc, char **argv) { return 0; }
19587 _ACEOF
19588 if ac_fn_c_try_link "$LINENO"
19589 then :
19590 ac_cv_cflags__Wpacked_not_aligned=yes
19591 else $as_nop
19592 ac_cv_cflags__Wpacked_not_aligned=no
19594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19595 conftest$ac_exeext conftest.$ac_ext
19596 CFLAGS=$ac_wine_try_cflags_saved
19598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19599 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19600 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19601 then :
19602 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19605 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19606 if test ${ac_cv_cflags__Wpragma_pack+y}
19607 then :
19608 printf %s "(cached) " >&6
19609 else $as_nop
19610 ac_wine_try_cflags_saved=$CFLAGS
19611 CFLAGS="$CFLAGS -Wpragma-pack"
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19614 int main(int argc, char **argv) { return 0; }
19615 _ACEOF
19616 if ac_fn_c_try_link "$LINENO"
19617 then :
19618 ac_cv_cflags__Wpragma_pack=yes
19619 else $as_nop
19620 ac_cv_cflags__Wpragma_pack=no
19622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19623 conftest$ac_exeext conftest.$ac_ext
19624 CFLAGS=$ac_wine_try_cflags_saved
19626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19627 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19628 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19629 then :
19630 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19633 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19634 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19635 then :
19636 printf %s "(cached) " >&6
19637 else $as_nop
19638 ac_wine_try_cflags_saved=$CFLAGS
19639 CFLAGS="$CFLAGS -Wshift-overflow=2"
19640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19642 int main(int argc, char **argv) { return 0; }
19643 _ACEOF
19644 if ac_fn_c_try_link "$LINENO"
19645 then :
19646 ac_cv_cflags__Wshift_overflow_2=yes
19647 else $as_nop
19648 ac_cv_cflags__Wshift_overflow_2=no
19650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19651 conftest$ac_exeext conftest.$ac_ext
19652 CFLAGS=$ac_wine_try_cflags_saved
19654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19655 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19656 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19657 then :
19658 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19661 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19662 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19663 then :
19664 printf %s "(cached) " >&6
19665 else $as_nop
19666 ac_wine_try_cflags_saved=$CFLAGS
19667 CFLAGS="$CFLAGS -Wstrict-prototypes"
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 int main(int argc, char **argv) { return 0; }
19671 _ACEOF
19672 if ac_fn_c_try_link "$LINENO"
19673 then :
19674 ac_cv_cflags__Wstrict_prototypes=yes
19675 else $as_nop
19676 ac_cv_cflags__Wstrict_prototypes=no
19678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19679 conftest$ac_exeext conftest.$ac_ext
19680 CFLAGS=$ac_wine_try_cflags_saved
19682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19683 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19684 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19685 then :
19686 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19689 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19690 if test ${ac_cv_cflags__Wtype_limits+y}
19691 then :
19692 printf %s "(cached) " >&6
19693 else $as_nop
19694 ac_wine_try_cflags_saved=$CFLAGS
19695 CFLAGS="$CFLAGS -Wtype-limits"
19696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19697 /* end confdefs.h. */
19698 int main(int argc, char **argv) { return 0; }
19699 _ACEOF
19700 if ac_fn_c_try_link "$LINENO"
19701 then :
19702 ac_cv_cflags__Wtype_limits=yes
19703 else $as_nop
19704 ac_cv_cflags__Wtype_limits=no
19706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19707 conftest$ac_exeext conftest.$ac_ext
19708 CFLAGS=$ac_wine_try_cflags_saved
19710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19711 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19712 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19713 then :
19714 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19717 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19718 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19719 then :
19720 printf %s "(cached) " >&6
19721 else $as_nop
19722 ac_wine_try_cflags_saved=$CFLAGS
19723 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19725 /* end confdefs.h. */
19726 int main(int argc, char **argv) { return 0; }
19727 _ACEOF
19728 if ac_fn_c_try_link "$LINENO"
19729 then :
19730 ac_cv_cflags__Wunused_but_set_parameter=yes
19731 else $as_nop
19732 ac_cv_cflags__Wunused_but_set_parameter=no
19734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19735 conftest$ac_exeext conftest.$ac_ext
19736 CFLAGS=$ac_wine_try_cflags_saved
19738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19739 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19740 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19741 then :
19742 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19745 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19746 if test ${ac_cv_cflags__Wvla+y}
19747 then :
19748 printf %s "(cached) " >&6
19749 else $as_nop
19750 ac_wine_try_cflags_saved=$CFLAGS
19751 CFLAGS="$CFLAGS -Wvla"
19752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h. */
19754 int main(int argc, char **argv) { return 0; }
19755 _ACEOF
19756 if ac_fn_c_try_link "$LINENO"
19757 then :
19758 ac_cv_cflags__Wvla=yes
19759 else $as_nop
19760 ac_cv_cflags__Wvla=no
19762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19763 conftest$ac_exeext conftest.$ac_ext
19764 CFLAGS=$ac_wine_try_cflags_saved
19766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19767 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19768 if test "x$ac_cv_cflags__Wvla" = xyes
19769 then :
19770 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19773 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19774 if test ${ac_cv_cflags__Wwrite_strings+y}
19775 then :
19776 printf %s "(cached) " >&6
19777 else $as_nop
19778 ac_wine_try_cflags_saved=$CFLAGS
19779 CFLAGS="$CFLAGS -Wwrite-strings"
19780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19781 /* end confdefs.h. */
19782 int main(int argc, char **argv) { return 0; }
19783 _ACEOF
19784 if ac_fn_c_try_link "$LINENO"
19785 then :
19786 ac_cv_cflags__Wwrite_strings=yes
19787 else $as_nop
19788 ac_cv_cflags__Wwrite_strings=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19791 conftest$ac_exeext conftest.$ac_ext
19792 CFLAGS=$ac_wine_try_cflags_saved
19794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19795 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19796 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19797 then :
19798 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19802 printf %s "checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19803 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19804 then :
19805 printf %s "(cached) " >&6
19806 else $as_nop
19807 ac_wine_try_cflags_saved=$CFLAGS
19808 CFLAGS="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19811 int main(int argc, char **argv) { return 0; }
19812 _ACEOF
19813 if ac_fn_c_try_link "$LINENO"
19814 then :
19815 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=yes
19816 else $as_nop
19817 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=no
19819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19820 conftest$ac_exeext conftest.$ac_ext
19821 CFLAGS=$ac_wine_try_cflags_saved
19823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19824 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19825 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19826 then :
19827 EXTRACFLAGS="$EXTRACFLAGS -Wno-misleading-indentation"
19830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19831 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19832 if test ${ac_cv_cflags__Wpointer_arith+y}
19833 then :
19834 printf %s "(cached) " >&6
19835 else $as_nop
19836 ac_wine_try_cflags_saved=$CFLAGS
19837 CFLAGS="$CFLAGS -Wpointer-arith"
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840 int main(int argc, char **argv) { return 0; }
19841 _ACEOF
19842 if ac_fn_c_try_link "$LINENO"
19843 then :
19844 ac_cv_cflags__Wpointer_arith=yes
19845 else $as_nop
19846 ac_cv_cflags__Wpointer_arith=no
19848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19849 conftest$ac_exeext conftest.$ac_ext
19850 CFLAGS=$ac_wine_try_cflags_saved
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19853 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19854 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19855 then :
19856 saved_string_h_CFLAGS=$CFLAGS
19857 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19859 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19860 if test ${ac_cv_c_string_h_warnings+y}
19861 then :
19862 printf %s "(cached) " >&6
19863 else $as_nop
19864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19865 /* end confdefs.h. */
19866 #include <string.h>
19868 main (void)
19872 return 0;
19874 _ACEOF
19875 if ac_fn_c_try_compile "$LINENO"
19876 then :
19877 ac_cv_c_string_h_warnings=no
19878 else $as_nop
19879 ac_cv_c_string_h_warnings=yes
19881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19884 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19885 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19886 CFLAGS=$saved_string_h_CFLAGS
19889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19890 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19891 if test ${ac_cv_cflags__Wlogical_op+y}
19892 then :
19893 printf %s "(cached) " >&6
19894 else $as_nop
19895 ac_wine_try_cflags_saved=$CFLAGS
19896 CFLAGS="$CFLAGS -Wlogical-op"
19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898 /* end confdefs.h. */
19899 int main(int argc, char **argv) { return 0; }
19900 _ACEOF
19901 if ac_fn_c_try_link "$LINENO"
19902 then :
19903 ac_cv_cflags__Wlogical_op=yes
19904 else $as_nop
19905 ac_cv_cflags__Wlogical_op=no
19907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19908 conftest$ac_exeext conftest.$ac_ext
19909 CFLAGS=$ac_wine_try_cflags_saved
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19912 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19913 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19914 then :
19915 saved_string_h_CFLAGS=$CFLAGS
19916 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19918 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19919 if test ${ac_cv_c_logicalop_noisy+y}
19920 then :
19921 printf %s "(cached) " >&6
19922 else $as_nop
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19925 #include <string.h>
19926 char*f(const char *h,char n) {return strchr(h,n);}
19928 main (void)
19932 return 0;
19934 _ACEOF
19935 if ac_fn_c_try_compile "$LINENO"
19936 then :
19937 ac_cv_c_logicalop_noisy=no
19938 else $as_nop
19939 ac_cv_c_logicalop_noisy=yes
19941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19944 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19945 CFLAGS=$saved_string_h_CFLAGS
19946 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19950 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19951 if test ${wine_cv_64bit_compare_swap+y}
19952 then :
19953 printf %s "(cached) " >&6
19954 else $as_nop
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19958 #error no
19959 #endif
19961 main (void)
19965 return 0;
19967 _ACEOF
19968 if ac_fn_c_try_compile "$LINENO"
19969 then :
19970 wine_cv_64bit_compare_swap="none needed"
19971 else $as_nop
19972 case $HOST_ARCH in
19973 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19974 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19975 *) wine_cv_64bit_compare_swap="unknown" ;;
19976 esac
19977 if test "x$wine_cv_64bit_compare_swap" != xunknown
19978 then
19979 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19981 /* end confdefs.h. */
19982 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19983 #error no
19984 #endif
19986 main (void)
19990 return 0;
19992 _ACEOF
19993 if ac_fn_c_try_compile "$LINENO"
19994 then :
19996 else $as_nop
19997 wine_cv_64bit_compare_swap="unknown"
19999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20000 CFLAGS=$saved_CFLAGS
20003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
20006 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
20007 case "$wine_cv_64bit_compare_swap" in
20008 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
20009 "none needed") ;;
20010 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
20011 esac
20013 ac_debug_format_seen=""
20014 for ac_flag in $CFLAGS; do
20015 case $ac_flag in
20016 -gdwarf*) ac_debug_format_seen=yes ;;
20017 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
20018 esac
20019 done
20020 if test "x$ac_debug_format_seen" = xdefault
20021 then
20022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
20023 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
20024 if test ${ac_cv_cflags__gdwarf_4+y}
20025 then :
20026 printf %s "(cached) " >&6
20027 else $as_nop
20028 ac_wine_try_cflags_saved=$CFLAGS
20029 CFLAGS="$CFLAGS -gdwarf-4"
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20032 int main(int argc, char **argv) { return 0; }
20033 _ACEOF
20034 if ac_fn_c_try_link "$LINENO"
20035 then :
20036 ac_cv_cflags__gdwarf_4=yes
20037 else $as_nop
20038 ac_cv_cflags__gdwarf_4=no
20040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20041 conftest$ac_exeext conftest.$ac_ext
20042 CFLAGS=$ac_wine_try_cflags_saved
20044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
20045 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
20046 if test "x$ac_cv_cflags__gdwarf_4" = xyes
20047 then :
20048 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
20052 MSVCRTFLAGS=""
20054 case $host_os in
20055 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
20056 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
20057 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20058 then :
20059 printf %s "(cached) " >&6
20060 else $as_nop
20061 ac_wine_try_cflags_saved=$CFLAGS
20062 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
20063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20064 /* end confdefs.h. */
20065 int main(int argc, char **argv) { return 0; }
20066 _ACEOF
20067 if ac_fn_c_try_link "$LINENO"
20068 then :
20069 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
20070 else $as_nop
20071 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
20073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20074 conftest$ac_exeext conftest.$ac_ext
20075 CFLAGS=$ac_wine_try_cflags_saved
20077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20078 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20079 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20080 then :
20081 DELAYLOADFLAG="-Wl,-delayload,"
20083 fi ;;
20084 *) MSVCRTFLAGS="-D_WIN32"
20085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20086 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
20087 if test ${ac_cv_cflags__fno_builtin+y}
20088 then :
20089 printf %s "(cached) " >&6
20090 else $as_nop
20091 ac_wine_try_cflags_saved=$CFLAGS
20092 CFLAGS="$CFLAGS -fno-builtin"
20093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20094 /* end confdefs.h. */
20095 int main(int argc, char **argv) { return 0; }
20096 _ACEOF
20097 if ac_fn_c_try_link "$LINENO"
20098 then :
20099 ac_cv_cflags__fno_builtin=yes
20100 else $as_nop
20101 ac_cv_cflags__fno_builtin=no
20103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20104 conftest$ac_exeext conftest.$ac_ext
20105 CFLAGS=$ac_wine_try_cflags_saved
20107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20108 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20109 if test "x$ac_cv_cflags__fno_builtin" = xyes
20110 then :
20111 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
20113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20114 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
20115 if test ${ac_cv_cflags__fshort_wchar+y}
20116 then :
20117 printf %s "(cached) " >&6
20118 else $as_nop
20119 ac_wine_try_cflags_saved=$CFLAGS
20120 CFLAGS="$CFLAGS -fshort-wchar"
20121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20122 /* end confdefs.h. */
20123 int main(int argc, char **argv) { return 0; }
20124 _ACEOF
20125 if ac_fn_c_try_link "$LINENO"
20126 then :
20127 ac_cv_cflags__fshort_wchar=yes
20128 else $as_nop
20129 ac_cv_cflags__fshort_wchar=no
20131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20132 conftest$ac_exeext conftest.$ac_ext
20133 CFLAGS=$ac_wine_try_cflags_saved
20135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20136 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20137 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20138 then :
20139 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
20141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20142 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20143 if test ${ac_cv_cflags__Wno_format+y}
20144 then :
20145 printf %s "(cached) " >&6
20146 else $as_nop
20147 ac_wine_try_cflags_saved=$CFLAGS
20148 CFLAGS="$CFLAGS -Wno-format"
20149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20151 int main(int argc, char **argv) { return 0; }
20152 _ACEOF
20153 if ac_fn_c_try_link "$LINENO"
20154 then :
20155 ac_cv_cflags__Wno_format=yes
20156 else $as_nop
20157 ac_cv_cflags__Wno_format=no
20159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20160 conftest$ac_exeext conftest.$ac_ext
20161 CFLAGS=$ac_wine_try_cflags_saved
20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20164 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20165 if test "x$ac_cv_cflags__Wno_format" = xyes
20166 then :
20167 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
20168 fi ;;
20169 esac
20171 case $HOST_ARCH in
20172 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20173 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20174 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20175 then :
20176 printf %s "(cached) " >&6
20177 else $as_nop
20178 ac_wine_try_cflags_saved=$CFLAGS
20179 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182 int main(int argc, char **argv) { return 0; }
20183 _ACEOF
20184 if ac_fn_c_try_link "$LINENO"
20185 then :
20186 ac_cv_cflags__fno_omit_frame_pointer=yes
20187 else $as_nop
20188 ac_cv_cflags__fno_omit_frame_pointer=no
20190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20191 conftest$ac_exeext conftest.$ac_ext
20192 CFLAGS=$ac_wine_try_cflags_saved
20194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20195 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20196 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20197 then :
20198 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
20199 fi ;;
20200 x86_64)
20201 case $host_os in
20202 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20203 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20204 if test ${ac_cv_cflags__Wno_format+y}
20205 then :
20206 printf %s "(cached) " >&6
20207 else $as_nop
20208 ac_wine_try_cflags_saved=$CFLAGS
20209 CFLAGS="$CFLAGS -Wno-format"
20210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20211 /* end confdefs.h. */
20212 int main(int argc, char **argv) { return 0; }
20213 _ACEOF
20214 if ac_fn_c_try_link "$LINENO"
20215 then :
20216 ac_cv_cflags__Wno_format=yes
20217 else $as_nop
20218 ac_cv_cflags__Wno_format=no
20220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20221 conftest$ac_exeext conftest.$ac_ext
20222 CFLAGS=$ac_wine_try_cflags_saved
20224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20225 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20226 if test "x$ac_cv_cflags__Wno_format" = xyes
20227 then :
20228 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
20229 fi ;;
20230 *) if test -z "$PE_ARCHS"
20231 then
20232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20233 printf %s "checking for working -mabi=ms... " >&6; }
20234 if test ${ac_cv_mabi_ms+y}
20235 then :
20236 printf %s "(cached) " >&6
20237 else $as_nop
20238 CFLAGS="$CFLAGS -mabi=ms"
20239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20240 /* end confdefs.h. */
20241 #include <stdarg.h>
20242 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20244 main (void)
20248 return 0;
20250 _ACEOF
20251 if ac_fn_c_try_compile "$LINENO"
20252 then :
20253 ac_cv_mabi_ms=yes
20254 else $as_nop
20255 ac_cv_mabi_ms=no
20257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20258 CFLAGS=$saved_CFLAGS
20260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20261 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20262 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
20264 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
20265 esac ;;
20266 arm)
20267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20268 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20269 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20270 then :
20271 printf %s "(cached) " >&6
20272 else $as_nop
20273 ac_wine_try_cflags_saved=$CFLAGS
20274 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
20275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h. */
20277 int main(int argc, char **argv) { return 0; }
20278 _ACEOF
20279 if ac_fn_c_try_link "$LINENO"
20280 then :
20281 ac_cv_cflags__Wincompatible_function_pointer_types=yes
20282 else $as_nop
20283 ac_cv_cflags__Wincompatible_function_pointer_types=no
20285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20286 conftest$ac_exeext conftest.$ac_ext
20287 CFLAGS=$ac_wine_try_cflags_saved
20289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20290 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20291 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20292 then :
20293 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20294 fi ;;
20295 esac
20297 CFLAGS=$saved_CFLAGS
20299 if test "x$enable_werror" = "xyes"
20300 then
20301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20302 printf %s "checking whether the compiler supports -Werror... " >&6; }
20303 if test ${ac_cv_cflags__Werror+y}
20304 then :
20305 printf %s "(cached) " >&6
20306 else $as_nop
20307 ac_wine_try_cflags_saved=$CFLAGS
20308 CFLAGS="$CFLAGS -Werror"
20309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20310 /* end confdefs.h. */
20311 int main(int argc, char **argv) { return 0; }
20312 _ACEOF
20313 if ac_fn_c_try_link "$LINENO"
20314 then :
20315 ac_cv_cflags__Werror=yes
20316 else $as_nop
20317 ac_cv_cflags__Werror=no
20319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20320 conftest$ac_exeext conftest.$ac_ext
20321 CFLAGS=$ac_wine_try_cflags_saved
20323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20324 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20325 if test "x$ac_cv_cflags__Werror" = xyes
20326 then :
20327 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20330 if test "x$enable_build_id" = "xyes"
20331 then
20332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20333 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20334 if test ${ac_cv_cflags__Wl___build_id+y}
20335 then :
20336 printf %s "(cached) " >&6
20337 else $as_nop
20338 ac_wine_try_cflags_saved=$CFLAGS
20339 CFLAGS="$CFLAGS -Wl,--build-id"
20340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20341 /* end confdefs.h. */
20342 int main(int argc, char **argv) { return 0; }
20343 _ACEOF
20344 if ac_fn_c_try_link "$LINENO"
20345 then :
20346 ac_cv_cflags__Wl___build_id=yes
20347 else $as_nop
20348 ac_cv_cflags__Wl___build_id=no
20350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20351 conftest$ac_exeext conftest.$ac_ext
20352 CFLAGS=$ac_wine_try_cflags_saved
20354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20355 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20356 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20357 then :
20358 CFLAGS="$CFLAGS -Wl,--build-id"
20359 LDFLAGS="$LDFLAGS -Wl,--build-id"
20365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20366 printf %s "checking for the need to disable Fortify... " >&6; }
20367 if test ${ac_cv_c_fortify_enabled+y}
20368 then :
20369 printf %s "(cached) " >&6
20370 else $as_nop
20371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20372 /* end confdefs.h. */
20373 #include <string.h>
20375 main (void)
20377 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20378 #error Fortify enabled
20379 #endif
20381 return 0;
20383 _ACEOF
20384 if ac_fn_c_try_compile "$LINENO"
20385 then :
20386 ac_cv_c_fortify_enabled=no
20387 else $as_nop
20388 ac_cv_c_fortify_enabled=yes
20390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20393 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20394 if test "$ac_cv_c_fortify_enabled" = yes
20395 then
20396 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20401 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20402 if test ${ac_cv_c_cfi_support+y}
20403 then :
20404 printf %s "(cached) " >&6
20405 else $as_nop
20406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407 /* end confdefs.h. */
20408 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20410 main (void)
20414 return 0;
20416 _ACEOF
20417 if ac_fn_c_try_compile "$LINENO"
20418 then :
20419 ac_cv_c_cfi_support="yes"
20420 else $as_nop
20421 ac_cv_c_cfi_support="no"
20423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20426 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20427 if test "$ac_cv_c_cfi_support" = "yes"
20428 then
20429 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20430 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20431 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20432 elif test $HOST_ARCH = x86_64
20433 then
20434 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20438 case "$HOST_ARCH,$PE_ARCHS" in
20439 x86_64,*i386*) wine_binary="wine" ;;
20440 x86_64,*) wine_binary="wine64" ;;
20441 *) wine_binary="wine" ;;
20442 esac
20443 WINELOADER_PROGRAMS="$wine_binary"
20446 case $host_os in
20447 linux*)
20448 if test $HOST_ARCH != unknown
20449 then
20450 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20451 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20454 darwin*|macosx*)
20455 if test "$wine_can_build_preloader" = "yes"
20456 then
20457 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20458 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20461 esac
20464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20465 printf %s "checking for library containing dlopen... " >&6; }
20466 if test ${ac_cv_search_dlopen+y}
20467 then :
20468 printf %s "(cached) " >&6
20469 else $as_nop
20470 ac_func_search_save_LIBS=$LIBS
20471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20472 /* end confdefs.h. */
20474 /* Override any GCC internal prototype to avoid an error.
20475 Use char because int might match the return type of a GCC
20476 builtin and then its argument prototype would still apply. */
20477 char dlopen ();
20479 main (void)
20481 return dlopen ();
20483 return 0;
20485 _ACEOF
20486 for ac_lib in '' dl
20488 if test -z "$ac_lib"; then
20489 ac_res="none required"
20490 else
20491 ac_res=-l$ac_lib
20492 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20494 if ac_fn_c_try_link "$LINENO"
20495 then :
20496 ac_cv_search_dlopen=$ac_res
20498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20499 conftest$ac_exeext
20500 if test ${ac_cv_search_dlopen+y}
20501 then :
20502 break
20504 done
20505 if test ${ac_cv_search_dlopen+y}
20506 then :
20508 else $as_nop
20509 ac_cv_search_dlopen=no
20511 rm conftest.$ac_ext
20512 LIBS=$ac_func_search_save_LIBS
20514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20515 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20516 ac_res=$ac_cv_search_dlopen
20517 if test "$ac_res" != no
20518 then :
20519 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20525 printf %s "checking for library containing gethostbyname... " >&6; }
20526 if test ${ac_cv_search_gethostbyname+y}
20527 then :
20528 printf %s "(cached) " >&6
20529 else $as_nop
20530 ac_func_search_save_LIBS=$LIBS
20531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20532 /* end confdefs.h. */
20534 /* Override any GCC internal prototype to avoid an error.
20535 Use char because int might match the return type of a GCC
20536 builtin and then its argument prototype would still apply. */
20537 char gethostbyname ();
20539 main (void)
20541 return gethostbyname ();
20543 return 0;
20545 _ACEOF
20546 for ac_lib in '' nsl
20548 if test -z "$ac_lib"; then
20549 ac_res="none required"
20550 else
20551 ac_res=-l$ac_lib
20552 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20554 if ac_fn_c_try_link "$LINENO"
20555 then :
20556 ac_cv_search_gethostbyname=$ac_res
20558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20559 conftest$ac_exeext
20560 if test ${ac_cv_search_gethostbyname+y}
20561 then :
20562 break
20564 done
20565 if test ${ac_cv_search_gethostbyname+y}
20566 then :
20568 else $as_nop
20569 ac_cv_search_gethostbyname=no
20571 rm conftest.$ac_ext
20572 LIBS=$ac_func_search_save_LIBS
20574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20575 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20576 ac_res=$ac_cv_search_gethostbyname
20577 if test "$ac_res" != no
20578 then :
20579 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20585 printf %s "checking for library containing connect... " >&6; }
20586 if test ${ac_cv_search_connect+y}
20587 then :
20588 printf %s "(cached) " >&6
20589 else $as_nop
20590 ac_func_search_save_LIBS=$LIBS
20591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20594 /* Override any GCC internal prototype to avoid an error.
20595 Use char because int might match the return type of a GCC
20596 builtin and then its argument prototype would still apply. */
20597 char connect ();
20599 main (void)
20601 return connect ();
20603 return 0;
20605 _ACEOF
20606 for ac_lib in '' socket
20608 if test -z "$ac_lib"; then
20609 ac_res="none required"
20610 else
20611 ac_res=-l$ac_lib
20612 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20614 if ac_fn_c_try_link "$LINENO"
20615 then :
20616 ac_cv_search_connect=$ac_res
20618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20619 conftest$ac_exeext
20620 if test ${ac_cv_search_connect+y}
20621 then :
20622 break
20624 done
20625 if test ${ac_cv_search_connect+y}
20626 then :
20628 else $as_nop
20629 ac_cv_search_connect=no
20631 rm conftest.$ac_ext
20632 LIBS=$ac_func_search_save_LIBS
20634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20635 printf "%s\n" "$ac_cv_search_connect" >&6; }
20636 ac_res=$ac_cv_search_connect
20637 if test "$ac_res" != no
20638 then :
20639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20645 printf %s "checking for library containing inet_aton... " >&6; }
20646 if test ${ac_cv_search_inet_aton+y}
20647 then :
20648 printf %s "(cached) " >&6
20649 else $as_nop
20650 ac_func_search_save_LIBS=$LIBS
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 /* Override any GCC internal prototype to avoid an error.
20655 Use char because int might match the return type of a GCC
20656 builtin and then its argument prototype would still apply. */
20657 char inet_aton ();
20659 main (void)
20661 return inet_aton ();
20663 return 0;
20665 _ACEOF
20666 for ac_lib in '' resolv
20668 if test -z "$ac_lib"; then
20669 ac_res="none required"
20670 else
20671 ac_res=-l$ac_lib
20672 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20674 if ac_fn_c_try_link "$LINENO"
20675 then :
20676 ac_cv_search_inet_aton=$ac_res
20678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20679 conftest$ac_exeext
20680 if test ${ac_cv_search_inet_aton+y}
20681 then :
20682 break
20684 done
20685 if test ${ac_cv_search_inet_aton+y}
20686 then :
20688 else $as_nop
20689 ac_cv_search_inet_aton=no
20691 rm conftest.$ac_ext
20692 LIBS=$ac_func_search_save_LIBS
20694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20695 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20696 ac_res=$ac_cv_search_inet_aton
20697 if test "$ac_res" != no
20698 then :
20699 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20704 ac_save_CFLAGS="$CFLAGS"
20705 CFLAGS="$CFLAGS $BUILTINFLAG"
20706 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20707 if test "x$ac_cv_func_dladdr1" = xyes
20708 then :
20709 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20712 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20713 if test "x$ac_cv_func_dlinfo" = xyes
20714 then :
20715 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20718 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20719 if test "x$ac_cv_func_epoll_create" = xyes
20720 then :
20721 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20724 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20725 if test "x$ac_cv_func_fstatfs" = xyes
20726 then :
20727 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20730 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20731 if test "x$ac_cv_func_futimens" = xyes
20732 then :
20733 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20736 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20737 if test "x$ac_cv_func_futimes" = xyes
20738 then :
20739 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20742 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20743 if test "x$ac_cv_func_futimesat" = xyes
20744 then :
20745 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20748 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20749 if test "x$ac_cv_func_getaddrinfo" = xyes
20750 then :
20751 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20754 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20755 if test "x$ac_cv_func_getattrlist" = xyes
20756 then :
20757 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20760 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20761 if test "x$ac_cv_func_getauxval" = xyes
20762 then :
20763 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20766 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20767 if test "x$ac_cv_func_getifaddrs" = xyes
20768 then :
20769 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20772 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20773 if test "x$ac_cv_func_getrandom" = xyes
20774 then :
20775 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20778 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20779 if test "x$ac_cv_func_kqueue" = xyes
20780 then :
20781 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20784 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20785 if test "x$ac_cv_func_mach_continuous_time" = xyes
20786 then :
20787 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20790 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20791 if test "x$ac_cv_func_pipe2" = xyes
20792 then :
20793 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20796 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20797 if test "x$ac_cv_func_port_create" = xyes
20798 then :
20799 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20802 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20803 if test "x$ac_cv_func_posix_fadvise" = xyes
20804 then :
20805 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20808 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20809 if test "x$ac_cv_func_posix_fallocate" = xyes
20810 then :
20811 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20814 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20815 if test "x$ac_cv_func_prctl" = xyes
20816 then :
20817 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20820 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20821 if test "x$ac_cv_func_proc_pidinfo" = xyes
20822 then :
20823 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20826 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20827 if test "x$ac_cv_func_sched_yield" = xyes
20828 then :
20829 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20832 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20833 if test "x$ac_cv_func_setproctitle" = xyes
20834 then :
20835 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20838 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20839 if test "x$ac_cv_func_setprogname" = xyes
20840 then :
20841 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20844 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20845 if test "x$ac_cv_func_sigprocmask" = xyes
20846 then :
20847 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20850 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20851 if test "x$ac_cv_func_sysinfo" = xyes
20852 then :
20853 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20856 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20857 if test "x$ac_cv_func_tcdrain" = xyes
20858 then :
20859 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20862 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20863 if test "x$ac_cv_func_thr_kill2" = xyes
20864 then :
20865 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20869 CFLAGS="$ac_save_CFLAGS"
20871 case $host_os in
20872 darwin*|macosx*) ;;
20873 *) ac_save_LIBS=$LIBS
20874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20875 printf %s "checking for library containing clock_gettime... " >&6; }
20876 if test ${ac_cv_search_clock_gettime+y}
20877 then :
20878 printf %s "(cached) " >&6
20879 else $as_nop
20880 ac_func_search_save_LIBS=$LIBS
20881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20882 /* end confdefs.h. */
20884 /* Override any GCC internal prototype to avoid an error.
20885 Use char because int might match the return type of a GCC
20886 builtin and then its argument prototype would still apply. */
20887 char clock_gettime ();
20889 main (void)
20891 return clock_gettime ();
20893 return 0;
20895 _ACEOF
20896 for ac_lib in '' rt
20898 if test -z "$ac_lib"; then
20899 ac_res="none required"
20900 else
20901 ac_res=-l$ac_lib
20902 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20904 if ac_fn_c_try_link "$LINENO"
20905 then :
20906 ac_cv_search_clock_gettime=$ac_res
20908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20909 conftest$ac_exeext
20910 if test ${ac_cv_search_clock_gettime+y}
20911 then :
20912 break
20914 done
20915 if test ${ac_cv_search_clock_gettime+y}
20916 then :
20918 else $as_nop
20919 ac_cv_search_clock_gettime=no
20921 rm conftest.$ac_ext
20922 LIBS=$ac_func_search_save_LIBS
20924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20925 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20926 ac_res=$ac_cv_search_clock_gettime
20927 if test "$ac_res" != no
20928 then :
20929 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20931 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20933 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20937 LIBS=$ac_save_LIBS
20939 esac
20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20942 printf %s "checking for sched_setaffinity... " >&6; }
20943 if test ${wine_cv_have_sched_setaffinity+y}
20944 then :
20945 printf %s "(cached) " >&6
20946 else $as_nop
20947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20948 /* end confdefs.h. */
20949 #include <sched.h>
20951 main (void)
20953 sched_setaffinity(0, 0, 0);
20955 return 0;
20957 _ACEOF
20958 if ac_fn_c_try_link "$LINENO"
20959 then :
20960 wine_cv_have_sched_setaffinity=yes
20961 else $as_nop
20962 wine_cv_have_sched_setaffinity=no
20964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20965 conftest$ac_exeext conftest.$ac_ext
20967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20968 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20969 if test "$wine_cv_have_sched_setaffinity" = "yes"
20970 then
20972 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20978 printf %s "checking for inline... " >&6; }
20979 if test ${ac_cv_c_inline+y}
20980 then :
20981 printf %s "(cached) " >&6
20982 else $as_nop
20983 ac_cv_c_inline=no
20984 for ac_kw in inline __inline__ __inline; do
20985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h. */
20987 #ifndef __cplusplus
20988 typedef int foo_t;
20989 static $ac_kw foo_t static_foo (void) {return 0; }
20990 $ac_kw foo_t foo (void) {return 0; }
20991 #endif
20993 _ACEOF
20994 if ac_fn_c_try_compile "$LINENO"
20995 then :
20996 ac_cv_c_inline=$ac_kw
20998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20999 test "$ac_cv_c_inline" != no && break
21000 done
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
21004 printf "%s\n" "$ac_cv_c_inline" >&6; }
21006 case $ac_cv_c_inline in
21007 inline | yes) ;;
21009 case $ac_cv_c_inline in
21010 no) ac_val=;;
21011 *) ac_val=$ac_cv_c_inline;;
21012 esac
21013 cat >>confdefs.h <<_ACEOF
21014 #ifndef __cplusplus
21015 #define inline $ac_val
21016 #endif
21017 _ACEOF
21019 esac
21021 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
21023 if test "x$ac_cv_type_request_sense" = xyes
21024 then :
21026 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
21032 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
21033 #include <sys/socket.h>
21034 #ifdef HAVE_SYS_SOCKETVAR_H
21035 #include <sys/socketvar.h>
21036 #endif
21037 #ifdef HAVE_NET_ROUTE_H
21038 #include <net/route.h>
21039 #endif
21040 #ifdef HAVE_NETINET_IN_H
21041 #include <netinet/in.h>
21042 #endif
21043 #ifdef HAVE_NETINET_IN_SYSTM_H
21044 #include <netinet/in_systm.h>
21045 #endif
21046 #ifdef HAVE_NETINET_IP_H
21047 #include <netinet/ip.h>
21048 #endif
21049 #ifdef HAVE_NETINET_IN_PCB_H
21050 #include <netinet/in_pcb.h>
21051 #endif
21053 if test "x$ac_cv_type_struct_xinpgen" = xyes
21054 then :
21056 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21063 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21064 if test ${wine_cv_linux_gethostbyname_r_6+y}
21065 then :
21066 printf %s "(cached) " >&6
21067 else $as_nop
21068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21069 /* end confdefs.h. */
21070 #include <netdb.h>
21072 main (void)
21075 char *name=0;
21076 struct hostent he;
21077 struct hostent *result;
21078 char *buf=0;
21079 int bufsize=0;
21080 int errnr;
21081 char *addr=0;
21082 int addrlen=0;
21083 int addrtype=0;
21084 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21085 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21088 return 0;
21090 _ACEOF
21091 if ac_fn_c_try_link "$LINENO"
21092 then :
21093 wine_cv_linux_gethostbyname_r_6=yes
21094 else $as_nop
21095 wine_cv_linux_gethostbyname_r_6=no
21098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21099 conftest$ac_exeext conftest.$ac_ext
21102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21103 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21104 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21105 then
21107 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21111 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21112 #include <sys/socket.h>
21113 #ifdef HAVE_SYS_UN_H
21114 # include <sys/un.h>
21115 #endif
21117 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21118 then :
21120 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21126 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21127 #ifdef HAVE_SCSI_SG_H
21128 #include <scsi/sg.h>
21129 #endif
21131 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21132 then :
21134 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21138 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>
21139 #ifdef HAVE_SCSI_SG_H
21140 #include <scsi/sg.h>
21141 #endif
21143 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21144 then :
21146 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21152 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21154 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21155 then :
21157 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21163 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21164 #ifdef HAVE_SYS_MTIO_H
21165 #include <sys/mtio.h>
21166 #endif
21168 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21169 then :
21171 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21175 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21176 #ifdef HAVE_SYS_MTIO_H
21177 #include <sys/mtio.h>
21178 #endif
21180 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21181 then :
21183 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21187 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21188 #ifdef HAVE_SYS_MTIO_H
21189 #include <sys/mtio.h>
21190 #endif
21192 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21193 then :
21195 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21201 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21202 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21203 then :
21205 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21209 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21210 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21211 then :
21213 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21217 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21218 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21219 then :
21221 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21225 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21226 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21227 then :
21229 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21233 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21234 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21235 then :
21237 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21241 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21242 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21243 then :
21245 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21249 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21250 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21251 then :
21253 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21257 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21258 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21259 then :
21261 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21265 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21266 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21267 then :
21269 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21273 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21274 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21275 then :
21277 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21281 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21282 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21283 then :
21285 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21291 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>
21292 #ifdef HAVE_NETINET_IN_H
21293 #include <netinet/in.h>
21294 #endif
21296 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21297 then :
21299 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21305 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
21306 #include <resolv.h>
21307 #endif
21309 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21310 then :
21312 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21318 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21319 #include <netinet/in.h>
21320 #endif
21322 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21323 then :
21325 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21331 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21332 #ifdef HAVE_SYS_SOCKETVAR_H
21333 #include <sys/socketvar.h>
21334 #endif
21335 #ifdef HAVE_NETINET_IN_H
21336 #include <netinet/in.h>
21337 #endif
21338 #ifdef HAVE_NETINET_IP_VAR_H
21339 #include <netinet/ip_var.h>
21340 #endif
21342 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21343 then :
21345 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21351 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
21352 #include <netinet/ip_var.h>
21353 #endif
21355 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21356 then :
21358 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21364 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21365 #ifdef HAVE_SYS_SOCKETVAR_H
21366 #include <sys/socketvar.h>
21367 #endif
21368 #ifdef HAVE_NETINET_IN_H
21369 #include <netinet/in.h>
21370 #endif
21371 #ifdef HAVE_NETINET6_IP6_VAR_H
21372 #include <netinet6/ip6_var.h>
21373 #endif
21375 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21376 then :
21378 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21384 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21385 #ifdef HAVE_SYS_SOCKETVAR_H
21386 #include <sys/socketvar.h>
21387 #endif
21388 #ifdef HAVE_NETINET_IN_H
21389 #include <netinet/in.h>
21390 #endif
21391 #ifdef HAVE_NETINET_IP_H
21392 #include <netinet/ip.h>
21393 #endif
21394 #ifdef HAVE_NETINET_IP_ICMP_H
21395 #include <netinet/ip_icmp.h>
21396 #endif
21397 #ifdef HAVE_NETINET_ICMP_VAR_H
21398 #include <netinet/icmp_var.h>
21399 #endif
21401 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21402 then :
21404 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21410 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21411 #ifdef HAVE_SYS_SOCKETVAR_H
21412 #include <sys/socketvar.h>
21413 #endif
21414 #ifdef HAVE_NETINET_IN_H
21415 #include <netinet/in.h>
21416 #endif
21417 #ifdef HAVE_NETINET_ICMP6_H
21418 #include <netinet/icmp6.h>
21419 #endif
21421 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21422 then :
21424 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21430 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21431 #ifdef HAVE_SYS_SOCKETVAR_H
21432 #include <sys/socketvar.h>
21433 #endif
21434 #ifdef HAVE_NETINET_IN_H
21435 #include <netinet/in.h>
21436 #endif
21437 #ifdef HAVE_NETINET_TCP_H
21438 #include <netinet/tcp.h>
21439 #endif
21440 #ifdef HAVE_NETINET_TCP_VAR_H
21441 #include <netinet/tcp_var.h>
21442 #endif
21444 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21445 then :
21447 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21453 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
21454 #include <netinet/tcp_var.h>
21455 #endif
21457 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21458 then :
21460 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21466 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21467 #ifdef HAVE_NETINET_IN_H
21468 #include <netinet/in.h>
21469 #endif
21470 #ifdef HAVE_NETINET_IP_VAR_H
21471 #include <netinet/ip_var.h>
21472 #endif
21473 #ifdef HAVE_NETINET_UDP_H
21474 #include <netinet/udp.h>
21475 #endif
21476 #ifdef HAVE_NETINET_UDP_VAR_H
21477 #include <netinet/udp_var.h>
21478 #endif
21480 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21481 then :
21483 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21489 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21490 #ifdef HAVE_NET_IF_H
21491 # include <net/if.h>
21492 #endif
21494 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21495 then :
21497 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21503 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21504 # include <sys/sysinfo.h>
21505 #endif
21507 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21508 then :
21510 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21514 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21515 # include <sys/sysinfo.h>
21516 #endif
21518 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21519 then :
21521 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21527 LIBS="$ac_save_LIBS"
21529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21530 printf %s "checking for __builtin_popcount... " >&6; }
21531 if test ${ac_cv_have___builtin_popcount+y}
21532 then :
21533 printf %s "(cached) " >&6
21534 else $as_nop
21535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21536 /* end confdefs.h. */
21539 main (void)
21541 return __builtin_popcount(1)
21543 return 0;
21545 _ACEOF
21546 if ac_fn_c_try_link "$LINENO"
21547 then :
21548 ac_cv_have___builtin_popcount="yes"
21549 else $as_nop
21550 ac_cv_have___builtin_popcount="no"
21552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21553 conftest$ac_exeext conftest.$ac_ext
21555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21556 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21557 if test "$ac_cv_have___builtin_popcount" = "yes"
21558 then
21560 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21565 printf %s "checking for __clear_cache... " >&6; }
21566 if test ${ac_cv_have___clear_cache+y}
21567 then :
21568 printf %s "(cached) " >&6
21569 else $as_nop
21570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21571 /* end confdefs.h. */
21574 main (void)
21576 __clear_cache((void*)0, (void*)0); return 0;
21578 return 0;
21580 _ACEOF
21581 if ac_fn_c_try_link "$LINENO"
21582 then :
21583 ac_cv_have___clear_cache="yes"
21584 else $as_nop
21585 ac_cv_have___clear_cache="no"
21587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21588 conftest$ac_exeext conftest.$ac_ext
21590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21591 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21592 if test "$ac_cv_have___clear_cache" = "yes"
21593 then
21595 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21600 case $host_cpu in
21601 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21602 printf %s "checking whether we need to define __i386__... " >&6; }
21603 if test ${ac_cv_cpp_def___i386__+y}
21604 then :
21605 printf %s "(cached) " >&6
21606 else $as_nop
21607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21608 /* end confdefs.h. */
21609 #ifndef __i386__
21611 #endif
21612 _ACEOF
21613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21614 $EGREP "yes" >/dev/null 2>&1
21615 then :
21616 ac_cv_cpp_def___i386__=yes
21617 else $as_nop
21618 ac_cv_cpp_def___i386__=no
21620 rm -rf conftest*
21623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21624 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21625 if test "x$ac_cv_cpp_def___i386__" = xyes
21626 then :
21627 CFLAGS="$CFLAGS -D__i386__"
21628 LINTFLAGS="$LINTFLAGS -D__i386__"
21629 fi ;;
21630 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21631 printf %s "checking whether we need to define __x86_64__... " >&6; }
21632 if test ${ac_cv_cpp_def___x86_64__+y}
21633 then :
21634 printf %s "(cached) " >&6
21635 else $as_nop
21636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h. */
21638 #ifndef __x86_64__
21640 #endif
21641 _ACEOF
21642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21643 $EGREP "yes" >/dev/null 2>&1
21644 then :
21645 ac_cv_cpp_def___x86_64__=yes
21646 else $as_nop
21647 ac_cv_cpp_def___x86_64__=no
21649 rm -rf conftest*
21652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21653 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21654 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21655 then :
21656 CFLAGS="$CFLAGS -D__x86_64__"
21657 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21658 fi ;;
21659 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21660 printf %s "checking whether we need to define __sparc64__... " >&6; }
21661 if test ${ac_cv_cpp_def___sparc64__+y}
21662 then :
21663 printf %s "(cached) " >&6
21664 else $as_nop
21665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21666 /* end confdefs.h. */
21667 #ifndef __sparc64__
21669 #endif
21670 _ACEOF
21671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21672 $EGREP "yes" >/dev/null 2>&1
21673 then :
21674 ac_cv_cpp_def___sparc64__=yes
21675 else $as_nop
21676 ac_cv_cpp_def___sparc64__=no
21678 rm -rf conftest*
21681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21682 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21683 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21684 then :
21685 CFLAGS="$CFLAGS -D__sparc64__"
21686 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21687 fi ;;
21688 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21689 printf %s "checking whether we need to define __sparc__... " >&6; }
21690 if test ${ac_cv_cpp_def___sparc__+y}
21691 then :
21692 printf %s "(cached) " >&6
21693 else $as_nop
21694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21695 /* end confdefs.h. */
21696 #ifndef __sparc__
21698 #endif
21699 _ACEOF
21700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21701 $EGREP "yes" >/dev/null 2>&1
21702 then :
21703 ac_cv_cpp_def___sparc__=yes
21704 else $as_nop
21705 ac_cv_cpp_def___sparc__=no
21707 rm -rf conftest*
21710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21711 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21712 if test "x$ac_cv_cpp_def___sparc__" = xyes
21713 then :
21714 CFLAGS="$CFLAGS -D__sparc__"
21715 LINTFLAGS="$LINTFLAGS -D__sparc__"
21716 fi ;;
21717 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21718 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21719 if test ${ac_cv_cpp_def___powerpc64__+y}
21720 then :
21721 printf %s "(cached) " >&6
21722 else $as_nop
21723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21724 /* end confdefs.h. */
21725 #ifndef __powerpc64__
21727 #endif
21728 _ACEOF
21729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21730 $EGREP "yes" >/dev/null 2>&1
21731 then :
21732 ac_cv_cpp_def___powerpc64__=yes
21733 else $as_nop
21734 ac_cv_cpp_def___powerpc64__=no
21736 rm -rf conftest*
21739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21740 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21741 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21742 then :
21743 CFLAGS="$CFLAGS -D__powerpc64__"
21744 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21745 fi ;;
21746 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21747 printf %s "checking whether we need to define __powerpc__... " >&6; }
21748 if test ${ac_cv_cpp_def___powerpc__+y}
21749 then :
21750 printf %s "(cached) " >&6
21751 else $as_nop
21752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21753 /* end confdefs.h. */
21754 #ifndef __powerpc__
21756 #endif
21757 _ACEOF
21758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21759 $EGREP "yes" >/dev/null 2>&1
21760 then :
21761 ac_cv_cpp_def___powerpc__=yes
21762 else $as_nop
21763 ac_cv_cpp_def___powerpc__=no
21765 rm -rf conftest*
21768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21769 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21770 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21771 then :
21772 CFLAGS="$CFLAGS -D__powerpc__"
21773 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21774 fi ;;
21775 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21776 printf %s "checking whether we need to define __aarch64__... " >&6; }
21777 if test ${ac_cv_cpp_def___aarch64__+y}
21778 then :
21779 printf %s "(cached) " >&6
21780 else $as_nop
21781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21782 /* end confdefs.h. */
21783 #ifndef __aarch64__
21785 #endif
21786 _ACEOF
21787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21788 $EGREP "yes" >/dev/null 2>&1
21789 then :
21790 ac_cv_cpp_def___aarch64__=yes
21791 else $as_nop
21792 ac_cv_cpp_def___aarch64__=no
21794 rm -rf conftest*
21797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21798 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21799 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21800 then :
21801 CFLAGS="$CFLAGS -D__aarch64__"
21802 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21803 fi ;;
21804 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21805 printf %s "checking whether we need to define __arm__... " >&6; }
21806 if test ${ac_cv_cpp_def___arm__+y}
21807 then :
21808 printf %s "(cached) " >&6
21809 else $as_nop
21810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21811 /* end confdefs.h. */
21812 #ifndef __arm__
21814 #endif
21815 _ACEOF
21816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21817 $EGREP "yes" >/dev/null 2>&1
21818 then :
21819 ac_cv_cpp_def___arm__=yes
21820 else $as_nop
21821 ac_cv_cpp_def___arm__=no
21823 rm -rf conftest*
21826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21827 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21828 if test "x$ac_cv_cpp_def___arm__" = xyes
21829 then :
21830 CFLAGS="$CFLAGS -D__arm__"
21831 LINTFLAGS="$LINTFLAGS -D__arm__"
21832 fi ;;
21833 esac
21835 case $host_vendor in
21836 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21837 printf %s "checking whether we need to define __sun__... " >&6; }
21838 if test ${ac_cv_cpp_def___sun__+y}
21839 then :
21840 printf %s "(cached) " >&6
21841 else $as_nop
21842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21843 /* end confdefs.h. */
21844 #ifndef __sun__
21846 #endif
21847 _ACEOF
21848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21849 $EGREP "yes" >/dev/null 2>&1
21850 then :
21851 ac_cv_cpp_def___sun__=yes
21852 else $as_nop
21853 ac_cv_cpp_def___sun__=no
21855 rm -rf conftest*
21858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21859 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21860 if test "x$ac_cv_cpp_def___sun__" = xyes
21861 then :
21862 CFLAGS="$CFLAGS -D__sun__"
21863 LINTFLAGS="$LINTFLAGS -D__sun__"
21864 fi ;;
21865 esac
21868 enable_win16=${enable_win16:-i386}
21869 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
21871 if test -n "$PE_ARCHS"
21872 then
21873 enable_wow64=${enable_wow64:-aarch64,x86_64}
21874 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
21875 enable_wow64cpu=${enable_wow64cpu:-x86_64}
21876 else
21877 enable_wow64=${enable_wow64:-no}
21878 enable_wow64win=${enable_wow64win:-no}
21879 enable_wow64cpu=${enable_wow64cpu:-no}
21882 enable_cmd=${enable_cmd:-yes}
21883 enable_dllhost=${enable_dllhost:-yes}
21884 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
21885 enable_dxdiag=${enable_dxdiag:-yes}
21886 enable_msiexec=${enable_msiexec:-yes}
21887 enable_netsh=${enable_netsh:-yes}
21888 enable_regsvr32=${enable_regsvr32:-yes}
21889 enable_rundll32=${enable_rundll32:-yes}
21891 enable_winetest=${enable_winetest:-$enable_tests}
21897 ac_config_commands="$ac_config_commands include/stamp-h"
21899 printf %s "creating Makefile rules..." >&6
21901 makedep_flags=""
21902 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21904 wine_srcdir=
21905 test "$srcdir" = . || wine_srcdir="$srcdir/"
21907 ac_config_links="$ac_config_links wine:tools/winewrapper"
21908 wine_fn_config_symlink wine
21909 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21910 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21911 wine_fn_config_symlink wine64
21914 wine_fn_config_makefile dlls/acledit enable_acledit
21915 wine_fn_config_makefile dlls/aclui enable_aclui
21916 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21917 wine_fn_config_makefile dlls/activeds enable_activeds
21918 wine_fn_config_makefile dlls/activeds/tests enable_tests
21919 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21920 wine_fn_config_makefile dlls/adsldp enable_adsldp
21921 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21922 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21923 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21924 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21925 wine_fn_config_makefile dlls/advpack enable_advpack
21926 wine_fn_config_makefile dlls/advpack/tests enable_tests
21927 wine_fn_config_makefile dlls/amsi enable_amsi
21928 wine_fn_config_makefile dlls/amstream enable_amstream
21929 wine_fn_config_makefile dlls/amstream/tests enable_tests
21930 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21931 wine_fn_config_makefile dlls/apphelp enable_apphelp
21932 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21933 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21934 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21935 wine_fn_config_makefile dlls/atl enable_atl
21936 wine_fn_config_makefile dlls/atl/tests enable_tests
21937 wine_fn_config_makefile dlls/atl100 enable_atl100
21938 wine_fn_config_makefile dlls/atl100/tests enable_tests
21939 wine_fn_config_makefile dlls/atl110 enable_atl110
21940 wine_fn_config_makefile dlls/atl110/tests enable_tests
21941 wine_fn_config_makefile dlls/atl80 enable_atl80
21942 wine_fn_config_makefile dlls/atl80/tests enable_tests
21943 wine_fn_config_makefile dlls/atl90 enable_atl90
21944 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21945 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21946 wine_fn_config_makefile dlls/atmlib enable_atmlib
21947 wine_fn_config_makefile dlls/authz enable_authz
21948 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21949 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21950 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21951 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21952 wine_fn_config_makefile dlls/avrt enable_avrt
21953 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21954 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21955 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21956 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21957 wine_fn_config_makefile dlls/browseui enable_browseui
21958 wine_fn_config_makefile dlls/browseui/tests enable_tests
21959 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21960 wine_fn_config_makefile dlls/cabinet enable_cabinet
21961 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21962 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21963 wine_fn_config_makefile dlls/cards enable_cards
21964 wine_fn_config_makefile dlls/cdosys enable_cdosys
21965 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21966 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21967 wine_fn_config_makefile dlls/clusapi enable_clusapi
21968 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21969 wine_fn_config_makefile dlls/combase enable_combase
21970 wine_fn_config_makefile dlls/combase/tests enable_tests
21971 wine_fn_config_makefile dlls/comcat enable_comcat
21972 wine_fn_config_makefile dlls/comcat/tests enable_tests
21973 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21974 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21975 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21976 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21977 wine_fn_config_makefile dlls/coml2 enable_coml2
21978 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21979 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21980 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21981 wine_fn_config_makefile dlls/compstui enable_compstui
21982 wine_fn_config_makefile dlls/compstui/tests enable_tests
21983 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21984 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21985 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21986 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21987 wine_fn_config_makefile dlls/connect enable_connect
21988 wine_fn_config_makefile dlls/credui enable_credui
21989 wine_fn_config_makefile dlls/credui/tests enable_tests
21990 wine_fn_config_makefile dlls/crtdll enable_crtdll
21991 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21992 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21993 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21994 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21995 wine_fn_config_makefile dlls/cryptext enable_cryptext
21996 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21997 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21998 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21999 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
22000 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
22001 wine_fn_config_makefile dlls/cryptui enable_cryptui
22002 wine_fn_config_makefile dlls/cryptui/tests enable_tests
22003 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
22004 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
22005 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
22006 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
22007 wine_fn_config_makefile dlls/d2d1 enable_d2d1
22008 wine_fn_config_makefile dlls/d2d1/tests enable_tests
22009 wine_fn_config_makefile dlls/d3d10 enable_d3d10
22010 wine_fn_config_makefile dlls/d3d10/tests enable_tests
22011 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
22012 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
22013 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
22014 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
22015 wine_fn_config_makefile dlls/d3d11 enable_d3d11
22016 wine_fn_config_makefile dlls/d3d11/tests enable_tests
22017 wine_fn_config_makefile dlls/d3d12 enable_d3d12
22018 wine_fn_config_makefile dlls/d3d12/tests enable_tests
22019 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
22020 wine_fn_config_makefile dlls/d3d8 enable_d3d8
22021 wine_fn_config_makefile dlls/d3d8/tests enable_tests
22022 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
22023 wine_fn_config_makefile dlls/d3d9 enable_d3d9
22024 wine_fn_config_makefile dlls/d3d9/tests enable_tests
22025 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
22026 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
22027 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
22028 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
22029 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
22030 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
22031 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
22032 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
22033 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
22034 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
22035 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
22036 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
22037 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
22038 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
22039 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
22040 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
22041 wine_fn_config_makefile dlls/d3dim enable_d3dim
22042 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
22043 wine_fn_config_makefile dlls/d3drm enable_d3drm
22044 wine_fn_config_makefile dlls/d3drm/tests enable_tests
22045 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
22046 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
22047 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
22048 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
22049 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
22050 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
22051 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
22052 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
22053 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
22054 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
22055 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
22056 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
22057 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
22058 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
22059 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
22060 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
22061 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
22062 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
22063 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
22064 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
22065 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
22066 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
22067 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
22068 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
22069 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
22070 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
22071 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
22072 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
22073 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
22074 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
22075 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
22076 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
22077 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
22078 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
22079 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
22080 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
22081 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
22082 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
22083 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
22084 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
22085 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
22086 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
22087 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
22088 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
22089 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
22090 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
22091 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
22092 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
22093 wine_fn_config_makefile dlls/davclnt enable_davclnt
22094 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
22095 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
22096 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
22097 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
22098 wine_fn_config_makefile dlls/dciman32 enable_dciman32
22099 wine_fn_config_makefile dlls/dcomp enable_dcomp
22100 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
22101 wine_fn_config_makefile dlls/ddraw enable_ddraw
22102 wine_fn_config_makefile dlls/ddraw/tests enable_tests
22103 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
22104 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
22105 wine_fn_config_makefile dlls/devenum enable_devenum
22106 wine_fn_config_makefile dlls/devenum/tests enable_tests
22107 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
22108 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
22109 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
22110 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
22111 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
22112 wine_fn_config_makefile dlls/difxapi enable_difxapi
22113 wine_fn_config_makefile dlls/dinput enable_dinput
22114 wine_fn_config_makefile dlls/dinput/tests enable_tests
22115 wine_fn_config_makefile dlls/dinput8 enable_dinput8
22116 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
22117 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
22118 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
22119 wine_fn_config_makefile dlls/dispex enable_dispex
22120 wine_fn_config_makefile dlls/dispex/tests enable_tests
22121 wine_fn_config_makefile dlls/display.drv16 enable_win16
22122 wine_fn_config_makefile dlls/dmband enable_dmband
22123 wine_fn_config_makefile dlls/dmband/tests enable_tests
22124 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
22125 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
22126 wine_fn_config_makefile dlls/dmime enable_dmime
22127 wine_fn_config_makefile dlls/dmime/tests enable_tests
22128 wine_fn_config_makefile dlls/dmloader enable_dmloader
22129 wine_fn_config_makefile dlls/dmloader/tests enable_tests
22130 wine_fn_config_makefile dlls/dmscript enable_dmscript
22131 wine_fn_config_makefile dlls/dmscript/tests enable_tests
22132 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
22133 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
22134 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
22135 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
22136 wine_fn_config_makefile dlls/dmusic enable_dmusic
22137 wine_fn_config_makefile dlls/dmusic/tests enable_tests
22138 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
22139 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
22140 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
22141 wine_fn_config_makefile dlls/dplay enable_dplay
22142 wine_fn_config_makefile dlls/dplayx enable_dplayx
22143 wine_fn_config_makefile dlls/dplayx/tests enable_tests
22144 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
22145 wine_fn_config_makefile dlls/dpnet enable_dpnet
22146 wine_fn_config_makefile dlls/dpnet/tests enable_tests
22147 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
22148 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
22149 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
22150 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
22151 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
22152 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
22153 wine_fn_config_makefile dlls/drmclien enable_drmclien
22154 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
22155 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
22156 wine_fn_config_makefile dlls/dsound enable_dsound
22157 wine_fn_config_makefile dlls/dsound/tests enable_tests
22158 wine_fn_config_makefile dlls/dsquery enable_dsquery
22159 wine_fn_config_makefile dlls/dssenh enable_dssenh
22160 wine_fn_config_makefile dlls/dssenh/tests enable_tests
22161 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
22162 wine_fn_config_makefile dlls/dswave enable_dswave
22163 wine_fn_config_makefile dlls/dswave/tests enable_tests
22164 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
22165 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
22166 wine_fn_config_makefile dlls/dwrite enable_dwrite
22167 wine_fn_config_makefile dlls/dwrite/tests enable_tests
22168 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
22169 wine_fn_config_makefile dlls/dxcore enable_dxcore
22170 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
22171 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
22172 wine_fn_config_makefile dlls/dxgi enable_dxgi
22173 wine_fn_config_makefile dlls/dxgi/tests enable_tests
22174 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
22175 wine_fn_config_makefile dlls/dxva2 enable_dxva2
22176 wine_fn_config_makefile dlls/dxva2/tests enable_tests
22177 wine_fn_config_makefile dlls/esent enable_esent
22178 wine_fn_config_makefile dlls/evr enable_evr
22179 wine_fn_config_makefile dlls/evr/tests enable_tests
22180 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
22181 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
22182 wine_fn_config_makefile dlls/faultrep enable_faultrep
22183 wine_fn_config_makefile dlls/faultrep/tests enable_tests
22184 wine_fn_config_makefile dlls/feclient enable_feclient
22185 wine_fn_config_makefile dlls/fltlib enable_fltlib
22186 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
22187 wine_fn_config_makefile dlls/fntcache enable_fntcache
22188 wine_fn_config_makefile dlls/fontsub enable_fontsub
22189 wine_fn_config_makefile dlls/fusion enable_fusion
22190 wine_fn_config_makefile dlls/fusion/tests enable_tests
22191 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
22192 wine_fn_config_makefile dlls/gameux enable_gameux
22193 wine_fn_config_makefile dlls/gameux/tests enable_tests
22194 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
22195 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
22196 wine_fn_config_makefile dlls/gdi32 enable_gdi32
22197 wine_fn_config_makefile dlls/gdi32/tests enable_tests
22198 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
22199 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
22200 wine_fn_config_makefile dlls/geolocation enable_geolocation
22201 wine_fn_config_makefile dlls/geolocation/tests enable_tests
22202 wine_fn_config_makefile dlls/glu32 enable_glu32
22203 wine_fn_config_makefile dlls/glu32/tests enable_tests
22204 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
22205 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
22206 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
22207 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
22208 wine_fn_config_makefile dlls/hal enable_hal
22209 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
22210 wine_fn_config_makefile dlls/hid enable_hid
22211 wine_fn_config_makefile dlls/hid/tests enable_tests
22212 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
22213 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22214 wine_fn_config_makefile dlls/hlink enable_hlink
22215 wine_fn_config_makefile dlls/hlink/tests enable_tests
22216 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22217 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22218 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
22219 wine_fn_config_makefile dlls/http.sys enable_http_sys
22220 wine_fn_config_makefile dlls/httpapi enable_httpapi
22221 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22222 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
22223 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
22224 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
22225 wine_fn_config_makefile dlls/iccvid enable_iccvid
22226 wine_fn_config_makefile dlls/icmp enable_icmp
22227 wine_fn_config_makefile dlls/ieframe enable_ieframe
22228 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22229 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22230 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22231 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22232 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22233 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22234 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22235 wine_fn_config_makefile dlls/imm32 enable_imm32
22236 wine_fn_config_makefile dlls/imm32/tests enable_tests
22237 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22238 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22239 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22240 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22241 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22242 wine_fn_config_makefile dlls/infosoft enable_infosoft
22243 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22244 wine_fn_config_makefile dlls/initpki enable_initpki
22245 wine_fn_config_makefile dlls/inkobj enable_inkobj
22246 wine_fn_config_makefile dlls/inseng enable_inseng
22247 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22248 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22249 wine_fn_config_makefile dlls/iprop enable_iprop
22250 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
22251 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22252 wine_fn_config_makefile dlls/itircl enable_itircl
22253 wine_fn_config_makefile dlls/itss enable_itss
22254 wine_fn_config_makefile dlls/itss/tests enable_tests
22255 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22256 wine_fn_config_makefile dlls/jscript enable_jscript
22257 wine_fn_config_makefile dlls/jscript/tests enable_tests
22258 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22259 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22260 wine_fn_config_makefile dlls/kerberos enable_kerberos
22261 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22262 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22263 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22264 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22265 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22266 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22267 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22268 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22269 wine_fn_config_makefile dlls/ksuser enable_ksuser
22270 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22271 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22272 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22273 wine_fn_config_makefile dlls/loadperf enable_loadperf
22274 wine_fn_config_makefile dlls/localspl enable_localspl
22275 wine_fn_config_makefile dlls/localspl/tests enable_tests
22276 wine_fn_config_makefile dlls/localui enable_localui
22277 wine_fn_config_makefile dlls/localui/tests enable_tests
22278 wine_fn_config_makefile dlls/lz32 enable_lz32
22279 wine_fn_config_makefile dlls/lz32/tests enable_tests
22280 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22281 wine_fn_config_makefile dlls/magnification enable_magnification
22282 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22283 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22284 wine_fn_config_makefile dlls/mapistub enable_mapistub
22285 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22286 wine_fn_config_makefile dlls/mcicda enable_mcicda
22287 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22288 wine_fn_config_makefile dlls/mciseq enable_mciseq
22289 wine_fn_config_makefile dlls/mciwave enable_mciwave
22290 wine_fn_config_makefile dlls/mf enable_mf
22291 wine_fn_config_makefile dlls/mf/tests enable_tests
22292 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22293 wine_fn_config_makefile dlls/mferror enable_mferror
22294 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22295 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22296 wine_fn_config_makefile dlls/mfplat enable_mfplat
22297 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22298 wine_fn_config_makefile dlls/mfplay enable_mfplay
22299 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22300 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22301 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22302 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
22303 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
22304 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22305 wine_fn_config_makefile dlls/midimap enable_midimap
22306 wine_fn_config_makefile dlls/mlang enable_mlang
22307 wine_fn_config_makefile dlls/mlang/tests enable_tests
22308 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22309 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22310 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22311 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22312 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22313 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22314 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22315 wine_fn_config_makefile dlls/mouhid.sys enable_mouhid_sys
22316 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22317 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22318 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22319 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22320 wine_fn_config_makefile dlls/mpr enable_mpr
22321 wine_fn_config_makefile dlls/mpr/tests enable_tests
22322 wine_fn_config_makefile dlls/mprapi enable_mprapi
22323 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22324 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22325 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22326 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22327 wine_fn_config_makefile dlls/msado15 enable_msado15
22328 wine_fn_config_makefile dlls/msado15/tests enable_tests
22329 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22330 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22331 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22332 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
22333 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22334 wine_fn_config_makefile dlls/mscms enable_mscms
22335 wine_fn_config_makefile dlls/mscms/tests enable_tests
22336 wine_fn_config_makefile dlls/mscoree enable_mscoree
22337 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22338 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22339 wine_fn_config_makefile dlls/msctf enable_msctf
22340 wine_fn_config_makefile dlls/msctf/tests enable_tests
22341 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22342 wine_fn_config_makefile dlls/msctfp enable_msctfp
22343 wine_fn_config_makefile dlls/msdaps enable_msdaps
22344 wine_fn_config_makefile dlls/msdasql enable_msdasql
22345 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22346 wine_fn_config_makefile dlls/msdelta enable_msdelta
22347 wine_fn_config_makefile dlls/msdmo enable_msdmo
22348 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22349 wine_fn_config_makefile dlls/msdrm enable_msdrm
22350 wine_fn_config_makefile dlls/msftedit enable_msftedit
22351 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22352 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22353 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22354 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22355 wine_fn_config_makefile dlls/mshtml enable_mshtml
22356 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22357 wine_fn_config_makefile dlls/msi enable_msi
22358 wine_fn_config_makefile dlls/msi/tests enable_tests
22359 wine_fn_config_makefile dlls/msident enable_msident
22360 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22361 wine_fn_config_makefile dlls/msimsg enable_msimsg
22362 wine_fn_config_makefile dlls/msimtf enable_msimtf
22363 wine_fn_config_makefile dlls/msisip enable_msisip
22364 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22365 wine_fn_config_makefile dlls/msls31 enable_msls31
22366 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22367 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22368 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22369 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22370 wine_fn_config_makefile dlls/msports enable_msports
22371 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22372 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22373 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22374 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22375 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22376 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22377 wine_fn_config_makefile dlls/mstask enable_mstask
22378 wine_fn_config_makefile dlls/mstask/tests enable_tests
22379 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22380 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22381 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22382 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22383 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22384 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22385 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22386 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22387 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22388 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22389 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22390 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22391 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22392 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22393 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22394 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22395 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22396 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22397 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22398 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22399 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22400 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22401 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22402 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22403 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22404 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22405 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22406 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22407 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22408 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22409 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22410 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22411 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22412 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22413 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22414 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22415 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22416 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22417 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22418 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22419 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22420 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22421 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22422 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22423 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22424 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22425 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22426 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22427 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22428 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22429 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22430 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22431 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22432 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22433 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22434 wine_fn_config_makefile dlls/mswsock enable_mswsock
22435 wine_fn_config_makefile dlls/msxml enable_msxml
22436 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22437 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22438 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22439 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22440 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22441 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22442 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22443 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22444 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22445 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22446 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22447 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22448 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22449 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22450 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22451 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22452 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22453 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22454 wine_fn_config_makefile dlls/netprofm enable_netprofm
22455 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22456 wine_fn_config_makefile dlls/netutils enable_netutils
22457 wine_fn_config_makefile dlls/newdev enable_newdev
22458 wine_fn_config_makefile dlls/ninput enable_ninput
22459 wine_fn_config_makefile dlls/ninput/tests enable_tests
22460 wine_fn_config_makefile dlls/normaliz enable_normaliz
22461 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22462 wine_fn_config_makefile dlls/npptools enable_npptools
22463 wine_fn_config_makefile dlls/nsi enable_nsi
22464 wine_fn_config_makefile dlls/nsi/tests enable_tests
22465 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22466 wine_fn_config_makefile dlls/ntdll enable_ntdll
22467 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22468 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22469 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22470 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22471 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22472 wine_fn_config_makefile dlls/ntprint enable_ntprint
22473 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22474 wine_fn_config_makefile dlls/objsel enable_objsel
22475 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22476 wine_fn_config_makefile dlls/odbc32/tests enable_tests
22477 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22478 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22479 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22480 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22481 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22482 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22483 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22484 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22485 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22486 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22487 wine_fn_config_makefile dlls/ole32 enable_ole32
22488 wine_fn_config_makefile dlls/ole32/tests enable_tests
22489 wine_fn_config_makefile dlls/oleacc enable_oleacc
22490 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22491 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22492 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22493 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22494 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22495 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22496 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22497 wine_fn_config_makefile dlls/oledlg enable_oledlg
22498 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22499 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22500 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22501 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22502 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22503 wine_fn_config_makefile dlls/opcservices enable_opcservices
22504 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22505 wine_fn_config_makefile dlls/opencl enable_opencl
22506 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22507 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22508 wine_fn_config_makefile dlls/packager enable_packager
22509 wine_fn_config_makefile dlls/packager/tests enable_tests
22510 wine_fn_config_makefile dlls/pdh enable_pdh
22511 wine_fn_config_makefile dlls/pdh/tests enable_tests
22512 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22513 wine_fn_config_makefile dlls/pidgen enable_pidgen
22514 wine_fn_config_makefile dlls/powrprof enable_powrprof
22515 wine_fn_config_makefile dlls/printui enable_printui
22516 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22517 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22518 wine_fn_config_makefile dlls/propsys enable_propsys
22519 wine_fn_config_makefile dlls/propsys/tests enable_tests
22520 wine_fn_config_makefile dlls/psapi enable_psapi
22521 wine_fn_config_makefile dlls/psapi/tests enable_tests
22522 wine_fn_config_makefile dlls/pstorec enable_pstorec
22523 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22524 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22525 wine_fn_config_makefile dlls/qasf enable_qasf
22526 wine_fn_config_makefile dlls/qasf/tests enable_tests
22527 wine_fn_config_makefile dlls/qcap enable_qcap
22528 wine_fn_config_makefile dlls/qcap/tests enable_tests
22529 wine_fn_config_makefile dlls/qdvd enable_qdvd
22530 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22531 wine_fn_config_makefile dlls/qedit enable_qedit
22532 wine_fn_config_makefile dlls/qedit/tests enable_tests
22533 wine_fn_config_makefile dlls/qmgr enable_qmgr
22534 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22535 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22536 wine_fn_config_makefile dlls/quartz enable_quartz
22537 wine_fn_config_makefile dlls/quartz/tests enable_tests
22538 wine_fn_config_makefile dlls/query enable_query
22539 wine_fn_config_makefile dlls/qwave enable_qwave
22540 wine_fn_config_makefile dlls/qwave/tests enable_tests
22541 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22542 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22543 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22544 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22545 wine_fn_config_makefile dlls/regapi enable_regapi
22546 wine_fn_config_makefile dlls/resutils enable_resutils
22547 wine_fn_config_makefile dlls/riched20 enable_riched20
22548 wine_fn_config_makefile dlls/riched20/tests enable_tests
22549 wine_fn_config_makefile dlls/riched32 enable_riched32
22550 wine_fn_config_makefile dlls/riched32/tests enable_tests
22551 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22552 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22553 wine_fn_config_makefile dlls/rsabase enable_rsabase
22554 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22555 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22556 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22557 wine_fn_config_makefile dlls/rtutils enable_rtutils
22558 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22559 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22560 wine_fn_config_makefile dlls/samlib enable_samlib
22561 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22562 wine_fn_config_makefile dlls/sapi enable_sapi
22563 wine_fn_config_makefile dlls/sapi/tests enable_tests
22564 wine_fn_config_makefile dlls/sas enable_sas
22565 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22566 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22567 wine_fn_config_makefile dlls/sccbase enable_sccbase
22568 wine_fn_config_makefile dlls/schannel enable_schannel
22569 wine_fn_config_makefile dlls/schannel/tests enable_tests
22570 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22571 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22572 wine_fn_config_makefile dlls/scrobj enable_scrobj
22573 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22574 wine_fn_config_makefile dlls/scrrun enable_scrrun
22575 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22576 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22577 wine_fn_config_makefile dlls/sechost enable_sechost
22578 wine_fn_config_makefile dlls/secur32 enable_secur32
22579 wine_fn_config_makefile dlls/secur32/tests enable_tests
22580 wine_fn_config_makefile dlls/security enable_security
22581 wine_fn_config_makefile dlls/sensapi enable_sensapi
22582 wine_fn_config_makefile dlls/serialui enable_serialui
22583 wine_fn_config_makefile dlls/serialui/tests enable_tests
22584 wine_fn_config_makefile dlls/setupapi enable_setupapi
22585 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22586 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22587 wine_fn_config_makefile dlls/sfc enable_sfc
22588 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22589 wine_fn_config_makefile dlls/shcore enable_shcore
22590 wine_fn_config_makefile dlls/shcore/tests enable_tests
22591 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22592 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22593 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22594 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22595 wine_fn_config_makefile dlls/shell32 enable_shell32
22596 wine_fn_config_makefile dlls/shell32/tests enable_tests
22597 wine_fn_config_makefile dlls/shfolder enable_shfolder
22598 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22599 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22600 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22601 wine_fn_config_makefile dlls/slc enable_slc
22602 wine_fn_config_makefile dlls/slc/tests enable_tests
22603 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22604 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22605 wine_fn_config_makefile dlls/softpub enable_softpub
22606 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22607 wine_fn_config_makefile dlls/spoolss enable_spoolss
22608 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22609 wine_fn_config_makefile dlls/sppc enable_sppc
22610 wine_fn_config_makefile dlls/srclient enable_srclient
22611 wine_fn_config_makefile dlls/srvcli enable_srvcli
22612 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22613 wine_fn_config_makefile dlls/sspicli enable_sspicli
22614 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22615 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22616 wine_fn_config_makefile dlls/sti enable_sti
22617 wine_fn_config_makefile dlls/sti/tests enable_tests
22618 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22619 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22620 wine_fn_config_makefile dlls/strmdll enable_strmdll
22621 wine_fn_config_makefile dlls/svrapi enable_svrapi
22622 wine_fn_config_makefile dlls/sxs enable_sxs
22623 wine_fn_config_makefile dlls/sxs/tests enable_tests
22624 wine_fn_config_makefile dlls/system.drv16 enable_win16
22625 wine_fn_config_makefile dlls/t2embed enable_t2embed
22626 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22627 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22628 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22629 wine_fn_config_makefile dlls/taskschd enable_taskschd
22630 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22631 wine_fn_config_makefile dlls/tbs enable_tbs
22632 wine_fn_config_makefile dlls/tdh enable_tdh
22633 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22634 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22635 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22636 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22637 wine_fn_config_makefile dlls/traffic enable_traffic
22638 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22639 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22640 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22641 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22642 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22643 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22644 wine_fn_config_makefile dlls/tzres enable_tzres
22645 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22646 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22647 wine_fn_config_makefile dlls/uianimation enable_uianimation
22648 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22649 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22650 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22651 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22652 wine_fn_config_makefile dlls/unicows enable_unicows
22653 wine_fn_config_makefile dlls/updspapi enable_updspapi
22654 wine_fn_config_makefile dlls/url enable_url
22655 wine_fn_config_makefile dlls/urlmon enable_urlmon
22656 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22657 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22658 wine_fn_config_makefile dlls/user.exe16 enable_win16
22659 wine_fn_config_makefile dlls/user32 enable_user32
22660 wine_fn_config_makefile dlls/user32/tests enable_tests
22661 wine_fn_config_makefile dlls/userenv enable_userenv
22662 wine_fn_config_makefile dlls/userenv/tests enable_tests
22663 wine_fn_config_makefile dlls/usp10 enable_usp10
22664 wine_fn_config_makefile dlls/usp10/tests enable_tests
22665 wine_fn_config_makefile dlls/utildll enable_utildll
22666 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22667 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22668 wine_fn_config_makefile dlls/vbscript enable_vbscript
22669 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22670 wine_fn_config_makefile dlls/vcomp enable_vcomp
22671 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22672 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22673 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22674 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22675 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22676 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22677 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22678 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22679 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22680 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22681 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22682 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22683 wine_fn_config_makefile dlls/version enable_version
22684 wine_fn_config_makefile dlls/version/tests enable_tests
22685 wine_fn_config_makefile dlls/vga enable_vga
22686 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22687 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22688 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22689 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22690 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22691 wine_fn_config_makefile dlls/vssapi enable_vssapi
22692 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22693 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22694 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22695 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22696 wine_fn_config_makefile dlls/w32skrnl enable_win16
22697 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22698 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22699 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22700 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22701 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22702 wine_fn_config_makefile dlls/wdscore enable_wdscore
22703 wine_fn_config_makefile dlls/webservices enable_webservices
22704 wine_fn_config_makefile dlls/webservices/tests enable_tests
22705 wine_fn_config_makefile dlls/websocket enable_websocket
22706 wine_fn_config_makefile dlls/wer enable_wer
22707 wine_fn_config_makefile dlls/wer/tests enable_tests
22708 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22709 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22710 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22711 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22712 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22713 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22714 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22715 wine_fn_config_makefile dlls/win32u enable_win32u
22716 wine_fn_config_makefile dlls/win32u/tests enable_tests
22717 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22718 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22719 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22720 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22721 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22722 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22723 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22724 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22725 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22726 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22727 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22728 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22729 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22730 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22731 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22732 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22733 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22734 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22735 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22736 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22737 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22738 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22739 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22740 wine_fn_config_makefile dlls/windows.media enable_windows_media
22741 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22742 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22743 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22744 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22745 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22746 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22747 wine_fn_config_makefile dlls/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22748 wine_fn_config_makefile dlls/windows.security.authentication.onlineid/tests enable_tests
22749 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22750 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22751 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22752 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22753 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22754 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22755 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22756 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22757 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22758 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22759 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22760 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22761 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22762 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22763 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22764 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22765 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22766 wine_fn_config_makefile dlls/wined3d enable_wined3d
22767 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22768 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22769 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22770 wine_fn_config_makefile dlls/winemapi enable_winemapi
22771 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22772 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22773 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22774 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22775 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22776 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22777 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22778 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22779 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22780 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22781 wine_fn_config_makefile dlls/wing32 enable_wing32
22782 wine_fn_config_makefile dlls/wing32/tests enable_tests
22783 wine_fn_config_makefile dlls/winhttp enable_winhttp
22784 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22785 wine_fn_config_makefile dlls/wininet enable_wininet
22786 wine_fn_config_makefile dlls/wininet/tests enable_tests
22787 wine_fn_config_makefile dlls/winmm enable_winmm
22788 wine_fn_config_makefile dlls/winmm/tests enable_tests
22789 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22790 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22791 wine_fn_config_makefile dlls/winprint enable_winprint
22792 wine_fn_config_makefile dlls/winscard enable_winscard
22793 wine_fn_config_makefile dlls/winscard/tests enable_tests
22794 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22795 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22796 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22797 wine_fn_config_makefile dlls/winsta enable_winsta
22798 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22799 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22800 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22801 wine_fn_config_makefile dlls/wintrust enable_wintrust
22802 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22803 wine_fn_config_makefile dlls/wintypes enable_wintypes
22804 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22805 wine_fn_config_makefile dlls/winusb enable_winusb
22806 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22807 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22808 wine_fn_config_makefile dlls/wlanui enable_wlanui
22809 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22810 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22811 wine_fn_config_makefile dlls/wldp enable_wldp
22812 wine_fn_config_makefile dlls/wldp/tests enable_tests
22813 wine_fn_config_makefile dlls/wmasf enable_wmasf
22814 wine_fn_config_makefile dlls/wmi enable_wmi
22815 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22816 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22817 wine_fn_config_makefile dlls/wmp enable_wmp
22818 wine_fn_config_makefile dlls/wmp/tests enable_tests
22819 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22820 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22821 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22822 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22823 wine_fn_config_makefile dlls/wofutil enable_wofutil
22824 wine_fn_config_makefile dlls/wow32 enable_win16
22825 wine_fn_config_makefile dlls/wow64 enable_wow64
22826 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22827 wine_fn_config_makefile dlls/wow64win enable_wow64win
22828 wine_fn_config_makefile dlls/wpc enable_wpc
22829 wine_fn_config_makefile dlls/wpc/tests enable_tests
22830 wine_fn_config_makefile dlls/wpcap enable_wpcap
22831 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22832 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22833 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22834 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22835 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22836 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22837 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22838 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22839 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22840 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22841 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22842 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22843 wine_fn_config_makefile dlls/wuapi enable_wuapi
22844 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22845 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22846 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22847 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22848 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22849 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22850 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22851 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22852 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22853 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22854 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22855 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22856 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22857 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22858 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22859 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22860 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22861 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22862 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22863 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22864 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22865 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22866 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22867 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22868 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22869 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22870 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22871 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22872 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22873 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22874 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22875 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22876 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22877 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22878 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22879 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22880 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22881 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22882 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22883 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22884 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22885 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22886 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22887 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22888 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22889 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22890 wine_fn_config_makefile dlls/xmllite enable_xmllite
22891 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22892 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22893 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22894 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22895 wine_fn_config_makefile fonts enable_fonts
22896 wine_fn_config_makefile include enable_include
22897 wine_fn_config_makefile libs/adsiid enable_adsiid
22898 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22899 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22900 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22901 wine_fn_config_makefile libs/dxguid enable_dxguid
22902 wine_fn_config_makefile libs/faudio enable_faudio
22903 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22904 wine_fn_config_makefile libs/gsm enable_gsm
22905 wine_fn_config_makefile libs/jpeg enable_jpeg
22906 wine_fn_config_makefile libs/jxr enable_jxr
22907 wine_fn_config_makefile libs/lcms2 enable_lcms2
22908 wine_fn_config_makefile libs/ldap enable_ldap
22909 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22910 wine_fn_config_makefile libs/mpg123 enable_mpg123
22911 wine_fn_config_makefile libs/musl enable_musl
22912 wine_fn_config_makefile libs/png enable_png
22913 wine_fn_config_makefile libs/strmbase enable_strmbase
22914 wine_fn_config_makefile libs/strmiids enable_strmiids
22915 wine_fn_config_makefile libs/tiff enable_tiff
22916 wine_fn_config_makefile libs/uuid enable_uuid
22917 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22918 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22919 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22920 wine_fn_config_makefile libs/xml2 enable_xml2
22921 wine_fn_config_makefile libs/xslt enable_xslt
22922 wine_fn_config_makefile libs/zlib enable_zlib
22923 wine_fn_config_makefile libs/zydis enable_zydis
22924 wine_fn_config_makefile loader enable_loader
22925 wine_fn_config_makefile nls enable_nls
22926 wine_fn_config_makefile po enable_po
22927 wine_fn_config_makefile programs/arp enable_arp
22928 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22929 wine_fn_config_makefile programs/attrib enable_attrib
22930 wine_fn_config_makefile programs/cabarc enable_cabarc
22931 wine_fn_config_makefile programs/cacls enable_cacls
22932 wine_fn_config_makefile programs/certutil enable_certutil
22933 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22934 wine_fn_config_makefile programs/clock enable_clock
22935 wine_fn_config_makefile programs/cmd enable_cmd
22936 wine_fn_config_makefile programs/cmd/tests enable_tests
22937 wine_fn_config_makefile programs/conhost enable_conhost
22938 wine_fn_config_makefile programs/conhost/tests enable_tests
22939 wine_fn_config_makefile programs/control enable_control
22940 wine_fn_config_makefile programs/cscript enable_cscript
22941 wine_fn_config_makefile programs/dism enable_dism
22942 wine_fn_config_makefile programs/dllhost enable_dllhost
22943 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22944 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22945 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22946 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22947 wine_fn_config_makefile programs/eject enable_eject
22948 wine_fn_config_makefile programs/expand enable_expand
22949 wine_fn_config_makefile programs/explorer enable_explorer
22950 wine_fn_config_makefile programs/explorer/tests enable_tests
22951 wine_fn_config_makefile programs/extrac32 enable_extrac32
22952 wine_fn_config_makefile programs/fc enable_fc
22953 wine_fn_config_makefile programs/find enable_find
22954 wine_fn_config_makefile programs/find/tests enable_tests
22955 wine_fn_config_makefile programs/findstr enable_findstr
22956 wine_fn_config_makefile programs/findstr/tests enable_tests
22957 wine_fn_config_makefile programs/fsutil enable_fsutil
22958 wine_fn_config_makefile programs/fsutil/tests enable_tests
22959 wine_fn_config_makefile programs/hh enable_hh
22960 wine_fn_config_makefile programs/hostname enable_hostname
22961 wine_fn_config_makefile programs/icacls enable_icacls
22962 wine_fn_config_makefile programs/icinfo enable_icinfo
22963 wine_fn_config_makefile programs/iexplore enable_iexplore
22964 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22965 wine_fn_config_makefile programs/klist enable_klist
22966 wine_fn_config_makefile programs/lodctr enable_lodctr
22967 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22968 wine_fn_config_makefile programs/mshta enable_mshta
22969 wine_fn_config_makefile programs/msidb enable_msidb
22970 wine_fn_config_makefile programs/msiexec enable_msiexec
22971 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22972 wine_fn_config_makefile programs/net enable_net
22973 wine_fn_config_makefile programs/netsh enable_netsh
22974 wine_fn_config_makefile programs/netstat enable_netstat
22975 wine_fn_config_makefile programs/ngen enable_ngen
22976 wine_fn_config_makefile programs/notepad enable_notepad
22977 wine_fn_config_makefile programs/oleview enable_oleview
22978 wine_fn_config_makefile programs/ping enable_ping
22979 wine_fn_config_makefile programs/plugplay enable_plugplay
22980 wine_fn_config_makefile programs/pnputil enable_pnputil
22981 wine_fn_config_makefile programs/powershell enable_powershell
22982 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22983 wine_fn_config_makefile programs/progman enable_progman
22984 wine_fn_config_makefile programs/reg enable_reg
22985 wine_fn_config_makefile programs/reg/tests enable_tests
22986 wine_fn_config_makefile programs/regasm enable_regasm
22987 wine_fn_config_makefile programs/regedit enable_regedit
22988 wine_fn_config_makefile programs/regedit/tests enable_tests
22989 wine_fn_config_makefile programs/regini enable_regini
22990 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22991 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22992 wine_fn_config_makefile programs/robocopy enable_robocopy
22993 wine_fn_config_makefile programs/rpcss enable_rpcss
22994 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22995 wine_fn_config_makefile programs/rundll32 enable_rundll32
22996 wine_fn_config_makefile programs/sc enable_sc
22997 wine_fn_config_makefile programs/sc/tests enable_tests
22998 wine_fn_config_makefile programs/schtasks enable_schtasks
22999 wine_fn_config_makefile programs/schtasks/tests enable_tests
23000 wine_fn_config_makefile programs/sdbinst enable_sdbinst
23001 wine_fn_config_makefile programs/secedit enable_secedit
23002 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
23003 wine_fn_config_makefile programs/services enable_services
23004 wine_fn_config_makefile programs/services/tests enable_tests
23005 wine_fn_config_makefile programs/setx enable_setx
23006 wine_fn_config_makefile programs/shutdown enable_shutdown
23007 wine_fn_config_makefile programs/spoolsv enable_spoolsv
23008 wine_fn_config_makefile programs/start enable_start
23009 wine_fn_config_makefile programs/subst enable_subst
23010 wine_fn_config_makefile programs/svchost enable_svchost
23011 wine_fn_config_makefile programs/systeminfo enable_systeminfo
23012 wine_fn_config_makefile programs/taskkill enable_taskkill
23013 wine_fn_config_makefile programs/tasklist enable_tasklist
23014 wine_fn_config_makefile programs/tasklist/tests enable_tests
23015 wine_fn_config_makefile programs/taskmgr enable_taskmgr
23016 wine_fn_config_makefile programs/termsv enable_termsv
23017 wine_fn_config_makefile programs/uninstaller enable_uninstaller
23018 wine_fn_config_makefile programs/unlodctr enable_unlodctr
23019 wine_fn_config_makefile programs/view enable_view
23020 wine_fn_config_makefile programs/wevtutil enable_wevtutil
23021 wine_fn_config_makefile programs/where enable_where
23022 wine_fn_config_makefile programs/whoami enable_whoami
23023 wine_fn_config_makefile programs/wineboot enable_wineboot
23024 wine_fn_config_makefile programs/winebrowser enable_winebrowser
23025 wine_fn_config_makefile programs/winecfg enable_winecfg
23026 wine_fn_config_makefile programs/wineconsole enable_wineconsole
23027 wine_fn_config_makefile programs/winedbg enable_winedbg
23028 wine_fn_config_makefile programs/winedevice enable_winedevice
23029 wine_fn_config_makefile programs/winefile enable_winefile
23030 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
23031 wine_fn_config_makefile programs/winemine enable_winemine
23032 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
23033 wine_fn_config_makefile programs/winepath enable_winepath
23034 wine_fn_config_makefile programs/winetest enable_winetest
23035 wine_fn_config_makefile programs/winevdm enable_win16
23036 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
23037 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
23038 wine_fn_config_makefile programs/winmgmt enable_winmgmt
23039 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
23040 wine_fn_config_makefile programs/winver enable_winver
23041 wine_fn_config_makefile programs/wmic enable_wmic
23042 wine_fn_config_makefile programs/wmplayer enable_wmplayer
23043 wine_fn_config_makefile programs/wordpad enable_wordpad
23044 wine_fn_config_makefile programs/write enable_write
23045 wine_fn_config_makefile programs/wscript enable_wscript
23046 wine_fn_config_makefile programs/wscript/tests enable_tests
23047 wine_fn_config_makefile programs/wuauserv enable_wuauserv
23048 wine_fn_config_makefile programs/wusa enable_wusa
23049 wine_fn_config_makefile programs/xcopy enable_xcopy
23050 wine_fn_config_makefile programs/xcopy/tests enable_tests
23051 wine_fn_config_makefile server enable_server
23052 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
23053 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
23054 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
23055 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
23056 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
23057 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
23058 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
23059 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
23060 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
23063 as_fn_append CONFIGURE_TARGETS " TAGS"
23064 as_fn_append CONFIGURE_TARGETS " tags"
23065 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
23066 as_fn_append CONFIGURE_TARGETS " config.log"
23067 as_fn_append CONFIGURE_TARGETS " config.status"
23068 as_fn_append CONFIGURE_TARGETS " include/config.h"
23069 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
23070 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
23072 if test "x$enable_tools" != xno
23073 then
23074 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
23075 ac_config_commands="$ac_config_commands tools/makedep"
23079 ac_config_commands="$ac_config_commands Makefile"
23083 SHELL=/bin/sh
23086 as_fn_append wine_rules "
23087 all: wine
23088 @echo \"Wine build complete.\"
23089 .INIT: Makefile
23090 .MAKEFILEDEPS:
23091 all: Makefile
23092 Makefile: config.status \$(MAKEDEP)
23093 @./config.status Makefile
23094 depend: \$(MAKEDEP)
23095 \$(MAKEDEP)$makedep_flags"
23098 as_fn_append wine_rules "
23099 config.status: ${wine_srcdir}configure
23100 @./config.status --recheck
23101 include/config.h: include/stamp-h
23102 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23103 @./config.status include/config.h include/stamp-h"
23105 if test "x$enable_maintainer_mode" = xyes
23106 then
23107 as_fn_append wine_rules "
23108 configure: configure.ac aclocal.m4
23109 autoconf --warnings=all
23110 include/config.h.in: include/stamp-h.in
23111 include/stamp-h.in: configure.ac aclocal.m4
23112 autoheader --warnings=all
23113 @echo timestamp > \$@"
23116 if test "x$enable_tools" != xno
23117 then
23118 as_fn_append wine_rules "
23119 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23120 @./config.status tools/makedep
23121 Makefile: tools/makedep$ac_exeext"
23122 else
23123 as_fn_append wine_rules "
23124 \$(MAKEDEP):
23125 @echo \"You need to run make in $toolsdir first\" && false"
23129 if test -n "$with_wine64"
23130 then
23131 case "$with_wine64" in
23132 /*) reldir="" ;;
23133 *) reldir="../" ;;
23134 esac
23135 rm -f fonts server 2>/dev/null
23136 as_fn_append wine_rules "
23137 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23138 loader/wine64 loader/wine64-preloader:
23139 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23140 $with_wine64/loader/wine:
23141 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23142 $with_wine64/loader/wine-preloader:
23143 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23144 clean::
23145 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23146 else
23147 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
23148 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
23149 fonts \
23150 loader/wine.inf \
23151 nls \
23152 programs/msidb/msidb \
23153 programs/msiexec/msiexec \
23154 programs/notepad/notepad \
23155 programs/regedit/regedit \
23156 programs/regsvr32/regsvr32 \
23157 programs/wineboot/wineboot \
23158 programs/winecfg/winecfg \
23159 programs/wineconsole/wineconsole \
23160 programs/winedbg/winedbg \
23161 programs/winefile/winefile \
23162 programs/winemine/winemine \
23163 programs/winepath/winepath \
23164 server/wineserver"
23166 case $host_os in
23167 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
23168 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23169 esac
23173 as_fn_append wine_rules "
23174 distclean:: clean
23175 rm -rf autom4te.cache
23176 maintainer-clean::
23177 rm -f configure include/config.h.in"
23180 as_fn_append wine_rules "
23181 dlls/ntdll/unix/version.c: dummy
23182 @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)
23183 programs/winetest/build.rc: dummy
23184 @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)
23185 programs/winetest/build.nfo:
23186 @-\$(CC) -v 2>\$@
23187 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
23188 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23189 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23192 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23194 as_fn_append wine_rules "
23195 TAGS etags:
23196 rm -f TAGS
23197 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23198 tags ctags:
23199 rm -f tags
23200 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23201 dummy:
23202 .PHONY: depend dummy install-manpages"
23204 printf "%s\n" " done" >&6
23205 cat >confcache <<\_ACEOF
23206 # This file is a shell script that caches the results of configure
23207 # tests run on this system so they can be shared between configure
23208 # scripts and configure runs, see configure's option --config-cache.
23209 # It is not useful on other systems. If it contains results you don't
23210 # want to keep, you may remove or edit it.
23212 # config.status only pays attention to the cache file if you give it
23213 # the --recheck option to rerun configure.
23215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23217 # following values.
23219 _ACEOF
23221 # The following way of writing the cache mishandles newlines in values,
23222 # but we know of no workaround that is simple, portable, and efficient.
23223 # So, we kill variables containing newlines.
23224 # Ultrix sh set writes to stderr and can't be redirected directly,
23225 # and sets the high bit in the cache file unless we assign to the vars.
23227 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23228 eval ac_val=\$$ac_var
23229 case $ac_val in #(
23230 *${as_nl}*)
23231 case $ac_var in #(
23232 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23233 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23234 esac
23235 case $ac_var in #(
23236 _ | IFS | as_nl) ;; #(
23237 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23238 *) { eval $ac_var=; unset $ac_var;} ;;
23239 esac ;;
23240 esac
23241 done
23243 (set) 2>&1 |
23244 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23245 *${as_nl}ac_space=\ *)
23246 # `set' does not quote correctly, so add quotes: double-quote
23247 # substitution turns \\\\ into \\, and sed turns \\ into \.
23248 sed -n \
23249 "s/'/'\\\\''/g;
23250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23251 ;; #(
23253 # `set' quotes correctly as required by POSIX, so do not add quotes.
23254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23256 esac |
23257 sort
23259 sed '
23260 /^ac_cv_env_/b end
23261 t clear
23262 :clear
23263 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23264 t end
23265 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23266 :end' >>confcache
23267 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23268 if test -w "$cache_file"; then
23269 if test "x$cache_file" != "x/dev/null"; then
23270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23271 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23272 if test ! -f "$cache_file" || test -h "$cache_file"; then
23273 cat confcache >"$cache_file"
23274 else
23275 case $cache_file in #(
23276 */* | ?:*)
23277 mv -f confcache "$cache_file"$$ &&
23278 mv -f "$cache_file"$$ "$cache_file" ;; #(
23280 mv -f confcache "$cache_file" ;;
23281 esac
23284 else
23285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23286 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23289 rm -f confcache
23291 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23292 # Let make expand exec_prefix.
23293 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23295 DEFS=-DHAVE_CONFIG_H
23297 ac_libobjs=
23298 ac_ltlibobjs=
23300 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23301 # 1. Remove the extension, and $U if already installed.
23302 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23303 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23304 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23305 # will be set to the directory where LIBOBJS objects are built.
23306 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23307 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23308 done
23309 LIBOBJS=$ac_libobjs
23311 LTLIBOBJS=$ac_ltlibobjs
23315 : "${CONFIG_STATUS=./config.status}"
23316 ac_write_fail=0
23317 ac_clean_files_save=$ac_clean_files
23318 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23320 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23321 as_write_fail=0
23322 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23323 #! $SHELL
23324 # Generated by $as_me.
23325 # Run this file to recreate the current configuration.
23326 # Compiler output produced by configure, useful for debugging
23327 # configure, is in config.log if it exists.
23329 debug=false
23330 ac_cs_recheck=false
23331 ac_cs_silent=false
23333 SHELL=\${CONFIG_SHELL-$SHELL}
23334 export SHELL
23335 _ASEOF
23336 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23337 ## -------------------- ##
23338 ## M4sh Initialization. ##
23339 ## -------------------- ##
23341 # Be more Bourne compatible
23342 DUALCASE=1; export DUALCASE # for MKS sh
23343 as_nop=:
23344 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23345 then :
23346 emulate sh
23347 NULLCMD=:
23348 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23349 # is contrary to our usage. Disable this feature.
23350 alias -g '${1+"$@"}'='"$@"'
23351 setopt NO_GLOB_SUBST
23352 else $as_nop
23353 case `(set -o) 2>/dev/null` in #(
23354 *posix*) :
23355 set -o posix ;; #(
23356 *) :
23358 esac
23363 # Reset variables that may have inherited troublesome values from
23364 # the environment.
23366 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23367 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23368 # side effect of setting IFS to empty, thus disabling word splitting.)
23369 # Quoting is to prevent editors from complaining about space-tab.
23370 as_nl='
23372 export as_nl
23373 IFS=" "" $as_nl"
23375 PS1='$ '
23376 PS2='> '
23377 PS4='+ '
23379 # Ensure predictable behavior from utilities with locale-dependent output.
23380 LC_ALL=C
23381 export LC_ALL
23382 LANGUAGE=C
23383 export LANGUAGE
23385 # We cannot yet rely on "unset" to work, but we need these variables
23386 # to be unset--not just set to an empty or harmless value--now, to
23387 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23388 # also avoids known problems related to "unset" and subshell syntax
23389 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23390 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23391 do eval test \${$as_var+y} \
23392 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23393 done
23395 # Ensure that fds 0, 1, and 2 are open.
23396 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23397 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23398 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23400 # The user is always right.
23401 if ${PATH_SEPARATOR+false} :; then
23402 PATH_SEPARATOR=:
23403 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23404 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23405 PATH_SEPARATOR=';'
23410 # Find who we are. Look in the path if we contain no directory separator.
23411 as_myself=
23412 case $0 in #((
23413 *[\\/]* ) as_myself=$0 ;;
23414 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23415 for as_dir in $PATH
23417 IFS=$as_save_IFS
23418 case $as_dir in #(((
23419 '') as_dir=./ ;;
23420 */) ;;
23421 *) as_dir=$as_dir/ ;;
23422 esac
23423 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23424 done
23425 IFS=$as_save_IFS
23428 esac
23429 # We did not find ourselves, most probably we were run as `sh COMMAND'
23430 # in which case we are not to be found in the path.
23431 if test "x$as_myself" = x; then
23432 as_myself=$0
23434 if test ! -f "$as_myself"; then
23435 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23436 exit 1
23441 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23442 # ----------------------------------------
23443 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23444 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23445 # script with STATUS, using 1 if that was 0.
23446 as_fn_error ()
23448 as_status=$1; test $as_status -eq 0 && as_status=1
23449 if test "$4"; then
23450 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23453 printf "%s\n" "$as_me: error: $2" >&2
23454 as_fn_exit $as_status
23455 } # as_fn_error
23459 # as_fn_set_status STATUS
23460 # -----------------------
23461 # Set $? to STATUS, without forking.
23462 as_fn_set_status ()
23464 return $1
23465 } # as_fn_set_status
23467 # as_fn_exit STATUS
23468 # -----------------
23469 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23470 as_fn_exit ()
23472 set +e
23473 as_fn_set_status $1
23474 exit $1
23475 } # as_fn_exit
23477 # as_fn_unset VAR
23478 # ---------------
23479 # Portably unset VAR.
23480 as_fn_unset ()
23482 { eval $1=; unset $1;}
23484 as_unset=as_fn_unset
23486 # as_fn_append VAR VALUE
23487 # ----------------------
23488 # Append the text in VALUE to the end of the definition contained in VAR. Take
23489 # advantage of any shell optimizations that allow amortized linear growth over
23490 # repeated appends, instead of the typical quadratic growth present in naive
23491 # implementations.
23492 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23493 then :
23494 eval 'as_fn_append ()
23496 eval $1+=\$2
23498 else $as_nop
23499 as_fn_append ()
23501 eval $1=\$$1\$2
23503 fi # as_fn_append
23505 # as_fn_arith ARG...
23506 # ------------------
23507 # Perform arithmetic evaluation on the ARGs, and store the result in the
23508 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23509 # must be portable across $(()) and expr.
23510 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23511 then :
23512 eval 'as_fn_arith ()
23514 as_val=$(( $* ))
23516 else $as_nop
23517 as_fn_arith ()
23519 as_val=`expr "$@" || test $? -eq 1`
23521 fi # as_fn_arith
23524 if expr a : '\(a\)' >/dev/null 2>&1 &&
23525 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23526 as_expr=expr
23527 else
23528 as_expr=false
23531 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23532 as_basename=basename
23533 else
23534 as_basename=false
23537 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23538 as_dirname=dirname
23539 else
23540 as_dirname=false
23543 as_me=`$as_basename -- "$0" ||
23544 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23545 X"$0" : 'X\(//\)$' \| \
23546 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23547 printf "%s\n" X/"$0" |
23548 sed '/^.*\/\([^/][^/]*\)\/*$/{
23549 s//\1/
23552 /^X\/\(\/\/\)$/{
23553 s//\1/
23556 /^X\/\(\/\).*/{
23557 s//\1/
23560 s/.*/./; q'`
23562 # Avoid depending upon Character Ranges.
23563 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23564 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23565 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23566 as_cr_digits='0123456789'
23567 as_cr_alnum=$as_cr_Letters$as_cr_digits
23570 # Determine whether it's possible to make 'echo' print without a newline.
23571 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23572 # for compatibility with existing Makefiles.
23573 ECHO_C= ECHO_N= ECHO_T=
23574 case `echo -n x` in #(((((
23575 -n*)
23576 case `echo 'xy\c'` in
23577 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23578 xy) ECHO_C='\c';;
23579 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23580 ECHO_T=' ';;
23581 esac;;
23583 ECHO_N='-n';;
23584 esac
23586 # For backward compatibility with old third-party macros, we provide
23587 # the shell variables $as_echo and $as_echo_n. New code should use
23588 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23589 as_echo='printf %s\n'
23590 as_echo_n='printf %s'
23592 rm -f conf$$ conf$$.exe conf$$.file
23593 if test -d conf$$.dir; then
23594 rm -f conf$$.dir/conf$$.file
23595 else
23596 rm -f conf$$.dir
23597 mkdir conf$$.dir 2>/dev/null
23599 if (echo >conf$$.file) 2>/dev/null; then
23600 if ln -s conf$$.file conf$$ 2>/dev/null; then
23601 as_ln_s='ln -s'
23602 # ... but there are two gotchas:
23603 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23604 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23605 # In both cases, we have to default to `cp -pR'.
23606 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23607 as_ln_s='cp -pR'
23608 elif ln conf$$.file conf$$ 2>/dev/null; then
23609 as_ln_s=ln
23610 else
23611 as_ln_s='cp -pR'
23613 else
23614 as_ln_s='cp -pR'
23616 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23617 rmdir conf$$.dir 2>/dev/null
23620 # as_fn_mkdir_p
23621 # -------------
23622 # Create "$as_dir" as a directory, including parents if necessary.
23623 as_fn_mkdir_p ()
23626 case $as_dir in #(
23627 -*) as_dir=./$as_dir;;
23628 esac
23629 test -d "$as_dir" || eval $as_mkdir_p || {
23630 as_dirs=
23631 while :; do
23632 case $as_dir in #(
23633 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23634 *) as_qdir=$as_dir;;
23635 esac
23636 as_dirs="'$as_qdir' $as_dirs"
23637 as_dir=`$as_dirname -- "$as_dir" ||
23638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23639 X"$as_dir" : 'X\(//\)[^/]' \| \
23640 X"$as_dir" : 'X\(//\)$' \| \
23641 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23642 printf "%s\n" X"$as_dir" |
23643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23644 s//\1/
23647 /^X\(\/\/\)[^/].*/{
23648 s//\1/
23651 /^X\(\/\/\)$/{
23652 s//\1/
23655 /^X\(\/\).*/{
23656 s//\1/
23659 s/.*/./; q'`
23660 test -d "$as_dir" && break
23661 done
23662 test -z "$as_dirs" || eval "mkdir $as_dirs"
23663 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23666 } # as_fn_mkdir_p
23667 if mkdir -p . 2>/dev/null; then
23668 as_mkdir_p='mkdir -p "$as_dir"'
23669 else
23670 test -d ./-p && rmdir ./-p
23671 as_mkdir_p=false
23675 # as_fn_executable_p FILE
23676 # -----------------------
23677 # Test if FILE is an executable regular file.
23678 as_fn_executable_p ()
23680 test -f "$1" && test -x "$1"
23681 } # as_fn_executable_p
23682 as_test_x='test -x'
23683 as_executable_p=as_fn_executable_p
23685 # Sed expression to map a string onto a valid CPP name.
23686 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23688 # Sed expression to map a string onto a valid variable name.
23689 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23692 exec 6>&1
23693 ## ----------------------------------- ##
23694 ## Main body of $CONFIG_STATUS script. ##
23695 ## ----------------------------------- ##
23696 _ASEOF
23697 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23700 # Save the log message, to keep $0 and so on meaningful, and to
23701 # report actual input values of CONFIG_FILES etc. instead of their
23702 # values after options handling.
23703 ac_log="
23704 This file was extended by Wine $as_me 9.9, which was
23705 generated by GNU Autoconf 2.71. Invocation command line was
23707 CONFIG_FILES = $CONFIG_FILES
23708 CONFIG_HEADERS = $CONFIG_HEADERS
23709 CONFIG_LINKS = $CONFIG_LINKS
23710 CONFIG_COMMANDS = $CONFIG_COMMANDS
23711 $ $0 $@
23713 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23716 _ACEOF
23719 case $ac_config_headers in *"
23720 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23721 esac
23724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23725 # Files that config.status was made for.
23726 config_headers="$ac_config_headers"
23727 config_links="$ac_config_links"
23728 config_commands="$ac_config_commands"
23730 _ACEOF
23732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23733 ac_cs_usage="\
23734 \`$as_me' instantiates files and other configuration actions
23735 from templates according to the current configuration. Unless the files
23736 and actions are specified as TAGs, all are instantiated by default.
23738 Usage: $0 [OPTION]... [TAG]...
23740 -h, --help print this help, then exit
23741 -V, --version print version number and configuration settings, then exit
23742 --config print configuration, then exit
23743 -q, --quiet, --silent
23744 do not print progress messages
23745 -d, --debug don't remove temporary files
23746 --recheck update $as_me by reconfiguring in the same conditions
23747 --header=FILE[:TEMPLATE]
23748 instantiate the configuration header FILE
23750 Configuration headers:
23751 $config_headers
23753 Configuration links:
23754 $config_links
23756 Configuration commands:
23757 $config_commands
23759 Report bugs to <wine-devel@winehq.org>.
23760 Wine home page: <https://www.winehq.org>."
23762 _ACEOF
23763 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23764 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23766 ac_cs_config='$ac_cs_config_escaped'
23767 ac_cs_version="\\
23768 Wine config.status 9.9
23769 configured by $0, generated by GNU Autoconf 2.71,
23770 with options \\"\$ac_cs_config\\"
23772 Copyright (C) 2021 Free Software Foundation, Inc.
23773 This config.status script is free software; the Free Software Foundation
23774 gives unlimited permission to copy, distribute and modify it."
23776 ac_pwd='$ac_pwd'
23777 srcdir='$srcdir'
23778 test -n "\$AWK" || AWK=awk
23779 _ACEOF
23781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23782 # The default lists apply if the user does not specify any file.
23783 ac_need_defaults=:
23784 while test $# != 0
23786 case $1 in
23787 --*=?*)
23788 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23789 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23790 ac_shift=:
23792 --*=)
23793 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23794 ac_optarg=
23795 ac_shift=:
23798 ac_option=$1
23799 ac_optarg=$2
23800 ac_shift=shift
23802 esac
23804 case $ac_option in
23805 # Handling of the options.
23806 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23807 ac_cs_recheck=: ;;
23808 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23809 printf "%s\n" "$ac_cs_version"; exit ;;
23810 --config | --confi | --conf | --con | --co | --c )
23811 printf "%s\n" "$ac_cs_config"; exit ;;
23812 --debug | --debu | --deb | --de | --d | -d )
23813 debug=: ;;
23814 --header | --heade | --head | --hea )
23815 $ac_shift
23816 case $ac_optarg in
23817 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23818 esac
23819 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23820 ac_need_defaults=false;;
23821 --he | --h)
23822 # Conflict between --help and --header
23823 as_fn_error $? "ambiguous option: \`$1'
23824 Try \`$0 --help' for more information.";;
23825 --help | --hel | -h )
23826 printf "%s\n" "$ac_cs_usage"; exit ;;
23827 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23828 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23829 ac_cs_silent=: ;;
23831 # This is an error.
23832 -*) as_fn_error $? "unrecognized option: \`$1'
23833 Try \`$0 --help' for more information." ;;
23835 *) as_fn_append ac_config_targets " $1"
23836 ac_need_defaults=false ;;
23838 esac
23839 shift
23840 done
23842 ac_configure_extra_args=
23844 if $ac_cs_silent; then
23845 exec 6>/dev/null
23846 ac_configure_extra_args="$ac_configure_extra_args --silent"
23849 _ACEOF
23850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23851 if \$ac_cs_recheck; then
23852 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23853 shift
23854 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23855 CONFIG_SHELL='$SHELL'
23856 export CONFIG_SHELL
23857 exec "\$@"
23860 _ACEOF
23861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23862 exec 5>>config.log
23864 echo
23865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23866 ## Running $as_me. ##
23867 _ASBOX
23868 printf "%s\n" "$ac_log"
23869 } >&5
23871 _ACEOF
23872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23874 # INIT-COMMANDS
23876 wine_fn_output_makedep ()
23878 as_dir=tools; as_fn_mkdir_p
23879 $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
23881 wine_fn_output_makefile ()
23883 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23884 # This Makefile understands the following targets:
23886 # all (default): build wine
23887 # clean: remove all intermediate files
23888 # distclean: also remove all files created by configure
23889 # test: run tests
23890 # testclean: clean test results to force running all tests again
23891 # install-lib: install libraries needed to run applications
23892 # install-dev: install development environment
23893 # install: install everything
23894 # uninstall: uninstall everything
23895 # ctags: create a tags file for vim and others.
23896 # etags: create a TAGS file for Emacs.
23898 SHELL = $SHELL
23899 PATH_SEPARATOR = $PATH_SEPARATOR
23900 PACKAGE_NAME = $PACKAGE_NAME
23901 PACKAGE_TARNAME = $PACKAGE_TARNAME
23902 PACKAGE_VERSION = $PACKAGE_VERSION
23903 PACKAGE_STRING = $PACKAGE_STRING
23904 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23905 PACKAGE_URL = $PACKAGE_URL
23906 exec_prefix = $exec_prefix
23907 prefix = $prefix
23908 program_transform_name = $program_transform_name
23909 bindir = $bindir
23910 sbindir = $sbindir
23911 libexecdir = $libexecdir
23912 datarootdir = $datarootdir
23913 datadir = $datadir
23914 sysconfdir = $sysconfdir
23915 sharedstatedir = $sharedstatedir
23916 localstatedir = $localstatedir
23917 runstatedir = $runstatedir
23918 includedir = $includedir
23919 oldincludedir = $oldincludedir
23920 docdir = $docdir
23921 infodir = $infodir
23922 htmldir = $htmldir
23923 dvidir = $dvidir
23924 pdfdir = $pdfdir
23925 psdir = $psdir
23926 libdir = $libdir
23927 localedir = $localedir
23928 mandir = $mandir
23929 DEFS = $DEFS
23930 ECHO_C = $ECHO_C
23931 ECHO_N = $ECHO_N
23932 ECHO_T = $ECHO_T
23933 LIBS = $LIBS
23934 build_alias = $build_alias
23935 host_alias = $host_alias
23936 target_alias = $target_alias
23937 system_dllpath = $system_dllpath
23938 build = $build
23939 build_cpu = $build_cpu
23940 build_vendor = $build_vendor
23941 build_os = $build_os
23942 host = $host
23943 host_cpu = $host_cpu
23944 host_vendor = $host_vendor
23945 host_os = $host_os
23946 dlldir = $dlldir
23947 fontdir = $fontdir
23948 nlsdir = $nlsdir
23949 srcdir = $srcdir
23950 SET_MAKE = $SET_MAKE
23951 CC = $CC
23952 CFLAGS = $CFLAGS
23953 LDFLAGS = $LDFLAGS
23954 CPPFLAGS = $CPPFLAGS
23955 ac_ct_CC = $ac_ct_CC
23956 EXEEXT = $EXEEXT
23957 OBJEXT = $OBJEXT
23958 CXX = $CXX
23959 CXXFLAGS = $CXXFLAGS
23960 ac_ct_CXX = $ac_ct_CXX
23961 CPPBIN = $CPPBIN
23962 LD = $LD
23963 TARGETFLAGS = $TARGETFLAGS
23964 toolsext = $toolsext
23965 HOST_ARCH = $HOST_ARCH
23966 aarch64_CC = $aarch64_CC
23967 aarch64_CFLAGS = $aarch64_CFLAGS
23968 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23969 aarch64_LDFLAGS = $aarch64_LDFLAGS
23970 aarch64_DEBUG = $aarch64_DEBUG
23971 aarch64_TARGET = $aarch64_TARGET
23972 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23973 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23974 arm_CC = $arm_CC
23975 arm_CFLAGS = $arm_CFLAGS
23976 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23977 arm_LDFLAGS = $arm_LDFLAGS
23978 arm_DEBUG = $arm_DEBUG
23979 arm_TARGET = $arm_TARGET
23980 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23981 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23982 arm64ec_CC = $arm64ec_CC
23983 arm64ec_CFLAGS = $arm64ec_CFLAGS
23984 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23985 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23986 arm64ec_DEBUG = $arm64ec_DEBUG
23987 arm64ec_TARGET = $arm64ec_TARGET
23988 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23989 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23990 i386_CC = $i386_CC
23991 i386_CFLAGS = $i386_CFLAGS
23992 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23993 i386_LDFLAGS = $i386_LDFLAGS
23994 i386_DEBUG = $i386_DEBUG
23995 i386_TARGET = $i386_TARGET
23996 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23997 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23998 x86_64_CC = $x86_64_CC
23999 x86_64_CFLAGS = $x86_64_CFLAGS
24000 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
24001 x86_64_LDFLAGS = $x86_64_LDFLAGS
24002 x86_64_DEBUG = $x86_64_DEBUG
24003 x86_64_TARGET = $x86_64_TARGET
24004 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
24005 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
24006 toolsdir = $toolsdir
24007 MAKEDEP = $MAKEDEP
24008 RUNTESTFLAGS = $RUNTESTFLAGS
24009 SED_CMD = $SED_CMD
24010 FLEX = $FLEX
24011 BISON = $BISON
24012 AR = $AR
24013 ac_ct_AR = $ac_ct_AR
24014 STRIP = $STRIP
24015 RANLIB = $RANLIB
24016 LN_S = $LN_S
24017 GREP = $GREP
24018 EGREP = $EGREP
24019 LDCONFIG = $LDCONFIG
24020 MSGFMT = $MSGFMT
24021 PKG_CONFIG = $PKG_CONFIG
24022 FONTFORGE = $FONTFORGE
24023 RSVG = $RSVG
24024 CONVERT = $CONVERT
24025 ICOTOOL = $ICOTOOL
24026 I386_LIBS = $I386_LIBS
24027 OPENGL_LIBS = $OPENGL_LIBS
24028 DLLFLAGS = $DLLFLAGS
24029 LDDLLFLAGS = $LDDLLFLAGS
24030 LDEXECFLAGS = $LDEXECFLAGS
24031 EXTRACFLAGS = $EXTRACFLAGS
24032 UNIXDLLFLAGS = $UNIXDLLFLAGS
24033 UNIXLDFLAGS = $UNIXLDFLAGS
24034 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
24035 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
24036 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
24037 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
24038 DLLEXT = $DLLEXT
24039 LDD = $LDD
24040 OTOOL = $OTOOL
24041 READELF = $READELF
24042 SUBDIRS = $SUBDIRS
24043 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
24044 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
24045 CARBON_LIBS = $CARBON_LIBS
24046 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
24047 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
24048 IOKIT_LIBS = $IOKIT_LIBS
24049 METAL_LIBS = $METAL_LIBS
24050 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
24051 CORESERVICES_LIBS = $CORESERVICES_LIBS
24052 APPKIT_LIBS = $APPKIT_LIBS
24053 SECURITY_LIBS = $SECURITY_LIBS
24054 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
24055 COREAUDIO_LIBS = $COREAUDIO_LIBS
24056 OPENCL_LIBS = $OPENCL_LIBS
24057 OBJC = $OBJC
24058 OBJCFLAGS = $OBJCFLAGS
24059 ac_ct_OBJC = $ac_ct_OBJC
24060 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
24061 PE_ARCHS = $PE_ARCHS
24062 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
24063 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
24064 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
24065 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
24066 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
24067 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
24068 GSM_PE_LIBS = $GSM_PE_LIBS
24069 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
24070 JPEG_PE_LIBS = $JPEG_PE_LIBS
24071 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
24072 JXR_PE_LIBS = $JXR_PE_LIBS
24073 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
24074 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
24075 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
24076 LDAP_PE_LIBS = $LDAP_PE_LIBS
24077 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24078 MPG123_PE_LIBS = $MPG123_PE_LIBS
24079 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24080 MUSL_PE_LIBS = $MUSL_PE_LIBS
24081 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24082 PNG_PE_LIBS = $PNG_PE_LIBS
24083 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24084 TIFF_PE_LIBS = $TIFF_PE_LIBS
24085 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24086 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24087 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24088 XML2_PE_LIBS = $XML2_PE_LIBS
24089 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24090 XSLT_PE_LIBS = $XSLT_PE_LIBS
24091 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24092 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24093 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24094 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24095 PTHREAD_LIBS = $PTHREAD_LIBS
24096 XMKMF = $XMKMF
24097 CPP = $CPP
24098 X_CFLAGS = $X_CFLAGS
24099 X_PRE_LIBS = $X_PRE_LIBS
24100 X_LIBS = $X_LIBS
24101 X_EXTRA_LIBS = $X_EXTRA_LIBS
24102 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24103 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24104 WAYLAND_SCANNER = $WAYLAND_SCANNER
24105 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24106 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24107 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24108 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24109 EGL_CFLAGS = $EGL_CFLAGS
24110 EGL_LIBS = $EGL_LIBS
24111 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24112 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24113 PCAP_LIBS = $PCAP_LIBS
24114 PCSCLITE_LIBS = $PCSCLITE_LIBS
24115 ODBC_CFLAGS = $ODBC_CFLAGS
24116 ODBC_LIBS = $ODBC_LIBS
24117 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24118 INOTIFY_LIBS = $INOTIFY_LIBS
24119 DBUS_CFLAGS = $DBUS_CFLAGS
24120 DBUS_LIBS = $DBUS_LIBS
24121 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24122 GNUTLS_LIBS = $GNUTLS_LIBS
24123 SANE_CFLAGS = $SANE_CFLAGS
24124 SANE_LIBS = $SANE_LIBS
24125 USB_CFLAGS = $USB_CFLAGS
24126 USB_LIBS = $USB_LIBS
24127 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24128 GPHOTO2_LIBS = $GPHOTO2_LIBS
24129 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24130 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24131 RESOLV_LIBS = $RESOLV_LIBS
24132 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24133 FREETYPE_LIBS = $FREETYPE_LIBS
24134 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24135 PULSE_CFLAGS = $PULSE_CFLAGS
24136 PULSE_LIBS = $PULSE_LIBS
24137 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24138 GSTREAMER_LIBS = $GSTREAMER_LIBS
24139 ALSA_LIBS = $ALSA_LIBS
24140 OSS4_CFLAGS = $OSS4_CFLAGS
24141 OSS4_LIBS = $OSS4_LIBS
24142 UDEV_CFLAGS = $UDEV_CFLAGS
24143 UDEV_LIBS = $UDEV_LIBS
24144 UNWIND_CFLAGS = $UNWIND_CFLAGS
24145 UNWIND_LIBS = $UNWIND_LIBS
24146 SDL2_CFLAGS = $SDL2_CFLAGS
24147 SDL2_LIBS = $SDL2_LIBS
24148 CAPI20_CFLAGS = $CAPI20_CFLAGS
24149 CAPI20_LIBS = $CAPI20_LIBS
24150 CUPS_CFLAGS = $CUPS_CFLAGS
24151 CUPS_LIBS = $CUPS_LIBS
24152 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24153 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24154 KRB5_CFLAGS = $KRB5_CFLAGS
24155 KRB5_LIBS = $KRB5_LIBS
24156 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24157 GSSAPI_LIBS = $GSSAPI_LIBS
24158 PROCSTAT_LIBS = $PROCSTAT_LIBS
24159 NETAPI_CFLAGS = $NETAPI_CFLAGS
24160 NETAPI_LIBS = $NETAPI_LIBS
24161 MSVCRTFLAGS = $MSVCRTFLAGS
24162 DELAYLOADFLAG = $DELAYLOADFLAG
24163 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24164 RT_LIBS = $RT_LIBS
24165 TAGSFLAGS = $TAGSFLAGS
24166 LIBOBJS = $LIBOBJS
24167 LTLIBOBJS = $LTLIBOBJS
24168 $SET_MAKE
24169 $wine_rules
24170 _WINE_EOF
24171 as_fn_error $? "could not create Makefile" "$LINENO" 5
24174 _ACEOF
24176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24178 # Handling of arguments.
24179 for ac_config_target in $ac_config_targets
24181 case $ac_config_target in
24182 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24183 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24184 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
24185 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24186 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
24187 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
24189 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24190 esac
24191 done
24194 # If the user did not use the arguments to specify the items to instantiate,
24195 # then the envvar interface is used. Set only those that are not.
24196 # We use the long form for the default assignment because of an extremely
24197 # bizarre bug on SunOS 4.1.3.
24198 if $ac_need_defaults; then
24199 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
24200 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
24201 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
24204 # Have a temporary directory for convenience. Make it in the build tree
24205 # simply because there is no reason against having it here, and in addition,
24206 # creating and moving files from /tmp can sometimes cause problems.
24207 # Hook for its removal unless debugging.
24208 # Note that there is a small window in which the directory will not be cleaned:
24209 # after its creation but before its name has been assigned to `$tmp'.
24210 $debug ||
24212 tmp= ac_tmp=
24213 trap 'exit_status=$?
24214 : "${ac_tmp:=$tmp}"
24215 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24217 trap 'as_fn_exit 1' 1 2 13 15
24219 # Create a (secure) tmp directory for tmp files.
24222 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24223 test -d "$tmp"
24224 } ||
24226 tmp=./conf$$-$RANDOM
24227 (umask 077 && mkdir "$tmp")
24228 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24229 ac_tmp=$tmp
24231 # Set up the scripts for CONFIG_HEADERS section.
24232 # No need to generate them if there are no CONFIG_HEADERS.
24233 # This happens for instance with `./config.status Makefile'.
24234 if test -n "$CONFIG_HEADERS"; then
24235 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24236 BEGIN {
24237 _ACEOF
24239 # Transform confdefs.h into an awk script `defines.awk', embedded as
24240 # here-document in config.status, that substitutes the proper values into
24241 # config.h.in to produce config.h.
24243 # Create a delimiter string that does not exist in confdefs.h, to ease
24244 # handling of long lines.
24245 ac_delim='%!_!# '
24246 for ac_last_try in false false :; do
24247 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24248 if test -z "$ac_tt"; then
24249 break
24250 elif $ac_last_try; then
24251 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24252 else
24253 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24255 done
24257 # For the awk script, D is an array of macro values keyed by name,
24258 # likewise P contains macro parameters if any. Preserve backslash
24259 # newline sequences.
24261 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24262 sed -n '
24263 s/.\{148\}/&'"$ac_delim"'/g
24264 t rset
24265 :rset
24266 s/^[ ]*#[ ]*define[ ][ ]*/ /
24267 t def
24269 :def
24270 s/\\$//
24271 t bsnl
24272 s/["\\]/\\&/g
24273 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24274 D["\1"]=" \3"/p
24275 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24277 :bsnl
24278 s/["\\]/\\&/g
24279 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24280 D["\1"]=" \3\\\\\\n"\\/p
24281 t cont
24282 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24283 t cont
24285 :cont
24287 s/.\{148\}/&'"$ac_delim"'/g
24288 t clear
24289 :clear
24290 s/\\$//
24291 t bsnlc
24292 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24294 :bsnlc
24295 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24296 b cont
24297 ' <confdefs.h | sed '
24298 s/'"$ac_delim"'/"\\\
24299 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24302 for (key in D) D_is_set[key] = 1
24303 FS = "\a"
24305 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24306 line = \$ 0
24307 split(line, arg, " ")
24308 if (arg[1] == "#") {
24309 defundef = arg[2]
24310 mac1 = arg[3]
24311 } else {
24312 defundef = substr(arg[1], 2)
24313 mac1 = arg[2]
24315 split(mac1, mac2, "(") #)
24316 macro = mac2[1]
24317 prefix = substr(line, 1, index(line, defundef) - 1)
24318 if (D_is_set[macro]) {
24319 # Preserve the white space surrounding the "#".
24320 print prefix "define", macro P[macro] D[macro]
24321 next
24322 } else {
24323 # Replace #undef with comments. This is necessary, for example,
24324 # in the case of _POSIX_SOURCE, which is predefined and required
24325 # on some systems where configure will not decide to define it.
24326 if (defundef == "undef") {
24327 print "/*", prefix defundef, macro, "*/"
24328 next
24332 { print }
24333 _ACAWK
24334 _ACEOF
24335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24336 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24337 fi # test -n "$CONFIG_HEADERS"
24340 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24341 shift
24342 for ac_tag
24344 case $ac_tag in
24345 :[FHLC]) ac_mode=$ac_tag; continue;;
24346 esac
24347 case $ac_mode$ac_tag in
24348 :[FHL]*:*);;
24349 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24350 :[FH]-) ac_tag=-:-;;
24351 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24352 esac
24353 ac_save_IFS=$IFS
24354 IFS=:
24355 set x $ac_tag
24356 IFS=$ac_save_IFS
24357 shift
24358 ac_file=$1
24359 shift
24361 case $ac_mode in
24362 :L) ac_source=$1;;
24363 :[FH])
24364 ac_file_inputs=
24365 for ac_f
24367 case $ac_f in
24368 -) ac_f="$ac_tmp/stdin";;
24369 *) # Look for the file first in the build tree, then in the source tree
24370 # (if the path is not absolute). The absolute path cannot be DOS-style,
24371 # because $ac_f cannot contain `:'.
24372 test -f "$ac_f" ||
24373 case $ac_f in
24374 [\\/$]*) false;;
24375 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24376 esac ||
24377 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24378 esac
24379 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24380 as_fn_append ac_file_inputs " '$ac_f'"
24381 done
24383 # Let's still pretend it is `configure' which instantiates (i.e., don't
24384 # use $as_me), people would be surprised to read:
24385 # /* config.h. Generated by config.status. */
24386 configure_input='Generated from '`
24387 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24388 `' by configure.'
24389 if test x"$ac_file" != x-; then
24390 configure_input="$ac_file. $configure_input"
24391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24392 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24394 # Neutralize special characters interpreted by sed in replacement strings.
24395 case $configure_input in #(
24396 *\&* | *\|* | *\\* )
24397 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24398 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24399 *) ac_sed_conf_input=$configure_input;;
24400 esac
24402 case $ac_tag in
24403 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24404 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24405 esac
24407 esac
24409 ac_dir=`$as_dirname -- "$ac_file" ||
24410 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24411 X"$ac_file" : 'X\(//\)[^/]' \| \
24412 X"$ac_file" : 'X\(//\)$' \| \
24413 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24414 printf "%s\n" X"$ac_file" |
24415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24416 s//\1/
24419 /^X\(\/\/\)[^/].*/{
24420 s//\1/
24423 /^X\(\/\/\)$/{
24424 s//\1/
24427 /^X\(\/\).*/{
24428 s//\1/
24431 s/.*/./; q'`
24432 as_dir="$ac_dir"; as_fn_mkdir_p
24433 ac_builddir=.
24435 case "$ac_dir" in
24436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24438 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24439 # A ".." for each directory in $ac_dir_suffix.
24440 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24441 case $ac_top_builddir_sub in
24442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24444 esac ;;
24445 esac
24446 ac_abs_top_builddir=$ac_pwd
24447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24448 # for backward compatibility:
24449 ac_top_builddir=$ac_top_build_prefix
24451 case $srcdir in
24452 .) # We are building in place.
24453 ac_srcdir=.
24454 ac_top_srcdir=$ac_top_builddir_sub
24455 ac_abs_top_srcdir=$ac_pwd ;;
24456 [\\/]* | ?:[\\/]* ) # Absolute name.
24457 ac_srcdir=$srcdir$ac_dir_suffix;
24458 ac_top_srcdir=$srcdir
24459 ac_abs_top_srcdir=$srcdir ;;
24460 *) # Relative name.
24461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24462 ac_top_srcdir=$ac_top_build_prefix$srcdir
24463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24464 esac
24465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24468 case $ac_mode in
24472 # CONFIG_HEADER
24474 if test x"$ac_file" != x-; then
24476 printf "%s\n" "/* $configure_input */" >&1 \
24477 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24478 } >"$ac_tmp/config.h" \
24479 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24480 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24482 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24483 else
24484 rm -f "$ac_file"
24485 mv "$ac_tmp/config.h" "$ac_file" \
24486 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24488 else
24489 printf "%s\n" "/* $configure_input */" >&1 \
24490 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24491 || as_fn_error $? "could not create -" "$LINENO" 5
24496 # CONFIG_LINK
24499 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24501 else
24502 # Prefer the file from the source tree if names are identical.
24503 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24504 ac_source=$srcdir/$ac_source
24507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24508 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24510 if test ! -r "$ac_source"; then
24511 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24513 rm -f "$ac_file"
24515 # Try a relative symlink, then a hard link, then a copy.
24516 case $ac_source in
24517 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24518 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24519 esac
24520 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24521 ln "$ac_source" "$ac_file" 2>/dev/null ||
24522 cp -p "$ac_source" "$ac_file" ||
24523 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24526 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24527 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24529 esac
24532 case $ac_file$ac_mode in
24533 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24534 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24535 "Makefile":C) wine_fn_output_makefile Makefile ;;
24537 esac
24538 done # for ac_tag
24541 as_fn_exit 0
24542 _ACEOF
24543 ac_clean_files=$ac_clean_files_save
24545 test $ac_write_fail = 0 ||
24546 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24549 # configure is writing to config.log, and then calls config.status.
24550 # config.status does its own redirection, appending to config.log.
24551 # Unfortunately, on DOS this fails, as config.log is still kept open
24552 # by configure, so config.status won't be able to write to it; its
24553 # output is simply discarded. So we exec the FD to /dev/null,
24554 # effectively closing config.log, so it can be properly (re)opened and
24555 # appended to by config.status. When coming back to configure, we
24556 # need to make the FD available again.
24557 if test "$no_create" != yes; then
24558 ac_cs_success=:
24559 ac_config_status_args=
24560 test "$silent" = yes &&
24561 ac_config_status_args="$ac_config_status_args --quiet"
24562 exec 5>/dev/null
24563 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24564 exec 5>>config.log
24565 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24566 # would make configure fail if this is the last instruction.
24567 $ac_cs_success || as_fn_exit 1
24569 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24571 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24575 if test "$no_create" = "yes"
24576 then
24577 exit 0
24580 ac_save_IFS="$IFS"
24581 if test "x$wine_notices" != x; then
24582 echo >&6
24583 IFS="|"
24584 for msg in $wine_notices; do
24585 IFS="$ac_save_IFS"
24586 if ${msg:+false} :
24587 then :
24589 else $as_nop
24590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24591 printf "%s\n" "$as_me: $msg" >&6;}
24593 done
24595 IFS="|"
24596 for msg in $wine_warnings; do
24597 IFS="$ac_save_IFS"
24598 if ${msg:+false} :
24599 then :
24601 else $as_nop
24602 echo >&2
24603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24604 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24606 done
24607 IFS="$ac_save_IFS"
24609 printf "%s\n" "
24610 $as_me: Finished. Do '${ac_make}' to compile Wine.
24611 " >&6