secur32/tests: Update count for new winehq.org certificate.
[wine.git] / configure
blob59848dcdaf4c89602f6bd3bc50591a5d8c9ea1e0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.4.
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.4'
615 PACKAGE_STRING='Wine 9.4'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_EGL_LIBS
706 WAYLAND_EGL_CFLAGS
707 EGL_LIBS
708 EGL_CFLAGS
709 XKBREGISTRY_LIBS
710 XKBREGISTRY_CFLAGS
711 XKBCOMMON_LIBS
712 XKBCOMMON_CFLAGS
713 WAYLAND_SCANNER
714 WAYLAND_CLIENT_LIBS
715 WAYLAND_CLIENT_CFLAGS
716 X_EXTRA_LIBS
717 X_LIBS
718 X_PRE_LIBS
719 X_CFLAGS
721 XMKMF
722 PTHREAD_LIBS
723 ZYDIS_PE_LIBS
724 ZYDIS_PE_CFLAGS
725 ZLIB_PE_LIBS
726 ZLIB_PE_CFLAGS
727 XSLT_PE_LIBS
728 XSLT_PE_CFLAGS
729 XML2_PE_LIBS
730 XML2_PE_CFLAGS
731 VKD3D_PE_LIBS
732 VKD3D_PE_CFLAGS
733 TIFF_PE_LIBS
734 TIFF_PE_CFLAGS
735 PNG_PE_LIBS
736 PNG_PE_CFLAGS
737 MUSL_PE_LIBS
738 MUSL_PE_CFLAGS
739 MPG123_PE_LIBS
740 MPG123_PE_CFLAGS
741 LDAP_PE_LIBS
742 LDAP_PE_CFLAGS
743 LCMS2_PE_LIBS
744 LCMS2_PE_CFLAGS
745 JXR_PE_LIBS
746 JXR_PE_CFLAGS
747 JPEG_PE_LIBS
748 JPEG_PE_CFLAGS
749 GSM_PE_LIBS
750 GSM_PE_CFLAGS
751 FLUIDSYNTH_PE_LIBS
752 FLUIDSYNTH_PE_CFLAGS
753 FAUDIO_PE_LIBS
754 FAUDIO_PE_CFLAGS
755 MINGW_PKG_CONFIG
756 PE_ARCHS
757 WINELOADER_DEPENDS
758 ac_ct_OBJC
759 OBJCFLAGS
760 OBJC
761 OPENCL_LIBS
762 COREAUDIO_LIBS
763 SYSTEMCONFIGURATION_LIBS
764 SECURITY_LIBS
765 APPKIT_LIBS
766 CORESERVICES_LIBS
767 APPLICATIONSERVICES_LIBS
768 METAL_LIBS
769 IOKIT_LIBS
770 DISKARBITRATION_LIBS
771 COREFOUNDATION_LIBS
772 CARBON_LIBS
773 CONFIGURE_TARGETS
774 DISABLED_SUBDIRS
775 SUBDIRS
776 READELF
777 OTOOL
779 DLLEXT
780 WINEPRELOADER_LDFLAGS
781 WINELOADER_LDFLAGS
782 TOP_INSTALL_DEV
783 TOP_INSTALL_LIB
784 UNIXLDFLAGS
785 UNIXDLLFLAGS
786 EXTRACFLAGS
787 LDEXECFLAGS
788 LDDLLFLAGS
789 DLLFLAGS
790 OPENGL_LIBS
791 I386_LIBS
792 ICOTOOL
793 CONVERT
794 RSVG
795 FONTFORGE
796 PKG_CONFIG
797 MSGFMT
798 LDCONFIG
799 EGREP
800 GREP
801 LN_S
802 RANLIB
803 STRIP
804 ac_ct_AR
806 BISON
807 FLEX
808 SED_CMD
809 RUNTESTFLAGS
810 MAKEDEP
811 toolsdir
812 x86_64_DISABLED_SUBDIRS
813 x86_64_DELAYLOADFLAG
814 x86_64_TARGET
815 x86_64_DEBUG
816 x86_64_LDFLAGS
817 x86_64_EXTRACFLAGS
818 x86_64_CFLAGS
819 x86_64_CC
820 i386_DISABLED_SUBDIRS
821 i386_DELAYLOADFLAG
822 i386_TARGET
823 i386_DEBUG
824 i386_LDFLAGS
825 i386_EXTRACFLAGS
826 i386_CFLAGS
827 i386_CC
828 arm64ec_DISABLED_SUBDIRS
829 arm64ec_DELAYLOADFLAG
830 arm64ec_TARGET
831 arm64ec_DEBUG
832 arm64ec_LDFLAGS
833 arm64ec_EXTRACFLAGS
834 arm64ec_CFLAGS
835 arm64ec_CC
836 arm_DISABLED_SUBDIRS
837 arm_DELAYLOADFLAG
838 arm_TARGET
839 arm_DEBUG
840 arm_LDFLAGS
841 arm_EXTRACFLAGS
842 arm_CFLAGS
843 arm_CC
844 aarch64_DISABLED_SUBDIRS
845 aarch64_DELAYLOADFLAG
846 aarch64_TARGET
847 aarch64_DEBUG
848 aarch64_LDFLAGS
849 aarch64_EXTRACFLAGS
850 aarch64_CFLAGS
851 aarch64_CC
852 HOST_ARCH
853 toolsext
854 TARGETFLAGS
856 CPPBIN
857 ac_ct_CXX
858 CXXFLAGS
860 OBJEXT
861 EXEEXT
862 ac_ct_CC
863 CPPFLAGS
864 LDFLAGS
865 CFLAGS
867 SET_MAKE
868 srcdir
869 nlsdir
870 fontdir
871 dlldir
872 host_os
873 host_vendor
874 host_cpu
875 host
876 build_os
877 build_vendor
878 build_cpu
879 build
880 system_dllpath
881 target_alias
882 host_alias
883 build_alias
884 LIBS
885 ECHO_T
886 ECHO_N
887 ECHO_C
888 DEFS
889 mandir
890 localedir
891 libdir
892 psdir
893 pdfdir
894 dvidir
895 htmldir
896 infodir
897 docdir
898 oldincludedir
899 includedir
900 runstatedir
901 localstatedir
902 sharedstatedir
903 sysconfdir
904 datadir
905 datarootdir
906 libexecdir
907 sbindir
908 bindir
909 program_transform_name
910 prefix
911 exec_prefix
912 PACKAGE_URL
913 PACKAGE_BUGREPORT
914 PACKAGE_STRING
915 PACKAGE_VERSION
916 PACKAGE_TARNAME
917 PACKAGE_NAME
918 PATH_SEPARATOR
919 SHELL'
920 ac_subst_files=''
921 ac_user_opts='
922 enable_option_checking
923 enable_archs
924 enable_win16
925 enable_win64
926 enable_tests
927 enable_build_id
928 enable_maintainer_mode
929 enable_silent_rules
930 enable_werror
931 with_alsa
932 with_capi
933 with_coreaudio
934 with_cups
935 with_dbus
936 with_fontconfig
937 with_freetype
938 with_gettext
939 with_gettextpo
940 with_gphoto
941 with_gnutls
942 with_gssapi
943 with_gstreamer
944 with_inotify
945 with_krb5
946 with_mingw
947 with_netapi
948 with_opencl
949 with_opengl
950 with_osmesa
951 with_oss
952 with_pcap
953 with_pcsclite
954 with_pthread
955 with_pulse
956 with_sane
957 with_sdl
958 with_udev
959 with_unwind
960 with_usb
961 with_v4l2
962 with_vulkan
963 with_wayland
964 with_xcomposite
965 with_xcursor
966 with_xfixes
967 with_xinerama
968 with_xinput
969 with_xinput2
970 with_xrandr
971 with_xrender
972 with_xshape
973 with_xshm
974 with_xxf86vm
975 with_system_dllpath
976 with_wine_tools
977 with_wine64
978 enable_largefile
979 with_x
980 enable_acledit
981 enable_aclui
982 enable_activeds_tlb
983 enable_activeds
984 enable_actxprxy
985 enable_adsldp
986 enable_adsldpc
987 enable_advapi32
988 enable_advpack
989 enable_amsi
990 enable_amstream
991 enable_apisetschema
992 enable_apphelp
993 enable_appwiz_cpl
994 enable_appxdeploymentclient
995 enable_atl
996 enable_atl100
997 enable_atl110
998 enable_atl80
999 enable_atl90
1000 enable_atlthunk
1001 enable_atmlib
1002 enable_authz
1003 enable_avicap32
1004 enable_avifil32
1005 enable_avrt
1006 enable_bcrypt
1007 enable_bcryptprimitives
1008 enable_bluetoothapis
1009 enable_browseui
1010 enable_bthprops_cpl
1011 enable_cabinet
1012 enable_capi2032
1013 enable_cards
1014 enable_cdosys
1015 enable_cfgmgr32
1016 enable_clusapi
1017 enable_cng_sys
1018 enable_combase
1019 enable_comcat
1020 enable_comctl32
1021 enable_comdlg32
1022 enable_coml2
1023 enable_compstui
1024 enable_comsvcs
1025 enable_concrt140
1026 enable_connect
1027 enable_credui
1028 enable_crtdll
1029 enable_crypt32
1030 enable_cryptdlg
1031 enable_cryptdll
1032 enable_cryptext
1033 enable_cryptnet
1034 enable_cryptowinrt
1035 enable_cryptsp
1036 enable_cryptui
1037 enable_ctapi32
1038 enable_ctl3d32
1039 enable_d2d1
1040 enable_d3d10
1041 enable_d3d10_1
1042 enable_d3d10core
1043 enable_d3d11
1044 enable_d3d12
1045 enable_d3d12core
1046 enable_d3d8
1047 enable_d3d8thk
1048 enable_d3d9
1049 enable_d3dcompiler_33
1050 enable_d3dcompiler_34
1051 enable_d3dcompiler_35
1052 enable_d3dcompiler_36
1053 enable_d3dcompiler_37
1054 enable_d3dcompiler_38
1055 enable_d3dcompiler_39
1056 enable_d3dcompiler_40
1057 enable_d3dcompiler_41
1058 enable_d3dcompiler_42
1059 enable_d3dcompiler_43
1060 enable_d3dcompiler_46
1061 enable_d3dcompiler_47
1062 enable_d3dim
1063 enable_d3dim700
1064 enable_d3drm
1065 enable_d3dx10_33
1066 enable_d3dx10_34
1067 enable_d3dx10_35
1068 enable_d3dx10_36
1069 enable_d3dx10_37
1070 enable_d3dx10_38
1071 enable_d3dx10_39
1072 enable_d3dx10_40
1073 enable_d3dx10_41
1074 enable_d3dx10_42
1075 enable_d3dx10_43
1076 enable_d3dx11_42
1077 enable_d3dx11_43
1078 enable_d3dx9_24
1079 enable_d3dx9_25
1080 enable_d3dx9_26
1081 enable_d3dx9_27
1082 enable_d3dx9_28
1083 enable_d3dx9_29
1084 enable_d3dx9_30
1085 enable_d3dx9_31
1086 enable_d3dx9_32
1087 enable_d3dx9_33
1088 enable_d3dx9_34
1089 enable_d3dx9_35
1090 enable_d3dx9_36
1091 enable_d3dx9_37
1092 enable_d3dx9_38
1093 enable_d3dx9_39
1094 enable_d3dx9_40
1095 enable_d3dx9_41
1096 enable_d3dx9_42
1097 enable_d3dx9_43
1098 enable_d3dxof
1099 enable_davclnt
1100 enable_dbgeng
1101 enable_dbghelp
1102 enable_dciman32
1103 enable_dcomp
1104 enable_ddraw
1105 enable_ddrawex
1106 enable_devenum
1107 enable_dhcpcsvc
1108 enable_dhcpcsvc6
1109 enable_dhtmled_ocx
1110 enable_diasymreader
1111 enable_difxapi
1112 enable_dinput
1113 enable_dinput8
1114 enable_directmanipulation
1115 enable_dispex
1116 enable_dmband
1117 enable_dmcompos
1118 enable_dmime
1119 enable_dmloader
1120 enable_dmscript
1121 enable_dmstyle
1122 enable_dmsynth
1123 enable_dmusic
1124 enable_dmusic32
1125 enable_dnsapi
1126 enable_dplay
1127 enable_dplayx
1128 enable_dpnaddr
1129 enable_dpnet
1130 enable_dpnhpast
1131 enable_dpnhupnp
1132 enable_dpnlobby
1133 enable_dpvoice
1134 enable_dpwsockx
1135 enable_drmclien
1136 enable_dsdmo
1137 enable_dsound
1138 enable_dsquery
1139 enable_dssenh
1140 enable_dsuiext
1141 enable_dswave
1142 enable_dwmapi
1143 enable_dwrite
1144 enable_dx8vb
1145 enable_dxcore
1146 enable_dxdiagn
1147 enable_dxgi
1148 enable_dxtrans
1149 enable_dxva2
1150 enable_esent
1151 enable_evr
1152 enable_explorerframe
1153 enable_faultrep
1154 enable_feclient
1155 enable_fltlib
1156 enable_fltmgr_sys
1157 enable_fntcache
1158 enable_fontsub
1159 enable_fusion
1160 enable_fwpuclnt
1161 enable_gameux
1162 enable_gamingtcui
1163 enable_gdi32
1164 enable_gdiplus
1165 enable_geolocation
1166 enable_glu32
1167 enable_gphoto2_ds
1168 enable_gpkcsp
1169 enable_graphicscapture
1170 enable_hal
1171 enable_hhctrl_ocx
1172 enable_hid
1173 enable_hidclass_sys
1174 enable_hidparse_sys
1175 enable_hlink
1176 enable_hnetcfg
1177 enable_hrtfapo
1178 enable_http_sys
1179 enable_httpapi
1180 enable_hvsimanagementapi
1181 enable_ia2comproxy
1182 enable_iccvid
1183 enable_icmp
1184 enable_ieframe
1185 enable_ieproxy
1186 enable_imaadp32_acm
1187 enable_imagehlp
1188 enable_imm32
1189 enable_inetcomm
1190 enable_inetcpl_cpl
1191 enable_inetmib1
1192 enable_infosoft
1193 enable_initpki
1194 enable_inkobj
1195 enable_inseng
1196 enable_iphlpapi
1197 enable_iprop
1198 enable_ir50_32
1199 enable_irprops_cpl
1200 enable_itircl
1201 enable_itss
1202 enable_joy_cpl
1203 enable_jscript
1204 enable_jsproxy
1205 enable_kerberos
1206 enable_kernel32
1207 enable_kernelbase
1208 enable_ksecdd_sys
1209 enable_ksproxy_ax
1210 enable_ksuser
1211 enable_ktmw32
1212 enable_l3codeca_acm
1213 enable_light_msstyles
1214 enable_loadperf
1215 enable_localspl
1216 enable_localui
1217 enable_lz32
1218 enable_magnification
1219 enable_mapi32
1220 enable_mapistub
1221 enable_mciavi32
1222 enable_mcicda
1223 enable_mciqtz32
1224 enable_mciseq
1225 enable_mciwave
1226 enable_mf
1227 enable_mf3216
1228 enable_mferror
1229 enable_mfmediaengine
1230 enable_mfplat
1231 enable_mfplay
1232 enable_mfreadwrite
1233 enable_mfsrcsnk
1234 enable_mgmtapi
1235 enable_midimap
1236 enable_mlang
1237 enable_mmcndmgr
1238 enable_mmdevapi
1239 enable_mouhid_sys
1240 enable_mountmgr_sys
1241 enable_mp3dmod
1242 enable_mpr
1243 enable_mprapi
1244 enable_msacm32_drv
1245 enable_msacm32
1246 enable_msado15
1247 enable_msadp32_acm
1248 enable_msasn1
1249 enable_msauddecmft
1250 enable_mscat32
1251 enable_mscms
1252 enable_mscoree
1253 enable_mscorwks
1254 enable_msctf
1255 enable_msctfmonitor
1256 enable_msctfp
1257 enable_msdaps
1258 enable_msdasql
1259 enable_msdelta
1260 enable_msdmo
1261 enable_msdrm
1262 enable_msftedit
1263 enable_msg711_acm
1264 enable_msgsm32_acm
1265 enable_mshtml_tlb
1266 enable_mshtml
1267 enable_msi
1268 enable_msident
1269 enable_msimg32
1270 enable_msimsg
1271 enable_msimtf
1272 enable_msisip
1273 enable_msisys_ocx
1274 enable_msls31
1275 enable_msmpeg2vdec
1276 enable_msnet32
1277 enable_mspatcha
1278 enable_msports
1279 enable_msrle32
1280 enable_msscript_ocx
1281 enable_mssign32
1282 enable_mssip32
1283 enable_mstask
1284 enable_msttsengine
1285 enable_msv1_0
1286 enable_msvcirt
1287 enable_msvcm80
1288 enable_msvcm90
1289 enable_msvcp100
1290 enable_msvcp110
1291 enable_msvcp120
1292 enable_msvcp120_app
1293 enable_msvcp140
1294 enable_msvcp140_1
1295 enable_msvcp140_2
1296 enable_msvcp140_atomic_wait
1297 enable_msvcp140_codecvt_ids
1298 enable_msvcp60
1299 enable_msvcp70
1300 enable_msvcp71
1301 enable_msvcp80
1302 enable_msvcp90
1303 enable_msvcp_win
1304 enable_msvcr100
1305 enable_msvcr110
1306 enable_msvcr120
1307 enable_msvcr120_app
1308 enable_msvcr70
1309 enable_msvcr71
1310 enable_msvcr80
1311 enable_msvcr90
1312 enable_msvcrt
1313 enable_msvcrt20
1314 enable_msvcrt40
1315 enable_msvcrtd
1316 enable_msvfw32
1317 enable_msvidc32
1318 enable_mswsock
1319 enable_msxml
1320 enable_msxml2
1321 enable_msxml3
1322 enable_msxml4
1323 enable_msxml6
1324 enable_mtxdm
1325 enable_ncrypt
1326 enable_nddeapi
1327 enable_ndis_sys
1328 enable_netapi32
1329 enable_netcfgx
1330 enable_netio_sys
1331 enable_netprofm
1332 enable_netutils
1333 enable_newdev
1334 enable_ninput
1335 enable_normaliz
1336 enable_npmshtml
1337 enable_npptools
1338 enable_nsi
1339 enable_nsiproxy_sys
1340 enable_ntdll
1341 enable_ntdsapi
1342 enable_ntoskrnl_exe
1343 enable_ntprint
1344 enable_objsel
1345 enable_odbc32
1346 enable_odbcbcp
1347 enable_odbccp32
1348 enable_odbccu32
1349 enable_ole32
1350 enable_oleacc
1351 enable_oleaut32
1352 enable_olecli32
1353 enable_oledb32
1354 enable_oledlg
1355 enable_olepro32
1356 enable_olesvr32
1357 enable_olethk32
1358 enable_opcservices
1359 enable_opencl
1360 enable_opengl32
1361 enable_packager
1362 enable_pdh
1363 enable_photometadatahandler
1364 enable_pidgen
1365 enable_powrprof
1366 enable_printui
1367 enable_prntvpt
1368 enable_propsys
1369 enable_psapi
1370 enable_pstorec
1371 enable_pwrshplugin
1372 enable_qasf
1373 enable_qcap
1374 enable_qdvd
1375 enable_qedit
1376 enable_qmgr
1377 enable_qmgrprxy
1378 enable_quartz
1379 enable_query
1380 enable_qwave
1381 enable_rasapi32
1382 enable_rasdlg
1383 enable_regapi
1384 enable_resutils
1385 enable_riched20
1386 enable_riched32
1387 enable_rpcrt4
1388 enable_rsabase
1389 enable_rsaenh
1390 enable_rstrtmgr
1391 enable_rtutils
1392 enable_rtworkq
1393 enable_samlib
1394 enable_sane_ds
1395 enable_sapi
1396 enable_sas
1397 enable_scarddlg
1398 enable_scardsvr
1399 enable_sccbase
1400 enable_schannel
1401 enable_schedsvc
1402 enable_scrobj
1403 enable_scrrun
1404 enable_scsiport_sys
1405 enable_sechost
1406 enable_secur32
1407 enable_security
1408 enable_sensapi
1409 enable_serialui
1410 enable_setupapi
1411 enable_sfc
1412 enable_sfc_os
1413 enable_shcore
1414 enable_shdoclc
1415 enable_shdocvw
1416 enable_shell32
1417 enable_shfolder
1418 enable_shlwapi
1419 enable_slbcsp
1420 enable_slc
1421 enable_snmpapi
1422 enable_softpub
1423 enable_spoolss
1424 enable_sppc
1425 enable_srclient
1426 enable_srvcli
1427 enable_srvsvc
1428 enable_sspicli
1429 enable_stdole2_tlb
1430 enable_stdole32_tlb
1431 enable_sti
1432 enable_strmdll
1433 enable_svrapi
1434 enable_sxs
1435 enable_t2embed
1436 enable_tapi32
1437 enable_taskschd
1438 enable_tbs
1439 enable_tdh
1440 enable_tdi_sys
1441 enable_threadpoolwinrt
1442 enable_traffic
1443 enable_twain_32
1444 enable_twinapi_appcore
1445 enable_tzres
1446 enable_ucrtbase
1447 enable_uianimation
1448 enable_uiautomationcore
1449 enable_uiribbon
1450 enable_unicows
1451 enable_updspapi
1452 enable_url
1453 enable_urlmon
1454 enable_usbd_sys
1455 enable_user32
1456 enable_userenv
1457 enable_usp10
1458 enable_utildll
1459 enable_uxtheme
1460 enable_vbscript
1461 enable_vcomp
1462 enable_vcomp100
1463 enable_vcomp110
1464 enable_vcomp120
1465 enable_vcomp140
1466 enable_vcomp90
1467 enable_vcruntime140
1468 enable_vcruntime140_1
1469 enable_vdmdbg
1470 enable_version
1471 enable_vga
1472 enable_virtdisk
1473 enable_vssapi
1474 enable_vulkan_1
1475 enable_wbemdisp
1476 enable_wbemprox
1477 enable_wdscore
1478 enable_webservices
1479 enable_websocket
1480 enable_wer
1481 enable_wevtapi
1482 enable_wevtsvc
1483 enable_wiaservc
1484 enable_wimgapi
1485 enable_win32u
1486 enable_windows_applicationmodel
1487 enable_windows_devices_bluetooth
1488 enable_windows_devices_enumeration
1489 enable_windows_devices_usb
1490 enable_windows_gaming_input
1491 enable_windows_gaming_ui_gamebar
1492 enable_windows_globalization
1493 enable_windows_media_devices
1494 enable_windows_media_mediacontrol
1495 enable_windows_media_speech
1496 enable_windows_media
1497 enable_windows_networking_hostname
1498 enable_windows_networking
1499 enable_windows_perception_stub
1500 enable_windows_security_authentication_onlineid
1501 enable_windows_security_credentials_ui_userconsentverifier
1502 enable_windows_storage_applicationdata
1503 enable_windows_system_profile_systemmanufacturers
1504 enable_windows_ui
1505 enable_windowscodecs
1506 enable_windowscodecsext
1507 enable_winealsa_drv
1508 enable_wineandroid_drv
1509 enable_winebus_sys
1510 enable_winecoreaudio_drv
1511 enable_winecrt0
1512 enable_wined3d
1513 enable_winegstreamer
1514 enable_winehid_sys
1515 enable_winemac_drv
1516 enable_winemapi
1517 enable_wineoss_drv
1518 enable_wineps_drv
1519 enable_winepulse_drv
1520 enable_wineusb_sys
1521 enable_winevulkan
1522 enable_winewayland_drv
1523 enable_winex11_drv
1524 enable_winexinput_sys
1525 enable_wing32
1526 enable_winhttp
1527 enable_wininet
1528 enable_winmm
1529 enable_winnls32
1530 enable_winprint
1531 enable_winscard
1532 enable_winspool_drv
1533 enable_winsta
1534 enable_wintab32
1535 enable_wintrust
1536 enable_wintypes
1537 enable_winusb
1538 enable_wlanapi
1539 enable_wlanui
1540 enable_wldap32
1541 enable_wldp
1542 enable_wmasf
1543 enable_wmi
1544 enable_wmiutils
1545 enable_wmp
1546 enable_wmphoto
1547 enable_wmvcore
1548 enable_wnaspi32
1549 enable_wofutil
1550 enable_wow64
1551 enable_wow64cpu
1552 enable_wow64win
1553 enable_wpc
1554 enable_wpcap
1555 enable_ws2_32
1556 enable_wsdapi
1557 enable_wshom_ocx
1558 enable_wsnmp32
1559 enable_wsock32
1560 enable_wtsapi32
1561 enable_wuapi
1562 enable_wuaueng
1563 enable_x3daudio1_0
1564 enable_x3daudio1_1
1565 enable_x3daudio1_2
1566 enable_x3daudio1_3
1567 enable_x3daudio1_4
1568 enable_x3daudio1_5
1569 enable_x3daudio1_6
1570 enable_x3daudio1_7
1571 enable_xactengine2_0
1572 enable_xactengine2_4
1573 enable_xactengine2_7
1574 enable_xactengine2_9
1575 enable_xactengine3_0
1576 enable_xactengine3_1
1577 enable_xactengine3_2
1578 enable_xactengine3_3
1579 enable_xactengine3_4
1580 enable_xactengine3_5
1581 enable_xactengine3_6
1582 enable_xactengine3_7
1583 enable_xapofx1_1
1584 enable_xapofx1_2
1585 enable_xapofx1_3
1586 enable_xapofx1_4
1587 enable_xapofx1_5
1588 enable_xaudio2_0
1589 enable_xaudio2_1
1590 enable_xaudio2_2
1591 enable_xaudio2_3
1592 enable_xaudio2_4
1593 enable_xaudio2_5
1594 enable_xaudio2_6
1595 enable_xaudio2_7
1596 enable_xaudio2_8
1597 enable_xaudio2_9
1598 enable_xinput1_1
1599 enable_xinput1_2
1600 enable_xinput1_3
1601 enable_xinput1_4
1602 enable_xinput9_1_0
1603 enable_xinputuap
1604 enable_xmllite
1605 enable_xolehlp
1606 enable_xpsprint
1607 enable_xpssvcs
1608 enable_fonts
1609 enable_include
1610 enable_adsiid
1611 enable_dmoguids
1612 enable_dxerr8
1613 enable_dxerr9
1614 enable_dxguid
1615 enable_faudio
1616 enable_fluidsynth
1617 enable_gsm
1618 enable_jpeg
1619 enable_jxr
1620 enable_lcms2
1621 enable_ldap
1622 enable_mfuuid
1623 enable_mpg123
1624 enable_musl
1625 enable_png
1626 enable_strmbase
1627 enable_strmiids
1628 enable_tiff
1629 enable_uuid
1630 enable_vkd3d
1631 enable_wbemuuid
1632 enable_wmcodecdspuuid
1633 enable_xml2
1634 enable_xslt
1635 enable_zlib
1636 enable_zydis
1637 enable_loader
1638 enable_nls
1639 enable_po
1640 enable_arp
1641 enable_aspnet_regiis
1642 enable_attrib
1643 enable_cabarc
1644 enable_cacls
1645 enable_certutil
1646 enable_chcp_com
1647 enable_clock
1648 enable_cmd
1649 enable_conhost
1650 enable_control
1651 enable_cscript
1652 enable_dism
1653 enable_dllhost
1654 enable_dplaysvr
1655 enable_dpnsvr
1656 enable_dpvsetup
1657 enable_dxdiag
1658 enable_eject
1659 enable_expand
1660 enable_explorer
1661 enable_extrac32
1662 enable_fc
1663 enable_find
1664 enable_findstr
1665 enable_fsutil
1666 enable_hh
1667 enable_hostname
1668 enable_icacls
1669 enable_icinfo
1670 enable_iexplore
1671 enable_ipconfig
1672 enable_klist
1673 enable_lodctr
1674 enable_mofcomp
1675 enable_mshta
1676 enable_msidb
1677 enable_msiexec
1678 enable_msinfo32
1679 enable_net
1680 enable_netsh
1681 enable_netstat
1682 enable_ngen
1683 enable_notepad
1684 enable_oleview
1685 enable_ping
1686 enable_plugplay
1687 enable_pnputil
1688 enable_powershell
1689 enable_presentationfontcache
1690 enable_progman
1691 enable_reg
1692 enable_regasm
1693 enable_regedit
1694 enable_regini
1695 enable_regsvcs
1696 enable_regsvr32
1697 enable_robocopy
1698 enable_rpcss
1699 enable_rundll32
1700 enable_sc
1701 enable_schtasks
1702 enable_sdbinst
1703 enable_secedit
1704 enable_servicemodelreg
1705 enable_services
1706 enable_setx
1707 enable_shutdown
1708 enable_spoolsv
1709 enable_start
1710 enable_subst
1711 enable_svchost
1712 enable_systeminfo
1713 enable_taskkill
1714 enable_tasklist
1715 enable_taskmgr
1716 enable_termsv
1717 enable_uninstaller
1718 enable_unlodctr
1719 enable_view
1720 enable_wevtutil
1721 enable_where
1722 enable_whoami
1723 enable_wineboot
1724 enable_winebrowser
1725 enable_winecfg
1726 enable_wineconsole
1727 enable_winedbg
1728 enable_winedevice
1729 enable_winefile
1730 enable_winemenubuilder
1731 enable_winemine
1732 enable_winemsibuilder
1733 enable_winepath
1734 enable_winetest
1735 enable_winhlp32
1736 enable_winmgmt
1737 enable_winver
1738 enable_wmic
1739 enable_wmplayer
1740 enable_wordpad
1741 enable_write
1742 enable_wscript
1743 enable_wuauserv
1744 enable_wusa
1745 enable_xcopy
1746 enable_server
1747 enable_tools
1748 enable_sfnt2fon
1749 enable_widl
1750 enable_winebuild
1751 enable_winedump
1752 enable_winegcc
1753 enable_winemaker
1754 enable_wmc
1755 enable_wrc
1757 ac_precious_vars='build_alias
1758 host_alias
1759 target_alias
1761 CFLAGS
1762 LDFLAGS
1763 LIBS
1764 CPPFLAGS
1766 CXXFLAGS
1768 OBJC
1769 OBJCFLAGS
1770 FAUDIO_PE_CFLAGS
1771 FAUDIO_PE_LIBS
1772 FLUIDSYNTH_PE_CFLAGS
1773 FLUIDSYNTH_PE_LIBS
1774 GSM_PE_CFLAGS
1775 GSM_PE_LIBS
1776 JPEG_PE_CFLAGS
1777 JPEG_PE_LIBS
1778 JXR_PE_CFLAGS
1779 JXR_PE_LIBS
1780 LCMS2_PE_CFLAGS
1781 LCMS2_PE_LIBS
1782 LDAP_PE_CFLAGS
1783 LDAP_PE_LIBS
1784 MPG123_PE_CFLAGS
1785 MPG123_PE_LIBS
1786 MUSL_PE_CFLAGS
1787 MUSL_PE_LIBS
1788 PNG_PE_CFLAGS
1789 PNG_PE_LIBS
1790 TIFF_PE_CFLAGS
1791 TIFF_PE_LIBS
1792 VKD3D_PE_CFLAGS
1793 VKD3D_PE_LIBS
1794 XML2_PE_CFLAGS
1795 XML2_PE_LIBS
1796 XSLT_PE_CFLAGS
1797 XSLT_PE_LIBS
1798 ZLIB_PE_CFLAGS
1799 ZLIB_PE_LIBS
1800 ZYDIS_PE_CFLAGS
1801 ZYDIS_PE_LIBS
1802 XMKMF
1804 WAYLAND_CLIENT_CFLAGS
1805 WAYLAND_CLIENT_LIBS
1806 XKBCOMMON_CFLAGS
1807 XKBCOMMON_LIBS
1808 XKBREGISTRY_CFLAGS
1809 XKBREGISTRY_LIBS
1810 EGL_CFLAGS
1811 EGL_LIBS
1812 WAYLAND_EGL_CFLAGS
1813 WAYLAND_EGL_LIBS
1814 INOTIFY_CFLAGS
1815 INOTIFY_LIBS
1816 DBUS_CFLAGS
1817 DBUS_LIBS
1818 GNUTLS_CFLAGS
1819 GNUTLS_LIBS
1820 SANE_CFLAGS
1821 SANE_LIBS
1822 USB_CFLAGS
1823 USB_LIBS
1824 GPHOTO2_CFLAGS
1825 GPHOTO2_LIBS
1826 GPHOTO2_PORT_CFLAGS
1827 GPHOTO2_PORT_LIBS
1828 FREETYPE_CFLAGS
1829 FREETYPE_LIBS
1830 PULSE_CFLAGS
1831 PULSE_LIBS
1832 GSTREAMER_CFLAGS
1833 GSTREAMER_LIBS
1834 UDEV_CFLAGS
1835 UDEV_LIBS
1836 UNWIND_CFLAGS
1837 UNWIND_LIBS
1838 SDL2_CFLAGS
1839 SDL2_LIBS
1840 CAPI20_CFLAGS
1841 CAPI20_LIBS
1842 CUPS_CFLAGS
1843 CUPS_LIBS
1844 FONTCONFIG_CFLAGS
1845 FONTCONFIG_LIBS
1846 KRB5_CFLAGS
1847 KRB5_LIBS
1848 GSSAPI_CFLAGS
1849 GSSAPI_LIBS
1850 NETAPI_CFLAGS
1851 NETAPI_LIBS'
1854 # Initialize some variables set by options.
1855 ac_init_help=
1856 ac_init_version=false
1857 ac_unrecognized_opts=
1858 ac_unrecognized_sep=
1859 # The variables have the same names as the options, with
1860 # dashes changed to underlines.
1861 cache_file=/dev/null
1862 exec_prefix=NONE
1863 no_create=
1864 no_recursion=
1865 prefix=NONE
1866 program_prefix=NONE
1867 program_suffix=NONE
1868 program_transform_name=s,x,x,
1869 silent=
1870 site=
1871 srcdir=
1872 verbose=
1873 x_includes=NONE
1874 x_libraries=NONE
1876 # Installation directory options.
1877 # These are left unexpanded so users can "make install exec_prefix=/foo"
1878 # and all the variables that are supposed to be based on exec_prefix
1879 # by default will actually change.
1880 # Use braces instead of parens because sh, perl, etc. also accept them.
1881 # (The list follows the same order as the GNU Coding Standards.)
1882 bindir='${exec_prefix}/bin'
1883 sbindir='${exec_prefix}/sbin'
1884 libexecdir='${exec_prefix}/libexec'
1885 datarootdir='${prefix}/share'
1886 datadir='${datarootdir}'
1887 sysconfdir='${prefix}/etc'
1888 sharedstatedir='${prefix}/com'
1889 localstatedir='${prefix}/var'
1890 runstatedir='${localstatedir}/run'
1891 includedir='${prefix}/include'
1892 oldincludedir='/usr/include'
1893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1894 infodir='${datarootdir}/info'
1895 htmldir='${docdir}'
1896 dvidir='${docdir}'
1897 pdfdir='${docdir}'
1898 psdir='${docdir}'
1899 libdir='${exec_prefix}/lib'
1900 localedir='${datarootdir}/locale'
1901 mandir='${datarootdir}/man'
1903 ac_prev=
1904 ac_dashdash=
1905 for ac_option
1907 # If the previous option needs an argument, assign it.
1908 if test -n "$ac_prev"; then
1909 eval $ac_prev=\$ac_option
1910 ac_prev=
1911 continue
1914 case $ac_option in
1915 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1916 *=) ac_optarg= ;;
1917 *) ac_optarg=yes ;;
1918 esac
1920 case $ac_dashdash$ac_option in
1922 ac_dashdash=yes ;;
1924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1925 ac_prev=bindir ;;
1926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1927 bindir=$ac_optarg ;;
1929 -build | --build | --buil | --bui | --bu)
1930 ac_prev=build_alias ;;
1931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1932 build_alias=$ac_optarg ;;
1934 -cache-file | --cache-file | --cache-fil | --cache-fi \
1935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1936 ac_prev=cache_file ;;
1937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1939 cache_file=$ac_optarg ;;
1941 --config-cache | -C)
1942 cache_file=config.cache ;;
1944 -datadir | --datadir | --datadi | --datad)
1945 ac_prev=datadir ;;
1946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1947 datadir=$ac_optarg ;;
1949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1950 | --dataroo | --dataro | --datar)
1951 ac_prev=datarootdir ;;
1952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1954 datarootdir=$ac_optarg ;;
1956 -disable-* | --disable-*)
1957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1958 # Reject names that are not valid shell variable names.
1959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1960 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1961 ac_useropt_orig=$ac_useropt
1962 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1963 case $ac_user_opts in
1965 "enable_$ac_useropt"
1966 "*) ;;
1967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1968 ac_unrecognized_sep=', ';;
1969 esac
1970 eval enable_$ac_useropt=no ;;
1972 -docdir | --docdir | --docdi | --doc | --do)
1973 ac_prev=docdir ;;
1974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1975 docdir=$ac_optarg ;;
1977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1978 ac_prev=dvidir ;;
1979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1980 dvidir=$ac_optarg ;;
1982 -enable-* | --enable-*)
1983 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1984 # Reject names that are not valid shell variable names.
1985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1986 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1987 ac_useropt_orig=$ac_useropt
1988 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1989 case $ac_user_opts in
1991 "enable_$ac_useropt"
1992 "*) ;;
1993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1994 ac_unrecognized_sep=', ';;
1995 esac
1996 eval enable_$ac_useropt=\$ac_optarg ;;
1998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2000 | --exec | --exe | --ex)
2001 ac_prev=exec_prefix ;;
2002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2004 | --exec=* | --exe=* | --ex=*)
2005 exec_prefix=$ac_optarg ;;
2007 -gas | --gas | --ga | --g)
2008 # Obsolete; use --with-gas.
2009 with_gas=yes ;;
2011 -help | --help | --hel | --he | -h)
2012 ac_init_help=long ;;
2013 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2014 ac_init_help=recursive ;;
2015 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2016 ac_init_help=short ;;
2018 -host | --host | --hos | --ho)
2019 ac_prev=host_alias ;;
2020 -host=* | --host=* | --hos=* | --ho=*)
2021 host_alias=$ac_optarg ;;
2023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2024 ac_prev=htmldir ;;
2025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2026 | --ht=*)
2027 htmldir=$ac_optarg ;;
2029 -includedir | --includedir | --includedi | --included | --include \
2030 | --includ | --inclu | --incl | --inc)
2031 ac_prev=includedir ;;
2032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2033 | --includ=* | --inclu=* | --incl=* | --inc=*)
2034 includedir=$ac_optarg ;;
2036 -infodir | --infodir | --infodi | --infod | --info | --inf)
2037 ac_prev=infodir ;;
2038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2039 infodir=$ac_optarg ;;
2041 -libdir | --libdir | --libdi | --libd)
2042 ac_prev=libdir ;;
2043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2044 libdir=$ac_optarg ;;
2046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2047 | --libexe | --libex | --libe)
2048 ac_prev=libexecdir ;;
2049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2050 | --libexe=* | --libex=* | --libe=*)
2051 libexecdir=$ac_optarg ;;
2053 -localedir | --localedir | --localedi | --localed | --locale)
2054 ac_prev=localedir ;;
2055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2056 localedir=$ac_optarg ;;
2058 -localstatedir | --localstatedir | --localstatedi | --localstated \
2059 | --localstate | --localstat | --localsta | --localst | --locals)
2060 ac_prev=localstatedir ;;
2061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2063 localstatedir=$ac_optarg ;;
2065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2066 ac_prev=mandir ;;
2067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2068 mandir=$ac_optarg ;;
2070 -nfp | --nfp | --nf)
2071 # Obsolete; use --without-fp.
2072 with_fp=no ;;
2074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2075 | --no-cr | --no-c | -n)
2076 no_create=yes ;;
2078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2080 no_recursion=yes ;;
2082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2084 | --oldin | --oldi | --old | --ol | --o)
2085 ac_prev=oldincludedir ;;
2086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2089 oldincludedir=$ac_optarg ;;
2091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2092 ac_prev=prefix ;;
2093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2094 prefix=$ac_optarg ;;
2096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2097 | --program-pre | --program-pr | --program-p)
2098 ac_prev=program_prefix ;;
2099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2101 program_prefix=$ac_optarg ;;
2103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2104 | --program-suf | --program-su | --program-s)
2105 ac_prev=program_suffix ;;
2106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2108 program_suffix=$ac_optarg ;;
2110 -program-transform-name | --program-transform-name \
2111 | --program-transform-nam | --program-transform-na \
2112 | --program-transform-n | --program-transform- \
2113 | --program-transform | --program-transfor \
2114 | --program-transfo | --program-transf \
2115 | --program-trans | --program-tran \
2116 | --progr-tra | --program-tr | --program-t)
2117 ac_prev=program_transform_name ;;
2118 -program-transform-name=* | --program-transform-name=* \
2119 | --program-transform-nam=* | --program-transform-na=* \
2120 | --program-transform-n=* | --program-transform-=* \
2121 | --program-transform=* | --program-transfor=* \
2122 | --program-transfo=* | --program-transf=* \
2123 | --program-trans=* | --program-tran=* \
2124 | --progr-tra=* | --program-tr=* | --program-t=*)
2125 program_transform_name=$ac_optarg ;;
2127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2128 ac_prev=pdfdir ;;
2129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2130 pdfdir=$ac_optarg ;;
2132 -psdir | --psdir | --psdi | --psd | --ps)
2133 ac_prev=psdir ;;
2134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2135 psdir=$ac_optarg ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2139 silent=yes ;;
2141 -runstatedir | --runstatedir | --runstatedi | --runstated \
2142 | --runstate | --runstat | --runsta | --runst | --runs \
2143 | --run | --ru | --r)
2144 ac_prev=runstatedir ;;
2145 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2146 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2147 | --run=* | --ru=* | --r=*)
2148 runstatedir=$ac_optarg ;;
2150 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2151 ac_prev=sbindir ;;
2152 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2153 | --sbi=* | --sb=*)
2154 sbindir=$ac_optarg ;;
2156 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2157 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2158 | --sharedst | --shareds | --shared | --share | --shar \
2159 | --sha | --sh)
2160 ac_prev=sharedstatedir ;;
2161 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2162 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2163 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2164 | --sha=* | --sh=*)
2165 sharedstatedir=$ac_optarg ;;
2167 -site | --site | --sit)
2168 ac_prev=site ;;
2169 -site=* | --site=* | --sit=*)
2170 site=$ac_optarg ;;
2172 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2173 ac_prev=srcdir ;;
2174 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2175 srcdir=$ac_optarg ;;
2177 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2178 | --syscon | --sysco | --sysc | --sys | --sy)
2179 ac_prev=sysconfdir ;;
2180 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2181 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2182 sysconfdir=$ac_optarg ;;
2184 -target | --target | --targe | --targ | --tar | --ta | --t)
2185 ac_prev=target_alias ;;
2186 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2187 target_alias=$ac_optarg ;;
2189 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2190 verbose=yes ;;
2192 -version | --version | --versio | --versi | --vers | -V)
2193 ac_init_version=: ;;
2195 -with-* | --with-*)
2196 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2197 # Reject names that are not valid shell variable names.
2198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2199 as_fn_error $? "invalid package name: \`$ac_useropt'"
2200 ac_useropt_orig=$ac_useropt
2201 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2202 case $ac_user_opts in
2204 "with_$ac_useropt"
2205 "*) ;;
2206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2207 ac_unrecognized_sep=', ';;
2208 esac
2209 eval with_$ac_useropt=\$ac_optarg ;;
2211 -without-* | --without-*)
2212 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2213 # Reject names that are not valid shell variable names.
2214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2215 as_fn_error $? "invalid package name: \`$ac_useropt'"
2216 ac_useropt_orig=$ac_useropt
2217 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2218 case $ac_user_opts in
2220 "with_$ac_useropt"
2221 "*) ;;
2222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2223 ac_unrecognized_sep=', ';;
2224 esac
2225 eval with_$ac_useropt=no ;;
2227 --x)
2228 # Obsolete; use --with-x.
2229 with_x=yes ;;
2231 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2232 | --x-incl | --x-inc | --x-in | --x-i)
2233 ac_prev=x_includes ;;
2234 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2235 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2236 x_includes=$ac_optarg ;;
2238 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2239 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2240 ac_prev=x_libraries ;;
2241 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2242 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2243 x_libraries=$ac_optarg ;;
2245 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2246 Try \`$0 --help' for more information"
2249 *=*)
2250 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2251 # Reject names that are not valid shell variable names.
2252 case $ac_envvar in #(
2253 '' | [0-9]* | *[!_$as_cr_alnum]* )
2254 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2255 esac
2256 eval $ac_envvar=\$ac_optarg
2257 export $ac_envvar ;;
2260 # FIXME: should be removed in autoconf 3.0.
2261 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2263 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2264 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2267 esac
2268 done
2270 if test -n "$ac_prev"; then
2271 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2272 as_fn_error $? "missing argument to $ac_option"
2275 if test -n "$ac_unrecognized_opts"; then
2276 case $enable_option_checking in
2277 no) ;;
2278 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2279 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2280 esac
2283 # Check all directory arguments for consistency.
2284 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2285 datadir sysconfdir sharedstatedir localstatedir includedir \
2286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2287 libdir localedir mandir runstatedir
2289 eval ac_val=\$$ac_var
2290 # Remove trailing slashes.
2291 case $ac_val in
2292 */ )
2293 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2294 eval $ac_var=\$ac_val;;
2295 esac
2296 # Be sure to have absolute directory names.
2297 case $ac_val in
2298 [\\/$]* | ?:[\\/]* ) continue;;
2299 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2300 esac
2301 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2302 done
2304 # There might be people who depend on the old broken behavior: `$host'
2305 # used to hold the argument of --host etc.
2306 # FIXME: To remove some day.
2307 build=$build_alias
2308 host=$host_alias
2309 target=$target_alias
2311 # FIXME: To remove some day.
2312 if test "x$host_alias" != x; then
2313 if test "x$build_alias" = x; then
2314 cross_compiling=maybe
2315 elif test "x$build_alias" != "x$host_alias"; then
2316 cross_compiling=yes
2320 ac_tool_prefix=
2321 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2323 test "$silent" = yes && exec 6>/dev/null
2326 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2327 ac_ls_di=`ls -di .` &&
2328 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2329 as_fn_error $? "working directory cannot be determined"
2330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2331 as_fn_error $? "pwd does not report name of working directory"
2334 # Find the source files, if location was not specified.
2335 if test -z "$srcdir"; then
2336 ac_srcdir_defaulted=yes
2337 # Try the directory containing this script, then the parent directory.
2338 ac_confdir=`$as_dirname -- "$as_myself" ||
2339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2340 X"$as_myself" : 'X\(//\)[^/]' \| \
2341 X"$as_myself" : 'X\(//\)$' \| \
2342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2343 printf "%s\n" X"$as_myself" |
2344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2345 s//\1/
2348 /^X\(\/\/\)[^/].*/{
2349 s//\1/
2352 /^X\(\/\/\)$/{
2353 s//\1/
2356 /^X\(\/\).*/{
2357 s//\1/
2360 s/.*/./; q'`
2361 srcdir=$ac_confdir
2362 if test ! -r "$srcdir/$ac_unique_file"; then
2363 srcdir=..
2365 else
2366 ac_srcdir_defaulted=no
2368 if test ! -r "$srcdir/$ac_unique_file"; then
2369 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2370 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2372 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2373 ac_abs_confdir=`(
2374 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2375 pwd)`
2376 # When building in place, set srcdir=.
2377 if test "$ac_abs_confdir" = "$ac_pwd"; then
2378 srcdir=.
2380 # Remove unnecessary trailing slashes from srcdir.
2381 # Double slashes in file names in object file debugging info
2382 # mess up M-x gdb in Emacs.
2383 case $srcdir in
2384 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2385 esac
2386 for ac_var in $ac_precious_vars; do
2387 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2388 eval ac_env_${ac_var}_value=\$${ac_var}
2389 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2390 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2391 done
2394 # Report the --help message.
2396 if test "$ac_init_help" = "long"; then
2397 # Omit some internal or obsolete options to make the list less imposing.
2398 # This message is too long to be a string in the A/UX 3.1 sh.
2399 cat <<_ACEOF
2400 \`configure' configures Wine 9.4 to adapt to many kinds of systems.
2402 Usage: $0 [OPTION]... [VAR=VALUE]...
2404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2405 VAR=VALUE. See below for descriptions of some of the useful variables.
2407 Defaults for the options are specified in brackets.
2409 Configuration:
2410 -h, --help display this help and exit
2411 --help=short display options specific to this package
2412 --help=recursive display the short help of all the included packages
2413 -V, --version display version information and exit
2414 -q, --quiet, --silent do not print \`checking ...' messages
2415 --cache-file=FILE cache test results in FILE [disabled]
2416 -C, --config-cache alias for \`--cache-file=config.cache'
2417 -n, --no-create do not create output files
2418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2420 Installation directories:
2421 --prefix=PREFIX install architecture-independent files in PREFIX
2422 [$ac_default_prefix]
2423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2424 [PREFIX]
2426 By default, \`make install' will install all the files in
2427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2429 for instance \`--prefix=\$HOME'.
2431 For better control, use the options below.
2433 Fine tuning of the installation directories:
2434 --bindir=DIR user executables [EPREFIX/bin]
2435 --sbindir=DIR system admin executables [EPREFIX/sbin]
2436 --libexecdir=DIR program executables [EPREFIX/libexec]
2437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2440 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2441 --libdir=DIR object code libraries [EPREFIX/lib]
2442 --includedir=DIR C header files [PREFIX/include]
2443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2446 --infodir=DIR info documentation [DATAROOTDIR/info]
2447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2448 --mandir=DIR man documentation [DATAROOTDIR/man]
2449 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2450 --htmldir=DIR html documentation [DOCDIR]
2451 --dvidir=DIR dvi documentation [DOCDIR]
2452 --pdfdir=DIR pdf documentation [DOCDIR]
2453 --psdir=DIR ps documentation [DOCDIR]
2454 _ACEOF
2456 cat <<\_ACEOF
2458 X features:
2459 --x-includes=DIR X include files are in DIR
2460 --x-libraries=DIR X library files are in DIR
2462 System types:
2463 --build=BUILD configure for building on BUILD [guessed]
2464 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2465 _ACEOF
2468 if test -n "$ac_init_help"; then
2469 case $ac_init_help in
2470 short | recursive ) echo "Configuration of Wine 9.4:";;
2471 esac
2472 cat <<\_ACEOF
2474 Optional Features:
2475 --disable-option-checking ignore unrecognized --enable/--with options
2476 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2477 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2478 --enable-archs={i386,x86_64,arm,aarch64}
2479 enable multiple architectures for PE compilation
2480 --disable-win16 do not include Win16 support
2481 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2482 binaries)
2483 --disable-tests do not build the regression tests
2484 --enable-build-id include .buildid section in output objects
2485 --enable-maintainer-mode
2486 enable maintainer-specific build rules
2487 --enable-silent-rules use silent build rules (override: "make V=1")
2488 --enable-werror treat compilation warnings as errors
2489 --disable-largefile omit support for large files
2491 Optional Packages:
2492 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2493 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2494 --without-alsa do not use the Alsa sound support
2495 --without-capi do not use CAPI (ISDN support)
2496 --without-coreaudio do not use the CoreAudio sound support
2497 --without-cups do not use CUPS
2498 --without-dbus do not use DBus (dynamic device support)
2499 --without-fontconfig do not use fontconfig
2500 --without-freetype do not use the FreeType library
2501 --without-gettext do not use gettext
2502 --with-gettextpo use the GetTextPO library to rebuild po files
2503 --without-gphoto do not use gphoto (Digital Camera support)
2504 --without-gnutls do not use GnuTLS (schannel support)
2505 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2506 --without-gstreamer do not use GStreamer (codecs support)
2507 --without-inotify do not use inotify (filesystem change notifications)
2508 --without-krb5 do not use krb5 (Kerberos)
2509 --without-mingw do not use the MinGW cross-compiler
2510 --without-netapi do not use the Samba NetAPI library
2511 --without-opencl do not use OpenCL
2512 --without-opengl do not use OpenGL
2513 --without-osmesa do not use the OSMesa library
2514 --without-oss do not use the OSS sound support
2515 --without-pcap do not use the Packet Capture library
2516 --without-pcsclite do not use PCSC lite
2517 --without-pthread do not use the pthread library
2518 --without-pulse do not use PulseAudio sound support
2519 --without-sane do not use SANE (scanner support)
2520 --without-sdl do not use SDL
2521 --without-udev do not use udev (plug and play support)
2522 --without-unwind do not use the libunwind library (exception
2523 handling)
2524 --without-usb do not use the libusb library
2525 --without-v4l2 do not use v4l2 (video capture)
2526 --without-vulkan do not use Vulkan
2527 --without-wayland do not build the Wayland driver
2528 --without-xcomposite do not use the Xcomposite extension
2529 --without-xcursor do not use the Xcursor extension
2530 --without-xfixes do not use Xfixes for clipboard change notifications
2531 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2532 --without-xinput do not use the Xinput extension
2533 --without-xinput2 do not use the Xinput 2 extension
2534 --without-xrandr do not use Xrandr (multi-monitor support)
2535 --without-xrender do not use the Xrender extension
2536 --without-xshape do not use the Xshape extension
2537 --without-xshm do not use XShm (shared memory extension)
2538 --without-xxf86vm do not use XFree video mode extension
2539 --with-system-dllpath=PATH
2540 load external PE dependencies from colon-separated
2541 path PATH
2542 --with-wine-tools=DIR use Wine tools from directory DIR
2543 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2544 --with-x use the X Window System
2546 Some influential environment variables:
2547 CC C compiler command
2548 CFLAGS C compiler flags
2549 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2550 nonstandard directory <lib dir>
2551 LIBS libraries to pass to the linker, e.g. -l<library>
2552 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2553 you have headers in a nonstandard directory <include dir>
2554 CXX C++ compiler command
2555 CXXFLAGS C++ compiler flags
2556 OBJC Objective C compiler command
2557 OBJCFLAGS Objective C compiler flags
2558 FAUDIO_PE_CFLAGS
2559 C compiler flags for the PE faudio, overriding the bundled
2560 version
2561 FAUDIO_PE_LIBS
2562 Linker flags for the PE faudio, overriding the bundled version
2563 FLUIDSYNTH_PE_CFLAGS
2564 C compiler flags for the PE fluidsynth, overriding the bundled
2565 version
2566 FLUIDSYNTH_PE_LIBS
2567 Linker flags for the PE fluidsynth, overriding the bundled
2568 version
2569 GSM_PE_CFLAGS
2570 C compiler flags for the PE gsm, overriding the bundled version
2571 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2572 JPEG_PE_CFLAGS
2573 C compiler flags for the PE jpeg, overriding the bundled version
2574 JPEG_PE_LIBS
2575 Linker flags for the PE jpeg, overriding the bundled version
2576 JXR_PE_CFLAGS
2577 C compiler flags for the PE jxr, overriding the bundled version
2578 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2579 LCMS2_PE_CFLAGS
2580 C compiler flags for the PE lcms2, overriding the bundled
2581 version
2582 LCMS2_PE_LIBS
2583 Linker flags for the PE lcms2, overriding the bundled version
2584 LDAP_PE_CFLAGS
2585 C compiler flags for the PE ldap, overriding the bundled version
2586 LDAP_PE_LIBS
2587 Linker flags for the PE ldap, overriding the bundled version
2588 MPG123_PE_CFLAGS
2589 C compiler flags for the PE mpg123, overriding the bundled
2590 version
2591 MPG123_PE_LIBS
2592 Linker flags for the PE mpg123, overriding the bundled version
2593 MUSL_PE_CFLAGS
2594 C compiler flags for the PE musl, overriding the bundled version
2595 MUSL_PE_LIBS
2596 Linker flags for the PE musl, overriding the bundled version
2597 PNG_PE_CFLAGS
2598 C compiler flags for the PE png, overriding the bundled version
2599 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2600 TIFF_PE_CFLAGS
2601 C compiler flags for the PE tiff, overriding the bundled version
2602 TIFF_PE_LIBS
2603 Linker flags for the PE tiff, overriding the bundled version
2604 VKD3D_PE_CFLAGS
2605 C compiler flags for the PE vkd3d, overriding the bundled
2606 version
2607 VKD3D_PE_LIBS
2608 Linker flags for the PE vkd3d, overriding the bundled version
2609 XML2_PE_CFLAGS
2610 C compiler flags for the PE xml2, overriding the bundled version
2611 XML2_PE_LIBS
2612 Linker flags for the PE xml2, overriding the bundled version
2613 XSLT_PE_CFLAGS
2614 C compiler flags for the PE xslt, overriding the bundled version
2615 XSLT_PE_LIBS
2616 Linker flags for the PE xslt, overriding the bundled version
2617 ZLIB_PE_CFLAGS
2618 C compiler flags for the PE zlib, overriding the bundled version
2619 ZLIB_PE_LIBS
2620 Linker flags for the PE zlib, overriding the bundled version
2621 ZYDIS_PE_CFLAGS
2622 C compiler flags for the PE zydis, overriding the bundled
2623 version
2624 ZYDIS_PE_LIBS
2625 Linker flags for the PE zydis, overriding the bundled version
2626 XMKMF Path to xmkmf, Makefile generator for X Window System
2627 CPP C preprocessor
2628 WAYLAND_CLIENT_CFLAGS
2629 C compiler flags for wayland-client, overriding pkg-config
2630 WAYLAND_CLIENT_LIBS
2631 Linker flags for wayland-client, overriding pkg-config
2632 XKBCOMMON_CFLAGS
2633 C compiler flags for xkbcommon, overriding pkg-config
2634 XKBCOMMON_LIBS
2635 Linker flags for xkbcommon, overriding pkg-config
2636 XKBREGISTRY_CFLAGS
2637 C compiler flags for xkbregistry, overriding pkg-config
2638 XKBREGISTRY_LIBS
2639 Linker flags for xkbregistry, overriding pkg-config
2640 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2641 EGL_LIBS Linker flags for egl, overriding pkg-config
2642 WAYLAND_EGL_CFLAGS
2643 C compiler flags for wayland-egl, overriding pkg-config
2644 WAYLAND_EGL_LIBS
2645 Linker flags for wayland-egl, overriding pkg-config
2646 INOTIFY_CFLAGS
2647 C compiler flags for libinotify, overriding pkg-config
2648 INOTIFY_LIBS
2649 Linker flags for libinotify, overriding pkg-config
2650 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2651 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2652 GNUTLS_CFLAGS
2653 C compiler flags for gnutls, overriding pkg-config
2654 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2655 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2656 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2657 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2658 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2659 GPHOTO2_CFLAGS
2660 C compiler flags for libgphoto2, overriding pkg-config
2661 GPHOTO2_LIBS
2662 Linker flags for libgphoto2, overriding pkg-config
2663 GPHOTO2_PORT_CFLAGS
2664 C compiler flags for libgphoto2_port, overriding pkg-config
2665 GPHOTO2_PORT_LIBS
2666 Linker flags for libgphoto2_port, overriding pkg-config
2667 FREETYPE_CFLAGS
2668 C compiler flags for freetype2, overriding pkg-config
2669 FREETYPE_LIBS
2670 Linker flags for freetype2, overriding pkg-config
2671 PULSE_CFLAGS
2672 C compiler flags for libpulse, overriding pkg-config
2673 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2674 GSTREAMER_CFLAGS
2675 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2676 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2677 GSTREAMER_LIBS
2678 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2679 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2680 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2681 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2682 UNWIND_CFLAGS
2683 C compiler flags for libunwind, overriding pkg-config
2684 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2685 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2686 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2687 CAPI20_CFLAGS
2688 C compiler flags for capi20, overriding pkg-config
2689 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2690 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2691 CUPS_LIBS Linker flags for cups, overriding pkg-config
2692 FONTCONFIG_CFLAGS
2693 C compiler flags for fontconfig, overriding pkg-config
2694 FONTCONFIG_LIBS
2695 Linker flags for fontconfig, overriding pkg-config
2696 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2697 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2698 GSSAPI_CFLAGS
2699 C compiler flags for krb5-gssapi, overriding pkg-config
2700 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2701 NETAPI_CFLAGS
2702 C compiler flags for netapi, overriding pkg-config
2703 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2705 Use these variables to override the choices made by `configure' or to help
2706 it to find libraries and programs with nonstandard names/locations.
2708 Report bugs to <wine-devel@winehq.org>.
2709 Wine home page: <https://www.winehq.org>.
2710 _ACEOF
2711 ac_status=$?
2714 if test "$ac_init_help" = "recursive"; then
2715 # If there are subdirs, report their specific --help.
2716 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2717 test -d "$ac_dir" ||
2718 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2719 continue
2720 ac_builddir=.
2722 case "$ac_dir" in
2723 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2725 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2726 # A ".." for each directory in $ac_dir_suffix.
2727 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2728 case $ac_top_builddir_sub in
2729 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2730 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2731 esac ;;
2732 esac
2733 ac_abs_top_builddir=$ac_pwd
2734 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2735 # for backward compatibility:
2736 ac_top_builddir=$ac_top_build_prefix
2738 case $srcdir in
2739 .) # We are building in place.
2740 ac_srcdir=.
2741 ac_top_srcdir=$ac_top_builddir_sub
2742 ac_abs_top_srcdir=$ac_pwd ;;
2743 [\\/]* | ?:[\\/]* ) # Absolute name.
2744 ac_srcdir=$srcdir$ac_dir_suffix;
2745 ac_top_srcdir=$srcdir
2746 ac_abs_top_srcdir=$srcdir ;;
2747 *) # Relative name.
2748 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2749 ac_top_srcdir=$ac_top_build_prefix$srcdir
2750 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2751 esac
2752 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2754 cd "$ac_dir" || { ac_status=$?; continue; }
2755 # Check for configure.gnu first; this name is used for a wrapper for
2756 # Metaconfig's "Configure" on case-insensitive file systems.
2757 if test -f "$ac_srcdir/configure.gnu"; then
2758 echo &&
2759 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2760 elif test -f "$ac_srcdir/configure"; then
2761 echo &&
2762 $SHELL "$ac_srcdir/configure" --help=recursive
2763 else
2764 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2765 fi || ac_status=$?
2766 cd "$ac_pwd" || { ac_status=$?; break; }
2767 done
2770 test -n "$ac_init_help" && exit $ac_status
2771 if $ac_init_version; then
2772 cat <<\_ACEOF
2773 Wine configure 9.4
2774 generated by GNU Autoconf 2.71
2776 Copyright (C) 2021 Free Software Foundation, Inc.
2777 This configure script is free software; the Free Software Foundation
2778 gives unlimited permission to copy, distribute and modify it.
2779 _ACEOF
2780 exit
2783 ## ------------------------ ##
2784 ## Autoconf initialization. ##
2785 ## ------------------------ ##
2787 # ac_fn_c_try_compile LINENO
2788 # --------------------------
2789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2790 ac_fn_c_try_compile ()
2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2793 rm -f conftest.$ac_objext conftest.beam
2794 if { { ac_try="$ac_compile"
2795 case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 printf "%s\n" "$ac_try_echo"; } >&5
2801 (eval "$ac_compile") 2>conftest.err
2802 ac_status=$?
2803 if test -s conftest.err; then
2804 grep -v '^ *+' conftest.err >conftest.er1
2805 cat conftest.er1 >&5
2806 mv -f conftest.er1 conftest.err
2808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; } && {
2810 test -z "$ac_c_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext
2813 then :
2814 ac_retval=0
2815 else $as_nop
2816 printf "%s\n" "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_c_try_compile
2826 # ac_fn_cxx_try_compile LINENO
2827 # ----------------------------
2828 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_cxx_try_compile ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext conftest.beam
2833 if { { ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 printf "%s\n" "$ac_try_echo"; } >&5
2840 (eval "$ac_compile") 2>conftest.err
2841 ac_status=$?
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_cxx_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.$ac_objext
2852 then :
2853 ac_retval=0
2854 else $as_nop
2855 printf "%s\n" "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 ac_retval=1
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 as_fn_set_status $ac_retval
2863 } # ac_fn_cxx_try_compile
2865 # ac_fn_c_try_link LINENO
2866 # -----------------------
2867 # Try to link conftest.$ac_ext, and return whether this succeeded.
2868 ac_fn_c_try_link ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2872 if { { ac_try="$ac_link"
2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 printf "%s\n" "$ac_try_echo"; } >&5
2879 (eval "$ac_link") 2>conftest.err
2880 ac_status=$?
2881 if test -s conftest.err; then
2882 grep -v '^ *+' conftest.err >conftest.er1
2883 cat conftest.er1 >&5
2884 mv -f conftest.er1 conftest.err
2886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887 test $ac_status = 0; } && {
2888 test -z "$ac_c_werror_flag" ||
2889 test ! -s conftest.err
2890 } && test -s conftest$ac_exeext && {
2891 test "$cross_compiling" = yes ||
2892 test -x conftest$ac_exeext
2894 then :
2895 ac_retval=0
2896 else $as_nop
2897 printf "%s\n" "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.$ac_ext >&5
2900 ac_retval=1
2902 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2903 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2904 # interfere with the next link command; also delete a directory that is
2905 # left behind by Apple's compiler. We do this before executing the actions.
2906 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2908 as_fn_set_status $ac_retval
2910 } # ac_fn_c_try_link
2912 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2913 # -------------------------------------------------------
2914 # Tests whether HEADER exists and can be compiled using the include files in
2915 # INCLUDES, setting the cache variable VAR accordingly.
2916 ac_fn_c_check_header_compile ()
2918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2920 printf %s "checking for $2... " >&6; }
2921 if eval test \${$3+y}
2922 then :
2923 printf %s "(cached) " >&6
2924 else $as_nop
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2928 #include <$2>
2929 _ACEOF
2930 if ac_fn_c_try_compile "$LINENO"
2931 then :
2932 eval "$3=yes"
2933 else $as_nop
2934 eval "$3=no"
2936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2938 eval ac_res=\$$3
2939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2940 printf "%s\n" "$ac_res" >&6; }
2941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2943 } # ac_fn_c_check_header_compile
2945 # ac_fn_objc_try_compile LINENO
2946 # -----------------------------
2947 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2948 ac_fn_objc_try_compile ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 rm -f conftest.$ac_objext conftest.beam
2952 if { { ac_try="$ac_compile"
2953 case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2956 esac
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 printf "%s\n" "$ac_try_echo"; } >&5
2959 (eval "$ac_compile") 2>conftest.err
2960 ac_status=$?
2961 if test -s conftest.err; then
2962 grep -v '^ *+' conftest.err >conftest.er1
2963 cat conftest.er1 >&5
2964 mv -f conftest.er1 conftest.err
2966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; } && {
2968 test -z "$ac_objc_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.$ac_objext
2971 then :
2972 ac_retval=0
2973 else $as_nop
2974 printf "%s\n" "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2977 ac_retval=1
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 as_fn_set_status $ac_retval
2982 } # ac_fn_objc_try_compile
2984 # ac_fn_c_check_func LINENO FUNC VAR
2985 # ----------------------------------
2986 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2987 ac_fn_c_check_func ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2991 printf %s "checking for $2... " >&6; }
2992 if eval test \${$3+y}
2993 then :
2994 printf %s "(cached) " >&6
2995 else $as_nop
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
2998 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3000 #define $2 innocuous_$2
3002 /* System header to define __stub macros and hopefully few prototypes,
3003 which can conflict with char $2 (); below. */
3005 #include <limits.h>
3006 #undef $2
3008 /* Override any GCC internal prototype to avoid an error.
3009 Use char because int might match the return type of a GCC
3010 builtin and then its argument prototype would still apply. */
3011 #ifdef __cplusplus
3012 extern "C"
3013 #endif
3014 char $2 ();
3015 /* The GNU C library defines this for functions which it implements
3016 to always fail with ENOSYS. Some functions are actually named
3017 something starting with __ and the normal name is an alias. */
3018 #if defined __stub_$2 || defined __stub___$2
3019 choke me
3020 #endif
3023 main (void)
3025 return $2 ();
3027 return 0;
3029 _ACEOF
3030 if ac_fn_c_try_link "$LINENO"
3031 then :
3032 eval "$3=yes"
3033 else $as_nop
3034 eval "$3=no"
3036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3037 conftest$ac_exeext conftest.$ac_ext
3039 eval ac_res=\$$3
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 printf "%s\n" "$ac_res" >&6; }
3042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3044 } # ac_fn_c_check_func
3046 # ac_fn_c_try_cpp LINENO
3047 # ----------------------
3048 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3049 ac_fn_c_try_cpp ()
3051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3052 if { { ac_try="$ac_cpp conftest.$ac_ext"
3053 case "(($ac_try" in
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3056 esac
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 printf "%s\n" "$ac_try_echo"; } >&5
3059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3060 ac_status=$?
3061 if test -s conftest.err; then
3062 grep -v '^ *+' conftest.err >conftest.er1
3063 cat conftest.er1 >&5
3064 mv -f conftest.er1 conftest.err
3066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3067 test $ac_status = 0; } > conftest.i && {
3068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3069 test ! -s conftest.err
3071 then :
3072 ac_retval=0
3073 else $as_nop
3074 printf "%s\n" "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3077 ac_retval=1
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 as_fn_set_status $ac_retval
3082 } # ac_fn_c_try_cpp
3084 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3085 # ----------------------------------------------------
3086 # Tries to find if the field MEMBER exists in type AGGR, after including
3087 # INCLUDES, setting cache variable VAR accordingly.
3088 ac_fn_c_check_member ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3092 printf %s "checking for $2.$3... " >&6; }
3093 if eval test \${$4+y}
3094 then :
3095 printf %s "(cached) " >&6
3096 else $as_nop
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3101 main (void)
3103 static $2 ac_aggr;
3104 if (ac_aggr.$3)
3105 return 0;
3107 return 0;
3109 _ACEOF
3110 if ac_fn_c_try_compile "$LINENO"
3111 then :
3112 eval "$4=yes"
3113 else $as_nop
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3118 main (void)
3120 static $2 ac_aggr;
3121 if (sizeof ac_aggr.$3)
3122 return 0;
3124 return 0;
3126 _ACEOF
3127 if ac_fn_c_try_compile "$LINENO"
3128 then :
3129 eval "$4=yes"
3130 else $as_nop
3131 eval "$4=no"
3133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3137 eval ac_res=\$$4
3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3139 printf "%s\n" "$ac_res" >&6; }
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 } # ac_fn_c_check_member
3144 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3145 # -------------------------------------------
3146 # Tests whether TYPE exists after having included INCLUDES, setting cache
3147 # variable VAR accordingly.
3148 ac_fn_c_check_type ()
3150 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3152 printf %s "checking for $2... " >&6; }
3153 if eval test \${$3+y}
3154 then :
3155 printf %s "(cached) " >&6
3156 else $as_nop
3157 eval "$3=no"
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3162 main (void)
3164 if (sizeof ($2))
3165 return 0;
3167 return 0;
3169 _ACEOF
3170 if ac_fn_c_try_compile "$LINENO"
3171 then :
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3176 main (void)
3178 if (sizeof (($2)))
3179 return 0;
3181 return 0;
3183 _ACEOF
3184 if ac_fn_c_try_compile "$LINENO"
3185 then :
3187 else $as_nop
3188 eval "$3=yes"
3190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3194 eval ac_res=\$$3
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3196 printf "%s\n" "$ac_res" >&6; }
3197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 } # ac_fn_c_check_type
3200 ac_configure_args_raw=
3201 for ac_arg
3203 case $ac_arg in
3204 *\'*)
3205 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3206 esac
3207 as_fn_append ac_configure_args_raw " '$ac_arg'"
3208 done
3210 case $ac_configure_args_raw in
3211 *$as_nl*)
3212 ac_safe_unquote= ;;
3214 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3215 ac_unsafe_a="$ac_unsafe_z#~"
3216 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3217 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3218 esac
3220 cat >config.log <<_ACEOF
3221 This file contains any messages produced by compilers while
3222 running configure, to aid debugging if configure makes a mistake.
3224 It was created by Wine $as_me 9.4, which was
3225 generated by GNU Autoconf 2.71. Invocation command line was
3227 $ $0$ac_configure_args_raw
3229 _ACEOF
3230 exec 5>>config.log
3232 cat <<_ASUNAME
3233 ## --------- ##
3234 ## Platform. ##
3235 ## --------- ##
3237 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3238 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3239 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3240 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3241 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3243 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3244 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3246 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3247 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3248 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3249 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3250 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3251 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3252 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3254 _ASUNAME
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 for as_dir in $PATH
3259 IFS=$as_save_IFS
3260 case $as_dir in #(((
3261 '') as_dir=./ ;;
3262 */) ;;
3263 *) as_dir=$as_dir/ ;;
3264 esac
3265 printf "%s\n" "PATH: $as_dir"
3266 done
3267 IFS=$as_save_IFS
3269 } >&5
3271 cat >&5 <<_ACEOF
3274 ## ----------- ##
3275 ## Core tests. ##
3276 ## ----------- ##
3278 _ACEOF
3281 # Keep a trace of the command line.
3282 # Strip out --no-create and --no-recursion so they do not pile up.
3283 # Strip out --silent because we don't want to record it for future runs.
3284 # Also quote any args containing shell meta-characters.
3285 # Make two passes to allow for proper duplicate-argument suppression.
3286 ac_configure_args=
3287 ac_configure_args0=
3288 ac_configure_args1=
3289 ac_must_keep_next=false
3290 for ac_pass in 1 2
3292 for ac_arg
3294 case $ac_arg in
3295 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3297 | -silent | --silent | --silen | --sile | --sil)
3298 continue ;;
3299 *\'*)
3300 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3301 esac
3302 case $ac_pass in
3303 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3305 as_fn_append ac_configure_args1 " '$ac_arg'"
3306 if test $ac_must_keep_next = true; then
3307 ac_must_keep_next=false # Got value, back to normal.
3308 else
3309 case $ac_arg in
3310 *=* | --config-cache | -C | -disable-* | --disable-* \
3311 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3312 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3313 | -with-* | --with-* | -without-* | --without-* | --x)
3314 case "$ac_configure_args0 " in
3315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3316 esac
3318 -* ) ac_must_keep_next=true ;;
3319 esac
3321 as_fn_append ac_configure_args " '$ac_arg'"
3323 esac
3324 done
3325 done
3326 { ac_configure_args0=; unset ac_configure_args0;}
3327 { ac_configure_args1=; unset ac_configure_args1;}
3329 # When interrupted or exit'd, cleanup temporary files, and complete
3330 # config.log. We remove comments because anyway the quotes in there
3331 # would cause problems or look ugly.
3332 # WARNING: Use '\'' to represent an apostrophe within the trap.
3333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3334 trap 'exit_status=$?
3335 # Sanitize IFS.
3336 IFS=" "" $as_nl"
3337 # Save into config.log some information that might help in debugging.
3339 echo
3341 printf "%s\n" "## ---------------- ##
3342 ## Cache variables. ##
3343 ## ---------------- ##"
3344 echo
3345 # The following way of writing the cache mishandles newlines in values,
3347 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3348 eval ac_val=\$$ac_var
3349 case $ac_val in #(
3350 *${as_nl}*)
3351 case $ac_var in #(
3352 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3353 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3354 esac
3355 case $ac_var in #(
3356 _ | IFS | as_nl) ;; #(
3357 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3358 *) { eval $ac_var=; unset $ac_var;} ;;
3359 esac ;;
3360 esac
3361 done
3362 (set) 2>&1 |
3363 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3364 *${as_nl}ac_space=\ *)
3365 sed -n \
3366 "s/'\''/'\''\\\\'\'''\''/g;
3367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3368 ;; #(
3370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3372 esac |
3373 sort
3375 echo
3377 printf "%s\n" "## ----------------- ##
3378 ## Output variables. ##
3379 ## ----------------- ##"
3380 echo
3381 for ac_var in $ac_subst_vars
3383 eval ac_val=\$$ac_var
3384 case $ac_val in
3385 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3386 esac
3387 printf "%s\n" "$ac_var='\''$ac_val'\''"
3388 done | sort
3389 echo
3391 if test -n "$ac_subst_files"; then
3392 printf "%s\n" "## ------------------- ##
3393 ## File substitutions. ##
3394 ## ------------------- ##"
3395 echo
3396 for ac_var in $ac_subst_files
3398 eval ac_val=\$$ac_var
3399 case $ac_val in
3400 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3401 esac
3402 printf "%s\n" "$ac_var='\''$ac_val'\''"
3403 done | sort
3404 echo
3407 if test -s confdefs.h; then
3408 printf "%s\n" "## ----------- ##
3409 ## confdefs.h. ##
3410 ## ----------- ##"
3411 echo
3412 cat confdefs.h
3413 echo
3415 test "$ac_signal" != 0 &&
3416 printf "%s\n" "$as_me: caught signal $ac_signal"
3417 printf "%s\n" "$as_me: exit $exit_status"
3418 } >&5
3419 rm -f core *.core core.conftest.* &&
3420 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3421 exit $exit_status
3423 for ac_signal in 1 2 13 15; do
3424 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3425 done
3426 ac_signal=0
3428 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3429 rm -f -r conftest* confdefs.h
3431 printf "%s\n" "/* confdefs.h */" > confdefs.h
3433 # Predefined preprocessor variables.
3435 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3437 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3439 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3441 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3443 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3445 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3448 # Let the site file select an alternate cache file if it wants to.
3449 # Prefer an explicitly selected file to automatically selected ones.
3450 if test -n "$CONFIG_SITE"; then
3451 ac_site_files="$CONFIG_SITE"
3452 elif test "x$prefix" != xNONE; then
3453 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3454 else
3455 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3458 for ac_site_file in $ac_site_files
3460 case $ac_site_file in #(
3461 */*) :
3462 ;; #(
3463 *) :
3464 ac_site_file=./$ac_site_file ;;
3465 esac
3466 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3468 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3469 sed 's/^/| /' "$ac_site_file" >&5
3470 . "$ac_site_file" \
3471 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $? "failed to load site script $ac_site_file
3474 See \`config.log' for more details" "$LINENO" 5; }
3476 done
3478 if test -r "$cache_file"; then
3479 # Some versions of bash will fail to source /dev/null (special files
3480 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3481 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3483 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3484 case $cache_file in
3485 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3486 *) . "./$cache_file";;
3487 esac
3489 else
3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3491 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3492 >$cache_file
3495 # Test code for whether the C compiler supports C89 (global declarations)
3496 ac_c_conftest_c89_globals='
3497 /* Does the compiler advertise C89 conformance?
3498 Do not test the value of __STDC__, because some compilers set it to 0
3499 while being otherwise adequately conformant. */
3500 #if !defined __STDC__
3501 # error "Compiler does not advertise C89 conformance"
3502 #endif
3504 #include <stddef.h>
3505 #include <stdarg.h>
3506 struct stat;
3507 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3508 struct buf { int x; };
3509 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3510 static char *e (p, i)
3511 char **p;
3512 int i;
3514 return p[i];
3516 static char *f (char * (*g) (char **, int), char **p, ...)
3518 char *s;
3519 va_list v;
3520 va_start (v,p);
3521 s = g (p, va_arg (v,int));
3522 va_end (v);
3523 return s;
3526 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3527 function prototypes and stuff, but not \xHH hex character constants.
3528 These do not provoke an error unfortunately, instead are silently treated
3529 as an "x". The following induces an error, until -std is added to get
3530 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3531 array size at least. It is necessary to write \x00 == 0 to get something
3532 that is true only with -std. */
3533 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3535 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3536 inside strings and character constants. */
3537 #define FOO(x) '\''x'\''
3538 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3540 int test (int i, double x);
3541 struct s1 {int (*f) (int a);};
3542 struct s2 {int (*f) (double a);};
3543 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3544 int, int);'
3546 # Test code for whether the C compiler supports C89 (body of main).
3547 ac_c_conftest_c89_main='
3548 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3551 # Test code for whether the C compiler supports C99 (global declarations)
3552 ac_c_conftest_c99_globals='
3553 // Does the compiler advertise C99 conformance?
3554 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3555 # error "Compiler does not advertise C99 conformance"
3556 #endif
3558 #include <stdbool.h>
3559 extern int puts (const char *);
3560 extern int printf (const char *, ...);
3561 extern int dprintf (int, const char *, ...);
3562 extern void *malloc (size_t);
3564 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3565 // dprintf is used instead of fprintf to avoid needing to declare
3566 // FILE and stderr.
3567 #define debug(...) dprintf (2, __VA_ARGS__)
3568 #define showlist(...) puts (#__VA_ARGS__)
3569 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3570 static void
3571 test_varargs_macros (void)
3573 int x = 1234;
3574 int y = 5678;
3575 debug ("Flag");
3576 debug ("X = %d\n", x);
3577 showlist (The first, second, and third items.);
3578 report (x>y, "x is %d but y is %d", x, y);
3581 // Check long long types.
3582 #define BIG64 18446744073709551615ull
3583 #define BIG32 4294967295ul
3584 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3585 #if !BIG_OK
3586 #error "your preprocessor is broken"
3587 #endif
3588 #if BIG_OK
3589 #else
3590 #error "your preprocessor is broken"
3591 #endif
3592 static long long int bignum = -9223372036854775807LL;
3593 static unsigned long long int ubignum = BIG64;
3595 struct incomplete_array
3597 int datasize;
3598 double data[];
3601 struct named_init {
3602 int number;
3603 const wchar_t *name;
3604 double average;
3607 typedef const char *ccp;
3609 static inline int
3610 test_restrict (ccp restrict text)
3612 // See if C++-style comments work.
3613 // Iterate through items via the restricted pointer.
3614 // Also check for declarations in for loops.
3615 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3616 continue;
3617 return 0;
3620 // Check varargs and va_copy.
3621 static bool
3622 test_varargs (const char *format, ...)
3624 va_list args;
3625 va_start (args, format);
3626 va_list args_copy;
3627 va_copy (args_copy, args);
3629 const char *str = "";
3630 int number = 0;
3631 float fnumber = 0;
3633 while (*format)
3635 switch (*format++)
3637 case '\''s'\'': // string
3638 str = va_arg (args_copy, const char *);
3639 break;
3640 case '\''d'\'': // int
3641 number = va_arg (args_copy, int);
3642 break;
3643 case '\''f'\'': // float
3644 fnumber = va_arg (args_copy, double);
3645 break;
3646 default:
3647 break;
3650 va_end (args_copy);
3651 va_end (args);
3653 return *str && number && fnumber;
3657 # Test code for whether the C compiler supports C99 (body of main).
3658 ac_c_conftest_c99_main='
3659 // Check bool.
3660 _Bool success = false;
3661 success |= (argc != 0);
3663 // Check restrict.
3664 if (test_restrict ("String literal") == 0)
3665 success = true;
3666 char *restrict newvar = "Another string";
3668 // Check varargs.
3669 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3670 test_varargs_macros ();
3672 // Check flexible array members.
3673 struct incomplete_array *ia =
3674 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3675 ia->datasize = 10;
3676 for (int i = 0; i < ia->datasize; ++i)
3677 ia->data[i] = i * 1.234;
3679 // Check named initializers.
3680 struct named_init ni = {
3681 .number = 34,
3682 .name = L"Test wide string",
3683 .average = 543.34343,
3686 ni.number = 58;
3688 int dynamic_array[ni.number];
3689 dynamic_array[0] = argv[0][0];
3690 dynamic_array[ni.number - 1] = 543;
3692 // work around unused variable warnings
3693 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3694 || dynamic_array[ni.number - 1] != 543);
3697 # Test code for whether the C compiler supports C11 (global declarations)
3698 ac_c_conftest_c11_globals='
3699 // Does the compiler advertise C11 conformance?
3700 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3701 # error "Compiler does not advertise C11 conformance"
3702 #endif
3704 // Check _Alignas.
3705 char _Alignas (double) aligned_as_double;
3706 char _Alignas (0) no_special_alignment;
3707 extern char aligned_as_int;
3708 char _Alignas (0) _Alignas (int) aligned_as_int;
3710 // Check _Alignof.
3711 enum
3713 int_alignment = _Alignof (int),
3714 int_array_alignment = _Alignof (int[100]),
3715 char_alignment = _Alignof (char)
3717 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3719 // Check _Noreturn.
3720 int _Noreturn does_not_return (void) { for (;;) continue; }
3722 // Check _Static_assert.
3723 struct test_static_assert
3725 int x;
3726 _Static_assert (sizeof (int) <= sizeof (long int),
3727 "_Static_assert does not work in struct");
3728 long int y;
3731 // Check UTF-8 literals.
3732 #define u8 syntax error!
3733 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3735 // Check duplicate typedefs.
3736 typedef long *long_ptr;
3737 typedef long int *long_ptr;
3738 typedef long_ptr long_ptr;
3740 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3741 struct anonymous
3743 union {
3744 struct { int i; int j; };
3745 struct { int k; long int l; } w;
3747 int m;
3748 } v1;
3751 # Test code for whether the C compiler supports C11 (body of main).
3752 ac_c_conftest_c11_main='
3753 _Static_assert ((offsetof (struct anonymous, i)
3754 == offsetof (struct anonymous, w.k)),
3755 "Anonymous union alignment botch");
3756 v1.i = 2;
3757 v1.w.k = 5;
3758 ok |= v1.i != 5;
3761 # Test code for whether the C compiler supports C11 (complete).
3762 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3763 ${ac_c_conftest_c99_globals}
3764 ${ac_c_conftest_c11_globals}
3767 main (int argc, char **argv)
3769 int ok = 0;
3770 ${ac_c_conftest_c89_main}
3771 ${ac_c_conftest_c99_main}
3772 ${ac_c_conftest_c11_main}
3773 return ok;
3777 # Test code for whether the C compiler supports C99 (complete).
3778 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3779 ${ac_c_conftest_c99_globals}
3782 main (int argc, char **argv)
3784 int ok = 0;
3785 ${ac_c_conftest_c89_main}
3786 ${ac_c_conftest_c99_main}
3787 return ok;
3791 # Test code for whether the C compiler supports C89 (complete).
3792 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3795 main (int argc, char **argv)
3797 int ok = 0;
3798 ${ac_c_conftest_c89_main}
3799 return ok;
3803 # Test code for whether the C++ compiler supports C++98 (global declarations)
3804 ac_cxx_conftest_cxx98_globals='
3805 // Does the compiler advertise C++98 conformance?
3806 #if !defined __cplusplus || __cplusplus < 199711L
3807 # error "Compiler does not advertise C++98 conformance"
3808 #endif
3810 // These inclusions are to reject old compilers that
3811 // lack the unsuffixed header files.
3812 #include <cstdlib>
3813 #include <exception>
3815 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3816 extern void assert (int);
3817 namespace std {
3818 extern int strcmp (const char *, const char *);
3821 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3822 using std::exception;
3823 using std::strcmp;
3825 namespace {
3827 void test_exception_syntax()
3829 try {
3830 throw "test";
3831 } catch (const char *s) {
3832 // Extra parentheses suppress a warning when building autoconf itself,
3833 // due to lint rules shared with more typical C programs.
3834 assert (!(strcmp) (s, "test"));
3838 template <typename T> struct test_template
3840 T const val;
3841 explicit test_template(T t) : val(t) {}
3842 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3845 } // anonymous namespace
3848 # Test code for whether the C++ compiler supports C++98 (body of main)
3849 ac_cxx_conftest_cxx98_main='
3850 assert (argc);
3851 assert (! argv[0]);
3853 test_exception_syntax ();
3854 test_template<double> tt (2.0);
3855 assert (tt.add (4) == 6.0);
3856 assert (true && !false);
3860 # Test code for whether the C++ compiler supports C++11 (global declarations)
3861 ac_cxx_conftest_cxx11_globals='
3862 // Does the compiler advertise C++ 2011 conformance?
3863 #if !defined __cplusplus || __cplusplus < 201103L
3864 # error "Compiler does not advertise C++11 conformance"
3865 #endif
3867 namespace cxx11test
3869 constexpr int get_val() { return 20; }
3871 struct testinit
3873 int i;
3874 double d;
3877 class delegate
3879 public:
3880 delegate(int n) : n(n) {}
3881 delegate(): delegate(2354) {}
3883 virtual int getval() { return this->n; };
3884 protected:
3885 int n;
3888 class overridden : public delegate
3890 public:
3891 overridden(int n): delegate(n) {}
3892 virtual int getval() override final { return this->n * 2; }
3895 class nocopy
3897 public:
3898 nocopy(int i): i(i) {}
3899 nocopy() = default;
3900 nocopy(const nocopy&) = delete;
3901 nocopy & operator=(const nocopy&) = delete;
3902 private:
3903 int i;
3906 // for testing lambda expressions
3907 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3909 return f(v);
3912 // for testing variadic templates and trailing return types
3913 template <typename V> auto sum(V first) -> V
3915 return first;
3917 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3919 return first + sum(rest...);
3924 # Test code for whether the C++ compiler supports C++11 (body of main)
3925 ac_cxx_conftest_cxx11_main='
3927 // Test auto and decltype
3928 auto a1 = 6538;
3929 auto a2 = 48573953.4;
3930 auto a3 = "String literal";
3932 int total = 0;
3933 for (auto i = a3; *i; ++i) { total += *i; }
3935 decltype(a2) a4 = 34895.034;
3938 // Test constexpr
3939 short sa[cxx11test::get_val()] = { 0 };
3942 // Test initializer lists
3943 cxx11test::testinit il = { 4323, 435234.23544 };
3946 // Test range-based for
3947 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3948 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3949 for (auto &x : array) { x += 23; }
3952 // Test lambda expressions
3953 using cxx11test::eval;
3954 assert (eval ([](int x) { return x*2; }, 21) == 42);
3955 double d = 2.0;
3956 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3957 assert (d == 5.0);
3958 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3959 assert (d == 5.0);
3962 // Test use of variadic templates
3963 using cxx11test::sum;
3964 auto a = sum(1);
3965 auto b = sum(1, 2);
3966 auto c = sum(1.0, 2.0, 3.0);
3969 // Test constructor delegation
3970 cxx11test::delegate d1;
3971 cxx11test::delegate d2();
3972 cxx11test::delegate d3(45);
3975 // Test override and final
3976 cxx11test::overridden o1(55464);
3979 // Test nullptr
3980 char *c = nullptr;
3983 // Test template brackets
3984 test_template<::test_template<int>> v(test_template<int>(12));
3987 // Unicode literals
3988 char const *utf8 = u8"UTF-8 string \u2500";
3989 char16_t const *utf16 = u"UTF-8 string \u2500";
3990 char32_t const *utf32 = U"UTF-32 string \u2500";
3994 # Test code for whether the C compiler supports C++11 (complete).
3995 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3996 ${ac_cxx_conftest_cxx11_globals}
3999 main (int argc, char **argv)
4001 int ok = 0;
4002 ${ac_cxx_conftest_cxx98_main}
4003 ${ac_cxx_conftest_cxx11_main}
4004 return ok;
4008 # Test code for whether the C compiler supports C++98 (complete).
4009 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4011 main (int argc, char **argv)
4013 int ok = 0;
4014 ${ac_cxx_conftest_cxx98_main}
4015 return ok;
4019 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4020 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4021 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4022 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4023 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4024 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4025 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4026 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4027 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4029 # Auxiliary files required by this configure script.
4030 ac_aux_files="config.guess config.sub"
4032 # Locations in which to look for auxiliary files.
4033 ac_aux_dir_candidates="${srcdir}/tools"
4035 # Search for a directory containing all of the required auxiliary files,
4036 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4037 # If we don't find one directory that contains all the files we need,
4038 # we report the set of missing files from the *first* directory in
4039 # $ac_aux_dir_candidates and give up.
4040 ac_missing_aux_files=""
4041 ac_first_candidate=:
4042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 as_found=false
4045 for as_dir in $ac_aux_dir_candidates
4047 IFS=$as_save_IFS
4048 case $as_dir in #(((
4049 '') as_dir=./ ;;
4050 */) ;;
4051 *) as_dir=$as_dir/ ;;
4052 esac
4053 as_found=:
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4056 ac_aux_dir_found=yes
4057 ac_install_sh=
4058 for ac_aux in $ac_aux_files
4060 # As a special case, if "install-sh" is required, that requirement
4061 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4062 # and $ac_install_sh is set appropriately for whichever one is found.
4063 if test x"$ac_aux" = x"install-sh"
4064 then
4065 if test -f "${as_dir}install-sh"; then
4066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4067 ac_install_sh="${as_dir}install-sh -c"
4068 elif test -f "${as_dir}install.sh"; then
4069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4070 ac_install_sh="${as_dir}install.sh -c"
4071 elif test -f "${as_dir}shtool"; then
4072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4073 ac_install_sh="${as_dir}shtool install -c"
4074 else
4075 ac_aux_dir_found=no
4076 if $ac_first_candidate; then
4077 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4078 else
4079 break
4082 else
4083 if test -f "${as_dir}${ac_aux}"; then
4084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4085 else
4086 ac_aux_dir_found=no
4087 if $ac_first_candidate; then
4088 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4089 else
4090 break
4094 done
4095 if test "$ac_aux_dir_found" = yes; then
4096 ac_aux_dir="$as_dir"
4097 break
4099 ac_first_candidate=false
4101 as_found=false
4102 done
4103 IFS=$as_save_IFS
4104 if $as_found
4105 then :
4107 else $as_nop
4108 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4112 # These three variables are undocumented and unsupported,
4113 # and are intended to be withdrawn in a future Autoconf release.
4114 # They can cause serious problems if a builder's source tree is in a directory
4115 # whose full name contains unusual characters.
4116 if test -f "${ac_aux_dir}config.guess"; then
4117 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4119 if test -f "${ac_aux_dir}config.sub"; then
4120 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4122 if test -f "$ac_aux_dir/configure"; then
4123 ac_configure="$SHELL ${ac_aux_dir}configure"
4126 # Check that the precious variables saved in the cache have kept the same
4127 # value.
4128 ac_cache_corrupted=false
4129 for ac_var in $ac_precious_vars; do
4130 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4131 eval ac_new_set=\$ac_env_${ac_var}_set
4132 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4133 eval ac_new_val=\$ac_env_${ac_var}_value
4134 case $ac_old_set,$ac_new_set in
4135 set,)
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4137 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4138 ac_cache_corrupted=: ;;
4139 ,set)
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4141 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4142 ac_cache_corrupted=: ;;
4143 ,);;
4145 if test "x$ac_old_val" != "x$ac_new_val"; then
4146 # differences in whitespace do not lead to failure.
4147 ac_old_val_w=`echo x $ac_old_val`
4148 ac_new_val_w=`echo x $ac_new_val`
4149 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4151 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4152 ac_cache_corrupted=:
4153 else
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4155 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4156 eval $ac_var=\$ac_old_val
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4159 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4161 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4162 fi;;
4163 esac
4164 # Pass precious variables to config.status.
4165 if test "$ac_new_set" = set; then
4166 case $ac_new_val in
4167 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4168 *) ac_arg=$ac_var=$ac_new_val ;;
4169 esac
4170 case " $ac_configure_args " in
4171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4172 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4173 esac
4175 done
4176 if $ac_cache_corrupted; then
4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4180 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4181 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4182 and start over" "$LINENO" 5
4184 ## -------------------- ##
4185 ## Main body of script. ##
4186 ## -------------------- ##
4188 ac_ext=c
4189 ac_cpp='$CPP $CPPFLAGS'
4190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196 ac_config_headers="$ac_config_headers include/config.h"
4200 libwine_version="1.0"
4203 # Check whether --enable-archs was given.
4204 if test ${enable_archs+y}
4205 then :
4206 enableval=$enable_archs;
4209 # Check whether --enable-win16 was given.
4210 if test ${enable_win16+y}
4211 then :
4212 enableval=$enable_win16;
4215 # Check whether --enable-win64 was given.
4216 if test ${enable_win64+y}
4217 then :
4218 enableval=$enable_win64;
4221 # Check whether --enable-tests was given.
4222 if test ${enable_tests+y}
4223 then :
4224 enableval=$enable_tests;
4227 # Check whether --enable-build-id was given.
4228 if test ${enable_build_id+y}
4229 then :
4230 enableval=$enable_build_id;
4233 # Check whether --enable-maintainer-mode was given.
4234 if test ${enable_maintainer_mode+y}
4235 then :
4236 enableval=$enable_maintainer_mode;
4239 # Check whether --enable-silent-rules was given.
4240 if test ${enable_silent_rules+y}
4241 then :
4242 enableval=$enable_silent_rules;
4245 # Check whether --enable-werror was given.
4246 if test ${enable_werror+y}
4247 then :
4248 enableval=$enable_werror;
4253 # Check whether --with-alsa was given.
4254 if test ${with_alsa+y}
4255 then :
4256 withval=$with_alsa;
4260 # Check whether --with-capi was given.
4261 if test ${with_capi+y}
4262 then :
4263 withval=$with_capi;
4267 # Check whether --with-coreaudio was given.
4268 if test ${with_coreaudio+y}
4269 then :
4270 withval=$with_coreaudio;
4274 # Check whether --with-cups was given.
4275 if test ${with_cups+y}
4276 then :
4277 withval=$with_cups;
4281 # Check whether --with-dbus was given.
4282 if test ${with_dbus+y}
4283 then :
4284 withval=$with_dbus;
4288 # Check whether --with-fontconfig was given.
4289 if test ${with_fontconfig+y}
4290 then :
4291 withval=$with_fontconfig;
4295 # Check whether --with-freetype was given.
4296 if test ${with_freetype+y}
4297 then :
4298 withval=$with_freetype;
4302 # Check whether --with-gettext was given.
4303 if test ${with_gettext+y}
4304 then :
4305 withval=$with_gettext;
4309 # Check whether --with-gettextpo was given.
4310 if test ${with_gettextpo+y}
4311 then :
4312 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4316 # Check whether --with-gphoto was given.
4317 if test ${with_gphoto+y}
4318 then :
4319 withval=$with_gphoto;
4323 # Check whether --with-gnutls was given.
4324 if test ${with_gnutls+y}
4325 then :
4326 withval=$with_gnutls;
4330 # Check whether --with-gssapi was given.
4331 if test ${with_gssapi+y}
4332 then :
4333 withval=$with_gssapi;
4337 # Check whether --with-gstreamer was given.
4338 if test ${with_gstreamer+y}
4339 then :
4340 withval=$with_gstreamer;
4344 # Check whether --with-inotify was given.
4345 if test ${with_inotify+y}
4346 then :
4347 withval=$with_inotify;
4351 # Check whether --with-krb5 was given.
4352 if test ${with_krb5+y}
4353 then :
4354 withval=$with_krb5;
4358 # Check whether --with-mingw was given.
4359 if test ${with_mingw+y}
4360 then :
4361 withval=$with_mingw;
4365 # Check whether --with-netapi was given.
4366 if test ${with_netapi+y}
4367 then :
4368 withval=$with_netapi;
4372 # Check whether --with-opencl was given.
4373 if test ${with_opencl+y}
4374 then :
4375 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4379 # Check whether --with-opengl was given.
4380 if test ${with_opengl+y}
4381 then :
4382 withval=$with_opengl;
4386 # Check whether --with-osmesa was given.
4387 if test ${with_osmesa+y}
4388 then :
4389 withval=$with_osmesa;
4393 # Check whether --with-oss was given.
4394 if test ${with_oss+y}
4395 then :
4396 withval=$with_oss;
4400 # Check whether --with-pcap was given.
4401 if test ${with_pcap+y}
4402 then :
4403 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4407 # Check whether --with-pcsclite was given.
4408 if test ${with_pcsclite+y}
4409 then :
4410 withval=$with_pcsclite;
4414 # Check whether --with-pthread was given.
4415 if test ${with_pthread+y}
4416 then :
4417 withval=$with_pthread;
4421 # Check whether --with-pulse was given.
4422 if test ${with_pulse+y}
4423 then :
4424 withval=$with_pulse;
4428 # Check whether --with-sane was given.
4429 if test ${with_sane+y}
4430 then :
4431 withval=$with_sane;
4435 # Check whether --with-sdl was given.
4436 if test ${with_sdl+y}
4437 then :
4438 withval=$with_sdl;
4442 # Check whether --with-udev was given.
4443 if test ${with_udev+y}
4444 then :
4445 withval=$with_udev;
4449 # Check whether --with-unwind was given.
4450 if test ${with_unwind+y}
4451 then :
4452 withval=$with_unwind;
4456 # Check whether --with-usb was given.
4457 if test ${with_usb+y}
4458 then :
4459 withval=$with_usb;
4463 # Check whether --with-v4l2 was given.
4464 if test ${with_v4l2+y}
4465 then :
4466 withval=$with_v4l2;
4470 # Check whether --with-vulkan was given.
4471 if test ${with_vulkan+y}
4472 then :
4473 withval=$with_vulkan;
4477 # Check whether --with-wayland was given.
4478 if test ${with_wayland+y}
4479 then :
4480 withval=$with_wayland;
4484 # Check whether --with-xcomposite was given.
4485 if test ${with_xcomposite+y}
4486 then :
4487 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4491 # Check whether --with-xcursor was given.
4492 if test ${with_xcursor+y}
4493 then :
4494 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4498 # Check whether --with-xfixes was given.
4499 if test ${with_xfixes+y}
4500 then :
4501 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4505 # Check whether --with-xinerama was given.
4506 if test ${with_xinerama+y}
4507 then :
4508 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4512 # Check whether --with-xinput was given.
4513 if test ${with_xinput+y}
4514 then :
4515 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4519 # Check whether --with-xinput2 was given.
4520 if test ${with_xinput2+y}
4521 then :
4522 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4526 # Check whether --with-xrandr was given.
4527 if test ${with_xrandr+y}
4528 then :
4529 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4533 # Check whether --with-xrender was given.
4534 if test ${with_xrender+y}
4535 then :
4536 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4540 # Check whether --with-xshape was given.
4541 if test ${with_xshape+y}
4542 then :
4543 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4547 # Check whether --with-xshm was given.
4548 if test ${with_xshm+y}
4549 then :
4550 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4554 # Check whether --with-xxf86vm was given.
4555 if test ${with_xxf86vm+y}
4556 then :
4557 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4562 # Check whether --with-system-dllpath was given.
4563 if test ${with_system_dllpath+y}
4564 then :
4565 withval=$with_system_dllpath; system_dllpath=$withval
4570 # Check whether --with-wine-tools was given.
4571 if test ${with_wine_tools+y}
4572 then :
4573 withval=$with_wine_tools;
4577 # Check whether --with-wine64 was given.
4578 if test ${with_wine64+y}
4579 then :
4580 withval=$with_wine64;
4587 # Make sure we can run config.sub.
4588 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4589 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4592 printf %s "checking build system type... " >&6; }
4593 if test ${ac_cv_build+y}
4594 then :
4595 printf %s "(cached) " >&6
4596 else $as_nop
4597 ac_build_alias=$build_alias
4598 test "x$ac_build_alias" = x &&
4599 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4600 test "x$ac_build_alias" = x &&
4601 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4602 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4603 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4607 printf "%s\n" "$ac_cv_build" >&6; }
4608 case $ac_cv_build in
4609 *-*-*) ;;
4610 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4611 esac
4612 build=$ac_cv_build
4613 ac_save_IFS=$IFS; IFS='-'
4614 set x $ac_cv_build
4615 shift
4616 build_cpu=$1
4617 build_vendor=$2
4618 shift; shift
4619 # Remember, the first character of IFS is used to create $*,
4620 # except with old shells:
4621 build_os=$*
4622 IFS=$ac_save_IFS
4623 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4627 printf %s "checking host system type... " >&6; }
4628 if test ${ac_cv_host+y}
4629 then :
4630 printf %s "(cached) " >&6
4631 else $as_nop
4632 if test "x$host_alias" = x; then
4633 ac_cv_host=$ac_cv_build
4634 else
4635 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4636 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4641 printf "%s\n" "$ac_cv_host" >&6; }
4642 case $ac_cv_host in
4643 *-*-*) ;;
4644 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4645 esac
4646 host=$ac_cv_host
4647 ac_save_IFS=$IFS; IFS='-'
4648 set x $ac_cv_host
4649 shift
4650 host_cpu=$1
4651 host_vendor=$2
4652 shift; shift
4653 # Remember, the first character of IFS is used to create $*,
4654 # except with old shells:
4655 host_os=$*
4656 IFS=$ac_save_IFS
4657 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4661 dlldir=\${libdir}/wine
4663 fontdir=\${datadir}/wine/fonts
4665 nlsdir=\${datadir}/wine/nls
4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4671 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4672 set x ${MAKE-make}
4673 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4674 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4675 then :
4676 printf %s "(cached) " >&6
4677 else $as_nop
4678 cat >conftest.make <<\_ACEOF
4679 SHELL = /bin/sh
4680 all:
4681 @echo '@@@%%%=$(MAKE)=@@@%%%'
4682 _ACEOF
4683 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4684 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4685 *@@@%%%=?*=@@@%%%*)
4686 eval ac_cv_prog_make_${ac_make}_set=yes;;
4688 eval ac_cv_prog_make_${ac_make}_set=no;;
4689 esac
4690 rm -f conftest.make
4692 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 printf "%s\n" "yes" >&6; }
4695 SET_MAKE=
4696 else
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 printf "%s\n" "no" >&6; }
4699 SET_MAKE="MAKE=${MAKE-make}"
4711 ac_ext=c
4712 ac_cpp='$CPP $CPPFLAGS'
4713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4716 if test -n "$ac_tool_prefix"; then
4717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4718 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 printf %s "checking for $ac_word... " >&6; }
4721 if test ${ac_cv_prog_CC+y}
4722 then :
4723 printf %s "(cached) " >&6
4724 else $as_nop
4725 if test -n "$CC"; then
4726 ac_cv_prog_CC="$CC" # Let the user override the test.
4727 else
4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729 for as_dir in $PATH
4731 IFS=$as_save_IFS
4732 case $as_dir in #(((
4733 '') as_dir=./ ;;
4734 */) ;;
4735 *) as_dir=$as_dir/ ;;
4736 esac
4737 for ac_exec_ext in '' $ac_executable_extensions; do
4738 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4739 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4741 break 2
4743 done
4744 done
4745 IFS=$as_save_IFS
4749 CC=$ac_cv_prog_CC
4750 if test -n "$CC"; then
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4752 printf "%s\n" "$CC" >&6; }
4753 else
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 printf "%s\n" "no" >&6; }
4760 if test -z "$ac_cv_prog_CC"; then
4761 ac_ct_CC=$CC
4762 # Extract the first word of "gcc", so it can be a program name with args.
4763 set dummy gcc; ac_word=$2
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 printf %s "checking for $ac_word... " >&6; }
4766 if test ${ac_cv_prog_ac_ct_CC+y}
4767 then :
4768 printf %s "(cached) " >&6
4769 else $as_nop
4770 if test -n "$ac_ct_CC"; then
4771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4772 else
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH
4776 IFS=$as_save_IFS
4777 case $as_dir in #(((
4778 '') as_dir=./ ;;
4779 */) ;;
4780 *) as_dir=$as_dir/ ;;
4781 esac
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_ac_ct_CC="gcc"
4785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4786 break 2
4788 done
4789 done
4790 IFS=$as_save_IFS
4794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4795 if test -n "$ac_ct_CC"; then
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4797 printf "%s\n" "$ac_ct_CC" >&6; }
4798 else
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 printf "%s\n" "no" >&6; }
4803 if test "x$ac_ct_CC" = x; then
4804 CC=""
4805 else
4806 case $cross_compiling:$ac_tool_warned in
4807 yes:)
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4809 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4810 ac_tool_warned=yes ;;
4811 esac
4812 CC=$ac_ct_CC
4814 else
4815 CC="$ac_cv_prog_CC"
4818 if test -z "$CC"; then
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4821 set dummy ${ac_tool_prefix}cc; ac_word=$2
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 printf %s "checking for $ac_word... " >&6; }
4824 if test ${ac_cv_prog_CC+y}
4825 then :
4826 printf %s "(cached) " >&6
4827 else $as_nop
4828 if test -n "$CC"; then
4829 ac_cv_prog_CC="$CC" # Let the user override the test.
4830 else
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH
4834 IFS=$as_save_IFS
4835 case $as_dir in #(((
4836 '') as_dir=./ ;;
4837 */) ;;
4838 *) as_dir=$as_dir/ ;;
4839 esac
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_CC="${ac_tool_prefix}cc"
4843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4848 IFS=$as_save_IFS
4852 CC=$ac_cv_prog_CC
4853 if test -n "$CC"; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 printf "%s\n" "$CC" >&6; }
4856 else
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4864 if test -z "$CC"; then
4865 # Extract the first word of "cc", so it can be a program name with args.
4866 set dummy cc; ac_word=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s "checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_CC+y}
4870 then :
4871 printf %s "(cached) " >&6
4872 else $as_nop
4873 if test -n "$CC"; then
4874 ac_cv_prog_CC="$CC" # Let the user override the test.
4875 else
4876 ac_prog_rejected=no
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 for as_dir in $PATH
4880 IFS=$as_save_IFS
4881 case $as_dir in #(((
4882 '') as_dir=./ ;;
4883 */) ;;
4884 *) as_dir=$as_dir/ ;;
4885 esac
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4888 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4889 ac_prog_rejected=yes
4890 continue
4892 ac_cv_prog_CC="cc"
4893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4894 break 2
4896 done
4897 done
4898 IFS=$as_save_IFS
4900 if test $ac_prog_rejected = yes; then
4901 # We found a bogon in the path, so make sure we never use it.
4902 set dummy $ac_cv_prog_CC
4903 shift
4904 if test $# != 0; then
4905 # We chose a different compiler from the bogus one.
4906 # However, it has the same basename, so the bogon will be chosen
4907 # first if we set CC to just the basename; use the full file name.
4908 shift
4909 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4914 CC=$ac_cv_prog_CC
4915 if test -n "$CC"; then
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4917 printf "%s\n" "$CC" >&6; }
4918 else
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 printf "%s\n" "no" >&6; }
4925 if test -z "$CC"; then
4926 if test -n "$ac_tool_prefix"; then
4927 for ac_prog in cl.exe
4929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 printf %s "checking for $ac_word... " >&6; }
4933 if test ${ac_cv_prog_CC+y}
4934 then :
4935 printf %s "(cached) " >&6
4936 else $as_nop
4937 if test -n "$CC"; then
4938 ac_cv_prog_CC="$CC" # Let the user override the test.
4939 else
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH
4943 IFS=$as_save_IFS
4944 case $as_dir in #(((
4945 '') as_dir=./ ;;
4946 */) ;;
4947 *) as_dir=$as_dir/ ;;
4948 esac
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 CC=$ac_cv_prog_CC
4962 if test -n "$CC"; then
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4964 printf "%s\n" "$CC" >&6; }
4965 else
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 printf "%s\n" "no" >&6; }
4971 test -n "$CC" && break
4972 done
4974 if test -z "$CC"; then
4975 ac_ct_CC=$CC
4976 for ac_prog in cl.exe
4978 # Extract the first word of "$ac_prog", so it can be a program name with args.
4979 set dummy $ac_prog; ac_word=$2
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 printf %s "checking for $ac_word... " >&6; }
4982 if test ${ac_cv_prog_ac_ct_CC+y}
4983 then :
4984 printf %s "(cached) " >&6
4985 else $as_nop
4986 if test -n "$ac_ct_CC"; then
4987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4988 else
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 for as_dir in $PATH
4992 IFS=$as_save_IFS
4993 case $as_dir in #(((
4994 '') as_dir=./ ;;
4995 */) ;;
4996 *) as_dir=$as_dir/ ;;
4997 esac
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_ac_ct_CC="$ac_prog"
5001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5011 if test -n "$ac_ct_CC"; then
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5013 printf "%s\n" "$ac_ct_CC" >&6; }
5014 else
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 printf "%s\n" "no" >&6; }
5020 test -n "$ac_ct_CC" && break
5021 done
5023 if test "x$ac_ct_CC" = x; then
5024 CC=""
5025 else
5026 case $cross_compiling:$ac_tool_warned in
5027 yes:)
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned=yes ;;
5031 esac
5032 CC=$ac_ct_CC
5037 if test -z "$CC"; then
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5040 set dummy ${ac_tool_prefix}clang; ac_word=$2
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 printf %s "checking for $ac_word... " >&6; }
5043 if test ${ac_cv_prog_CC+y}
5044 then :
5045 printf %s "(cached) " >&6
5046 else $as_nop
5047 if test -n "$CC"; then
5048 ac_cv_prog_CC="$CC" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 case $as_dir in #(((
5055 '') as_dir=./ ;;
5056 */) ;;
5057 *) as_dir=$as_dir/ ;;
5058 esac
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_CC="${ac_tool_prefix}clang"
5062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5063 break 2
5065 done
5066 done
5067 IFS=$as_save_IFS
5071 CC=$ac_cv_prog_CC
5072 if test -n "$CC"; then
5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5074 printf "%s\n" "$CC" >&6; }
5075 else
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 printf "%s\n" "no" >&6; }
5082 if test -z "$ac_cv_prog_CC"; then
5083 ac_ct_CC=$CC
5084 # Extract the first word of "clang", so it can be a program name with args.
5085 set dummy clang; ac_word=$2
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 printf %s "checking for $ac_word... " >&6; }
5088 if test ${ac_cv_prog_ac_ct_CC+y}
5089 then :
5090 printf %s "(cached) " >&6
5091 else $as_nop
5092 if test -n "$ac_ct_CC"; then
5093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5094 else
5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 for as_dir in $PATH
5098 IFS=$as_save_IFS
5099 case $as_dir in #(((
5100 '') as_dir=./ ;;
5101 */) ;;
5102 *) as_dir=$as_dir/ ;;
5103 esac
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5106 ac_cv_prog_ac_ct_CC="clang"
5107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5108 break 2
5110 done
5111 done
5112 IFS=$as_save_IFS
5116 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5117 if test -n "$ac_ct_CC"; then
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5119 printf "%s\n" "$ac_ct_CC" >&6; }
5120 else
5121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 printf "%s\n" "no" >&6; }
5125 if test "x$ac_ct_CC" = x; then
5126 CC=""
5127 else
5128 case $cross_compiling:$ac_tool_warned in
5129 yes:)
5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5131 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5132 ac_tool_warned=yes ;;
5133 esac
5134 CC=$ac_ct_CC
5136 else
5137 CC="$ac_cv_prog_CC"
5143 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5144 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5145 as_fn_error $? "no acceptable C compiler found in \$PATH
5146 See \`config.log' for more details" "$LINENO" 5; }
5148 # Provide some information about the compiler.
5149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5150 set X $ac_compile
5151 ac_compiler=$2
5152 for ac_option in --version -v -V -qversion -version; do
5153 { { ac_try="$ac_compiler $ac_option >&5"
5154 case "(($ac_try" in
5155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5156 *) ac_try_echo=$ac_try;;
5157 esac
5158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5159 printf "%s\n" "$ac_try_echo"; } >&5
5160 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5161 ac_status=$?
5162 if test -s conftest.err; then
5163 sed '10a\
5164 ... rest of stderr output deleted ...
5165 10q' conftest.err >conftest.er1
5166 cat conftest.er1 >&5
5168 rm -f conftest.er1 conftest.err
5169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5170 test $ac_status = 0; }
5171 done
5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5177 main (void)
5181 return 0;
5183 _ACEOF
5184 ac_clean_files_save=$ac_clean_files
5185 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5186 # Try to create an executable without -o first, disregard a.out.
5187 # It will help us diagnose broken compilers, and finding out an intuition
5188 # of exeext.
5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5190 printf %s "checking whether the C compiler works... " >&6; }
5191 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5193 # The possible output files:
5194 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5196 ac_rmfiles=
5197 for ac_file in $ac_files
5199 case $ac_file in
5200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5201 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5202 esac
5203 done
5204 rm -f $ac_rmfiles
5206 if { { ac_try="$ac_link_default"
5207 case "(($ac_try" in
5208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5209 *) ac_try_echo=$ac_try;;
5210 esac
5211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5212 printf "%s\n" "$ac_try_echo"; } >&5
5213 (eval "$ac_link_default") 2>&5
5214 ac_status=$?
5215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5216 test $ac_status = 0; }
5217 then :
5218 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5219 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5220 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5221 # so that the user can short-circuit this test for compilers unknown to
5222 # Autoconf.
5223 for ac_file in $ac_files ''
5225 test -f "$ac_file" || continue
5226 case $ac_file in
5227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5229 [ab].out )
5230 # We found the default executable, but exeext='' is most
5231 # certainly right.
5232 break;;
5233 *.* )
5234 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5235 then :; else
5236 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5238 # We set ac_cv_exeext here because the later test for it is not
5239 # safe: cross compilers may not add the suffix if given an `-o'
5240 # argument, so we may need to know it at that point already.
5241 # Even if this section looks crufty: it has the advantage of
5242 # actually working.
5243 break;;
5245 break;;
5246 esac
5247 done
5248 test "$ac_cv_exeext" = no && ac_cv_exeext=
5250 else $as_nop
5251 ac_file=''
5253 if test -z "$ac_file"
5254 then :
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 printf "%s\n" "no" >&6; }
5257 printf "%s\n" "$as_me: failed program was:" >&5
5258 sed 's/^/| /' conftest.$ac_ext >&5
5260 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5261 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5262 as_fn_error 77 "C compiler cannot create executables
5263 See \`config.log' for more details" "$LINENO" 5; }
5264 else $as_nop
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 printf "%s\n" "yes" >&6; }
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5269 printf %s "checking for C compiler default output file name... " >&6; }
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5271 printf "%s\n" "$ac_file" >&6; }
5272 ac_exeext=$ac_cv_exeext
5274 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5275 ac_clean_files=$ac_clean_files_save
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5277 printf %s "checking for suffix of executables... " >&6; }
5278 if { { ac_try="$ac_link"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 printf "%s\n" "$ac_try_echo"; } >&5
5285 (eval "$ac_link") 2>&5
5286 ac_status=$?
5287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288 test $ac_status = 0; }
5289 then :
5290 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5291 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5292 # work properly (i.e., refer to `conftest.exe'), while it won't with
5293 # `rm'.
5294 for ac_file in conftest.exe conftest conftest.*; do
5295 test -f "$ac_file" || continue
5296 case $ac_file in
5297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5298 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5299 break;;
5300 * ) break;;
5301 esac
5302 done
5303 else $as_nop
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5307 See \`config.log' for more details" "$LINENO" 5; }
5309 rm -f conftest conftest$ac_cv_exeext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5311 printf "%s\n" "$ac_cv_exeext" >&6; }
5313 rm -f conftest.$ac_ext
5314 EXEEXT=$ac_cv_exeext
5315 ac_exeext=$EXEEXT
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5318 #include <stdio.h>
5320 main (void)
5322 FILE *f = fopen ("conftest.out", "w");
5323 return ferror (f) || fclose (f) != 0;
5326 return 0;
5328 _ACEOF
5329 ac_clean_files="$ac_clean_files conftest.out"
5330 # Check that the compiler produces executables we can run. If not, either
5331 # the compiler is broken, or we cross compile.
5332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5333 printf %s "checking whether we are cross compiling... " >&6; }
5334 if test "$cross_compiling" != yes; then
5335 { { ac_try="$ac_link"
5336 case "(($ac_try" in
5337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5338 *) ac_try_echo=$ac_try;;
5339 esac
5340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5341 printf "%s\n" "$ac_try_echo"; } >&5
5342 (eval "$ac_link") 2>&5
5343 ac_status=$?
5344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5345 test $ac_status = 0; }
5346 if { ac_try='./conftest$ac_cv_exeext'
5347 { { case "(($ac_try" in
5348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5349 *) ac_try_echo=$ac_try;;
5350 esac
5351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5352 printf "%s\n" "$ac_try_echo"; } >&5
5353 (eval "$ac_try") 2>&5
5354 ac_status=$?
5355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356 test $ac_status = 0; }; }; then
5357 cross_compiling=no
5358 else
5359 if test "$cross_compiling" = maybe; then
5360 cross_compiling=yes
5361 else
5362 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error 77 "cannot run C compiled programs.
5365 If you meant to cross compile, use \`--host'.
5366 See \`config.log' for more details" "$LINENO" 5; }
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5371 printf "%s\n" "$cross_compiling" >&6; }
5373 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5374 ac_clean_files=$ac_clean_files_save
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5376 printf %s "checking for suffix of object files... " >&6; }
5377 if test ${ac_cv_objext+y}
5378 then :
5379 printf %s "(cached) " >&6
5380 else $as_nop
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main (void)
5389 return 0;
5391 _ACEOF
5392 rm -f conftest.o conftest.obj
5393 if { { ac_try="$ac_compile"
5394 case "(($ac_try" in
5395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5396 *) ac_try_echo=$ac_try;;
5397 esac
5398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5399 printf "%s\n" "$ac_try_echo"; } >&5
5400 (eval "$ac_compile") 2>&5
5401 ac_status=$?
5402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5403 test $ac_status = 0; }
5404 then :
5405 for ac_file in conftest.o conftest.obj conftest.*; do
5406 test -f "$ac_file" || continue;
5407 case $ac_file in
5408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5409 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5410 break;;
5411 esac
5412 done
5413 else $as_nop
5414 printf "%s\n" "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5417 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5418 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5419 as_fn_error $? "cannot compute suffix of object files: cannot compile
5420 See \`config.log' for more details" "$LINENO" 5; }
5422 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5425 printf "%s\n" "$ac_cv_objext" >&6; }
5426 OBJEXT=$ac_cv_objext
5427 ac_objext=$OBJEXT
5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5429 printf %s "checking whether the compiler supports GNU C... " >&6; }
5430 if test ${ac_cv_c_compiler_gnu+y}
5431 then :
5432 printf %s "(cached) " >&6
5433 else $as_nop
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5438 main (void)
5440 #ifndef __GNUC__
5441 choke me
5442 #endif
5445 return 0;
5447 _ACEOF
5448 if ac_fn_c_try_compile "$LINENO"
5449 then :
5450 ac_compiler_gnu=yes
5451 else $as_nop
5452 ac_compiler_gnu=no
5454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5455 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5459 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5462 if test $ac_compiler_gnu = yes; then
5463 GCC=yes
5464 else
5465 GCC=
5467 ac_test_CFLAGS=${CFLAGS+y}
5468 ac_save_CFLAGS=$CFLAGS
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5470 printf %s "checking whether $CC accepts -g... " >&6; }
5471 if test ${ac_cv_prog_cc_g+y}
5472 then :
5473 printf %s "(cached) " >&6
5474 else $as_nop
5475 ac_save_c_werror_flag=$ac_c_werror_flag
5476 ac_c_werror_flag=yes
5477 ac_cv_prog_cc_g=no
5478 CFLAGS="-g"
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5483 main (void)
5487 return 0;
5489 _ACEOF
5490 if ac_fn_c_try_compile "$LINENO"
5491 then :
5492 ac_cv_prog_cc_g=yes
5493 else $as_nop
5494 CFLAGS=""
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5499 main (void)
5503 return 0;
5505 _ACEOF
5506 if ac_fn_c_try_compile "$LINENO"
5507 then :
5509 else $as_nop
5510 ac_c_werror_flag=$ac_save_c_werror_flag
5511 CFLAGS="-g"
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5516 main (void)
5520 return 0;
5522 _ACEOF
5523 if ac_fn_c_try_compile "$LINENO"
5524 then :
5525 ac_cv_prog_cc_g=yes
5527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5532 ac_c_werror_flag=$ac_save_c_werror_flag
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5535 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5536 if test $ac_test_CFLAGS; then
5537 CFLAGS=$ac_save_CFLAGS
5538 elif test $ac_cv_prog_cc_g = yes; then
5539 if test "$GCC" = yes; then
5540 CFLAGS="-g -O2"
5541 else
5542 CFLAGS="-g"
5544 else
5545 if test "$GCC" = yes; then
5546 CFLAGS="-O2"
5547 else
5548 CFLAGS=
5551 ac_prog_cc_stdc=no
5552 if test x$ac_prog_cc_stdc = xno
5553 then :
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5555 printf %s "checking for $CC option to enable C11 features... " >&6; }
5556 if test ${ac_cv_prog_cc_c11+y}
5557 then :
5558 printf %s "(cached) " >&6
5559 else $as_nop
5560 ac_cv_prog_cc_c11=no
5561 ac_save_CC=$CC
5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563 /* end confdefs.h. */
5564 $ac_c_conftest_c11_program
5565 _ACEOF
5566 for ac_arg in '' -std=gnu11
5568 CC="$ac_save_CC $ac_arg"
5569 if ac_fn_c_try_compile "$LINENO"
5570 then :
5571 ac_cv_prog_cc_c11=$ac_arg
5573 rm -f core conftest.err conftest.$ac_objext conftest.beam
5574 test "x$ac_cv_prog_cc_c11" != "xno" && break
5575 done
5576 rm -f conftest.$ac_ext
5577 CC=$ac_save_CC
5580 if test "x$ac_cv_prog_cc_c11" = xno
5581 then :
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5583 printf "%s\n" "unsupported" >&6; }
5584 else $as_nop
5585 if test "x$ac_cv_prog_cc_c11" = x
5586 then :
5587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5588 printf "%s\n" "none needed" >&6; }
5589 else $as_nop
5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5591 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5592 CC="$CC $ac_cv_prog_cc_c11"
5594 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5595 ac_prog_cc_stdc=c11
5598 if test x$ac_prog_cc_stdc = xno
5599 then :
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5601 printf %s "checking for $CC option to enable C99 features... " >&6; }
5602 if test ${ac_cv_prog_cc_c99+y}
5603 then :
5604 printf %s "(cached) " >&6
5605 else $as_nop
5606 ac_cv_prog_cc_c99=no
5607 ac_save_CC=$CC
5608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5610 $ac_c_conftest_c99_program
5611 _ACEOF
5612 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5614 CC="$ac_save_CC $ac_arg"
5615 if ac_fn_c_try_compile "$LINENO"
5616 then :
5617 ac_cv_prog_cc_c99=$ac_arg
5619 rm -f core conftest.err conftest.$ac_objext conftest.beam
5620 test "x$ac_cv_prog_cc_c99" != "xno" && break
5621 done
5622 rm -f conftest.$ac_ext
5623 CC=$ac_save_CC
5626 if test "x$ac_cv_prog_cc_c99" = xno
5627 then :
5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5629 printf "%s\n" "unsupported" >&6; }
5630 else $as_nop
5631 if test "x$ac_cv_prog_cc_c99" = x
5632 then :
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5634 printf "%s\n" "none needed" >&6; }
5635 else $as_nop
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5637 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5638 CC="$CC $ac_cv_prog_cc_c99"
5640 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5641 ac_prog_cc_stdc=c99
5644 if test x$ac_prog_cc_stdc = xno
5645 then :
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5647 printf %s "checking for $CC option to enable C89 features... " >&6; }
5648 if test ${ac_cv_prog_cc_c89+y}
5649 then :
5650 printf %s "(cached) " >&6
5651 else $as_nop
5652 ac_cv_prog_cc_c89=no
5653 ac_save_CC=$CC
5654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5656 $ac_c_conftest_c89_program
5657 _ACEOF
5658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5660 CC="$ac_save_CC $ac_arg"
5661 if ac_fn_c_try_compile "$LINENO"
5662 then :
5663 ac_cv_prog_cc_c89=$ac_arg
5665 rm -f core conftest.err conftest.$ac_objext conftest.beam
5666 test "x$ac_cv_prog_cc_c89" != "xno" && break
5667 done
5668 rm -f conftest.$ac_ext
5669 CC=$ac_save_CC
5672 if test "x$ac_cv_prog_cc_c89" = xno
5673 then :
5674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5675 printf "%s\n" "unsupported" >&6; }
5676 else $as_nop
5677 if test "x$ac_cv_prog_cc_c89" = x
5678 then :
5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5680 printf "%s\n" "none needed" >&6; }
5681 else $as_nop
5682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5683 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5684 CC="$CC $ac_cv_prog_cc_c89"
5686 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5687 ac_prog_cc_stdc=c89
5691 ac_ext=c
5692 ac_cpp='$CPP $CPPFLAGS'
5693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5703 ac_ext=cpp
5704 ac_cpp='$CXXCPP $CPPFLAGS'
5705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5708 if test -z "$CXX"; then
5709 if test -n "$CCC"; then
5710 CXX=$CCC
5711 else
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 printf %s "checking for $ac_word... " >&6; }
5719 if test ${ac_cv_prog_CXX+y}
5720 then :
5721 printf %s "(cached) " >&6
5722 else $as_nop
5723 if test -n "$CXX"; then
5724 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 case $as_dir in #(((
5731 '') as_dir=./ ;;
5732 */) ;;
5733 *) as_dir=$as_dir/ ;;
5734 esac
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 CXX=$ac_cv_prog_CXX
5748 if test -n "$CXX"; then
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5750 printf "%s\n" "$CXX" >&6; }
5751 else
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 printf "%s\n" "no" >&6; }
5757 test -n "$CXX" && break
5758 done
5760 if test -z "$CXX"; then
5761 ac_ct_CXX=$CXX
5762 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set dummy $ac_prog; ac_word=$2
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 printf %s "checking for $ac_word... " >&6; }
5768 if test ${ac_cv_prog_ac_ct_CXX+y}
5769 then :
5770 printf %s "(cached) " >&6
5771 else $as_nop
5772 if test -n "$ac_ct_CXX"; then
5773 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5774 else
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH
5778 IFS=$as_save_IFS
5779 case $as_dir in #(((
5780 '') as_dir=./ ;;
5781 */) ;;
5782 *) as_dir=$as_dir/ ;;
5783 esac
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_ac_ct_CXX="$ac_prog"
5787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5797 if test -n "$ac_ct_CXX"; then
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5799 printf "%s\n" "$ac_ct_CXX" >&6; }
5800 else
5801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 printf "%s\n" "no" >&6; }
5806 test -n "$ac_ct_CXX" && break
5807 done
5809 if test "x$ac_ct_CXX" = x; then
5810 CXX="g++"
5811 else
5812 case $cross_compiling:$ac_tool_warned in
5813 yes:)
5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5815 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5816 ac_tool_warned=yes ;;
5817 esac
5818 CXX=$ac_ct_CXX
5824 # Provide some information about the compiler.
5825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5826 set X $ac_compile
5827 ac_compiler=$2
5828 for ac_option in --version -v -V -qversion; do
5829 { { ac_try="$ac_compiler $ac_option >&5"
5830 case "(($ac_try" in
5831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5832 *) ac_try_echo=$ac_try;;
5833 esac
5834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5835 printf "%s\n" "$ac_try_echo"; } >&5
5836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5837 ac_status=$?
5838 if test -s conftest.err; then
5839 sed '10a\
5840 ... rest of stderr output deleted ...
5841 10q' conftest.err >conftest.er1
5842 cat conftest.er1 >&5
5844 rm -f conftest.er1 conftest.err
5845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5846 test $ac_status = 0; }
5847 done
5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5850 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5851 if test ${ac_cv_cxx_compiler_gnu+y}
5852 then :
5853 printf %s "(cached) " >&6
5854 else $as_nop
5855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5859 main (void)
5861 #ifndef __GNUC__
5862 choke me
5863 #endif
5866 return 0;
5868 _ACEOF
5869 if ac_fn_cxx_try_compile "$LINENO"
5870 then :
5871 ac_compiler_gnu=yes
5872 else $as_nop
5873 ac_compiler_gnu=no
5875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5876 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5880 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5883 if test $ac_compiler_gnu = yes; then
5884 GXX=yes
5885 else
5886 GXX=
5888 ac_test_CXXFLAGS=${CXXFLAGS+y}
5889 ac_save_CXXFLAGS=$CXXFLAGS
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5891 printf %s "checking whether $CXX accepts -g... " >&6; }
5892 if test ${ac_cv_prog_cxx_g+y}
5893 then :
5894 printf %s "(cached) " >&6
5895 else $as_nop
5896 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5897 ac_cxx_werror_flag=yes
5898 ac_cv_prog_cxx_g=no
5899 CXXFLAGS="-g"
5900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5901 /* end confdefs.h. */
5904 main (void)
5908 return 0;
5910 _ACEOF
5911 if ac_fn_cxx_try_compile "$LINENO"
5912 then :
5913 ac_cv_prog_cxx_g=yes
5914 else $as_nop
5915 CXXFLAGS=""
5916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5920 main (void)
5924 return 0;
5926 _ACEOF
5927 if ac_fn_cxx_try_compile "$LINENO"
5928 then :
5930 else $as_nop
5931 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5932 CXXFLAGS="-g"
5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5937 main (void)
5941 return 0;
5943 _ACEOF
5944 if ac_fn_cxx_try_compile "$LINENO"
5945 then :
5946 ac_cv_prog_cxx_g=yes
5948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5953 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5956 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5957 if test $ac_test_CXXFLAGS; then
5958 CXXFLAGS=$ac_save_CXXFLAGS
5959 elif test $ac_cv_prog_cxx_g = yes; then
5960 if test "$GXX" = yes; then
5961 CXXFLAGS="-g -O2"
5962 else
5963 CXXFLAGS="-g"
5965 else
5966 if test "$GXX" = yes; then
5967 CXXFLAGS="-O2"
5968 else
5969 CXXFLAGS=
5972 ac_prog_cxx_stdcxx=no
5973 if test x$ac_prog_cxx_stdcxx = xno
5974 then :
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5976 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5977 if test ${ac_cv_prog_cxx_cxx11+y}
5978 then :
5979 printf %s "(cached) " >&6
5980 else $as_nop
5981 ac_cv_prog_cxx_cxx11=no
5982 ac_save_CXX=$CXX
5983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5985 $ac_cxx_conftest_cxx11_program
5986 _ACEOF
5987 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5989 CXX="$ac_save_CXX $ac_arg"
5990 if ac_fn_cxx_try_compile "$LINENO"
5991 then :
5992 ac_cv_prog_cxx_cxx11=$ac_arg
5994 rm -f core conftest.err conftest.$ac_objext conftest.beam
5995 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5996 done
5997 rm -f conftest.$ac_ext
5998 CXX=$ac_save_CXX
6001 if test "x$ac_cv_prog_cxx_cxx11" = xno
6002 then :
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6004 printf "%s\n" "unsupported" >&6; }
6005 else $as_nop
6006 if test "x$ac_cv_prog_cxx_cxx11" = x
6007 then :
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6009 printf "%s\n" "none needed" >&6; }
6010 else $as_nop
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6012 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6013 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6015 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6016 ac_prog_cxx_stdcxx=cxx11
6019 if test x$ac_prog_cxx_stdcxx = xno
6020 then :
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6022 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6023 if test ${ac_cv_prog_cxx_cxx98+y}
6024 then :
6025 printf %s "(cached) " >&6
6026 else $as_nop
6027 ac_cv_prog_cxx_cxx98=no
6028 ac_save_CXX=$CXX
6029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6031 $ac_cxx_conftest_cxx98_program
6032 _ACEOF
6033 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6035 CXX="$ac_save_CXX $ac_arg"
6036 if ac_fn_cxx_try_compile "$LINENO"
6037 then :
6038 ac_cv_prog_cxx_cxx98=$ac_arg
6040 rm -f core conftest.err conftest.$ac_objext conftest.beam
6041 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6042 done
6043 rm -f conftest.$ac_ext
6044 CXX=$ac_save_CXX
6047 if test "x$ac_cv_prog_cxx_cxx98" = xno
6048 then :
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6050 printf "%s\n" "unsupported" >&6; }
6051 else $as_nop
6052 if test "x$ac_cv_prog_cxx_cxx98" = x
6053 then :
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6055 printf "%s\n" "none needed" >&6; }
6056 else $as_nop
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6058 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6059 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6061 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6062 ac_prog_cxx_stdcxx=cxx98
6066 ac_ext=c
6067 ac_cpp='$CPP $CPPFLAGS'
6068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6072 if test -n "$ac_tool_prefix"; then
6073 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6074 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 printf %s "checking for $ac_word... " >&6; }
6077 if test ${ac_cv_prog_CPPBIN+y}
6078 then :
6079 printf %s "(cached) " >&6
6080 else $as_nop
6081 if test -n "$CPPBIN"; then
6082 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6087 IFS=$as_save_IFS
6088 case $as_dir in #(((
6089 '') as_dir=./ ;;
6090 */) ;;
6091 *) as_dir=$as_dir/ ;;
6092 esac
6093 for ac_exec_ext in '' $ac_executable_extensions; do
6094 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6095 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6097 break 2
6099 done
6100 done
6101 IFS=$as_save_IFS
6105 CPPBIN=$ac_cv_prog_CPPBIN
6106 if test -n "$CPPBIN"; then
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6108 printf "%s\n" "$CPPBIN" >&6; }
6109 else
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 printf "%s\n" "no" >&6; }
6116 if test -z "$ac_cv_prog_CPPBIN"; then
6117 ac_ct_CPPBIN=$CPPBIN
6118 # Extract the first word of "cpp", so it can be a program name with args.
6119 set dummy cpp; ac_word=$2
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 printf %s "checking for $ac_word... " >&6; }
6122 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6123 then :
6124 printf %s "(cached) " >&6
6125 else $as_nop
6126 if test -n "$ac_ct_CPPBIN"; then
6127 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6132 IFS=$as_save_IFS
6133 case $as_dir in #(((
6134 '') as_dir=./ ;;
6135 */) ;;
6136 *) as_dir=$as_dir/ ;;
6137 esac
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_ac_ct_CPPBIN="cpp"
6141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6151 if test -n "$ac_ct_CPPBIN"; then
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6153 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6154 else
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 printf "%s\n" "no" >&6; }
6159 if test "x$ac_ct_CPPBIN" = x; then
6160 CPPBIN="cpp"
6161 else
6162 case $cross_compiling:$ac_tool_warned in
6163 yes:)
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6165 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6166 ac_tool_warned=yes ;;
6167 esac
6168 CPPBIN=$ac_ct_CPPBIN
6170 else
6171 CPPBIN="$ac_cv_prog_CPPBIN"
6175 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6177 if test -n "$ac_tool_prefix"; then
6178 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6179 set dummy ${ac_tool_prefix}ld; ac_word=$2
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181 printf %s "checking for $ac_word... " >&6; }
6182 if test ${ac_cv_prog_LD+y}
6183 then :
6184 printf %s "(cached) " >&6
6185 else $as_nop
6186 if test -n "$LD"; then
6187 ac_cv_prog_LD="$LD" # Let the user override the test.
6188 else
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH
6192 IFS=$as_save_IFS
6193 case $as_dir in #(((
6194 '') as_dir=./ ;;
6195 */) ;;
6196 *) as_dir=$as_dir/ ;;
6197 esac
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_LD="${ac_tool_prefix}ld"
6201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6202 break 2
6204 done
6205 done
6206 IFS=$as_save_IFS
6210 LD=$ac_cv_prog_LD
6211 if test -n "$LD"; then
6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6213 printf "%s\n" "$LD" >&6; }
6214 else
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 printf "%s\n" "no" >&6; }
6221 if test -z "$ac_cv_prog_LD"; then
6222 ac_ct_LD=$LD
6223 # Extract the first word of "ld", so it can be a program name with args.
6224 set dummy ld; ac_word=$2
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 printf %s "checking for $ac_word... " >&6; }
6227 if test ${ac_cv_prog_ac_ct_LD+y}
6228 then :
6229 printf %s "(cached) " >&6
6230 else $as_nop
6231 if test -n "$ac_ct_LD"; then
6232 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6233 else
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 for as_dir in $PATH
6237 IFS=$as_save_IFS
6238 case $as_dir in #(((
6239 '') as_dir=./ ;;
6240 */) ;;
6241 *) as_dir=$as_dir/ ;;
6242 esac
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_ac_ct_LD="ld"
6246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6247 break 2
6249 done
6250 done
6251 IFS=$as_save_IFS
6255 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6256 if test -n "$ac_ct_LD"; then
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6258 printf "%s\n" "$ac_ct_LD" >&6; }
6259 else
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 printf "%s\n" "no" >&6; }
6264 if test "x$ac_ct_LD" = x; then
6265 LD=""
6266 else
6267 case $cross_compiling:$ac_tool_warned in
6268 yes:)
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned=yes ;;
6272 esac
6273 LD=$ac_ct_LD
6275 else
6276 LD="$ac_cv_prog_LD"
6280 case $host in
6281 *-darwin*)
6282 with_fontconfig=${with_fontconfig:-no}
6284 *-mingw32*|*-cygwin*)
6285 enable_win16=${enable_win16:-no}
6286 with_mingw=${with_mingw:-no}
6288 esac
6291 case $host in
6292 x86_64*|amd64*)
6293 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6294 then
6295 CC="$CC -m32"
6296 CXX="$CXX -m32"
6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6299 printf %s "checking whether $CC works... " >&6; }
6300 if test ${wine_cv_cc_m32+y}
6301 then :
6302 printf %s "(cached) " >&6
6303 else $as_nop
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6308 main (void)
6312 return 0;
6314 _ACEOF
6315 if ac_fn_c_try_link "$LINENO"
6316 then :
6317 wine_cv_cc_m32=yes
6318 else $as_nop
6319 wine_cv_cc_m32=no
6321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6322 conftest$ac_exeext conftest.$ac_ext
6324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6325 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6326 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6327 host_cpu="i386"
6328 notice_platform="32-bit "
6329 TARGETFLAGS="$TARGETFLAGS -m32"
6330 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6331 export PKG_CONFIG_LIBDIR
6332 else
6333 CC="$CC -m64"
6334 CXX="$CXX -m64"
6335 host_cpu="x86_64"
6336 notice_platform="64-bit "
6337 TARGETFLAGS="$TARGETFLAGS -m64"
6340 arm*)
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6342 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6343 if test ${wine_cv_thumb2+y}
6344 then :
6345 printf %s "(cached) " >&6
6346 else $as_nop
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6351 main (void)
6353 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6355 return 0;
6357 _ACEOF
6358 if ac_fn_c_try_link "$LINENO"
6359 then :
6360 wine_cv_thumb2=yes
6361 else $as_nop
6362 wine_cv_thumb2=no
6364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6365 conftest$ac_exeext conftest.$ac_ext
6367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6368 printf "%s\n" "$wine_cv_thumb2" >&6; }
6369 if test x"$wine_cv_thumb2" = xyes
6370 then
6371 CFLAGS="$CFLAGS -mthumb"
6372 else
6373 CFLAGS="$CFLAGS -marm"
6375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6376 printf %s "checking whether $CC supports floating point instructions... " >&6; }
6377 if test ${wine_cv_float_abi+y}
6378 then :
6379 printf %s "(cached) " >&6
6380 else $as_nop
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6385 main (void)
6387 asm("vmrs r2,fpscr");
6389 return 0;
6391 _ACEOF
6392 if ac_fn_c_try_link "$LINENO"
6393 then :
6394 wine_cv_float_abi=yes
6395 else $as_nop
6396 wine_cv_float_abi=no
6398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6399 conftest$ac_exeext conftest.$ac_ext
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6402 printf "%s\n" "$wine_cv_float_abi" >&6; }
6403 test $wine_cv_float_abi != no || as_fn_error $? "The ARM target needs to support floating point instructions." "$LINENO" 5
6405 esac
6407 enable_win16=${enable_win16:-i386}
6408 enable_win64=${enable_win64:-no}
6409 enable_wow64=${enable_wow64:-aarch64,x86_64}
6410 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6411 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6412 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
6414 enable_cmd=${enable_cmd:-yes}
6415 enable_dllhost=${enable_dllhost:-yes}
6416 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
6417 enable_dxdiag=${enable_dxdiag:-yes}
6418 enable_msiexec=${enable_msiexec:-yes}
6419 enable_netsh=${enable_netsh:-yes}
6420 enable_regsvr32=${enable_regsvr32:-yes}
6421 enable_rundll32=${enable_rundll32:-yes}
6423 enable_winetest=${enable_winetest:-$enable_tests}
6425 if test "x$enable_win64" = "xyes"
6426 then
6427 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6428 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6431 case $build_os in
6432 cygwin*|mingw32*) toolsext=".exe"
6434 *) toolsext=""
6436 esac
6438 HOST_ARCH=unknown
6439 case "$host_cpu" in
6440 aarch64*) HOST_ARCH=aarch64 ;;
6441 arm*) HOST_ARCH=arm ;;
6442 i[3456789]86*) HOST_ARCH=i386 ;;
6443 x86_64) HOST_ARCH=x86_64 ;;
6444 esac
6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6448 printf %s "checking for the directory containing the Wine tools... " >&6; }
6449 if test ${wine_cv_toolsdir+y}
6450 then :
6451 printf %s "(cached) " >&6
6452 else $as_nop
6453 wine_cv_toolsdir="$with_wine_tools"
6454 if test -z "$with_wine_tools"; then
6455 if test "$cross_compiling" = "yes"; then
6456 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6457 elif test -n "$with_wine64"; then
6458 wine_cv_toolsdir="$with_wine64"
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6463 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6464 if test -z "$wine_cv_toolsdir"; then
6465 wine_makedep=tools/makedep$toolsext
6466 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6467 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6468 enable_tools=${enable_tools:-no}
6469 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6470 else
6471 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6473 toolsdir=$wine_cv_toolsdir
6475 MAKEDEP=$wine_makedep
6477 RUNTESTFLAGS="-q -P wine"
6479 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'"
6482 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6483 then
6484 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6487 for ac_prog in flex
6489 # Extract the first word of "$ac_prog", so it can be a program name with args.
6490 set dummy $ac_prog; ac_word=$2
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 printf %s "checking for $ac_word... " >&6; }
6493 if test ${ac_cv_prog_FLEX+y}
6494 then :
6495 printf %s "(cached) " >&6
6496 else $as_nop
6497 if test -n "$FLEX"; then
6498 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6499 else
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in $PATH
6503 IFS=$as_save_IFS
6504 case $as_dir in #(((
6505 '') as_dir=./ ;;
6506 */) ;;
6507 *) as_dir=$as_dir/ ;;
6508 esac
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_FLEX="$ac_prog"
6512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6513 break 2
6515 done
6516 done
6517 IFS=$as_save_IFS
6521 FLEX=$ac_cv_prog_FLEX
6522 if test -n "$FLEX"; then
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6524 printf "%s\n" "$FLEX" >&6; }
6525 else
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 printf "%s\n" "no" >&6; }
6531 test -n "$FLEX" && break
6532 done
6533 test -n "$FLEX" || FLEX="none"
6535 if test "$FLEX" = "none"
6536 then
6537 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6540 printf %s "checking whether flex is recent enough... " >&6; }
6541 if test ${wine_cv_recent_flex+y}
6542 then :
6543 printf %s "(cached) " >&6
6544 else $as_nop
6545 cat >conftest.l <<EOF
6546 %top{
6547 #include "prediluvian.h"
6551 if $FLEX -t conftest.l >/dev/null 2>&5
6552 then
6553 wine_cv_recent_flex=yes
6554 else
6555 wine_cv_recent_flex=no
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6559 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6560 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
6562 for ac_prog in bison
6564 # Extract the first word of "$ac_prog", so it can be a program name with args.
6565 set dummy $ac_prog; ac_word=$2
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 printf %s "checking for $ac_word... " >&6; }
6568 if test ${ac_cv_prog_BISON+y}
6569 then :
6570 printf %s "(cached) " >&6
6571 else $as_nop
6572 if test -n "$BISON"; then
6573 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6578 IFS=$as_save_IFS
6579 case $as_dir in #(((
6580 '') as_dir=./ ;;
6581 */) ;;
6582 *) as_dir=$as_dir/ ;;
6583 esac
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6586 ac_cv_prog_BISON="$ac_prog"
6587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6588 break 2
6590 done
6591 done
6592 IFS=$as_save_IFS
6596 BISON=$ac_cv_prog_BISON
6597 if test -n "$BISON"; then
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6599 printf "%s\n" "$BISON" >&6; }
6600 else
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 printf "%s\n" "no" >&6; }
6606 test -n "$BISON" && break
6607 done
6608 test -n "$BISON" || BISON="none"
6610 if test "$BISON" = "none"
6611 then
6612 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6615 printf %s "checking whether bison is recent enough... " >&6; }
6616 if test ${wine_cv_recent_bison+y}
6617 then :
6618 printf %s "(cached) " >&6
6619 else $as_nop
6620 cat >conftest.y <<EOF
6621 %define parse.error verbose
6623 empty: ;
6625 if $BISON conftest.y >/dev/null 2>&5
6626 then
6627 wine_cv_recent_bison=yes
6628 else
6629 wine_cv_recent_bison=no
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6633 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6634 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
6636 if test -n "$ac_tool_prefix"; then
6637 for ac_prog in ar gar
6639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 printf %s "checking for $ac_word... " >&6; }
6643 if test ${ac_cv_prog_AR+y}
6644 then :
6645 printf %s "(cached) " >&6
6646 else $as_nop
6647 if test -n "$AR"; then
6648 ac_cv_prog_AR="$AR" # Let the user override the test.
6649 else
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 for as_dir in $PATH
6653 IFS=$as_save_IFS
6654 case $as_dir in #(((
6655 '') as_dir=./ ;;
6656 */) ;;
6657 *) as_dir=$as_dir/ ;;
6658 esac
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6661 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6663 break 2
6665 done
6666 done
6667 IFS=$as_save_IFS
6671 AR=$ac_cv_prog_AR
6672 if test -n "$AR"; then
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6674 printf "%s\n" "$AR" >&6; }
6675 else
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 printf "%s\n" "no" >&6; }
6681 test -n "$AR" && break
6682 done
6684 if test -z "$AR"; then
6685 ac_ct_AR=$AR
6686 for ac_prog in ar gar
6688 # Extract the first word of "$ac_prog", so it can be a program name with args.
6689 set dummy $ac_prog; ac_word=$2
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 printf %s "checking for $ac_word... " >&6; }
6692 if test ${ac_cv_prog_ac_ct_AR+y}
6693 then :
6694 printf %s "(cached) " >&6
6695 else $as_nop
6696 if test -n "$ac_ct_AR"; then
6697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6698 else
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 for as_dir in $PATH
6702 IFS=$as_save_IFS
6703 case $as_dir in #(((
6704 '') as_dir=./ ;;
6705 */) ;;
6706 *) as_dir=$as_dir/ ;;
6707 esac
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_ac_ct_AR="$ac_prog"
6711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6712 break 2
6714 done
6715 done
6716 IFS=$as_save_IFS
6720 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6721 if test -n "$ac_ct_AR"; then
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6723 printf "%s\n" "$ac_ct_AR" >&6; }
6724 else
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 printf "%s\n" "no" >&6; }
6730 test -n "$ac_ct_AR" && break
6731 done
6733 if test "x$ac_ct_AR" = x; then
6734 AR="ar"
6735 else
6736 case $cross_compiling:$ac_tool_warned in
6737 yes:)
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740 ac_tool_warned=yes ;;
6741 esac
6742 AR=$ac_ct_AR
6746 if test -n "$ac_tool_prefix"; then
6747 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6748 set dummy ${ac_tool_prefix}strip; ac_word=$2
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 printf %s "checking for $ac_word... " >&6; }
6751 if test ${ac_cv_prog_STRIP+y}
6752 then :
6753 printf %s "(cached) " >&6
6754 else $as_nop
6755 if test -n "$STRIP"; then
6756 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6757 else
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 for as_dir in $PATH
6761 IFS=$as_save_IFS
6762 case $as_dir in #(((
6763 '') as_dir=./ ;;
6764 */) ;;
6765 *) as_dir=$as_dir/ ;;
6766 esac
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6771 break 2
6773 done
6774 done
6775 IFS=$as_save_IFS
6779 STRIP=$ac_cv_prog_STRIP
6780 if test -n "$STRIP"; then
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6782 printf "%s\n" "$STRIP" >&6; }
6783 else
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 printf "%s\n" "no" >&6; }
6790 if test -z "$ac_cv_prog_STRIP"; then
6791 ac_ct_STRIP=$STRIP
6792 # Extract the first word of "strip", so it can be a program name with args.
6793 set dummy strip; ac_word=$2
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 printf %s "checking for $ac_word... " >&6; }
6796 if test ${ac_cv_prog_ac_ct_STRIP+y}
6797 then :
6798 printf %s "(cached) " >&6
6799 else $as_nop
6800 if test -n "$ac_ct_STRIP"; then
6801 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 case $as_dir in #(((
6808 '') as_dir=./ ;;
6809 */) ;;
6810 *) as_dir=$as_dir/ ;;
6811 esac
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_ac_ct_STRIP="strip"
6815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6816 break 2
6818 done
6819 done
6820 IFS=$as_save_IFS
6824 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6825 if test -n "$ac_ct_STRIP"; then
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6827 printf "%s\n" "$ac_ct_STRIP" >&6; }
6828 else
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 printf "%s\n" "no" >&6; }
6833 if test "x$ac_ct_STRIP" = x; then
6834 STRIP="strip"
6835 else
6836 case $cross_compiling:$ac_tool_warned in
6837 yes:)
6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840 ac_tool_warned=yes ;;
6841 esac
6842 STRIP=$ac_ct_STRIP
6844 else
6845 STRIP="$ac_cv_prog_STRIP"
6848 if test -n "$ac_tool_prefix"; then
6849 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6850 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 printf %s "checking for $ac_word... " >&6; }
6853 if test ${ac_cv_prog_RANLIB+y}
6854 then :
6855 printf %s "(cached) " >&6
6856 else $as_nop
6857 if test -n "$RANLIB"; then
6858 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6859 else
6860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 for as_dir in $PATH
6863 IFS=$as_save_IFS
6864 case $as_dir in #(((
6865 '') as_dir=./ ;;
6866 */) ;;
6867 *) as_dir=$as_dir/ ;;
6868 esac
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6873 break 2
6875 done
6876 done
6877 IFS=$as_save_IFS
6881 RANLIB=$ac_cv_prog_RANLIB
6882 if test -n "$RANLIB"; then
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6884 printf "%s\n" "$RANLIB" >&6; }
6885 else
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 printf "%s\n" "no" >&6; }
6892 if test -z "$ac_cv_prog_RANLIB"; then
6893 ac_ct_RANLIB=$RANLIB
6894 # Extract the first word of "ranlib", so it can be a program name with args.
6895 set dummy ranlib; ac_word=$2
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 printf %s "checking for $ac_word... " >&6; }
6898 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6899 then :
6900 printf %s "(cached) " >&6
6901 else $as_nop
6902 if test -n "$ac_ct_RANLIB"; then
6903 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6904 else
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH
6908 IFS=$as_save_IFS
6909 case $as_dir in #(((
6910 '') as_dir=./ ;;
6911 */) ;;
6912 *) as_dir=$as_dir/ ;;
6913 esac
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_ac_ct_RANLIB="ranlib"
6917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6918 break 2
6920 done
6921 done
6922 IFS=$as_save_IFS
6926 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6927 if test -n "$ac_ct_RANLIB"; then
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6929 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6930 else
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 printf "%s\n" "no" >&6; }
6935 if test "x$ac_ct_RANLIB" = x; then
6936 RANLIB=":"
6937 else
6938 case $cross_compiling:$ac_tool_warned in
6939 yes:)
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6941 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6942 ac_tool_warned=yes ;;
6943 esac
6944 RANLIB=$ac_ct_RANLIB
6946 else
6947 RANLIB="$ac_cv_prog_RANLIB"
6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6951 printf %s "checking whether ln -s works... " >&6; }
6952 LN_S=$as_ln_s
6953 if test "$LN_S" = "ln -s"; then
6954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6955 printf "%s\n" "yes" >&6; }
6956 else
6957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6958 printf "%s\n" "no, using $LN_S" >&6; }
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6962 printf %s "checking for grep that handles long lines and -e... " >&6; }
6963 if test ${ac_cv_path_GREP+y}
6964 then :
6965 printf %s "(cached) " >&6
6966 else $as_nop
6967 if test -z "$GREP"; then
6968 ac_path_GREP_found=false
6969 # Loop through the user's path and test for each of PROGNAME-LIST
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6973 IFS=$as_save_IFS
6974 case $as_dir in #(((
6975 '') as_dir=./ ;;
6976 */) ;;
6977 *) as_dir=$as_dir/ ;;
6978 esac
6979 for ac_prog in grep ggrep
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6983 as_fn_executable_p "$ac_path_GREP" || continue
6984 # Check for GNU ac_path_GREP and select it if it is found.
6985 # Check for GNU $ac_path_GREP
6986 case `"$ac_path_GREP" --version 2>&1` in
6987 *GNU*)
6988 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6990 ac_count=0
6991 printf %s 0123456789 >"conftest.in"
6992 while :
6994 cat "conftest.in" "conftest.in" >"conftest.tmp"
6995 mv "conftest.tmp" "conftest.in"
6996 cp "conftest.in" "conftest.nl"
6997 printf "%s\n" 'GREP' >> "conftest.nl"
6998 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6999 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7000 as_fn_arith $ac_count + 1 && ac_count=$as_val
7001 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7002 # Best one so far, save it but keep looking for a better one
7003 ac_cv_path_GREP="$ac_path_GREP"
7004 ac_path_GREP_max=$ac_count
7006 # 10*(2^10) chars as input seems more than enough
7007 test $ac_count -gt 10 && break
7008 done
7009 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7010 esac
7012 $ac_path_GREP_found && break 3
7013 done
7014 done
7015 done
7016 IFS=$as_save_IFS
7017 if test -z "$ac_cv_path_GREP"; then
7018 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7020 else
7021 ac_cv_path_GREP=$GREP
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7026 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7027 GREP="$ac_cv_path_GREP"
7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7031 printf %s "checking for egrep... " >&6; }
7032 if test ${ac_cv_path_EGREP+y}
7033 then :
7034 printf %s "(cached) " >&6
7035 else $as_nop
7036 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7037 then ac_cv_path_EGREP="$GREP -E"
7038 else
7039 if test -z "$EGREP"; then
7040 ac_path_EGREP_found=false
7041 # Loop through the user's path and test for each of PROGNAME-LIST
7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7045 IFS=$as_save_IFS
7046 case $as_dir in #(((
7047 '') as_dir=./ ;;
7048 */) ;;
7049 *) as_dir=$as_dir/ ;;
7050 esac
7051 for ac_prog in egrep
7053 for ac_exec_ext in '' $ac_executable_extensions; do
7054 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7055 as_fn_executable_p "$ac_path_EGREP" || continue
7056 # Check for GNU ac_path_EGREP and select it if it is found.
7057 # Check for GNU $ac_path_EGREP
7058 case `"$ac_path_EGREP" --version 2>&1` in
7059 *GNU*)
7060 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7062 ac_count=0
7063 printf %s 0123456789 >"conftest.in"
7064 while :
7066 cat "conftest.in" "conftest.in" >"conftest.tmp"
7067 mv "conftest.tmp" "conftest.in"
7068 cp "conftest.in" "conftest.nl"
7069 printf "%s\n" 'EGREP' >> "conftest.nl"
7070 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7071 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7072 as_fn_arith $ac_count + 1 && ac_count=$as_val
7073 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7074 # Best one so far, save it but keep looking for a better one
7075 ac_cv_path_EGREP="$ac_path_EGREP"
7076 ac_path_EGREP_max=$ac_count
7078 # 10*(2^10) chars as input seems more than enough
7079 test $ac_count -gt 10 && break
7080 done
7081 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7082 esac
7084 $ac_path_EGREP_found && break 3
7085 done
7086 done
7087 done
7088 IFS=$as_save_IFS
7089 if test -z "$ac_cv_path_EGREP"; then
7090 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7092 else
7093 ac_cv_path_EGREP=$EGREP
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7099 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7100 EGREP="$ac_cv_path_EGREP"
7103 # Extract the first word of "ldconfig", so it can be a program name with args.
7104 set dummy ldconfig; ac_word=$2
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 printf %s "checking for $ac_word... " >&6; }
7107 if test ${ac_cv_path_LDCONFIG+y}
7108 then :
7109 printf %s "(cached) " >&6
7110 else $as_nop
7111 case $LDCONFIG in
7112 [\\/]* | ?:[\\/]*)
7113 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 for as_dir in /sbin /usr/sbin $PATH
7119 IFS=$as_save_IFS
7120 case $as_dir in #(((
7121 '') as_dir=./ ;;
7122 */) ;;
7123 *) as_dir=$as_dir/ ;;
7124 esac
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7127 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7129 break 2
7131 done
7132 done
7133 IFS=$as_save_IFS
7135 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7137 esac
7139 LDCONFIG=$ac_cv_path_LDCONFIG
7140 if test -n "$LDCONFIG"; then
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7142 printf "%s\n" "$LDCONFIG" >&6; }
7143 else
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 printf "%s\n" "no" >&6; }
7149 for ac_prog in msgfmt
7151 # Extract the first word of "$ac_prog", so it can be a program name with args.
7152 set dummy $ac_prog; ac_word=$2
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 printf %s "checking for $ac_word... " >&6; }
7155 if test ${ac_cv_prog_MSGFMT+y}
7156 then :
7157 printf %s "(cached) " >&6
7158 else $as_nop
7159 if test -n "$MSGFMT"; then
7160 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7161 else
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 for as_dir in $PATH
7165 IFS=$as_save_IFS
7166 case $as_dir in #(((
7167 '') as_dir=./ ;;
7168 */) ;;
7169 *) as_dir=$as_dir/ ;;
7170 esac
7171 for ac_exec_ext in '' $ac_executable_extensions; do
7172 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7173 ac_cv_prog_MSGFMT="$ac_prog"
7174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7175 break 2
7177 done
7178 done
7179 IFS=$as_save_IFS
7183 MSGFMT=$ac_cv_prog_MSGFMT
7184 if test -n "$MSGFMT"; then
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7186 printf "%s\n" "$MSGFMT" >&6; }
7187 else
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 printf "%s\n" "no" >&6; }
7193 test -n "$MSGFMT" && break
7194 done
7195 test -n "$MSGFMT" || MSGFMT="false"
7197 if test ${ac_tool_prefix+y}
7198 then :
7199 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7200 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 printf %s "checking for $ac_word... " >&6; }
7203 if test ${ac_cv_prog_PKG_CONFIG+y}
7204 then :
7205 printf %s "(cached) " >&6
7206 else $as_nop
7207 if test -n "$PKG_CONFIG"; then
7208 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7209 else
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211 for as_dir in $PATH
7213 IFS=$as_save_IFS
7214 case $as_dir in #(((
7215 '') as_dir=./ ;;
7216 */) ;;
7217 *) as_dir=$as_dir/ ;;
7218 esac
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7221 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7223 break 2
7225 done
7226 done
7227 IFS=$as_save_IFS
7231 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7232 if test -n "$PKG_CONFIG"; then
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7234 printf "%s\n" "$PKG_CONFIG" >&6; }
7235 else
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 printf "%s\n" "no" >&6; }
7242 if ${ac_cv_prog_PKG_CONFIG:+false} :
7243 then :
7244 if test "x$cross_compiling" = xyes
7245 then :
7247 else $as_nop
7248 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7249 # Extract the first word of "pkg-config", so it can be a program name with args.
7250 set dummy pkg-config; ac_word=$2
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252 printf %s "checking for $ac_word... " >&6; }
7253 if test ${ac_cv_prog_PKG_CONFIG+y}
7254 then :
7255 printf %s "(cached) " >&6
7256 else $as_nop
7257 if test -n "$PKG_CONFIG"; then
7258 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7259 else
7260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 for as_dir in $PATH
7263 IFS=$as_save_IFS
7264 case $as_dir in #(((
7265 '') as_dir=./ ;;
7266 */) ;;
7267 *) as_dir=$as_dir/ ;;
7268 esac
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7271 ac_cv_prog_PKG_CONFIG="pkg-config"
7272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7273 break 2
7275 done
7276 done
7277 IFS=$as_save_IFS
7281 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7282 if test -n "$PKG_CONFIG"; then
7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7284 printf "%s\n" "$PKG_CONFIG" >&6; }
7285 else
7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 printf "%s\n" "no" >&6; }
7292 else $as_nop
7293 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7296 if test "x$enable_maintainer_mode" != "xyes"
7297 then
7298 FONTFORGE=""
7299 RSVG=""
7300 CONVERT=""
7301 ICOTOOL=""
7302 else
7303 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7304 for ac_prog in fontforge
7306 # Extract the first word of "$ac_prog", so it can be a program name with args.
7307 set dummy $ac_prog; ac_word=$2
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 printf %s "checking for $ac_word... " >&6; }
7310 if test ${ac_cv_prog_FONTFORGE+y}
7311 then :
7312 printf %s "(cached) " >&6
7313 else $as_nop
7314 if test -n "$FONTFORGE"; then
7315 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7316 else
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 for as_dir in $PATH
7320 IFS=$as_save_IFS
7321 case $as_dir in #(((
7322 '') as_dir=./ ;;
7323 */) ;;
7324 *) as_dir=$as_dir/ ;;
7325 esac
7326 for ac_exec_ext in '' $ac_executable_extensions; do
7327 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7328 ac_cv_prog_FONTFORGE="$ac_prog"
7329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7330 break 2
7332 done
7333 done
7334 IFS=$as_save_IFS
7338 FONTFORGE=$ac_cv_prog_FONTFORGE
7339 if test -n "$FONTFORGE"; then
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7341 printf "%s\n" "$FONTFORGE" >&6; }
7342 else
7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 printf "%s\n" "no" >&6; }
7348 test -n "$FONTFORGE" && break
7349 done
7350 test -n "$FONTFORGE" || FONTFORGE="false"
7352 for ac_prog in rsvg-convert rsvg
7354 # Extract the first word of "$ac_prog", so it can be a program name with args.
7355 set dummy $ac_prog; ac_word=$2
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 printf %s "checking for $ac_word... " >&6; }
7358 if test ${ac_cv_prog_RSVG+y}
7359 then :
7360 printf %s "(cached) " >&6
7361 else $as_nop
7362 if test -n "$RSVG"; then
7363 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7364 else
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7368 IFS=$as_save_IFS
7369 case $as_dir in #(((
7370 '') as_dir=./ ;;
7371 */) ;;
7372 *) as_dir=$as_dir/ ;;
7373 esac
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_RSVG="$ac_prog"
7377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7378 break 2
7380 done
7381 done
7382 IFS=$as_save_IFS
7386 RSVG=$ac_cv_prog_RSVG
7387 if test -n "$RSVG"; then
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7389 printf "%s\n" "$RSVG" >&6; }
7390 else
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 printf "%s\n" "no" >&6; }
7396 test -n "$RSVG" && break
7397 done
7398 test -n "$RSVG" || RSVG="false"
7400 for ac_prog in convert
7402 # Extract the first word of "$ac_prog", so it can be a program name with args.
7403 set dummy $ac_prog; ac_word=$2
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 printf %s "checking for $ac_word... " >&6; }
7406 if test ${ac_cv_prog_CONVERT+y}
7407 then :
7408 printf %s "(cached) " >&6
7409 else $as_nop
7410 if test -n "$CONVERT"; then
7411 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7412 else
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7414 for as_dir in $PATH
7416 IFS=$as_save_IFS
7417 case $as_dir in #(((
7418 '') as_dir=./ ;;
7419 */) ;;
7420 *) as_dir=$as_dir/ ;;
7421 esac
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_CONVERT="$ac_prog"
7425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7426 break 2
7428 done
7429 done
7430 IFS=$as_save_IFS
7434 CONVERT=$ac_cv_prog_CONVERT
7435 if test -n "$CONVERT"; then
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7437 printf "%s\n" "$CONVERT" >&6; }
7438 else
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 printf "%s\n" "no" >&6; }
7444 test -n "$CONVERT" && break
7445 done
7446 test -n "$CONVERT" || CONVERT="false"
7448 for ac_prog in icotool
7450 # Extract the first word of "$ac_prog", so it can be a program name with args.
7451 set dummy $ac_prog; ac_word=$2
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453 printf %s "checking for $ac_word... " >&6; }
7454 if test ${ac_cv_prog_ICOTOOL+y}
7455 then :
7456 printf %s "(cached) " >&6
7457 else $as_nop
7458 if test -n "$ICOTOOL"; then
7459 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7460 else
7461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 for as_dir in $PATH
7464 IFS=$as_save_IFS
7465 case $as_dir in #(((
7466 '') as_dir=./ ;;
7467 */) ;;
7468 *) as_dir=$as_dir/ ;;
7469 esac
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_ICOTOOL="$ac_prog"
7473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7474 break 2
7476 done
7477 done
7478 IFS=$as_save_IFS
7482 ICOTOOL=$ac_cv_prog_ICOTOOL
7483 if test -n "$ICOTOOL"; then
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7485 printf "%s\n" "$ICOTOOL" >&6; }
7486 else
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 printf "%s\n" "no" >&6; }
7492 test -n "$ICOTOOL" && break
7493 done
7494 test -n "$ICOTOOL" || ICOTOOL="false"
7496 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7497 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7499 if test "$CONVERT" = false
7500 then
7501 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7502 else
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7504 printf %s "checking for recent enough imagemagick... " >&6; }
7505 convert_version=`convert --version | head -n1`
7506 if test "x$convert_version" != "x"
7507 then
7508 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7509 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7510 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7511 then
7512 CONVERT=false
7515 if test "$CONVERT" = false
7516 then
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7518 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7519 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7520 else
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7522 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7526 if test "$ICOTOOL" = false
7527 then
7528 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7529 else
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7531 printf %s "checking for recent enough icotool... " >&6; }
7532 icotool_version=`icotool --version | head -n1`
7533 if test "x$icotool_version" != "x"
7534 then
7535 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7536 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7537 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7538 then
7539 ICOTOOL=false
7540 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7543 if test "$ICOTOOL" = false
7544 then
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7546 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7547 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7548 else
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7550 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7554 with_gettext=yes
7555 with_gettextpo=yes
7557 enable_werror=yes
7560 test "x$with_gettext" != xno || MSGFMT=false
7561 if test "$MSGFMT" != "false"
7562 then
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7564 printf %s "checking whether msgfmt supports contexts... " >&6; }
7565 if test ${wine_cv_msgfmt_contexts+y}
7566 then :
7567 printf %s "(cached) " >&6
7568 else $as_nop
7569 cat >conftest.po <<EOF
7570 # comment
7571 msgctxt "ctxt"
7572 msgid "id"
7573 msgstr "str"
7575 if $MSGFMT -o /dev/null conftest.po 2>&5
7576 then
7577 wine_cv_msgfmt_contexts=yes
7578 else
7579 wine_cv_msgfmt_contexts=no
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7583 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7584 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7586 if test "$MSGFMT" = false
7587 then :
7588 case "x$with_gettext" in
7589 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7590 xno) ;;
7591 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7592 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7593 esac
7594 enable_po=${enable_po:-no}
7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7599 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7600 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7601 then :
7602 printf %s "(cached) " >&6
7603 else $as_nop
7604 ac_check_lib_save_LIBS=$LIBS
7605 LIBS="-li386 $LIBS"
7606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7609 /* Override any GCC internal prototype to avoid an error.
7610 Use char because int might match the return type of a GCC
7611 builtin and then its argument prototype would still apply. */
7612 char i386_set_ldt ();
7614 main (void)
7616 return i386_set_ldt ();
7618 return 0;
7620 _ACEOF
7621 if ac_fn_c_try_link "$LINENO"
7622 then :
7623 ac_cv_lib_i386_i386_set_ldt=yes
7624 else $as_nop
7625 ac_cv_lib_i386_i386_set_ldt=no
7627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7628 conftest$ac_exeext conftest.$ac_ext
7629 LIBS=$ac_check_lib_save_LIBS
7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7632 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7633 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7634 then :
7635 I386_LIBS="-li386"
7640 OPENGL_LIBS=""
7644 # Check whether --enable-largefile was given.
7645 if test ${enable_largefile+y}
7646 then :
7647 enableval=$enable_largefile;
7650 if test "$enable_largefile" != no; then
7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7653 printf %s "checking for special C compiler options needed for large files... " >&6; }
7654 if test ${ac_cv_sys_largefile_CC+y}
7655 then :
7656 printf %s "(cached) " >&6
7657 else $as_nop
7658 ac_cv_sys_largefile_CC=no
7659 if test "$GCC" != yes; then
7660 ac_save_CC=$CC
7661 while :; do
7662 # IRIX 6.2 and later do not support large files by default,
7663 # so use the C compiler's -n32 option if that helps.
7664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7666 #include <sys/types.h>
7667 /* Check that off_t can represent 2**63 - 1 correctly.
7668 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7669 since some C++ compilers masquerading as C compilers
7670 incorrectly reject 9223372036854775807. */
7671 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7672 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7673 && LARGE_OFF_T % 2147483647 == 1)
7674 ? 1 : -1];
7676 main (void)
7680 return 0;
7682 _ACEOF
7683 if ac_fn_c_try_compile "$LINENO"
7684 then :
7685 break
7687 rm -f core conftest.err conftest.$ac_objext conftest.beam
7688 CC="$CC -n32"
7689 if ac_fn_c_try_compile "$LINENO"
7690 then :
7691 ac_cv_sys_largefile_CC=' -n32'; break
7693 rm -f core conftest.err conftest.$ac_objext conftest.beam
7694 break
7695 done
7696 CC=$ac_save_CC
7697 rm -f conftest.$ac_ext
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7701 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7702 if test "$ac_cv_sys_largefile_CC" != no; then
7703 CC=$CC$ac_cv_sys_largefile_CC
7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7707 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7708 if test ${ac_cv_sys_file_offset_bits+y}
7709 then :
7710 printf %s "(cached) " >&6
7711 else $as_nop
7712 while :; do
7713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 #include <sys/types.h>
7716 /* Check that off_t can represent 2**63 - 1 correctly.
7717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7718 since some C++ compilers masquerading as C compilers
7719 incorrectly reject 9223372036854775807. */
7720 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7722 && LARGE_OFF_T % 2147483647 == 1)
7723 ? 1 : -1];
7725 main (void)
7729 return 0;
7731 _ACEOF
7732 if ac_fn_c_try_compile "$LINENO"
7733 then :
7734 ac_cv_sys_file_offset_bits=no; break
7736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7739 #define _FILE_OFFSET_BITS 64
7740 #include <sys/types.h>
7741 /* Check that off_t can represent 2**63 - 1 correctly.
7742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7743 since some C++ compilers masquerading as C compilers
7744 incorrectly reject 9223372036854775807. */
7745 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7747 && LARGE_OFF_T % 2147483647 == 1)
7748 ? 1 : -1];
7750 main (void)
7754 return 0;
7756 _ACEOF
7757 if ac_fn_c_try_compile "$LINENO"
7758 then :
7759 ac_cv_sys_file_offset_bits=64; break
7761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7762 ac_cv_sys_file_offset_bits=unknown
7763 break
7764 done
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7767 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7768 case $ac_cv_sys_file_offset_bits in #(
7769 no | unknown) ;;
7771 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7773 esac
7774 rm -rf conftest*
7775 if test $ac_cv_sys_file_offset_bits = unknown; then
7776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7777 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7778 if test ${ac_cv_sys_large_files+y}
7779 then :
7780 printf %s "(cached) " >&6
7781 else $as_nop
7782 while :; do
7783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7785 #include <sys/types.h>
7786 /* Check that off_t can represent 2**63 - 1 correctly.
7787 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7788 since some C++ compilers masquerading as C compilers
7789 incorrectly reject 9223372036854775807. */
7790 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7792 && LARGE_OFF_T % 2147483647 == 1)
7793 ? 1 : -1];
7795 main (void)
7799 return 0;
7801 _ACEOF
7802 if ac_fn_c_try_compile "$LINENO"
7803 then :
7804 ac_cv_sys_large_files=no; break
7806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809 #define _LARGE_FILES 1
7810 #include <sys/types.h>
7811 /* Check that off_t can represent 2**63 - 1 correctly.
7812 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7813 since some C++ compilers masquerading as C compilers
7814 incorrectly reject 9223372036854775807. */
7815 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7816 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7817 && LARGE_OFF_T % 2147483647 == 1)
7818 ? 1 : -1];
7820 main (void)
7824 return 0;
7826 _ACEOF
7827 if ac_fn_c_try_compile "$LINENO"
7828 then :
7829 ac_cv_sys_large_files=1; break
7831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7832 ac_cv_sys_large_files=unknown
7833 break
7834 done
7836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7837 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7838 case $ac_cv_sys_large_files in #(
7839 no | unknown) ;;
7841 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7843 esac
7844 rm -rf conftest*
7848 test "$ac_cv_sys_file_offset_bits" = 64 &&
7849 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7852 ac_header= ac_cache=
7853 for ac_item in $ac_header_c_list
7855 if test $ac_cache; then
7856 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7857 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7858 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7860 ac_header= ac_cache=
7861 elif test $ac_header; then
7862 ac_cache=$ac_item
7863 else
7864 ac_header=$ac_item
7866 done
7875 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7876 then :
7878 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_CL_cl_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_EGL_egl_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_arpa_inet_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_asm_types_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_asm_user_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_elf_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_float_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_gettext_po_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_libproc_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_link_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_filter_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_input_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_major_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_param_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_serial_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_linux_types_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_linux_wireless_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_lwp_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_mach_mach_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_machine_cpu_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_mntent_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netdb_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netinet_in_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_port_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_pwd_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sched_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_scsi_sg_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_stdint_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_attr_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_auxv_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_cdio_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_epoll_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_event_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_extattr_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_filio_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_ipc_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_link_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_modem_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_mtio_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_param_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_prctl_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_queue_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_random_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_resource_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_shm_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_signal_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_sockio_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_strtio_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_syscall_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_times_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_uio_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_user_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_utsname_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_vnode_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_sys_xattr_h" = xyes
8327 then :
8328 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_syscall_h" = xyes
8333 then :
8334 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_utime_h" = xyes
8339 then :
8340 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8345 then :
8346 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8349 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8350 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8351 then :
8352 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8358 then :
8360 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8364 if test $ac_cv_header_sys_mkdev_h = no; then
8365 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8366 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8367 then :
8369 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8375 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8376 if test ${ac_cv_header_stat_broken+y}
8377 then :
8378 printf %s "(cached) " >&6
8379 else $as_nop
8380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8382 #include <sys/types.h>
8383 #include <sys/stat.h>
8385 #if defined S_ISBLK && defined S_IFDIR
8386 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8387 #endif
8389 #if defined S_ISBLK && defined S_IFCHR
8390 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8391 #endif
8393 #if defined S_ISLNK && defined S_IFREG
8394 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8395 #endif
8397 #if defined S_ISSOCK && defined S_IFREG
8398 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8399 #endif
8401 _ACEOF
8402 if ac_fn_c_try_compile "$LINENO"
8403 then :
8404 ac_cv_header_stat_broken=no
8405 else $as_nop
8406 ac_cv_header_stat_broken=yes
8408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8411 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8412 if test $ac_cv_header_stat_broken = yes; then
8414 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8420 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8421 #ifdef HAVE_SYS_PARAM_H
8422 # include <sys/param.h>
8423 #endif
8425 if test "x$ac_cv_header_sys_conf_h" = xyes
8426 then :
8427 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8433 #endif
8435 if test "x$ac_cv_header_sys_mount_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8441 #ifdef HAVE_SYS_PARAM_H
8442 # include <sys/param.h>
8443 #endif
8445 if test "x$ac_cv_header_sys_statfs_h" = xyes
8446 then :
8447 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8450 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8451 #ifdef HAVE_SYS_PARAM_H
8452 # include <sys/param.h>
8453 #endif
8455 if test "x$ac_cv_header_sys_user_h" = xyes
8456 then :
8457 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8460 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8461 #ifdef HAVE_SYS_PARAM_H
8462 # include <sys/param.h>
8463 #endif
8465 if test "x$ac_cv_header_sys_vfs_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8472 saved_sysctl_h_CFLAGS=$CFLAGS
8473 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8474 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8475 #ifdef HAVE_SYS_PARAM_H
8476 # include <sys/param.h>
8477 #endif
8479 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8480 then :
8481 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8485 CFLAGS=$saved_sysctl_h_CFLAGS
8487 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8488 #include <sys/socket.h>
8489 #ifdef HAVE_SYS_SOCKETVAR_H
8490 # include <sys/socketvar.h>
8491 #endif
8492 #ifdef HAVE_NET_ROUTE_H
8493 # include <net/route.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IN_H
8496 # include <netinet/in.h>
8497 #endif
8498 #ifdef HAVE_NETINET_IN_SYSTM_H
8499 # include <netinet/in_systm.h>
8500 #endif
8501 #ifdef HAVE_NET_IF_H
8502 # include <net/if.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IP_H
8505 # include <netinet/ip.h>
8506 #endif
8508 if test "x$ac_cv_header_netinet_ip_h" = xyes
8509 then :
8510 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8513 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8514 #include <sys/socket.h>
8515 #ifdef HAVE_SYS_SOCKETVAR_H
8516 # include <sys/socketvar.h>
8517 #endif
8518 #ifdef HAVE_NET_ROUTE_H
8519 # include <net/route.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IN_H
8522 # include <netinet/in.h>
8523 #endif
8524 #ifdef HAVE_NETINET_IN_SYSTM_H
8525 # include <netinet/in_systm.h>
8526 #endif
8527 #ifdef HAVE_NET_IF_H
8528 # include <net/if.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IP_H
8531 # include <netinet/ip.h>
8532 #endif
8534 if test "x$ac_cv_header_net_if_h" = xyes
8535 then :
8536 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8539 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8540 #include <sys/socket.h>
8541 #ifdef HAVE_SYS_SOCKETVAR_H
8542 # include <sys/socketvar.h>
8543 #endif
8544 #ifdef HAVE_NET_ROUTE_H
8545 # include <net/route.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IN_H
8548 # include <netinet/in.h>
8549 #endif
8550 #ifdef HAVE_NETINET_IN_SYSTM_H
8551 # include <netinet/in_systm.h>
8552 #endif
8553 #ifdef HAVE_NET_IF_H
8554 # include <net/if.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IP_H
8557 # include <netinet/ip.h>
8558 #endif
8560 if test "x$ac_cv_header_net_if_arp_h" = xyes
8561 then :
8562 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8565 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8566 #include <sys/socket.h>
8567 #ifdef HAVE_SYS_SOCKETVAR_H
8568 # include <sys/socketvar.h>
8569 #endif
8570 #ifdef HAVE_NET_ROUTE_H
8571 # include <net/route.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IN_H
8574 # include <netinet/in.h>
8575 #endif
8576 #ifdef HAVE_NETINET_IN_SYSTM_H
8577 # include <netinet/in_systm.h>
8578 #endif
8579 #ifdef HAVE_NET_IF_H
8580 # include <net/if.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IP_H
8583 # include <netinet/ip.h>
8584 #endif
8586 if test "x$ac_cv_header_net_if_dl_h" = xyes
8587 then :
8588 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8591 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8592 #include <sys/socket.h>
8593 #ifdef HAVE_SYS_SOCKETVAR_H
8594 # include <sys/socketvar.h>
8595 #endif
8596 #ifdef HAVE_NET_ROUTE_H
8597 # include <net/route.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IN_H
8600 # include <netinet/in.h>
8601 #endif
8602 #ifdef HAVE_NETINET_IN_SYSTM_H
8603 # include <netinet/in_systm.h>
8604 #endif
8605 #ifdef HAVE_NET_IF_H
8606 # include <net/if.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IP_H
8609 # include <netinet/ip.h>
8610 #endif
8612 if test "x$ac_cv_header_net_if_types_h" = xyes
8613 then :
8614 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8617 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8618 #include <sys/socket.h>
8619 #ifdef HAVE_SYS_SOCKETVAR_H
8620 # include <sys/socketvar.h>
8621 #endif
8622 #ifdef HAVE_NET_ROUTE_H
8623 # include <net/route.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IN_H
8626 # include <netinet/in.h>
8627 #endif
8628 #ifdef HAVE_NETINET_IN_SYSTM_H
8629 # include <netinet/in_systm.h>
8630 #endif
8631 #ifdef HAVE_NET_IF_H
8632 # include <net/if.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IP_H
8635 # include <netinet/ip.h>
8636 #endif
8638 if test "x$ac_cv_header_net_route_h" = xyes
8639 then :
8640 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8643 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8644 #include <sys/socket.h>
8645 #ifdef HAVE_SYS_SOCKETVAR_H
8646 # include <sys/socketvar.h>
8647 #endif
8648 #ifdef HAVE_NET_ROUTE_H
8649 # include <net/route.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IN_H
8652 # include <netinet/in.h>
8653 #endif
8654 #ifdef HAVE_NETINET_IN_SYSTM_H
8655 # include <netinet/in_systm.h>
8656 #endif
8657 #ifdef HAVE_NET_IF_H
8658 # include <net/if.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IP_H
8661 # include <netinet/ip.h>
8662 #endif
8664 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8665 then :
8666 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8669 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8670 #include <sys/socket.h>
8671 #ifdef HAVE_SYS_SOCKETVAR_H
8672 # include <sys/socketvar.h>
8673 #endif
8674 #ifdef HAVE_NET_ROUTE_H
8675 # include <net/route.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IN_H
8678 # include <netinet/in.h>
8679 #endif
8680 #ifdef HAVE_NETINET_IN_SYSTM_H
8681 # include <netinet/in_systm.h>
8682 #endif
8683 #ifdef HAVE_NET_IF_H
8684 # include <net/if.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IP_H
8687 # include <netinet/ip.h>
8688 #endif
8690 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8691 then :
8692 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8695 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8696 #include <sys/socket.h>
8697 #ifdef HAVE_SYS_SOCKETVAR_H
8698 # include <sys/socketvar.h>
8699 #endif
8700 #ifdef HAVE_NET_ROUTE_H
8701 # include <net/route.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IN_H
8704 # include <netinet/in.h>
8705 #endif
8706 #ifdef HAVE_NETINET_IN_SYSTM_H
8707 # include <netinet/in_systm.h>
8708 #endif
8709 #ifdef HAVE_NET_IF_H
8710 # include <net/if.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IP_H
8713 # include <netinet/ip.h>
8714 #endif
8716 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8717 then :
8718 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8721 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8722 #include <sys/socket.h>
8723 #ifdef HAVE_SYS_SOCKETVAR_H
8724 # include <sys/socketvar.h>
8725 #endif
8726 #ifdef HAVE_NET_ROUTE_H
8727 # include <net/route.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IN_H
8730 # include <netinet/in.h>
8731 #endif
8732 #ifdef HAVE_NETINET_IN_SYSTM_H
8733 # include <netinet/in_systm.h>
8734 #endif
8735 #ifdef HAVE_NET_IF_H
8736 # include <net/if.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IP_H
8739 # include <netinet/ip.h>
8740 #endif
8742 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8743 then :
8744 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8747 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8748 #include <sys/socket.h>
8749 #ifdef HAVE_SYS_SOCKETVAR_H
8750 # include <sys/socketvar.h>
8751 #endif
8752 #ifdef HAVE_NET_ROUTE_H
8753 # include <net/route.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IN_H
8756 # include <netinet/in.h>
8757 #endif
8758 #ifdef HAVE_NETINET_IN_SYSTM_H
8759 # include <netinet/in_systm.h>
8760 #endif
8761 #ifdef HAVE_NET_IF_H
8762 # include <net/if.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IP_H
8765 # include <netinet/ip.h>
8766 #endif
8768 if test "x$ac_cv_header_netinet_udp_h" = xyes
8769 then :
8770 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8773 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8774 #include <sys/socket.h>
8775 #ifdef HAVE_SYS_SOCKETVAR_H
8776 # include <sys/socketvar.h>
8777 #endif
8778 #ifdef HAVE_NET_ROUTE_H
8779 # include <net/route.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IN_H
8782 # include <netinet/in.h>
8783 #endif
8784 #ifdef HAVE_NETINET_IN_SYSTM_H
8785 # include <netinet/in_systm.h>
8786 #endif
8787 #ifdef HAVE_NET_IF_H
8788 # include <net/if.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IP_H
8791 # include <netinet/ip.h>
8792 #endif
8794 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8795 then :
8796 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8799 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8800 #include <sys/socket.h>
8801 #ifdef HAVE_SYS_SOCKETVAR_H
8802 # include <sys/socketvar.h>
8803 #endif
8804 #ifdef HAVE_NET_ROUTE_H
8805 # include <net/route.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IN_H
8808 # include <netinet/in.h>
8809 #endif
8810 #ifdef HAVE_NETINET_IN_SYSTM_H
8811 # include <netinet/in_systm.h>
8812 #endif
8813 #ifdef HAVE_NET_IF_H
8814 # include <net/if.h>
8815 #endif
8816 #ifdef HAVE_NETINET_IP_H
8817 # include <netinet/ip.h>
8818 #endif
8820 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8821 then :
8822 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8825 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8826 #include <sys/socket.h>
8827 #ifdef HAVE_SYS_SOCKETVAR_H
8828 # include <sys/socketvar.h>
8829 #endif
8830 #ifdef HAVE_NET_ROUTE_H
8831 # include <net/route.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IN_H
8834 # include <netinet/in.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IN_SYSTM_H
8837 # include <netinet/in_systm.h>
8838 #endif
8839 #ifdef HAVE_NET_IF_H
8840 # include <net/if.h>
8841 #endif
8842 #ifdef HAVE_NETINET_IP_H
8843 # include <netinet/ip.h>
8844 #endif
8846 if test "x$ac_cv_header_sys_un_h" = xyes
8847 then :
8848 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8853 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8854 #include <sys/socket.h>
8855 #ifdef HAVE_SYS_SOCKETVAR_H
8856 # include <sys/socketvar.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IN_H
8859 # include <netinet/in.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IN_SYSTM_H
8862 # include <netinet/in_systm.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IP_H
8865 # include <netinet/ip.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_VAR_H
8868 # include <netinet/ip_var.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IP_ICMP_H
8871 # include <netinet/ip_icmp.h>
8872 #endif
8873 #ifdef HAVE_NETINET_UDP_H
8874 # include <netinet/udp.h>
8875 #endif
8876 #ifdef HAVE_NETINET_TCP_H
8877 # include <netinet/tcp.h>
8878 #endif
8880 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8881 then :
8882 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8885 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8886 #include <sys/socket.h>
8887 #ifdef HAVE_SYS_SOCKETVAR_H
8888 # include <sys/socketvar.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IN_H
8891 # include <netinet/in.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IN_SYSTM_H
8894 # include <netinet/in_systm.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IP_H
8897 # include <netinet/ip.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_VAR_H
8900 # include <netinet/ip_var.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IP_ICMP_H
8903 # include <netinet/ip_icmp.h>
8904 #endif
8905 #ifdef HAVE_NETINET_UDP_H
8906 # include <netinet/udp.h>
8907 #endif
8908 #ifdef HAVE_NETINET_TCP_H
8909 # include <netinet/tcp.h>
8910 #endif
8912 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8913 then :
8914 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8917 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8918 #include <sys/socket.h>
8919 #ifdef HAVE_SYS_SOCKETVAR_H
8920 # include <sys/socketvar.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IN_H
8923 # include <netinet/in.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IN_SYSTM_H
8926 # include <netinet/in_systm.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IP_H
8929 # include <netinet/ip.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_VAR_H
8932 # include <netinet/ip_var.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_ICMP_H
8935 # include <netinet/ip_icmp.h>
8936 #endif
8937 #ifdef HAVE_NETINET_UDP_H
8938 # include <netinet/udp.h>
8939 #endif
8940 #ifdef HAVE_NETINET_TCP_H
8941 # include <netinet/tcp.h>
8942 #endif
8944 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8945 then :
8946 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8949 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8950 #include <sys/socket.h>
8951 #ifdef HAVE_SYS_SOCKETVAR_H
8952 # include <sys/socketvar.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IN_H
8955 # include <netinet/in.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IN_SYSTM_H
8958 # include <netinet/in_systm.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IP_H
8961 # include <netinet/ip.h>
8962 #endif
8963 #ifdef HAVE_NETINET_IP_VAR_H
8964 # include <netinet/ip_var.h>
8965 #endif
8966 #ifdef HAVE_NETINET_IP_ICMP_H
8967 # include <netinet/ip_icmp.h>
8968 #endif
8969 #ifdef HAVE_NETINET_UDP_H
8970 # include <netinet/udp.h>
8971 #endif
8972 #ifdef HAVE_NETINET_TCP_H
8973 # include <netinet/tcp.h>
8974 #endif
8976 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8977 then :
8978 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8984 #include <sys/socket.h>
8985 #ifdef HAVE_ASM_TYPES_H
8986 # include <asm/types.h>
8987 #endif
8988 #ifdef HAVE_LINUX_TYPES_H
8989 # include <linux/types.h>
8990 #endif
8992 if test "x$ac_cv_header_linux_ipx_h" = xyes
8993 then :
8994 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8998 #include <sys/socket.h>
8999 #ifdef HAVE_ASM_TYPES_H
9000 # include <asm/types.h>
9001 #endif
9002 #ifdef HAVE_LINUX_TYPES_H
9003 # include <linux/types.h>
9004 #endif
9006 if test "x$ac_cv_header_linux_irda_h" = xyes
9007 then :
9008 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9012 #include <sys/socket.h>
9013 #ifdef HAVE_ASM_TYPES_H
9014 # include <asm/types.h>
9015 #endif
9016 #ifdef HAVE_LINUX_TYPES_H
9017 # include <linux/types.h>
9018 #endif
9020 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9021 then :
9022 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9028 #include <sys/socket.h>
9029 #ifdef HAVE_NETINET_IN_H
9030 # include <netinet/in.h>
9031 #endif
9032 #ifdef HAVE_ARPA_NAMESER_H
9033 # include <arpa/nameser.h>
9034 #endif
9036 if test "x$ac_cv_header_resolv_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9045 if test "x$ac_cv_header_ifaddrs_h" = xyes
9046 then :
9047 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9054 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9055 then :
9056 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9061 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9062 #ifdef HAVE_SYS_UCONTEXT_H
9063 #include <sys/ucontext.h>
9064 #endif
9066 if test "x$ac_cv_header_sys_thr_h" = xyes
9067 then :
9068 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9073 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9075 if test "x$ac_cv_header_pthread_np_h" = xyes
9076 then :
9077 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9082 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9083 #include <sys/types.h>
9084 #ifdef HAVE_ASM_TYPES_H
9085 #include <asm/types.h>
9086 #endif
9088 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9089 then :
9090 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9095 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9096 #include <sys/param.h>
9097 #endif
9098 #include <sys/socket.h>
9099 #ifdef HAVE_SYS_QUEUE_H
9100 #include <sys/queue.h>
9101 #endif
9103 if test "x$ac_cv_header_libprocstat_h" = xyes
9104 then :
9105 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9110 if test "x$ac_cv_header_sys_xattr_h" = xyes
9111 then
9112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9113 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9114 if test ${wine_cv_xattr_extra_args+y}
9115 then :
9116 printf %s "(cached) " >&6
9117 else $as_nop
9118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9119 /* end confdefs.h. */
9120 #include <sys/xattr.h>
9122 main (void)
9124 getxattr("", "", "", 0, 0, 0);
9126 return 0;
9128 _ACEOF
9129 if ac_fn_c_try_compile "$LINENO"
9130 then :
9131 wine_cv_xattr_extra_args=yes
9132 else $as_nop
9133 wine_cv_xattr_extra_args=no
9135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9138 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9139 test $wine_cv_xattr_extra_args != yes ||
9140 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9145 DLLFLAGS=""
9147 LDDLLFLAGS=""
9149 LDEXECFLAGS=""
9151 EXTRACFLAGS=""
9153 UNIXDLLFLAGS="-fPIC"
9155 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9157 TOP_INSTALL_LIB=""
9159 TOP_INSTALL_DEV=""
9161 WINELOADER_LDFLAGS=""
9163 WINEPRELOADER_LDFLAGS=""
9165 DLLEXT=".so"
9167 LIBEXT="so"
9168 # Extract the first word of "ldd", so it can be a program name with args.
9169 set dummy ldd; ac_word=$2
9170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9171 printf %s "checking for $ac_word... " >&6; }
9172 if test ${ac_cv_path_LDD+y}
9173 then :
9174 printf %s "(cached) " >&6
9175 else $as_nop
9176 case $LDD in
9177 [\\/]* | ?:[\\/]*)
9178 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9182 as_dummy="/sbin:/usr/sbin:$PATH"
9183 for as_dir in $as_dummy
9185 IFS=$as_save_IFS
9186 case $as_dir in #(((
9187 '') as_dir=./ ;;
9188 */) ;;
9189 *) as_dir=$as_dir/ ;;
9190 esac
9191 for ac_exec_ext in '' $ac_executable_extensions; do
9192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9193 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9195 break 2
9197 done
9198 done
9199 IFS=$as_save_IFS
9201 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9203 esac
9205 LDD=$ac_cv_path_LDD
9206 if test -n "$LDD"; then
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9208 printf "%s\n" "$LDD" >&6; }
9209 else
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9211 printf "%s\n" "no" >&6; }
9215 if test -n "$ac_tool_prefix"; then
9216 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9217 set dummy ${ac_tool_prefix}otool; ac_word=$2
9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9219 printf %s "checking for $ac_word... " >&6; }
9220 if test ${ac_cv_prog_OTOOL+y}
9221 then :
9222 printf %s "(cached) " >&6
9223 else $as_nop
9224 if test -n "$OTOOL"; then
9225 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9226 else
9227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9228 for as_dir in $PATH
9230 IFS=$as_save_IFS
9231 case $as_dir in #(((
9232 '') as_dir=./ ;;
9233 */) ;;
9234 *) as_dir=$as_dir/ ;;
9235 esac
9236 for ac_exec_ext in '' $ac_executable_extensions; do
9237 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9238 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9240 break 2
9242 done
9243 done
9244 IFS=$as_save_IFS
9248 OTOOL=$ac_cv_prog_OTOOL
9249 if test -n "$OTOOL"; then
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9251 printf "%s\n" "$OTOOL" >&6; }
9252 else
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9254 printf "%s\n" "no" >&6; }
9259 if test -z "$ac_cv_prog_OTOOL"; then
9260 ac_ct_OTOOL=$OTOOL
9261 # Extract the first word of "otool", so it can be a program name with args.
9262 set dummy otool; ac_word=$2
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9264 printf %s "checking for $ac_word... " >&6; }
9265 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9266 then :
9267 printf %s "(cached) " >&6
9268 else $as_nop
9269 if test -n "$ac_ct_OTOOL"; then
9270 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9271 else
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9273 for as_dir in $PATH
9275 IFS=$as_save_IFS
9276 case $as_dir in #(((
9277 '') as_dir=./ ;;
9278 */) ;;
9279 *) as_dir=$as_dir/ ;;
9280 esac
9281 for ac_exec_ext in '' $ac_executable_extensions; do
9282 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9283 ac_cv_prog_ac_ct_OTOOL="otool"
9284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9285 break 2
9287 done
9288 done
9289 IFS=$as_save_IFS
9293 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9294 if test -n "$ac_ct_OTOOL"; then
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9296 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9297 else
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 printf "%s\n" "no" >&6; }
9302 if test "x$ac_ct_OTOOL" = x; then
9303 OTOOL="otool"
9304 else
9305 case $cross_compiling:$ac_tool_warned in
9306 yes:)
9307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9308 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9309 ac_tool_warned=yes ;;
9310 esac
9311 OTOOL=$ac_ct_OTOOL
9313 else
9314 OTOOL="$ac_cv_prog_OTOOL"
9317 if test -n "$ac_tool_prefix"; then
9318 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9319 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9321 printf %s "checking for $ac_word... " >&6; }
9322 if test ${ac_cv_prog_READELF+y}
9323 then :
9324 printf %s "(cached) " >&6
9325 else $as_nop
9326 if test -n "$READELF"; then
9327 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9328 else
9329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9330 for as_dir in $PATH
9332 IFS=$as_save_IFS
9333 case $as_dir in #(((
9334 '') as_dir=./ ;;
9335 */) ;;
9336 *) as_dir=$as_dir/ ;;
9337 esac
9338 for ac_exec_ext in '' $ac_executable_extensions; do
9339 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9340 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9342 break 2
9344 done
9345 done
9346 IFS=$as_save_IFS
9350 READELF=$ac_cv_prog_READELF
9351 if test -n "$READELF"; then
9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9353 printf "%s\n" "$READELF" >&6; }
9354 else
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9356 printf "%s\n" "no" >&6; }
9361 if test -z "$ac_cv_prog_READELF"; then
9362 ac_ct_READELF=$READELF
9363 # Extract the first word of "readelf", so it can be a program name with args.
9364 set dummy readelf; ac_word=$2
9365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9366 printf %s "checking for $ac_word... " >&6; }
9367 if test ${ac_cv_prog_ac_ct_READELF+y}
9368 then :
9369 printf %s "(cached) " >&6
9370 else $as_nop
9371 if test -n "$ac_ct_READELF"; then
9372 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9373 else
9374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9375 for as_dir in $PATH
9377 IFS=$as_save_IFS
9378 case $as_dir in #(((
9379 '') as_dir=./ ;;
9380 */) ;;
9381 *) as_dir=$as_dir/ ;;
9382 esac
9383 for ac_exec_ext in '' $ac_executable_extensions; do
9384 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9385 ac_cv_prog_ac_ct_READELF="readelf"
9386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9387 break 2
9389 done
9390 done
9391 IFS=$as_save_IFS
9395 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9396 if test -n "$ac_ct_READELF"; then
9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9398 printf "%s\n" "$ac_ct_READELF" >&6; }
9399 else
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9401 printf "%s\n" "no" >&6; }
9404 if test "x$ac_ct_READELF" = x; then
9405 READELF="true"
9406 else
9407 case $cross_compiling:$ac_tool_warned in
9408 yes:)
9409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9410 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9411 ac_tool_warned=yes ;;
9412 esac
9413 READELF=$ac_ct_READELF
9415 else
9416 READELF="$ac_cv_prog_READELF"
9419 wine_rules="all:"
9420 SUBDIRS=""
9422 DISABLED_SUBDIRS=""
9424 CONFIGURE_TARGETS=""
9427 wine_fn_config_makefile ()
9429 as_fn_append SUBDIRS " \\$as_nl $1"
9430 eval enable=\$$2
9431 case "$enable" in
9432 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9433 yes) ;;
9434 *aarch64*|*arm*|*i386*|*x86_64*)
9435 if test -n "$PE_ARCHS"
9436 then
9437 for i in $PE_ARCHS
9439 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9440 done
9441 else
9442 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9443 fi ;;
9445 case "$1, $PE_ARCHS " in
9446 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9447 esac ;;
9448 esac
9451 wine_fn_config_symlink ()
9453 ac_links=$@
9454 as_fn_append wine_rules "
9455 $ac_links:
9456 @./config.status \$@"
9457 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9460 case $host_os in
9461 cygwin*|mingw32*)
9462 LIBEXT="dll"
9463 DLLEXT=""
9464 EXTRACFLAGS="-D__WINE_PE_BUILD"
9465 if test "x$HOST_ARCH" = xi386
9466 then :
9467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9468 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9469 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9470 then :
9471 printf %s "(cached) " >&6
9472 else $as_nop
9473 ac_wine_try_cflags_saved=$CFLAGS
9474 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9477 int main(int argc, char **argv) { return 0; }
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"
9480 then :
9481 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9482 else $as_nop
9483 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9486 conftest$ac_exeext conftest.$ac_ext
9487 CFLAGS=$ac_wine_try_cflags_saved
9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9490 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9491 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9492 then :
9493 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9496 enable_loader=${enable_loader:-no}
9497 enable_server=${enable_server:-no}
9498 with_x=${with_x:-no}
9499 with_pthread=${with_pthread:-no}
9502 darwin*|macosx*)
9503 LIBEXT="dylib"
9504 DLLFLAGS="$DLLFLAGS -fPIC"
9505 LDDLLFLAGS="-fPIC"
9506 enable_winemac_drv=${enable_winemac_drv:-yes}
9507 CARBON_LIBS="-framework Carbon"
9509 COREFOUNDATION_LIBS="-framework CoreFoundation"
9511 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9513 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9515 METAL_LIBS="-framework Metal"
9517 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9519 CORESERVICES_LIBS="-framework CoreServices"
9521 APPKIT_LIBS="-framework AppKit"
9523 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9525 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9528 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9530 case $HOST_ARCH in
9531 i386|x86_64) wine_can_build_preloader=yes ;;
9532 *) wine_can_build_preloader=no ;;
9533 esac
9535 if test "$wine_can_build_preloader" = "yes"
9536 then
9537 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"
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9539 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9540 if test ${ac_cv_cflags__Wl__no_pie+y}
9541 then :
9542 printf %s "(cached) " >&6
9543 else $as_nop
9544 ac_wine_try_cflags_saved=$CFLAGS
9545 CFLAGS="$CFLAGS -Wl,-no_pie"
9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9548 int main(int argc, char **argv) { return 0; }
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"
9551 then :
9552 ac_cv_cflags__Wl__no_pie=yes
9553 else $as_nop
9554 ac_cv_cflags__Wl__no_pie=no
9556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9557 conftest$ac_exeext conftest.$ac_ext
9558 CFLAGS=$ac_wine_try_cflags_saved
9560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9561 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9562 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9563 then :
9564 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9566 case $HOST_ARCH in
9567 i386)
9568 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9570 x86_64)
9571 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9573 esac
9574 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9575 else
9576 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9579 if test "x$with_coreaudio" != "xno";
9580 then
9581 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9583 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9585 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9586 then
9587 OPENCL_LIBS="-framework OpenCL"
9589 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9593 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9594 ac_ext=m
9595 ac_cpp='$OBJCPP $CPPFLAGS'
9596 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9597 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9598 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9600 ac_ext=m
9601 ac_cpp='$OBJCPP $CPPFLAGS'
9602 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9605 if test -n "$ac_tool_prefix"; then
9606 for ac_prog in gcc objcc objc cc CC clang
9608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9609 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9611 printf %s "checking for $ac_word... " >&6; }
9612 if test ${ac_cv_prog_OBJC+y}
9613 then :
9614 printf %s "(cached) " >&6
9615 else $as_nop
9616 if test -n "$OBJC"; then
9617 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9618 else
9619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 for as_dir in $PATH
9622 IFS=$as_save_IFS
9623 case $as_dir in #(((
9624 '') as_dir=./ ;;
9625 */) ;;
9626 *) as_dir=$as_dir/ ;;
9627 esac
9628 for ac_exec_ext in '' $ac_executable_extensions; do
9629 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9630 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9632 break 2
9634 done
9635 done
9636 IFS=$as_save_IFS
9640 OBJC=$ac_cv_prog_OBJC
9641 if test -n "$OBJC"; then
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9643 printf "%s\n" "$OBJC" >&6; }
9644 else
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9646 printf "%s\n" "no" >&6; }
9650 test -n "$OBJC" && break
9651 done
9653 if test -z "$OBJC"; then
9654 ac_ct_OBJC=$OBJC
9655 for ac_prog in gcc objcc objc cc CC clang
9657 # Extract the first word of "$ac_prog", so it can be a program name with args.
9658 set dummy $ac_prog; ac_word=$2
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9660 printf %s "checking for $ac_word... " >&6; }
9661 if test ${ac_cv_prog_ac_ct_OBJC+y}
9662 then :
9663 printf %s "(cached) " >&6
9664 else $as_nop
9665 if test -n "$ac_ct_OBJC"; then
9666 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9667 else
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9669 for as_dir in $PATH
9671 IFS=$as_save_IFS
9672 case $as_dir in #(((
9673 '') as_dir=./ ;;
9674 */) ;;
9675 *) as_dir=$as_dir/ ;;
9676 esac
9677 for ac_exec_ext in '' $ac_executable_extensions; do
9678 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9681 break 2
9683 done
9684 done
9685 IFS=$as_save_IFS
9689 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9690 if test -n "$ac_ct_OBJC"; then
9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9692 printf "%s\n" "$ac_ct_OBJC" >&6; }
9693 else
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 printf "%s\n" "no" >&6; }
9699 test -n "$ac_ct_OBJC" && break
9700 done
9702 if test "x$ac_ct_OBJC" = x; then
9703 OBJC="gcc"
9704 else
9705 case $cross_compiling:$ac_tool_warned in
9706 yes:)
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9708 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9709 ac_tool_warned=yes ;;
9710 esac
9711 OBJC=$ac_ct_OBJC
9715 # Provide some information about the compiler.
9716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9717 set X $ac_compile
9718 ac_compiler=$2
9719 for ac_option in --version -v -V -qversion; do
9720 { { ac_try="$ac_compiler $ac_option >&5"
9721 case "(($ac_try" in
9722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9723 *) ac_try_echo=$ac_try;;
9724 esac
9725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9726 printf "%s\n" "$ac_try_echo"; } >&5
9727 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9728 ac_status=$?
9729 if test -s conftest.err; then
9730 sed '10a\
9731 ... rest of stderr output deleted ...
9732 10q' conftest.err >conftest.er1
9733 cat conftest.er1 >&5
9735 rm -f conftest.er1 conftest.err
9736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9737 test $ac_status = 0; }
9738 done
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9741 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9742 if test ${ac_cv_objc_compiler_gnu+y}
9743 then :
9744 printf %s "(cached) " >&6
9745 else $as_nop
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9750 main (void)
9752 #ifndef __GNUC__
9753 choke me
9754 #endif
9757 return 0;
9759 _ACEOF
9760 if ac_fn_objc_try_compile "$LINENO"
9761 then :
9762 ac_compiler_gnu=yes
9763 else $as_nop
9764 ac_compiler_gnu=no
9766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9767 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9771 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9772 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9774 if test $ac_compiler_gnu = yes; then
9775 GOBJC=yes
9776 else
9777 GOBJC=
9779 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9780 ac_save_OBJCFLAGS=$OBJCFLAGS
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9782 printf %s "checking whether $OBJC accepts -g... " >&6; }
9783 if test ${ac_cv_prog_objc_g+y}
9784 then :
9785 printf %s "(cached) " >&6
9786 else $as_nop
9787 ac_save_objc_werror_flag=$ac_objc_werror_flag
9788 ac_objc_werror_flag=yes
9789 ac_cv_prog_objc_g=no
9790 OBJCFLAGS="-g"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9795 main (void)
9799 return 0;
9801 _ACEOF
9802 if ac_fn_objc_try_compile "$LINENO"
9803 then :
9804 ac_cv_prog_objc_g=yes
9805 else $as_nop
9806 OBJCFLAGS=""
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9811 main (void)
9815 return 0;
9817 _ACEOF
9818 if ac_fn_objc_try_compile "$LINENO"
9819 then :
9821 else $as_nop
9822 ac_objc_werror_flag=$ac_save_objc_werror_flag
9823 OBJCFLAGS="-g"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9828 main (void)
9832 return 0;
9834 _ACEOF
9835 if ac_fn_objc_try_compile "$LINENO"
9836 then :
9837 ac_cv_prog_objc_g=yes
9839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9844 ac_objc_werror_flag=$ac_save_objc_werror_flag
9846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9847 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9848 if test $ac_test_OBJCFLAGS; then
9849 OBJCFLAGS=$ac_save_OBJCFLAGS
9850 elif test $ac_cv_prog_objc_g = yes; then
9851 if test "$GOBJC" = yes; then
9852 OBJCFLAGS="-g -O2"
9853 else
9854 OBJCFLAGS="-g"
9856 else
9857 if test "$GOBJC" = yes; then
9858 OBJCFLAGS="-O2"
9859 else
9860 OBJCFLAGS=
9863 ac_ext=m
9864 ac_cpp='$OBJCPP $CPPFLAGS'
9865 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9866 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9867 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9872 #include <Metal/Metal.h>
9874 main (void)
9876 id<MTLDevice> device; device.registryID;
9878 return 0;
9880 _ACEOF
9881 if ac_fn_objc_try_compile "$LINENO"
9882 then :
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9884 printf "%s\n" "yes" >&6; }
9886 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9888 else $as_nop
9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9890 printf "%s\n" "no" >&6; }
9892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9893 ac_ext=c
9894 ac_cpp='$CPP $CPPFLAGS'
9895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9900 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9901 WINELOADER_DEPENDS="wine_info.plist"
9905 linux-android*)
9907 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9909 DLLFLAGS="$DLLFLAGS -fPIC"
9910 LDDLLFLAGS="-fPIC"
9911 LDEXECFLAGS="-Wl,-pie"
9912 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9914 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9915 if test ${ac_cv_cflags__Wl__z_defs+y}
9916 then :
9917 printf %s "(cached) " >&6
9918 else $as_nop
9919 ac_wine_try_cflags_saved=$CFLAGS
9920 CFLAGS="$CFLAGS -Wl,-z,defs"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9923 int main(int argc, char **argv) { return 0; }
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"
9926 then :
9927 ac_cv_cflags__Wl__z_defs=yes
9928 else $as_nop
9929 ac_cv_cflags__Wl__z_defs=no
9931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9932 conftest$ac_exeext conftest.$ac_ext
9933 CFLAGS=$ac_wine_try_cflags_saved
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9936 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9937 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9938 then :
9939 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9942 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9943 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9944 then :
9945 printf %s "(cached) " >&6
9946 else $as_nop
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int main(int argc, char **argv) { return 0; }
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"
9954 then :
9955 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9956 else $as_nop
9957 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9960 conftest$ac_exeext conftest.$ac_ext
9961 CFLAGS=$ac_wine_try_cflags_saved
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9964 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9965 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9966 then :
9967 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9969 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9972 printf %s "checking for -lEGL... " >&6; }
9973 if test ${ac_cv_lib_soname_EGL+y}
9974 then :
9975 printf %s "(cached) " >&6
9976 else $as_nop
9977 ac_check_soname_save_LIBS=$LIBS
9978 LIBS="-lEGL $LIBS"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9982 /* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
9985 char eglGetProcAddress ();
9987 main (void)
9989 return eglGetProcAddress ();
9991 return 0;
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"
9995 then :
9996 case "$LIBEXT" in
9997 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9998 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'` ;;
9999 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10000 if ${ac_cv_lib_soname_EGL:+false} :
10001 then :
10002 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10003 fi ;;
10004 esac
10005 else $as_nop
10006 ac_cv_lib_soname_EGL=
10008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_soname_save_LIBS
10012 if ${ac_cv_lib_soname_EGL:+false} :
10013 then :
10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10015 printf "%s\n" "not found" >&6; }
10017 else $as_nop
10018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10019 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10021 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10026 printf %s "checking for -lGLESv2... " >&6; }
10027 if test ${ac_cv_lib_soname_GLESv2+y}
10028 then :
10029 printf %s "(cached) " >&6
10030 else $as_nop
10031 ac_check_soname_save_LIBS=$LIBS
10032 LIBS="-lGLESv2 $LIBS"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10039 char glFlush ();
10041 main (void)
10043 return glFlush ();
10045 return 0;
10047 _ACEOF
10048 if ac_fn_c_try_link "$LINENO"
10049 then :
10050 case "$LIBEXT" in
10051 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10052 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'` ;;
10053 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10054 if ${ac_cv_lib_soname_GLESv2:+false} :
10055 then :
10056 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10057 fi ;;
10058 esac
10059 else $as_nop
10060 ac_cv_lib_soname_GLESv2=
10062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10063 conftest$ac_exeext conftest.$ac_ext
10064 LIBS=$ac_check_soname_save_LIBS
10066 if ${ac_cv_lib_soname_GLESv2:+false} :
10067 then :
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10069 printf "%s\n" "not found" >&6; }
10071 else $as_nop
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10073 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10075 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10080 if test "x$exec_prefix" = xNONE
10081 then
10082 case $HOST_ARCH in
10083 i386) exec_prefix='${prefix}/x86' ;;
10084 x86_64) exec_prefix='${prefix}/x86_64' ;;
10085 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10086 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10087 esac
10093 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10095 if test $HOST_ARCH = i386
10096 then
10097 DLLFLAGS="$DLLFLAGS -fno-PIC"
10098 LDDLLFLAGS="-fno-PIC"
10099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10100 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10101 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10102 then :
10103 printf %s "(cached) " >&6
10104 else $as_nop
10105 ac_wine_try_cflags_saved=$CFLAGS
10106 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10109 int main(int argc, char **argv) { return 0; }
10110 _ACEOF
10111 if ac_fn_c_try_link "$LINENO"
10112 then :
10113 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10114 else $as_nop
10115 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10118 conftest$ac_exeext conftest.$ac_ext
10119 CFLAGS=$ac_wine_try_cflags_saved
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10122 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10123 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10124 then :
10125 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10127 else
10128 DLLFLAGS="$DLLFLAGS -fPIC"
10129 LDDLLFLAGS="-fPIC"
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10133 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10134 if test ${ac_cv_wl_z_defs+y}
10135 then :
10136 printf %s "(cached) " >&6
10137 else $as_nop
10138 ac_save_CFLAGS="$CFLAGS"
10139 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"
10145 then :
10146 ac_cv_wl_z_defs=yes
10147 else $as_nop
10148 ac_cv_wl_z_defs=no
10150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_save_CFLAGS
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10155 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10156 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10159 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10160 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10161 then :
10162 printf %s "(cached) " >&6
10163 else $as_nop
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int main(int argc, char **argv) { return 0; }
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"
10171 then :
10172 ac_cv_cflags__Wl___export_dynamic=yes
10173 else $as_nop
10174 ac_cv_cflags__Wl___export_dynamic=no
10176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10177 conftest$ac_exeext conftest.$ac_ext
10178 CFLAGS=$ac_wine_try_cflags_saved
10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10181 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10182 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10183 then :
10184 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10186 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10188 case $host_os in
10189 linux*)
10190 as_fn_append WINELOADER_LDFLAGS " -pie"
10191 case $HOST_ARCH in
10192 i386|arm)
10193 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10196 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10197 if test ${ac_cv_cflags__static_pie+y}
10198 then :
10199 printf %s "(cached) " >&6
10200 else $as_nop
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 CFLAGS="$CFLAGS -static-pie"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int main(int argc, char **argv) { return 0; }
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"
10208 then :
10209 ac_cv_cflags__static_pie=yes
10210 else $as_nop
10211 ac_cv_cflags__static_pie=no
10213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10214 conftest$ac_exeext conftest.$ac_ext
10215 CFLAGS=$ac_wine_try_cflags_saved
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10218 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10219 if test "x$ac_cv_cflags__static_pie" = xyes
10220 then :
10221 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10222 else $as_nop
10223 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10226 esac
10229 case $HOST_ARCH in
10230 i386|arm)
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10232 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10233 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10234 then :
10235 printf %s "(cached) " >&6
10236 else $as_nop
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10241 int main(int argc, char **argv) { return 0; }
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"
10244 then :
10245 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10246 else $as_nop
10247 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10250 conftest$ac_exeext conftest.$ac_ext
10251 CFLAGS=$ac_wine_try_cflags_saved
10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10254 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10255 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10256 then :
10257 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10258 else $as_nop
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10260 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10261 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10262 then :
10263 printf %s "(cached) " >&6
10264 else $as_nop
10265 ac_wine_try_cflags_saved=$CFLAGS
10266 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10269 int main(int argc, char **argv) { return 0; }
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"
10272 then :
10273 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10274 else $as_nop
10275 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10278 conftest$ac_exeext conftest.$ac_ext
10279 CFLAGS=$ac_wine_try_cflags_saved
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10282 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10283 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10284 then :
10285 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10290 as_fn_append WINELOADER_LDFLAGS " -pie"
10292 esac
10294 esac
10296 esac
10298 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10299 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10300 enable_winemac_drv=${enable_winemac_drv:-no}
10302 PE_ARCHS=""
10304 cross_archs=
10305 if test ${enable_archs+y}
10306 then :
10307 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10308 ac_save_IFS=$IFS
10309 IFS=' ,'
10310 set x $enable_archs
10311 IFS=$ac_save_IFS
10312 shift
10313 for arch
10315 case $arch in
10316 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10317 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10318 esac
10319 done
10320 else $as_nop
10321 if test "x$with_mingw" != xno
10322 then
10323 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10327 saved_CC=$CC
10328 saved_CFLAGS=$CFLAGS
10329 saved_LDFLAGS=$LDFLAGS
10331 for wine_arch in $cross_archs
10333 case "x$with_mingw" in
10334 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10335 esac
10336 if eval \${${wine_arch}_CC:+false} :
10337 then :
10338 case $wine_arch in
10339 aarch64)
10340 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10342 # Extract the first word of "$ac_prog", so it can be a program name with args.
10343 set dummy $ac_prog; ac_word=$2
10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10345 printf %s "checking for $ac_word... " >&6; }
10346 if test ${ac_cv_prog_aarch64_CC+y}
10347 then :
10348 printf %s "(cached) " >&6
10349 else $as_nop
10350 if test -n "$aarch64_CC"; then
10351 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10352 else
10353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10354 for as_dir in $PATH
10356 IFS=$as_save_IFS
10357 case $as_dir in #(((
10358 '') as_dir=./ ;;
10359 */) ;;
10360 *) as_dir=$as_dir/ ;;
10361 esac
10362 for ac_exec_ext in '' $ac_executable_extensions; do
10363 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10364 ac_cv_prog_aarch64_CC="$ac_prog"
10365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10366 break 2
10368 done
10369 done
10370 IFS=$as_save_IFS
10374 aarch64_CC=$ac_cv_prog_aarch64_CC
10375 if test -n "$aarch64_CC"; then
10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10377 printf "%s\n" "$aarch64_CC" >&6; }
10378 else
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10380 printf "%s\n" "no" >&6; }
10384 test -n "$aarch64_CC" && break
10385 done
10386 test -n "$aarch64_CC" || aarch64_CC="false"
10389 arm64ec)
10390 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10392 # Extract the first word of "$ac_prog", so it can be a program name with args.
10393 set dummy $ac_prog; ac_word=$2
10394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395 printf %s "checking for $ac_word... " >&6; }
10396 if test ${ac_cv_prog_arm64ec_CC+y}
10397 then :
10398 printf %s "(cached) " >&6
10399 else $as_nop
10400 if test -n "$arm64ec_CC"; then
10401 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10402 else
10403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10404 for as_dir in $PATH
10406 IFS=$as_save_IFS
10407 case $as_dir in #(((
10408 '') as_dir=./ ;;
10409 */) ;;
10410 *) as_dir=$as_dir/ ;;
10411 esac
10412 for ac_exec_ext in '' $ac_executable_extensions; do
10413 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10414 ac_cv_prog_arm64ec_CC="$ac_prog"
10415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10416 break 2
10418 done
10419 done
10420 IFS=$as_save_IFS
10424 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10425 if test -n "$arm64ec_CC"; then
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10427 printf "%s\n" "$arm64ec_CC" >&6; }
10428 else
10429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10430 printf "%s\n" "no" >&6; }
10434 test -n "$arm64ec_CC" && break
10435 done
10436 test -n "$arm64ec_CC" || arm64ec_CC="false"
10439 arm)
10440 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10442 # Extract the first word of "$ac_prog", so it can be a program name with args.
10443 set dummy $ac_prog; ac_word=$2
10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10445 printf %s "checking for $ac_word... " >&6; }
10446 if test ${ac_cv_prog_arm_CC+y}
10447 then :
10448 printf %s "(cached) " >&6
10449 else $as_nop
10450 if test -n "$arm_CC"; then
10451 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10452 else
10453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10454 for as_dir in $PATH
10456 IFS=$as_save_IFS
10457 case $as_dir in #(((
10458 '') as_dir=./ ;;
10459 */) ;;
10460 *) as_dir=$as_dir/ ;;
10461 esac
10462 for ac_exec_ext in '' $ac_executable_extensions; do
10463 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10464 ac_cv_prog_arm_CC="$ac_prog"
10465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10466 break 2
10468 done
10469 done
10470 IFS=$as_save_IFS
10474 arm_CC=$ac_cv_prog_arm_CC
10475 if test -n "$arm_CC"; then
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10477 printf "%s\n" "$arm_CC" >&6; }
10478 else
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 printf "%s\n" "no" >&6; }
10484 test -n "$arm_CC" && break
10485 done
10486 test -n "$arm_CC" || arm_CC="false"
10489 i386)
10490 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 "
10491 for ac_prog in $ac_prefix_list clang
10493 # Extract the first word of "$ac_prog", so it can be a program name with args.
10494 set dummy $ac_prog; ac_word=$2
10495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10496 printf %s "checking for $ac_word... " >&6; }
10497 if test ${ac_cv_prog_i386_CC+y}
10498 then :
10499 printf %s "(cached) " >&6
10500 else $as_nop
10501 if test -n "$i386_CC"; then
10502 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10503 else
10504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10505 for as_dir in $PATH
10507 IFS=$as_save_IFS
10508 case $as_dir in #(((
10509 '') as_dir=./ ;;
10510 */) ;;
10511 *) as_dir=$as_dir/ ;;
10512 esac
10513 for ac_exec_ext in '' $ac_executable_extensions; do
10514 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10515 ac_cv_prog_i386_CC="$ac_prog"
10516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10517 break 2
10519 done
10520 done
10521 IFS=$as_save_IFS
10525 i386_CC=$ac_cv_prog_i386_CC
10526 if test -n "$i386_CC"; then
10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10528 printf "%s\n" "$i386_CC" >&6; }
10529 else
10530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10531 printf "%s\n" "no" >&6; }
10535 test -n "$i386_CC" && break
10536 done
10537 test -n "$i386_CC" || i386_CC="false"
10540 x86_64)
10541 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10542 for ac_prog in $ac_prefix_list clang
10544 # Extract the first word of "$ac_prog", so it can be a program name with args.
10545 set dummy $ac_prog; ac_word=$2
10546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10547 printf %s "checking for $ac_word... " >&6; }
10548 if test ${ac_cv_prog_x86_64_CC+y}
10549 then :
10550 printf %s "(cached) " >&6
10551 else $as_nop
10552 if test -n "$x86_64_CC"; then
10553 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10554 else
10555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10556 for as_dir in $PATH
10558 IFS=$as_save_IFS
10559 case $as_dir in #(((
10560 '') as_dir=./ ;;
10561 */) ;;
10562 *) as_dir=$as_dir/ ;;
10563 esac
10564 for ac_exec_ext in '' $ac_executable_extensions; do
10565 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10566 ac_cv_prog_x86_64_CC="$ac_prog"
10567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10568 break 2
10570 done
10571 done
10572 IFS=$as_save_IFS
10576 x86_64_CC=$ac_cv_prog_x86_64_CC
10577 if test -n "$x86_64_CC"; then
10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10579 printf "%s\n" "$x86_64_CC" >&6; }
10580 else
10581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10582 printf "%s\n" "no" >&6; }
10586 test -n "$x86_64_CC" && break
10587 done
10588 test -n "$x86_64_CC" || x86_64_CC="false"
10591 esac
10594 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10595 LDFLAGS=$CROSSLDFLAGS
10596 eval CC=\$${wine_arch}_CC
10597 eval ${wine_arch}_CFLAGS=\$CFLAGS
10598 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10599 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10601 target=""
10602 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10604 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10605 then :
10607 else $as_nop
10608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10609 printf %s "checking whether $CC works... " >&6; }
10610 if eval test \${$as_wine_cv_crosscc+y}
10611 then :
10612 printf %s "(cached) " >&6
10613 else $as_nop
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10618 main (void)
10622 return 0;
10624 _ACEOF
10625 if ac_fn_c_try_compile "$LINENO"
10626 then :
10627 eval "$as_wine_cv_crosscc=yes"
10628 else $as_nop
10629 eval "$as_wine_cv_crosscc=no"
10631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10633 eval ac_res=\$$as_wine_cv_crosscc
10634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10635 printf "%s\n" "$ac_res" >&6; }
10637 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10638 then :
10639 set x $CC
10640 shift
10641 while test $# -ge 1
10643 case "$1" in
10644 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10645 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10646 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10647 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10648 esac
10649 shift
10650 done
10652 llvm_target=$target
10653 if test -z "$llvm_target"
10654 then
10655 case $wine_arch in
10656 i386) llvm_target=i686-windows ;;
10657 arm) llvm_target=armv7-windows ;;
10658 *) llvm_target=$wine_arch-windows ;;
10659 esac
10661 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10662 llvm_extra_ldflags=""
10663 case $llvm_target in
10664 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10665 esac
10666 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10668 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10669 if eval test \${$as_ac_var+y}
10670 then :
10671 printf %s "(cached) " >&6
10672 else $as_nop
10673 ac_wine_try_cflags_saved=$CFLAGS
10674 ac_wine_try_cflags_saved_exeext=$ac_exeext
10675 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10676 ac_exeext=".exe"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10679 void *__os_arm64x_dispatch_ret = 0;
10680 int __cdecl mainCRTStartup(void) { return 0; }
10681 _ACEOF
10682 if ac_fn_c_try_link "$LINENO"
10683 then :
10684 eval "$as_ac_var=yes"
10685 else $as_nop
10686 eval "$as_ac_var=no"
10688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10689 conftest$ac_exeext conftest.$ac_ext
10690 CFLAGS=$ac_wine_try_cflags_saved
10691 ac_exeext=$ac_wine_try_cflags_saved_exeext
10693 eval ac_res=\$$as_ac_var
10694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10695 printf "%s\n" "$ac_res" >&6; }
10696 if eval test \"x\$"$as_ac_var"\" = x"yes"
10697 then :
10698 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10699 llvm_extra_ldflags="--no-default-config"
10700 else $as_nop
10701 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10703 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10704 if eval test \${$as_ac_var+y}
10705 then :
10706 printf %s "(cached) " >&6
10707 else $as_nop
10708 ac_wine_try_cflags_saved=$CFLAGS
10709 ac_wine_try_cflags_saved_exeext=$ac_exeext
10710 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10711 ac_exeext=".exe"
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10714 void *__os_arm64x_dispatch_ret = 0;
10715 int __cdecl mainCRTStartup(void) { return 0; }
10716 _ACEOF
10717 if ac_fn_c_try_link "$LINENO"
10718 then :
10719 eval "$as_ac_var=yes"
10720 else $as_nop
10721 eval "$as_ac_var=no"
10723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10724 conftest$ac_exeext conftest.$ac_ext
10725 CFLAGS=$ac_wine_try_cflags_saved
10726 ac_exeext=$ac_wine_try_cflags_saved_exeext
10728 eval ac_res=\$$as_ac_var
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10730 printf "%s\n" "$ac_res" >&6; }
10731 if eval test \"x\$"$as_ac_var"\" = x"yes"
10732 then :
10734 else $as_nop
10735 llvm_extra_cflags=""
10736 fi }
10737 fi }
10738 if test -n "$llvm_extra_cflags"
10739 then
10740 target=$llvm_target
10741 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10742 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10743 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10744 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10746 eval "${wine_arch}_TARGET=\$target"
10750 if test -z "$target"
10751 then
10752 if test ${enable_archs+y}
10753 then :
10754 as_fn_error $? "$wine_arch PE cross-compiler not found.
10755 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10757 continue
10760 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10763 printf %s "checking for $CC option to enable C99 features... " >&6; }
10764 if eval test \${$as_wine_cv_crosscc_c99+y}
10765 then :
10766 printf %s "(cached) " >&6
10767 else $as_nop
10768 eval "$as_wine_cv_crosscc_c99=no"
10769 for arg in '' '-std=gnu99' '-D__STDC__'
10771 test -z "$arg" || CC="$CC $arg"
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10774 $ac_c_conftest_c99_program
10775 _ACEOF
10776 if ac_fn_c_try_compile "$LINENO"
10777 then :
10778 eval "$as_wine_cv_crosscc_c99=\$arg"
10779 else $as_nop
10780 eval "$as_wine_cv_crosscc_c99=no"
10782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10783 eval CC=\$${wine_arch}_CC
10784 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10785 then :
10787 else $as_nop
10788 break
10790 done
10793 eval res=\$$as_wine_cv_crosscc_c99
10795 case "x$res" in
10796 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10797 printf "%s\n" "none needed" >&6; } ;;
10798 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10799 printf "%s\n" "unsupported" >&6; }
10800 if test ${enable_archs+y}
10801 then :
10802 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10803 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10805 continue
10807 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10808 printf "%s\n" "$res" >&6; }
10809 as_fn_append ${wine_arch}_CC " $res" ;;
10810 esac
10812 if test "x$wine_arch" = xi386
10813 then :
10815 else $as_nop
10816 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10819 printf %s "checking whether $CC supports SEH directives... " >&6; }
10820 if eval test \${$as_wine_cv_seh_support+y}
10821 then :
10822 printf %s "(cached) " >&6
10823 else $as_nop
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10828 main (void)
10832 return 0;
10834 _ACEOF
10835 if ac_fn_c_try_compile "$LINENO"
10836 then :
10837 eval "$as_wine_cv_seh_support=yes"
10838 else $as_nop
10839 eval "$as_wine_cv_seh_support=no"
10841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10843 eval ac_res=\$$as_wine_cv_seh_support
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10845 printf "%s\n" "$ac_res" >&6; }
10846 eval res=\$$as_wine_cv_seh_support
10848 if test "x$res" = xyes
10849 then :
10851 else $as_nop
10852 if test ${enable_archs+y}
10853 then :
10854 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10855 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10857 continue
10861 as_fn_append PE_ARCHS " $wine_arch"
10862 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10864 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10865 if eval test \${$as_ac_var+y}
10866 then :
10867 printf %s "(cached) " >&6
10868 else $as_nop
10869 ac_wine_try_cflags_saved=$CFLAGS
10870 ac_wine_try_cflags_saved_exeext=$ac_exeext
10871 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10872 ac_exeext=".exe"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10875 void *__os_arm64x_dispatch_ret = 0;
10876 int __cdecl mainCRTStartup(void) { return 0; }
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"
10879 then :
10880 eval "$as_ac_var=yes"
10881 else $as_nop
10882 eval "$as_ac_var=no"
10884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10885 conftest$ac_exeext conftest.$ac_ext
10886 CFLAGS=$ac_wine_try_cflags_saved
10887 ac_exeext=$ac_wine_try_cflags_saved_exeext
10889 eval ac_res=\$$as_ac_var
10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10891 printf "%s\n" "$ac_res" >&6; }
10892 if eval test \"x\$"$as_ac_var"\" = x"yes"
10893 then :
10894 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10895 fi }
10896 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10898 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10899 if eval test \${$as_ac_var+y}
10900 then :
10901 printf %s "(cached) " >&6
10902 else $as_nop
10903 ac_wine_try_cflags_saved=$CFLAGS
10904 ac_wine_try_cflags_saved_exeext=$ac_exeext
10905 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10906 ac_exeext=".exe"
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10909 void *__os_arm64x_dispatch_ret = 0;
10910 int __cdecl mainCRTStartup(void) { return 0; }
10911 _ACEOF
10912 if ac_fn_c_try_link "$LINENO"
10913 then :
10914 eval "$as_ac_var=yes"
10915 else $as_nop
10916 eval "$as_ac_var=no"
10918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10919 conftest$ac_exeext conftest.$ac_ext
10920 CFLAGS=$ac_wine_try_cflags_saved
10921 ac_exeext=$ac_wine_try_cflags_saved_exeext
10923 eval ac_res=\$$as_ac_var
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10925 printf "%s\n" "$ac_res" >&6; }
10926 if eval test \"x\$"$as_ac_var"\" = x"yes"
10927 then :
10928 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10929 fi }
10930 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10932 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10933 if eval test \${$as_ac_var+y}
10934 then :
10935 printf %s "(cached) " >&6
10936 else $as_nop
10937 ac_wine_try_cflags_saved=$CFLAGS
10938 ac_wine_try_cflags_saved_exeext=$ac_exeext
10939 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10940 ac_exeext=".exe"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10943 void *__os_arm64x_dispatch_ret = 0;
10944 int __cdecl mainCRTStartup(void) { return 0; }
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"
10947 then :
10948 eval "$as_ac_var=yes"
10949 else $as_nop
10950 eval "$as_ac_var=no"
10952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10953 conftest$ac_exeext conftest.$ac_ext
10954 CFLAGS=$ac_wine_try_cflags_saved
10955 ac_exeext=$ac_wine_try_cflags_saved_exeext
10957 eval ac_res=\$$as_ac_var
10958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10959 printf "%s\n" "$ac_res" >&6; }
10960 if eval test \"x\$"$as_ac_var"\" = x"yes"
10961 then :
10962 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10963 fi }
10964 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10966 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10967 if eval test \${$as_ac_var+y}
10968 then :
10969 printf %s "(cached) " >&6
10970 else $as_nop
10971 ac_wine_try_cflags_saved=$CFLAGS
10972 ac_wine_try_cflags_saved_exeext=$ac_exeext
10973 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10974 ac_exeext=".exe"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10977 void *__os_arm64x_dispatch_ret = 0;
10978 int __cdecl mainCRTStartup(void) { return 0; }
10979 _ACEOF
10980 if ac_fn_c_try_link "$LINENO"
10981 then :
10982 eval "$as_ac_var=yes"
10983 else $as_nop
10984 eval "$as_ac_var=no"
10986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10987 conftest$ac_exeext conftest.$ac_ext
10988 CFLAGS=$ac_wine_try_cflags_saved
10989 ac_exeext=$ac_wine_try_cflags_saved_exeext
10991 eval ac_res=\$$as_ac_var
10992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10993 printf "%s\n" "$ac_res" >&6; }
10994 if eval test \"x\$"$as_ac_var"\" = x"yes"
10995 then :
10996 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10997 fi }
10998 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11000 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11001 if eval test \${$as_ac_var+y}
11002 then :
11003 printf %s "(cached) " >&6
11004 else $as_nop
11005 ac_wine_try_cflags_saved=$CFLAGS
11006 ac_wine_try_cflags_saved_exeext=$ac_exeext
11007 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11008 ac_exeext=".exe"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11011 void *__os_arm64x_dispatch_ret = 0;
11012 int __cdecl mainCRTStartup(void) { return 0; }
11013 _ACEOF
11014 if ac_fn_c_try_link "$LINENO"
11015 then :
11016 eval "$as_ac_var=yes"
11017 else $as_nop
11018 eval "$as_ac_var=no"
11020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11021 conftest$ac_exeext conftest.$ac_ext
11022 CFLAGS=$ac_wine_try_cflags_saved
11023 ac_exeext=$ac_wine_try_cflags_saved_exeext
11025 eval ac_res=\$$as_ac_var
11026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11027 printf "%s\n" "$ac_res" >&6; }
11028 if eval test \"x\$"$as_ac_var"\" = x"yes"
11029 then :
11030 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11031 fi }
11032 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11034 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11035 if eval test \${$as_ac_var+y}
11036 then :
11037 printf %s "(cached) " >&6
11038 else $as_nop
11039 ac_wine_try_cflags_saved=$CFLAGS
11040 ac_wine_try_cflags_saved_exeext=$ac_exeext
11041 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11042 ac_exeext=".exe"
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11045 void *__os_arm64x_dispatch_ret = 0;
11046 int __cdecl mainCRTStartup(void) { return 0; }
11047 _ACEOF
11048 if ac_fn_c_try_link "$LINENO"
11049 then :
11050 eval "$as_ac_var=yes"
11051 else $as_nop
11052 eval "$as_ac_var=no"
11054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11055 conftest$ac_exeext conftest.$ac_ext
11056 CFLAGS=$ac_wine_try_cflags_saved
11057 ac_exeext=$ac_wine_try_cflags_saved_exeext
11059 eval ac_res=\$$as_ac_var
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11061 printf "%s\n" "$ac_res" >&6; }
11062 if eval test \"x\$"$as_ac_var"\" = x"yes"
11063 then :
11064 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11065 fi }
11066 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11068 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11069 if eval test \${$as_ac_var+y}
11070 then :
11071 printf %s "(cached) " >&6
11072 else $as_nop
11073 ac_wine_try_cflags_saved=$CFLAGS
11074 ac_wine_try_cflags_saved_exeext=$ac_exeext
11075 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11076 ac_exeext=".exe"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11079 void *__os_arm64x_dispatch_ret = 0;
11080 int __cdecl mainCRTStartup(void) { return 0; }
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"
11083 then :
11084 eval "$as_ac_var=yes"
11085 else $as_nop
11086 eval "$as_ac_var=no"
11088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11089 conftest$ac_exeext conftest.$ac_ext
11090 CFLAGS=$ac_wine_try_cflags_saved
11091 ac_exeext=$ac_wine_try_cflags_saved_exeext
11093 eval ac_res=\$$as_ac_var
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11095 printf "%s\n" "$ac_res" >&6; }
11096 if eval test \"x\$"$as_ac_var"\" = x"yes"
11097 then :
11098 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11099 fi }
11100 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11102 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11103 if eval test \${$as_ac_var+y}
11104 then :
11105 printf %s "(cached) " >&6
11106 else $as_nop
11107 ac_wine_try_cflags_saved=$CFLAGS
11108 ac_wine_try_cflags_saved_exeext=$ac_exeext
11109 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11110 ac_exeext=".exe"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11113 void *__os_arm64x_dispatch_ret = 0;
11114 int __cdecl mainCRTStartup(void) { return 0; }
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"
11117 then :
11118 eval "$as_ac_var=yes"
11119 else $as_nop
11120 eval "$as_ac_var=no"
11122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11123 conftest$ac_exeext conftest.$ac_ext
11124 CFLAGS=$ac_wine_try_cflags_saved
11125 ac_exeext=$ac_wine_try_cflags_saved_exeext
11127 eval ac_res=\$$as_ac_var
11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11129 printf "%s\n" "$ac_res" >&6; }
11130 if eval test \"x\$"$as_ac_var"\" = x"yes"
11131 then :
11132 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11133 fi }
11134 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11136 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11137 if eval test \${$as_ac_var+y}
11138 then :
11139 printf %s "(cached) " >&6
11140 else $as_nop
11141 ac_wine_try_cflags_saved=$CFLAGS
11142 ac_wine_try_cflags_saved_exeext=$ac_exeext
11143 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11144 ac_exeext=".exe"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11147 void *__os_arm64x_dispatch_ret = 0;
11148 int __cdecl mainCRTStartup(void) { return 0; }
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"
11151 then :
11152 eval "$as_ac_var=yes"
11153 else $as_nop
11154 eval "$as_ac_var=no"
11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11157 conftest$ac_exeext conftest.$ac_ext
11158 CFLAGS=$ac_wine_try_cflags_saved
11159 ac_exeext=$ac_wine_try_cflags_saved_exeext
11161 eval ac_res=\$$as_ac_var
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11163 printf "%s\n" "$ac_res" >&6; }
11164 if eval test \"x\$"$as_ac_var"\" = x"yes"
11165 then :
11166 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11167 fi }
11168 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11170 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11171 if eval test \${$as_ac_var+y}
11172 then :
11173 printf %s "(cached) " >&6
11174 else $as_nop
11175 ac_wine_try_cflags_saved=$CFLAGS
11176 ac_wine_try_cflags_saved_exeext=$ac_exeext
11177 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11178 ac_exeext=".exe"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11181 void *__os_arm64x_dispatch_ret = 0;
11182 int __cdecl mainCRTStartup(void) { return 0; }
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"
11185 then :
11186 eval "$as_ac_var=yes"
11187 else $as_nop
11188 eval "$as_ac_var=no"
11190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11191 conftest$ac_exeext conftest.$ac_ext
11192 CFLAGS=$ac_wine_try_cflags_saved
11193 ac_exeext=$ac_wine_try_cflags_saved_exeext
11195 eval ac_res=\$$as_ac_var
11196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11197 printf "%s\n" "$ac_res" >&6; }
11198 if eval test \"x\$"$as_ac_var"\" = x"yes"
11199 then :
11200 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11201 fi }
11202 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11204 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11205 if eval test \${$as_ac_var+y}
11206 then :
11207 printf %s "(cached) " >&6
11208 else $as_nop
11209 ac_wine_try_cflags_saved=$CFLAGS
11210 ac_wine_try_cflags_saved_exeext=$ac_exeext
11211 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11212 ac_exeext=".exe"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11215 void *__os_arm64x_dispatch_ret = 0;
11216 int __cdecl mainCRTStartup(void) { return 0; }
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"
11219 then :
11220 eval "$as_ac_var=yes"
11221 else $as_nop
11222 eval "$as_ac_var=no"
11224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11225 conftest$ac_exeext conftest.$ac_ext
11226 CFLAGS=$ac_wine_try_cflags_saved
11227 ac_exeext=$ac_wine_try_cflags_saved_exeext
11229 eval ac_res=\$$as_ac_var
11230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11231 printf "%s\n" "$ac_res" >&6; }
11232 if eval test \"x\$"$as_ac_var"\" = x"yes"
11233 then :
11234 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11235 fi }
11236 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11238 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11239 if eval test \${$as_ac_var+y}
11240 then :
11241 printf %s "(cached) " >&6
11242 else $as_nop
11243 ac_wine_try_cflags_saved=$CFLAGS
11244 ac_wine_try_cflags_saved_exeext=$ac_exeext
11245 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11246 ac_exeext=".exe"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11249 void *__os_arm64x_dispatch_ret = 0;
11250 int __cdecl mainCRTStartup(void) { return 0; }
11251 _ACEOF
11252 if ac_fn_c_try_link "$LINENO"
11253 then :
11254 eval "$as_ac_var=yes"
11255 else $as_nop
11256 eval "$as_ac_var=no"
11258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11259 conftest$ac_exeext conftest.$ac_ext
11260 CFLAGS=$ac_wine_try_cflags_saved
11261 ac_exeext=$ac_wine_try_cflags_saved_exeext
11263 eval ac_res=\$$as_ac_var
11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11265 printf "%s\n" "$ac_res" >&6; }
11266 if eval test \"x\$"$as_ac_var"\" = x"yes"
11267 then :
11268 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11269 fi }
11270 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11272 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11273 if eval test \${$as_ac_var+y}
11274 then :
11275 printf %s "(cached) " >&6
11276 else $as_nop
11277 ac_wine_try_cflags_saved=$CFLAGS
11278 ac_wine_try_cflags_saved_exeext=$ac_exeext
11279 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11280 ac_exeext=".exe"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11283 void *__os_arm64x_dispatch_ret = 0;
11284 int __cdecl mainCRTStartup(void) { return 0; }
11285 _ACEOF
11286 if ac_fn_c_try_link "$LINENO"
11287 then :
11288 eval "$as_ac_var=yes"
11289 else $as_nop
11290 eval "$as_ac_var=no"
11292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11293 conftest$ac_exeext conftest.$ac_ext
11294 CFLAGS=$ac_wine_try_cflags_saved
11295 ac_exeext=$ac_wine_try_cflags_saved_exeext
11297 eval ac_res=\$$as_ac_var
11298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11299 printf "%s\n" "$ac_res" >&6; }
11300 if eval test \"x\$"$as_ac_var"\" = x"yes"
11301 then :
11302 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11303 fi }
11304 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11306 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11307 if eval test \${$as_ac_var+y}
11308 then :
11309 printf %s "(cached) " >&6
11310 else $as_nop
11311 ac_wine_try_cflags_saved=$CFLAGS
11312 ac_wine_try_cflags_saved_exeext=$ac_exeext
11313 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11314 ac_exeext=".exe"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11317 void *__os_arm64x_dispatch_ret = 0;
11318 int __cdecl mainCRTStartup(void) { return 0; }
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"
11321 then :
11322 eval "$as_ac_var=yes"
11323 else $as_nop
11324 eval "$as_ac_var=no"
11326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11327 conftest$ac_exeext conftest.$ac_ext
11328 CFLAGS=$ac_wine_try_cflags_saved
11329 ac_exeext=$ac_wine_try_cflags_saved_exeext
11331 eval ac_res=\$$as_ac_var
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11333 printf "%s\n" "$ac_res" >&6; }
11334 if eval test \"x\$"$as_ac_var"\" = x"yes"
11335 then :
11336 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11337 fi }
11338 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11340 printf %s "checking whether $CC supports -Wvla... " >&6; }
11341 if eval test \${$as_ac_var+y}
11342 then :
11343 printf %s "(cached) " >&6
11344 else $as_nop
11345 ac_wine_try_cflags_saved=$CFLAGS
11346 ac_wine_try_cflags_saved_exeext=$ac_exeext
11347 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11348 ac_exeext=".exe"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11351 void *__os_arm64x_dispatch_ret = 0;
11352 int __cdecl mainCRTStartup(void) { return 0; }
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"
11355 then :
11356 eval "$as_ac_var=yes"
11357 else $as_nop
11358 eval "$as_ac_var=no"
11360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11361 conftest$ac_exeext conftest.$ac_ext
11362 CFLAGS=$ac_wine_try_cflags_saved
11363 ac_exeext=$ac_wine_try_cflags_saved_exeext
11365 eval ac_res=\$$as_ac_var
11366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11367 printf "%s\n" "$ac_res" >&6; }
11368 if eval test \"x\$"$as_ac_var"\" = x"yes"
11369 then :
11370 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11371 fi }
11372 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11374 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11375 if eval test \${$as_ac_var+y}
11376 then :
11377 printf %s "(cached) " >&6
11378 else $as_nop
11379 ac_wine_try_cflags_saved=$CFLAGS
11380 ac_wine_try_cflags_saved_exeext=$ac_exeext
11381 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11382 ac_exeext=".exe"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11385 void *__os_arm64x_dispatch_ret = 0;
11386 int __cdecl mainCRTStartup(void) { return 0; }
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"
11389 then :
11390 eval "$as_ac_var=yes"
11391 else $as_nop
11392 eval "$as_ac_var=no"
11394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11395 conftest$ac_exeext conftest.$ac_ext
11396 CFLAGS=$ac_wine_try_cflags_saved
11397 ac_exeext=$ac_wine_try_cflags_saved_exeext
11399 eval ac_res=\$$as_ac_var
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11401 printf "%s\n" "$ac_res" >&6; }
11402 if eval test \"x\$"$as_ac_var"\" = x"yes"
11403 then :
11404 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11405 fi }
11406 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11408 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11409 if eval test \${$as_ac_var+y}
11410 then :
11411 printf %s "(cached) " >&6
11412 else $as_nop
11413 ac_wine_try_cflags_saved=$CFLAGS
11414 ac_wine_try_cflags_saved_exeext=$ac_exeext
11415 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11416 ac_exeext=".exe"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11419 void *__os_arm64x_dispatch_ret = 0;
11420 int __cdecl mainCRTStartup(void) { return 0; }
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"
11423 then :
11424 eval "$as_ac_var=yes"
11425 else $as_nop
11426 eval "$as_ac_var=no"
11428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11429 conftest$ac_exeext conftest.$ac_ext
11430 CFLAGS=$ac_wine_try_cflags_saved
11431 ac_exeext=$ac_wine_try_cflags_saved_exeext
11433 eval ac_res=\$$as_ac_var
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11435 printf "%s\n" "$ac_res" >&6; }
11436 if eval test \"x\$"$as_ac_var"\" = x"yes"
11437 then :
11438 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11439 fi }
11440 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11442 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11443 if eval test \${$as_ac_var+y}
11444 then :
11445 printf %s "(cached) " >&6
11446 else $as_nop
11447 ac_wine_try_cflags_saved=$CFLAGS
11448 ac_wine_try_cflags_saved_exeext=$ac_exeext
11449 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11450 ac_exeext=".exe"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11453 void *__os_arm64x_dispatch_ret = 0;
11454 int __cdecl mainCRTStartup(void) { return 0; }
11455 _ACEOF
11456 if ac_fn_c_try_link "$LINENO"
11457 then :
11458 eval "$as_ac_var=yes"
11459 else $as_nop
11460 eval "$as_ac_var=no"
11462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11463 conftest$ac_exeext conftest.$ac_ext
11464 CFLAGS=$ac_wine_try_cflags_saved
11465 ac_exeext=$ac_wine_try_cflags_saved_exeext
11467 eval ac_res=\$$as_ac_var
11468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11469 printf "%s\n" "$ac_res" >&6; }
11470 if eval test \"x\$"$as_ac_var"\" = x"yes"
11471 then :
11472 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11473 fi }
11474 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11476 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11477 if eval test \${$as_ac_var+y}
11478 then :
11479 printf %s "(cached) " >&6
11480 else $as_nop
11481 ac_wine_try_cflags_saved=$CFLAGS
11482 ac_wine_try_cflags_saved_exeext=$ac_exeext
11483 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11484 ac_exeext=".exe"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11487 void *__os_arm64x_dispatch_ret = 0;
11488 int __cdecl mainCRTStartup(void) { return 0; }
11489 _ACEOF
11490 if ac_fn_c_try_link "$LINENO"
11491 then :
11492 eval "$as_ac_var=yes"
11493 else $as_nop
11494 eval "$as_ac_var=no"
11496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11497 conftest$ac_exeext conftest.$ac_ext
11498 CFLAGS=$ac_wine_try_cflags_saved
11499 ac_exeext=$ac_wine_try_cflags_saved_exeext
11501 eval ac_res=\$$as_ac_var
11502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11503 printf "%s\n" "$ac_res" >&6; }
11504 if eval test \"x\$"$as_ac_var"\" = x"yes"
11505 then :
11506 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11507 fi }
11508 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11510 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11511 if eval test \${$as_ac_var+y}
11512 then :
11513 printf %s "(cached) " >&6
11514 else $as_nop
11515 ac_wine_try_cflags_saved=$CFLAGS
11516 ac_wine_try_cflags_saved_exeext=$ac_exeext
11517 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11518 ac_exeext=".exe"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11521 void *__os_arm64x_dispatch_ret = 0;
11522 int __cdecl mainCRTStartup(void) { return 0; }
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"
11525 then :
11526 eval "$as_ac_var=yes"
11527 else $as_nop
11528 eval "$as_ac_var=no"
11530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11531 conftest$ac_exeext conftest.$ac_ext
11532 CFLAGS=$ac_wine_try_cflags_saved
11533 ac_exeext=$ac_wine_try_cflags_saved_exeext
11535 eval ac_res=\$$as_ac_var
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11537 printf "%s\n" "$ac_res" >&6; }
11538 if eval test \"x\$"$as_ac_var"\" = x"yes"
11539 then :
11540 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11541 fi }
11543 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" | $as_tr_sh`
11544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11545 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11546 if eval test \${$as_ac_var+y}
11547 then :
11548 printf %s "(cached) " >&6
11549 else $as_nop
11550 ac_wine_try_cflags_saved=$CFLAGS
11551 ac_wine_try_cflags_saved_exeext=$ac_exeext
11552 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11553 ac_exeext=".exe"
11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11556 void *__os_arm64x_dispatch_ret = 0;
11557 int __cdecl mainCRTStartup(void) { return 0; }
11558 _ACEOF
11559 if ac_fn_c_try_link "$LINENO"
11560 then :
11561 eval "$as_ac_var=yes"
11562 else $as_nop
11563 eval "$as_ac_var=no"
11565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11566 conftest$ac_exeext conftest.$ac_ext
11567 CFLAGS=$ac_wine_try_cflags_saved
11568 ac_exeext=$ac_wine_try_cflags_saved_exeext
11570 eval ac_res=\$$as_ac_var
11571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11572 printf "%s\n" "$ac_res" >&6; }
11573 if eval test \"x\$"$as_ac_var"\" = x"yes"
11574 then :
11575 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11576 fi }
11578 case $wine_arch in
11579 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11581 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11582 if eval test \${$as_ac_var+y}
11583 then :
11584 printf %s "(cached) " >&6
11585 else $as_nop
11586 ac_wine_try_cflags_saved=$CFLAGS
11587 ac_wine_try_cflags_saved_exeext=$ac_exeext
11588 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11589 ac_exeext=".exe"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11592 void *__os_arm64x_dispatch_ret = 0;
11593 int __cdecl mainCRTStartup(void) { return 0; }
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"
11596 then :
11597 eval "$as_ac_var=yes"
11598 else $as_nop
11599 eval "$as_ac_var=no"
11601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11602 conftest$ac_exeext conftest.$ac_ext
11603 CFLAGS=$ac_wine_try_cflags_saved
11604 ac_exeext=$ac_wine_try_cflags_saved_exeext
11606 eval ac_res=\$$as_ac_var
11607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11608 printf "%s\n" "$ac_res" >&6; }
11609 if eval test \"x\$"$as_ac_var"\" = x"yes"
11610 then :
11611 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11612 fi }
11613 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11615 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11616 if eval test \${$as_ac_var+y}
11617 then :
11618 printf %s "(cached) " >&6
11619 else $as_nop
11620 ac_wine_try_cflags_saved=$CFLAGS
11621 ac_wine_try_cflags_saved_exeext=$ac_exeext
11622 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11623 ac_exeext=".exe"
11624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11625 /* end confdefs.h. */
11626 void *__os_arm64x_dispatch_ret = 0;
11627 int __cdecl mainCRTStartup(void) { return 0; }
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"
11630 then :
11631 eval "$as_ac_var=yes"
11632 else $as_nop
11633 eval "$as_ac_var=no"
11635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11636 conftest$ac_exeext conftest.$ac_ext
11637 CFLAGS=$ac_wine_try_cflags_saved
11638 ac_exeext=$ac_wine_try_cflags_saved_exeext
11640 eval ac_res=\$$as_ac_var
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11642 printf "%s\n" "$ac_res" >&6; }
11643 if eval test \"x\$"$as_ac_var"\" = x"yes"
11644 then :
11645 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11646 fi }
11647 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11649 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11650 if eval test \${$as_ac_var+y}
11651 then :
11652 printf %s "(cached) " >&6
11653 else $as_nop
11654 ac_wine_try_cflags_saved=$CFLAGS
11655 ac_wine_try_cflags_saved_exeext=$ac_exeext
11656 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11657 ac_exeext=".exe"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11660 void *__os_arm64x_dispatch_ret = 0;
11661 int __cdecl mainCRTStartup(void) { return 0; }
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"
11664 then :
11665 eval "$as_ac_var=yes"
11666 else $as_nop
11667 eval "$as_ac_var=no"
11669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11670 conftest$ac_exeext conftest.$ac_ext
11671 CFLAGS=$ac_wine_try_cflags_saved
11672 ac_exeext=$ac_wine_try_cflags_saved_exeext
11674 eval ac_res=\$$as_ac_var
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11676 printf "%s\n" "$ac_res" >&6; }
11677 if eval test \"x\$"$as_ac_var"\" = x"yes"
11678 then :
11679 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11680 fi } ;;
11681 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11683 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11684 if eval test \${$as_ac_var+y}
11685 then :
11686 printf %s "(cached) " >&6
11687 else $as_nop
11688 ac_wine_try_cflags_saved=$CFLAGS
11689 ac_wine_try_cflags_saved_exeext=$ac_exeext
11690 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11691 ac_exeext=".exe"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11694 void *__os_arm64x_dispatch_ret = 0;
11695 int __cdecl mainCRTStartup(void) { return 0; }
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"
11698 then :
11699 eval "$as_ac_var=yes"
11700 else $as_nop
11701 eval "$as_ac_var=no"
11703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11704 conftest$ac_exeext conftest.$ac_ext
11705 CFLAGS=$ac_wine_try_cflags_saved
11706 ac_exeext=$ac_wine_try_cflags_saved_exeext
11708 eval ac_res=\$$as_ac_var
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11710 printf "%s\n" "$ac_res" >&6; }
11711 if eval test \"x\$"$as_ac_var"\" = x"yes"
11712 then :
11713 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11714 fi }
11715 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11717 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11718 if eval test \${$as_ac_var+y}
11719 then :
11720 printf %s "(cached) " >&6
11721 else $as_nop
11722 ac_wine_try_cflags_saved=$CFLAGS
11723 ac_wine_try_cflags_saved_exeext=$ac_exeext
11724 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11725 ac_exeext=".exe"
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11728 void *__os_arm64x_dispatch_ret = 0;
11729 int __cdecl mainCRTStartup(void) { return 0; }
11730 _ACEOF
11731 if ac_fn_c_try_link "$LINENO"
11732 then :
11733 eval "$as_ac_var=yes"
11734 else $as_nop
11735 eval "$as_ac_var=no"
11737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11738 conftest$ac_exeext conftest.$ac_ext
11739 CFLAGS=$ac_wine_try_cflags_saved
11740 ac_exeext=$ac_wine_try_cflags_saved_exeext
11742 eval ac_res=\$$as_ac_var
11743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11744 printf "%s\n" "$ac_res" >&6; }
11745 if eval test \"x\$"$as_ac_var"\" = x"yes"
11746 then :
11747 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11748 fi }
11749 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11751 printf %s "checking whether $CC supports -mcx16... " >&6; }
11752 if eval test \${$as_ac_var+y}
11753 then :
11754 printf %s "(cached) " >&6
11755 else $as_nop
11756 ac_wine_try_cflags_saved=$CFLAGS
11757 ac_wine_try_cflags_saved_exeext=$ac_exeext
11758 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11759 ac_exeext=".exe"
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11762 void *__os_arm64x_dispatch_ret = 0;
11763 int __cdecl mainCRTStartup(void) { return 0; }
11764 _ACEOF
11765 if ac_fn_c_try_link "$LINENO"
11766 then :
11767 eval "$as_ac_var=yes"
11768 else $as_nop
11769 eval "$as_ac_var=no"
11771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11772 conftest$ac_exeext conftest.$ac_ext
11773 CFLAGS=$ac_wine_try_cflags_saved
11774 ac_exeext=$ac_wine_try_cflags_saved_exeext
11776 eval ac_res=\$$as_ac_var
11777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11778 printf "%s\n" "$ac_res" >&6; }
11779 if eval test \"x\$"$as_ac_var"\" = x"yes"
11780 then :
11781 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11782 fi }
11783 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11785 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11786 if eval test \${$as_ac_var+y}
11787 then :
11788 printf %s "(cached) " >&6
11789 else $as_nop
11790 ac_wine_try_cflags_saved=$CFLAGS
11791 ac_wine_try_cflags_saved_exeext=$ac_exeext
11792 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11793 ac_exeext=".exe"
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11796 void *__os_arm64x_dispatch_ret = 0;
11797 int __cdecl mainCRTStartup(void) { return 0; }
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"
11800 then :
11801 eval "$as_ac_var=yes"
11802 else $as_nop
11803 eval "$as_ac_var=no"
11805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11806 conftest$ac_exeext conftest.$ac_ext
11807 CFLAGS=$ac_wine_try_cflags_saved
11808 ac_exeext=$ac_wine_try_cflags_saved_exeext
11810 eval ac_res=\$$as_ac_var
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11812 printf "%s\n" "$ac_res" >&6; }
11813 if eval test \"x\$"$as_ac_var"\" = x"yes"
11814 then :
11815 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11816 fi } ;;
11817 esac
11819 wine_crossdebug=$CROSSDEBUG
11820 if test -z "$wine_crossdebug"
11821 then
11822 for ac_flag in $CFLAGS; do
11823 case $ac_flag in
11824 -gdwarf*) wine_crossdebug=dwarf ;;
11825 -gcodeview) wine_crossdebug=pdb ;;
11826 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11827 esac
11828 done
11831 ac_debug_format_seen=""
11832 for ac_flag in $CFLAGS; do
11833 case $ac_flag in
11834 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11835 esac
11836 done
11837 if test "x$ac_debug_format_seen" = x
11838 then
11839 case $wine_crossdebug in
11840 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11842 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11843 if eval test \${$as_ac_var+y}
11844 then :
11845 printf %s "(cached) " >&6
11846 else $as_nop
11847 ac_wine_try_cflags_saved=$CFLAGS
11848 ac_wine_try_cflags_saved_exeext=$ac_exeext
11849 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11850 ac_exeext=".exe"
11851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h. */
11853 void *__os_arm64x_dispatch_ret = 0;
11854 int __cdecl mainCRTStartup(void) { return 0; }
11855 _ACEOF
11856 if ac_fn_c_try_link "$LINENO"
11857 then :
11858 eval "$as_ac_var=yes"
11859 else $as_nop
11860 eval "$as_ac_var=no"
11862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11863 conftest$ac_exeext conftest.$ac_ext
11864 CFLAGS=$ac_wine_try_cflags_saved
11865 ac_exeext=$ac_wine_try_cflags_saved_exeext
11867 eval ac_res=\$$as_ac_var
11868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11869 printf "%s\n" "$ac_res" >&6; }
11870 if eval test \"x\$"$as_ac_var"\" = x"yes"
11871 then :
11872 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11873 fi } ;;
11874 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11876 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11877 if eval test \${$as_ac_var+y}
11878 then :
11879 printf %s "(cached) " >&6
11880 else $as_nop
11881 ac_wine_try_cflags_saved=$CFLAGS
11882 ac_wine_try_cflags_saved_exeext=$ac_exeext
11883 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11884 ac_exeext=".exe"
11885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11887 void *__os_arm64x_dispatch_ret = 0;
11888 int __cdecl mainCRTStartup(void) { return 0; }
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"
11891 then :
11892 eval "$as_ac_var=yes"
11893 else $as_nop
11894 eval "$as_ac_var=no"
11896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11897 conftest$ac_exeext conftest.$ac_ext
11898 CFLAGS=$ac_wine_try_cflags_saved
11899 ac_exeext=$ac_wine_try_cflags_saved_exeext
11901 eval ac_res=\$$as_ac_var
11902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11903 printf "%s\n" "$ac_res" >&6; }
11904 if eval test \"x\$"$as_ac_var"\" = x"yes"
11905 then :
11906 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11907 fi } ;;
11908 esac
11910 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11912 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11914 printf %s "checking whether $CC supports -Werror... " >&6; }
11915 if eval test \${$as_ac_var+y}
11916 then :
11917 printf %s "(cached) " >&6
11918 else $as_nop
11919 ac_wine_try_cflags_saved=$CFLAGS
11920 ac_wine_try_cflags_saved_exeext=$ac_exeext
11921 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11922 ac_exeext=".exe"
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11925 void *__os_arm64x_dispatch_ret = 0;
11926 int __cdecl mainCRTStartup(void) { return 0; }
11927 _ACEOF
11928 if ac_fn_c_try_link "$LINENO"
11929 then :
11930 eval "$as_ac_var=yes"
11931 else $as_nop
11932 eval "$as_ac_var=no"
11934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11935 conftest$ac_exeext conftest.$ac_ext
11936 CFLAGS=$ac_wine_try_cflags_saved
11937 ac_exeext=$ac_wine_try_cflags_saved_exeext
11939 eval ac_res=\$$as_ac_var
11940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11941 printf "%s\n" "$ac_res" >&6; }
11942 if eval test \"x\$"$as_ac_var"\" = x"yes"
11943 then :
11944 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11945 fi }
11946 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11948 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11949 if eval test \${$as_ac_var+y}
11950 then :
11951 printf %s "(cached) " >&6
11952 else $as_nop
11953 ac_wine_try_cflags_saved=$CFLAGS
11954 ac_wine_try_cflags_saved_exeext=$ac_exeext
11955 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11956 ac_exeext=".exe"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11959 void *__os_arm64x_dispatch_ret = 0;
11960 int __cdecl mainCRTStartup(void) { return 0; }
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"
11963 then :
11964 eval "$as_ac_var=yes"
11965 else $as_nop
11966 eval "$as_ac_var=no"
11968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11969 conftest$ac_exeext conftest.$ac_ext
11970 CFLAGS=$ac_wine_try_cflags_saved
11971 ac_exeext=$ac_wine_try_cflags_saved_exeext
11973 eval ac_res=\$$as_ac_var
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11975 printf "%s\n" "$ac_res" >&6; }
11976 if eval test \"x\$"$as_ac_var"\" = x"yes"
11977 then :
11978 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11979 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11980 fi }
11982 done
11984 CC=$saved_CC
11985 CFLAGS=$saved_CFLAGS
11986 LDFLAGS=$saved_LDFLAGS
11988 case $HOST_ARCH in
11989 arm|aarch64)
11990 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
11991 DLLEXT="" ;;
11992 esac
11995 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11996 then
11997 if test "x$HOST_ARCH" = xi386
11998 then :
11999 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12000 else $as_nop
12001 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12003 for ac_prog in $ac_prefix_list
12005 # Extract the first word of "$ac_prog", so it can be a program name with args.
12006 set dummy $ac_prog; ac_word=$2
12007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008 printf %s "checking for $ac_word... " >&6; }
12009 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12010 then :
12011 printf %s "(cached) " >&6
12012 else $as_nop
12013 if test -n "$MINGW_PKG_CONFIG"; then
12014 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12015 else
12016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12017 for as_dir in $PATH
12019 IFS=$as_save_IFS
12020 case $as_dir in #(((
12021 '') as_dir=./ ;;
12022 */) ;;
12023 *) as_dir=$as_dir/ ;;
12024 esac
12025 for ac_exec_ext in '' $ac_executable_extensions; do
12026 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12027 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12029 break 2
12031 done
12032 done
12033 IFS=$as_save_IFS
12037 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12038 if test -n "$MINGW_PKG_CONFIG"; then
12039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12040 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12041 else
12042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12043 printf "%s\n" "no" >&6; }
12047 test -n "$MINGW_PKG_CONFIG" && break
12048 done
12049 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12051 if ${FAUDIO_PE_CFLAGS:+false} :
12052 then :
12053 if test ${MINGW_PKG_CONFIG+y}
12054 then :
12055 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12058 if ${FAUDIO_PE_LIBS:+false} :
12059 then :
12060 if test ${MINGW_PKG_CONFIG+y}
12061 then :
12062 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12065 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12066 ac_save_CPPFLAGS=$CPPFLAGS
12067 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12069 printf %s "checking for MinGW FAudio.h... " >&6; }
12070 if test ${ac_cv_mingw_header_FAudio_h+y}
12071 then :
12072 printf %s "(cached) " >&6
12073 else $as_nop
12074 ac_wine_check_headers_saved_cc=$CC
12075 ac_wine_check_headers_saved_exeext=$ac_exeext
12076 eval CC=\$${wine_arch}_CC
12077 ac_exeext=".exe"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 #include <FAudio.h>
12083 main (void)
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_compile "$LINENO"
12091 then :
12092 ac_cv_mingw_header_FAudio_h=yes
12093 else $as_nop
12094 ac_cv_mingw_header_FAudio_h=no
12096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12097 CC=$ac_wine_check_headers_saved_cc
12098 ac_exeext=$ac_wine_check_headers_saved_exeext
12100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12101 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12102 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12103 then :
12104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12105 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12106 if test ${ac_cv_mingw_lib_FAudio+y}
12107 then :
12108 printf %s "(cached) " >&6
12109 else $as_nop
12110 ac_wine_check_headers_saved_cc=$CC
12111 ac_wine_check_headers_saved_exeext=$ac_exeext
12112 ac_wine_check_headers_saved_libs=$LIBS
12113 eval CC=\$${wine_arch}_CC
12114 ac_exeext=".exe"
12115 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 char FAudio_CommitOperationSet ();
12124 main (void)
12126 return FAudio_CommitOperationSet ();
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_link "$LINENO"
12132 then :
12133 ac_cv_mingw_lib_FAudio=yes
12134 else $as_nop
12135 ac_cv_mingw_lib_FAudio=no
12137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12138 conftest$ac_exeext conftest.$ac_ext
12139 CC=$ac_wine_check_headers_saved_cc
12140 ac_exeext=$ac_wine_check_headers_saved_exeext
12141 LIBS=$ac_wine_check_headers_saved_libs
12143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12144 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12145 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12146 then :
12148 else $as_nop
12149 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12151 else $as_nop
12152 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12154 CPPFLAGS=$ac_save_CPPFLAGS
12156 if test "x$FAUDIO_PE_LIBS" = "x"
12157 then
12158 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12161 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12162 then :
12163 if test ${MINGW_PKG_CONFIG+y}
12164 then :
12165 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12168 if ${FLUIDSYNTH_PE_LIBS:+false} :
12169 then :
12170 if test ${MINGW_PKG_CONFIG+y}
12171 then :
12172 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12175 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12176 ac_save_CPPFLAGS=$CPPFLAGS
12177 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12179 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12180 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12181 then :
12182 printf %s "(cached) " >&6
12183 else $as_nop
12184 ac_wine_check_headers_saved_cc=$CC
12185 ac_wine_check_headers_saved_exeext=$ac_exeext
12186 eval CC=\$${wine_arch}_CC
12187 ac_exeext=".exe"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 #include <fluidsynth.h>
12193 main (void)
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_compile "$LINENO"
12201 then :
12202 ac_cv_mingw_header_fluidsynth_h=yes
12203 else $as_nop
12204 ac_cv_mingw_header_fluidsynth_h=no
12206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12207 CC=$ac_wine_check_headers_saved_cc
12208 ac_exeext=$ac_wine_check_headers_saved_exeext
12210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12211 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12212 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12213 then :
12214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12215 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12216 if test ${ac_cv_mingw_lib_fluidsynth+y}
12217 then :
12218 printf %s "(cached) " >&6
12219 else $as_nop
12220 ac_wine_check_headers_saved_cc=$CC
12221 ac_wine_check_headers_saved_exeext=$ac_exeext
12222 ac_wine_check_headers_saved_libs=$LIBS
12223 eval CC=\$${wine_arch}_CC
12224 ac_exeext=".exe"
12225 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12232 char new_fluid_synth ();
12234 main (void)
12236 return new_fluid_synth ();
12238 return 0;
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"
12242 then :
12243 ac_cv_mingw_lib_fluidsynth=yes
12244 else $as_nop
12245 ac_cv_mingw_lib_fluidsynth=no
12247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12248 conftest$ac_exeext conftest.$ac_ext
12249 CC=$ac_wine_check_headers_saved_cc
12250 ac_exeext=$ac_wine_check_headers_saved_exeext
12251 LIBS=$ac_wine_check_headers_saved_libs
12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12254 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12255 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12256 then :
12258 else $as_nop
12259 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12261 else $as_nop
12262 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12264 CPPFLAGS=$ac_save_CPPFLAGS
12266 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12267 then
12268 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12271 if ${JPEG_PE_CFLAGS:+false} :
12272 then :
12273 if test ${MINGW_PKG_CONFIG+y}
12274 then :
12275 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12278 if ${JPEG_PE_LIBS:+false} :
12279 then :
12280 if test ${MINGW_PKG_CONFIG+y}
12281 then :
12282 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12286 ac_save_CPPFLAGS=$CPPFLAGS
12287 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12289 printf %s "checking for MinGW jpeglib.h... " >&6; }
12290 if test ${ac_cv_mingw_header_jpeglib_h+y}
12291 then :
12292 printf %s "(cached) " >&6
12293 else $as_nop
12294 ac_wine_check_headers_saved_cc=$CC
12295 ac_wine_check_headers_saved_exeext=$ac_exeext
12296 eval CC=\$${wine_arch}_CC
12297 ac_exeext=".exe"
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12300 #include <stddef.h>
12301 #include <stdio.h>
12302 #include <jpeglib.h>
12304 main (void)
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_compile "$LINENO"
12312 then :
12313 ac_cv_mingw_header_jpeglib_h=yes
12314 else $as_nop
12315 ac_cv_mingw_header_jpeglib_h=no
12317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12318 CC=$ac_wine_check_headers_saved_cc
12319 ac_exeext=$ac_wine_check_headers_saved_exeext
12321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12322 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12323 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12324 then :
12325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12326 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12327 if test ${ac_cv_mingw_lib_jpeg+y}
12328 then :
12329 printf %s "(cached) " >&6
12330 else $as_nop
12331 ac_wine_check_headers_saved_cc=$CC
12332 ac_wine_check_headers_saved_exeext=$ac_exeext
12333 ac_wine_check_headers_saved_libs=$LIBS
12334 eval CC=\$${wine_arch}_CC
12335 ac_exeext=".exe"
12336 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12343 char jpeg_start_decompress ();
12345 main (void)
12347 return jpeg_start_decompress ();
12349 return 0;
12351 _ACEOF
12352 if ac_fn_c_try_link "$LINENO"
12353 then :
12354 ac_cv_mingw_lib_jpeg=yes
12355 else $as_nop
12356 ac_cv_mingw_lib_jpeg=no
12358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12359 conftest$ac_exeext conftest.$ac_ext
12360 CC=$ac_wine_check_headers_saved_cc
12361 ac_exeext=$ac_wine_check_headers_saved_exeext
12362 LIBS=$ac_wine_check_headers_saved_libs
12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12365 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12366 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12367 then :
12369 else $as_nop
12370 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12372 else $as_nop
12373 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12375 CPPFLAGS=$ac_save_CPPFLAGS
12377 if test "x$JPEG_PE_LIBS" = "x"
12378 then
12379 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12382 if ${LCMS2_PE_CFLAGS:+false} :
12383 then :
12384 if test ${MINGW_PKG_CONFIG+y}
12385 then :
12386 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12389 if ${LCMS2_PE_LIBS:+false} :
12390 then :
12391 if test ${MINGW_PKG_CONFIG+y}
12392 then :
12393 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12396 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12397 ac_save_CPPFLAGS=$CPPFLAGS
12398 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12400 printf %s "checking for MinGW lcms2.h... " >&6; }
12401 if test ${ac_cv_mingw_header_lcms2_h+y}
12402 then :
12403 printf %s "(cached) " >&6
12404 else $as_nop
12405 ac_wine_check_headers_saved_cc=$CC
12406 ac_wine_check_headers_saved_exeext=$ac_exeext
12407 eval CC=\$${wine_arch}_CC
12408 ac_exeext=".exe"
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12412 #include <lcms2.h>
12414 main (void)
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_compile "$LINENO"
12422 then :
12423 ac_cv_mingw_header_lcms2_h=yes
12424 else $as_nop
12425 ac_cv_mingw_header_lcms2_h=no
12427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12428 CC=$ac_wine_check_headers_saved_cc
12429 ac_exeext=$ac_wine_check_headers_saved_exeext
12431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12432 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12433 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12434 then :
12435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12436 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12437 if test ${ac_cv_mingw_lib_lcms2+y}
12438 then :
12439 printf %s "(cached) " >&6
12440 else $as_nop
12441 ac_wine_check_headers_saved_cc=$CC
12442 ac_wine_check_headers_saved_exeext=$ac_exeext
12443 ac_wine_check_headers_saved_libs=$LIBS
12444 eval CC=\$${wine_arch}_CC
12445 ac_exeext=".exe"
12446 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 /* Override any GCC internal prototype to avoid an error.
12451 Use char because int might match the return type of a GCC
12452 builtin and then its argument prototype would still apply. */
12453 char cmsOpenProfileFromFile ();
12455 main (void)
12457 return cmsOpenProfileFromFile ();
12459 return 0;
12461 _ACEOF
12462 if ac_fn_c_try_link "$LINENO"
12463 then :
12464 ac_cv_mingw_lib_lcms2=yes
12465 else $as_nop
12466 ac_cv_mingw_lib_lcms2=no
12468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12469 conftest$ac_exeext conftest.$ac_ext
12470 CC=$ac_wine_check_headers_saved_cc
12471 ac_exeext=$ac_wine_check_headers_saved_exeext
12472 LIBS=$ac_wine_check_headers_saved_libs
12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12475 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12476 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12477 then :
12479 else $as_nop
12480 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12482 else $as_nop
12483 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12485 CPPFLAGS=$ac_save_CPPFLAGS
12487 if test "x$LCMS2_PE_LIBS" = "x"
12488 then
12489 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12492 if ${MPG123_PE_CFLAGS:+false} :
12493 then :
12494 if test ${MINGW_PKG_CONFIG+y}
12495 then :
12496 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12499 if ${MPG123_PE_LIBS:+false} :
12500 then :
12501 if test ${MINGW_PKG_CONFIG+y}
12502 then :
12503 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12506 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12507 ac_save_CPPFLAGS=$CPPFLAGS
12508 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12510 printf %s "checking for MinGW mpg123.h... " >&6; }
12511 if test ${ac_cv_mingw_header_mpg123_h+y}
12512 then :
12513 printf %s "(cached) " >&6
12514 else $as_nop
12515 ac_wine_check_headers_saved_cc=$CC
12516 ac_wine_check_headers_saved_exeext=$ac_exeext
12517 eval CC=\$${wine_arch}_CC
12518 ac_exeext=".exe"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 #include <mpg123.h>
12524 main (void)
12528 return 0;
12530 _ACEOF
12531 if ac_fn_c_try_compile "$LINENO"
12532 then :
12533 ac_cv_mingw_header_mpg123_h=yes
12534 else $as_nop
12535 ac_cv_mingw_header_mpg123_h=no
12537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12538 CC=$ac_wine_check_headers_saved_cc
12539 ac_exeext=$ac_wine_check_headers_saved_exeext
12541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12542 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12543 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12544 then :
12545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12546 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12547 if test ${ac_cv_mingw_lib_mpg123+y}
12548 then :
12549 printf %s "(cached) " >&6
12550 else $as_nop
12551 ac_wine_check_headers_saved_cc=$CC
12552 ac_wine_check_headers_saved_exeext=$ac_exeext
12553 ac_wine_check_headers_saved_libs=$LIBS
12554 eval CC=\$${wine_arch}_CC
12555 ac_exeext=".exe"
12556 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12563 char mpg123_feed ();
12565 main (void)
12567 return mpg123_feed ();
12569 return 0;
12571 _ACEOF
12572 if ac_fn_c_try_link "$LINENO"
12573 then :
12574 ac_cv_mingw_lib_mpg123=yes
12575 else $as_nop
12576 ac_cv_mingw_lib_mpg123=no
12578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12579 conftest$ac_exeext conftest.$ac_ext
12580 CC=$ac_wine_check_headers_saved_cc
12581 ac_exeext=$ac_wine_check_headers_saved_exeext
12582 LIBS=$ac_wine_check_headers_saved_libs
12584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12585 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12586 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12587 then :
12589 else $as_nop
12590 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12592 else $as_nop
12593 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12595 CPPFLAGS=$ac_save_CPPFLAGS
12597 if test "x$MPG123_PE_LIBS" = "x"
12598 then
12599 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12602 if ${PNG_PE_CFLAGS:+false} :
12603 then :
12604 if test ${MINGW_PKG_CONFIG+y}
12605 then :
12606 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12609 if ${PNG_PE_LIBS:+false} :
12610 then :
12611 if test ${MINGW_PKG_CONFIG+y}
12612 then :
12613 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12617 ac_save_CPPFLAGS=$CPPFLAGS
12618 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12620 printf %s "checking for MinGW png.h... " >&6; }
12621 if test ${ac_cv_mingw_header_png_h+y}
12622 then :
12623 printf %s "(cached) " >&6
12624 else $as_nop
12625 ac_wine_check_headers_saved_cc=$CC
12626 ac_wine_check_headers_saved_exeext=$ac_exeext
12627 eval CC=\$${wine_arch}_CC
12628 ac_exeext=".exe"
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 #include <png.h>
12634 main (void)
12638 return 0;
12640 _ACEOF
12641 if ac_fn_c_try_compile "$LINENO"
12642 then :
12643 ac_cv_mingw_header_png_h=yes
12644 else $as_nop
12645 ac_cv_mingw_header_png_h=no
12647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12648 CC=$ac_wine_check_headers_saved_cc
12649 ac_exeext=$ac_wine_check_headers_saved_exeext
12651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12652 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12653 if test "x$ac_cv_mingw_header_png_h" = xyes
12654 then :
12655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12656 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12657 if test ${ac_cv_mingw_lib_png+y}
12658 then :
12659 printf %s "(cached) " >&6
12660 else $as_nop
12661 ac_wine_check_headers_saved_cc=$CC
12662 ac_wine_check_headers_saved_exeext=$ac_exeext
12663 ac_wine_check_headers_saved_libs=$LIBS
12664 eval CC=\$${wine_arch}_CC
12665 ac_exeext=".exe"
12666 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12670 /* Override any GCC internal prototype to avoid an error.
12671 Use char because int might match the return type of a GCC
12672 builtin and then its argument prototype would still apply. */
12673 char png_create_read_struct ();
12675 main (void)
12677 return png_create_read_struct ();
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_link "$LINENO"
12683 then :
12684 ac_cv_mingw_lib_png=yes
12685 else $as_nop
12686 ac_cv_mingw_lib_png=no
12688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12689 conftest$ac_exeext conftest.$ac_ext
12690 CC=$ac_wine_check_headers_saved_cc
12691 ac_exeext=$ac_wine_check_headers_saved_exeext
12692 LIBS=$ac_wine_check_headers_saved_libs
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12695 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12696 if test "x$ac_cv_mingw_lib_png" = xyes
12697 then :
12699 else $as_nop
12700 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12702 else $as_nop
12703 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12705 CPPFLAGS=$ac_save_CPPFLAGS
12707 if test "x$PNG_PE_LIBS" = "x"
12708 then
12709 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12712 if ${TIFF_PE_CFLAGS:+false} :
12713 then :
12714 if test ${MINGW_PKG_CONFIG+y}
12715 then :
12716 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12719 if ${TIFF_PE_LIBS:+false} :
12720 then :
12721 if test ${MINGW_PKG_CONFIG+y}
12722 then :
12723 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12727 ac_save_CPPFLAGS=$CPPFLAGS
12728 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12730 printf %s "checking for MinGW tiffio.h... " >&6; }
12731 if test ${ac_cv_mingw_header_tiffio_h+y}
12732 then :
12733 printf %s "(cached) " >&6
12734 else $as_nop
12735 ac_wine_check_headers_saved_cc=$CC
12736 ac_wine_check_headers_saved_exeext=$ac_exeext
12737 eval CC=\$${wine_arch}_CC
12738 ac_exeext=".exe"
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12742 #include <tiffio.h>
12744 main (void)
12748 return 0;
12750 _ACEOF
12751 if ac_fn_c_try_compile "$LINENO"
12752 then :
12753 ac_cv_mingw_header_tiffio_h=yes
12754 else $as_nop
12755 ac_cv_mingw_header_tiffio_h=no
12757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12758 CC=$ac_wine_check_headers_saved_cc
12759 ac_exeext=$ac_wine_check_headers_saved_exeext
12761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12762 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12763 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12764 then :
12765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12766 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12767 if test ${ac_cv_mingw_lib_tiff+y}
12768 then :
12769 printf %s "(cached) " >&6
12770 else $as_nop
12771 ac_wine_check_headers_saved_cc=$CC
12772 ac_wine_check_headers_saved_exeext=$ac_exeext
12773 ac_wine_check_headers_saved_libs=$LIBS
12774 eval CC=\$${wine_arch}_CC
12775 ac_exeext=".exe"
12776 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12780 /* Override any GCC internal prototype to avoid an error.
12781 Use char because int might match the return type of a GCC
12782 builtin and then its argument prototype would still apply. */
12783 char TIFFClientOpen ();
12785 main (void)
12787 return TIFFClientOpen ();
12789 return 0;
12791 _ACEOF
12792 if ac_fn_c_try_link "$LINENO"
12793 then :
12794 ac_cv_mingw_lib_tiff=yes
12795 else $as_nop
12796 ac_cv_mingw_lib_tiff=no
12798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12799 conftest$ac_exeext conftest.$ac_ext
12800 CC=$ac_wine_check_headers_saved_cc
12801 ac_exeext=$ac_wine_check_headers_saved_exeext
12802 LIBS=$ac_wine_check_headers_saved_libs
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12805 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12806 if test "x$ac_cv_mingw_lib_tiff" = xyes
12807 then :
12809 else $as_nop
12810 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12812 else $as_nop
12813 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12815 CPPFLAGS=$ac_save_CPPFLAGS
12817 if test "x$TIFF_PE_LIBS" = "x"
12818 then
12819 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12822 if ${XML2_PE_CFLAGS:+false} :
12823 then :
12824 if test ${MINGW_PKG_CONFIG+y}
12825 then :
12826 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12829 if ${XML2_PE_LIBS:+false} :
12830 then :
12831 if test ${MINGW_PKG_CONFIG+y}
12832 then :
12833 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12836 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12837 ac_save_CPPFLAGS=$CPPFLAGS
12838 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12840 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12841 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12842 then :
12843 printf %s "(cached) " >&6
12844 else $as_nop
12845 ac_wine_check_headers_saved_cc=$CC
12846 ac_wine_check_headers_saved_exeext=$ac_exeext
12847 eval CC=\$${wine_arch}_CC
12848 ac_exeext=".exe"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 #include <libxml/parser.h>
12854 main (void)
12858 return 0;
12860 _ACEOF
12861 if ac_fn_c_try_compile "$LINENO"
12862 then :
12863 ac_cv_mingw_header_libxml_parser_h=yes
12864 else $as_nop
12865 ac_cv_mingw_header_libxml_parser_h=no
12867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12868 CC=$ac_wine_check_headers_saved_cc
12869 ac_exeext=$ac_wine_check_headers_saved_exeext
12871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12872 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12873 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12874 then :
12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12878 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12879 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12880 then :
12881 printf %s "(cached) " >&6
12882 else $as_nop
12883 ac_wine_check_headers_saved_cc=$CC
12884 ac_wine_check_headers_saved_exeext=$ac_exeext
12885 eval CC=\$${wine_arch}_CC
12886 ac_exeext=".exe"
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 #include <libxml/xmlsave.h>
12892 main (void)
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_compile "$LINENO"
12900 then :
12901 ac_cv_mingw_header_libxml_xmlsave_h=yes
12902 else $as_nop
12903 ac_cv_mingw_header_libxml_xmlsave_h=no
12905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12906 CC=$ac_wine_check_headers_saved_cc
12907 ac_exeext=$ac_wine_check_headers_saved_exeext
12909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12910 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12911 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12912 then :
12915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12916 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12917 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12918 then :
12919 printf %s "(cached) " >&6
12920 else $as_nop
12921 ac_wine_check_headers_saved_cc=$CC
12922 ac_wine_check_headers_saved_exeext=$ac_exeext
12923 eval CC=\$${wine_arch}_CC
12924 ac_exeext=".exe"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 #include <libxml/SAX2.h>
12930 main (void)
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_compile "$LINENO"
12938 then :
12939 ac_cv_mingw_header_libxml_SAX2_h=yes
12940 else $as_nop
12941 ac_cv_mingw_header_libxml_SAX2_h=no
12943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12944 CC=$ac_wine_check_headers_saved_cc
12945 ac_exeext=$ac_wine_check_headers_saved_exeext
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12948 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12949 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12950 then :
12953 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"
12954 then
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12956 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12957 if test ${ac_cv_mingw_lib_xml2+y}
12958 then :
12959 printf %s "(cached) " >&6
12960 else $as_nop
12961 ac_wine_check_headers_saved_cc=$CC
12962 ac_wine_check_headers_saved_exeext=$ac_exeext
12963 ac_wine_check_headers_saved_libs=$LIBS
12964 eval CC=\$${wine_arch}_CC
12965 ac_exeext=".exe"
12966 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 char xmlFirstElementChild ();
12975 main (void)
12977 return xmlFirstElementChild ();
12979 return 0;
12981 _ACEOF
12982 if ac_fn_c_try_link "$LINENO"
12983 then :
12984 ac_cv_mingw_lib_xml2=yes
12985 else $as_nop
12986 ac_cv_mingw_lib_xml2=no
12988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12989 conftest$ac_exeext conftest.$ac_ext
12990 CC=$ac_wine_check_headers_saved_cc
12991 ac_exeext=$ac_wine_check_headers_saved_exeext
12992 LIBS=$ac_wine_check_headers_saved_libs
12994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12995 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12996 if test "x$ac_cv_mingw_lib_xml2" = xyes
12997 then :
12999 else $as_nop
13000 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13002 else
13003 XML2_PE_CFLAGS=""
13004 XML2_PE_LIBS=""
13006 CPPFLAGS=$ac_save_CPPFLAGS
13008 if test "x$XML2_PE_LIBS" = "x"
13009 then
13010 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13013 if ${XSLT_PE_CFLAGS:+false} :
13014 then :
13015 if test ${MINGW_PKG_CONFIG+y}
13016 then :
13017 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13020 if ${XSLT_PE_LIBS:+false} :
13021 then :
13022 if test ${MINGW_PKG_CONFIG+y}
13023 then :
13024 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13027 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13028 ac_save_CPPFLAGS=$CPPFLAGS
13029 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13031 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13032 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13033 then :
13034 printf %s "(cached) " >&6
13035 else $as_nop
13036 ac_wine_check_headers_saved_cc=$CC
13037 ac_wine_check_headers_saved_exeext=$ac_exeext
13038 eval CC=\$${wine_arch}_CC
13039 ac_exeext=".exe"
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13041 /* end confdefs.h. */
13043 #include <libxslt/pattern.h>
13045 main (void)
13049 return 0;
13051 _ACEOF
13052 if ac_fn_c_try_compile "$LINENO"
13053 then :
13054 ac_cv_mingw_header_libxslt_pattern_h=yes
13055 else $as_nop
13056 ac_cv_mingw_header_libxslt_pattern_h=no
13058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13059 CC=$ac_wine_check_headers_saved_cc
13060 ac_exeext=$ac_wine_check_headers_saved_exeext
13062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13063 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13064 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13065 then :
13068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13069 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13070 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13071 then :
13072 printf %s "(cached) " >&6
13073 else $as_nop
13074 ac_wine_check_headers_saved_cc=$CC
13075 ac_wine_check_headers_saved_exeext=$ac_exeext
13076 eval CC=\$${wine_arch}_CC
13077 ac_exeext=".exe"
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 #include <libxslt/transform.h>
13083 main (void)
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_compile "$LINENO"
13091 then :
13092 ac_cv_mingw_header_libxslt_transform_h=yes
13093 else $as_nop
13094 ac_cv_mingw_header_libxslt_transform_h=no
13096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13097 CC=$ac_wine_check_headers_saved_cc
13098 ac_exeext=$ac_wine_check_headers_saved_exeext
13100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13101 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13102 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13103 then :
13106 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13107 then
13108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13109 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13110 if test ${ac_cv_mingw_lib_xslt+y}
13111 then :
13112 printf %s "(cached) " >&6
13113 else $as_nop
13114 ac_wine_check_headers_saved_cc=$CC
13115 ac_wine_check_headers_saved_exeext=$ac_exeext
13116 ac_wine_check_headers_saved_libs=$LIBS
13117 eval CC=\$${wine_arch}_CC
13118 ac_exeext=".exe"
13119 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13126 char xsltCompilePattern ();
13128 main (void)
13130 return xsltCompilePattern ();
13132 return 0;
13134 _ACEOF
13135 if ac_fn_c_try_link "$LINENO"
13136 then :
13137 ac_cv_mingw_lib_xslt=yes
13138 else $as_nop
13139 ac_cv_mingw_lib_xslt=no
13141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13142 conftest$ac_exeext conftest.$ac_ext
13143 CC=$ac_wine_check_headers_saved_cc
13144 ac_exeext=$ac_wine_check_headers_saved_exeext
13145 LIBS=$ac_wine_check_headers_saved_libs
13147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13148 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13149 if test "x$ac_cv_mingw_lib_xslt" = xyes
13150 then :
13152 else $as_nop
13153 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13155 else
13156 XSLT_PE_CFLAGS=""
13157 XSLT_PE_LIBS=""
13159 CPPFLAGS=$ac_save_CPPFLAGS
13161 if test "x$XSLT_PE_LIBS" = "x"
13162 then
13163 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13166 if ${VKD3D_PE_CFLAGS:+false} :
13167 then :
13168 if test ${MINGW_PKG_CONFIG+y}
13169 then :
13170 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13173 if ${VKD3D_PE_LIBS:+false} :
13174 then :
13175 if test ${MINGW_PKG_CONFIG+y}
13176 then :
13177 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13180 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13181 ac_save_CPPFLAGS=$CPPFLAGS
13182 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13184 printf %s "checking for MinGW vkd3d.h... " >&6; }
13185 if test ${ac_cv_mingw_header_vkd3d_h+y}
13186 then :
13187 printf %s "(cached) " >&6
13188 else $as_nop
13189 ac_wine_check_headers_saved_cc=$CC
13190 ac_wine_check_headers_saved_exeext=$ac_exeext
13191 eval CC=\$${wine_arch}_CC
13192 ac_exeext=".exe"
13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13196 #include <vkd3d.h>
13198 main (void)
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_compile "$LINENO"
13206 then :
13207 ac_cv_mingw_header_vkd3d_h=yes
13208 else $as_nop
13209 ac_cv_mingw_header_vkd3d_h=no
13211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13212 CC=$ac_wine_check_headers_saved_cc
13213 ac_exeext=$ac_wine_check_headers_saved_exeext
13215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13216 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13217 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13218 then :
13221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13222 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13223 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13224 then :
13225 printf %s "(cached) " >&6
13226 else $as_nop
13227 ac_wine_check_headers_saved_cc=$CC
13228 ac_wine_check_headers_saved_exeext=$ac_exeext
13229 eval CC=\$${wine_arch}_CC
13230 ac_exeext=".exe"
13231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 #include <vkd3d_shader.h>
13236 main (void)
13240 return 0;
13242 _ACEOF
13243 if ac_fn_c_try_compile "$LINENO"
13244 then :
13245 ac_cv_mingw_header_vkd3d_shader_h=yes
13246 else $as_nop
13247 ac_cv_mingw_header_vkd3d_shader_h=no
13249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13250 CC=$ac_wine_check_headers_saved_cc
13251 ac_exeext=$ac_wine_check_headers_saved_exeext
13253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13254 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13255 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13256 then :
13259 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13260 then
13261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13262 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13263 if test ${ac_cv_mingw_lib_vkd3d+y}
13264 then :
13265 printf %s "(cached) " >&6
13266 else $as_nop
13267 ac_wine_check_headers_saved_cc=$CC
13268 ac_wine_check_headers_saved_exeext=$ac_exeext
13269 ac_wine_check_headers_saved_libs=$LIBS
13270 eval CC=\$${wine_arch}_CC
13271 ac_exeext=".exe"
13272 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13279 char vkd3d_set_log_callback ();
13281 main (void)
13283 return vkd3d_set_log_callback ();
13285 return 0;
13287 _ACEOF
13288 if ac_fn_c_try_link "$LINENO"
13289 then :
13290 ac_cv_mingw_lib_vkd3d=yes
13291 else $as_nop
13292 ac_cv_mingw_lib_vkd3d=no
13294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13295 conftest$ac_exeext conftest.$ac_ext
13296 CC=$ac_wine_check_headers_saved_cc
13297 ac_exeext=$ac_wine_check_headers_saved_exeext
13298 LIBS=$ac_wine_check_headers_saved_libs
13300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13301 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13302 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13303 then :
13305 else $as_nop
13308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13309 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13310 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13311 then :
13312 printf %s "(cached) " >&6
13313 else $as_nop
13314 ac_wine_check_headers_saved_cc=$CC
13315 ac_wine_check_headers_saved_exeext=$ac_exeext
13316 ac_wine_check_headers_saved_libs=$LIBS
13317 eval CC=\$${wine_arch}_CC
13318 ac_exeext=".exe"
13319 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13326 char vkd3d_shader_build_varying_map ();
13328 main (void)
13330 return vkd3d_shader_build_varying_map ();
13332 return 0;
13334 _ACEOF
13335 if ac_fn_c_try_link "$LINENO"
13336 then :
13337 ac_cv_mingw_lib_vkd3d_shader=yes
13338 else $as_nop
13339 ac_cv_mingw_lib_vkd3d_shader=no
13341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13342 conftest$ac_exeext conftest.$ac_ext
13343 CC=$ac_wine_check_headers_saved_cc
13344 ac_exeext=$ac_wine_check_headers_saved_exeext
13345 LIBS=$ac_wine_check_headers_saved_libs
13347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13348 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13349 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13350 then :
13352 else $as_nop
13355 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13356 then
13357 VKD3D_PE_CFLAGS=""
13358 VKD3D_PE_LIBS=""
13360 else
13361 VKD3D_PE_CFLAGS=""
13362 VKD3D_PE_LIBS=""
13364 CPPFLAGS=$ac_save_CPPFLAGS
13366 if test "x$VKD3D_PE_LIBS" = "x"
13367 then
13368 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13371 if ${ZLIB_PE_CFLAGS:+false} :
13372 then :
13373 if test ${MINGW_PKG_CONFIG+y}
13374 then :
13375 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13378 if ${ZLIB_PE_LIBS:+false} :
13379 then :
13380 if test ${MINGW_PKG_CONFIG+y}
13381 then :
13382 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13385 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13386 ac_save_CPPFLAGS=$CPPFLAGS
13387 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13389 printf %s "checking for MinGW zlib.h... " >&6; }
13390 if test ${ac_cv_mingw_header_zlib_h+y}
13391 then :
13392 printf %s "(cached) " >&6
13393 else $as_nop
13394 ac_wine_check_headers_saved_cc=$CC
13395 ac_wine_check_headers_saved_exeext=$ac_exeext
13396 eval CC=\$${wine_arch}_CC
13397 ac_exeext=".exe"
13398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13401 #include <zlib.h>
13403 main (void)
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_compile "$LINENO"
13411 then :
13412 ac_cv_mingw_header_zlib_h=yes
13413 else $as_nop
13414 ac_cv_mingw_header_zlib_h=no
13416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13417 CC=$ac_wine_check_headers_saved_cc
13418 ac_exeext=$ac_wine_check_headers_saved_exeext
13420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13421 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13422 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13423 then :
13424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13425 printf %s "checking for inflate in MinGW -lz... " >&6; }
13426 if test ${ac_cv_mingw_lib_z+y}
13427 then :
13428 printf %s "(cached) " >&6
13429 else $as_nop
13430 ac_wine_check_headers_saved_cc=$CC
13431 ac_wine_check_headers_saved_exeext=$ac_exeext
13432 ac_wine_check_headers_saved_libs=$LIBS
13433 eval CC=\$${wine_arch}_CC
13434 ac_exeext=".exe"
13435 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13439 /* Override any GCC internal prototype to avoid an error.
13440 Use char because int might match the return type of a GCC
13441 builtin and then its argument prototype would still apply. */
13442 char inflate ();
13444 main (void)
13446 return inflate ();
13448 return 0;
13450 _ACEOF
13451 if ac_fn_c_try_link "$LINENO"
13452 then :
13453 ac_cv_mingw_lib_z=yes
13454 else $as_nop
13455 ac_cv_mingw_lib_z=no
13457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13458 conftest$ac_exeext conftest.$ac_ext
13459 CC=$ac_wine_check_headers_saved_cc
13460 ac_exeext=$ac_wine_check_headers_saved_exeext
13461 LIBS=$ac_wine_check_headers_saved_libs
13463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13464 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13465 if test "x$ac_cv_mingw_lib_z" = xyes
13466 then :
13468 else $as_nop
13469 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13471 else $as_nop
13472 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13474 CPPFLAGS=$ac_save_CPPFLAGS
13476 if test "x$ZLIB_PE_LIBS" = "x"
13477 then
13478 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13482 if ${FAUDIO_PE_LIBS:+false} :
13483 then :
13484 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13485 if ${FAUDIO_PE_CFLAGS:+false} :
13486 then :
13487 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13488 else $as_nop
13489 enable_faudio=no
13491 else $as_nop
13492 enable_faudio=no
13494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13497 if ${FLUIDSYNTH_PE_LIBS:+false} :
13498 then :
13499 FLUIDSYNTH_PE_LIBS="fluidsynth"
13500 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13501 then :
13502 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13503 else $as_nop
13504 enable_fluidsynth=no
13506 else $as_nop
13507 enable_fluidsynth=no
13509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13512 if ${GSM_PE_LIBS:+false} :
13513 then :
13514 GSM_PE_LIBS=gsm
13515 if ${GSM_PE_CFLAGS:+false} :
13516 then :
13517 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13518 else $as_nop
13519 enable_gsm=no
13521 else $as_nop
13522 enable_gsm=no
13524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13527 if ${JPEG_PE_LIBS:+false} :
13528 then :
13529 JPEG_PE_LIBS=jpeg
13530 if ${JPEG_PE_CFLAGS:+false} :
13531 then :
13532 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13533 else $as_nop
13534 enable_jpeg=no
13536 else $as_nop
13537 enable_jpeg=no
13539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13542 if ${JXR_PE_LIBS:+false} :
13543 then :
13544 JXR_PE_LIBS=jxr
13545 if ${JXR_PE_CFLAGS:+false} :
13546 then :
13547 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13548 else $as_nop
13549 enable_jxr=no
13551 else $as_nop
13552 enable_jxr=no
13554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13557 if ${LCMS2_PE_LIBS:+false} :
13558 then :
13559 LCMS2_PE_LIBS=lcms2
13560 if ${LCMS2_PE_CFLAGS:+false} :
13561 then :
13562 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13563 else $as_nop
13564 enable_lcms2=no
13566 else $as_nop
13567 enable_lcms2=no
13569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13572 if ${LDAP_PE_LIBS:+false} :
13573 then :
13574 LDAP_PE_LIBS=ldap
13575 if ${LDAP_PE_CFLAGS:+false} :
13576 then :
13577 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13578 else $as_nop
13579 enable_ldap=no
13581 else $as_nop
13582 enable_ldap=no
13584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13587 if ${MPG123_PE_LIBS:+false} :
13588 then :
13589 MPG123_PE_LIBS=mpg123
13590 if ${MPG123_PE_CFLAGS:+false} :
13591 then :
13592 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13593 else $as_nop
13594 enable_mpg123=no
13596 else $as_nop
13597 enable_mpg123=no
13599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13602 if ${MUSL_PE_LIBS:+false} :
13603 then :
13604 MUSL_PE_LIBS=musl
13605 if ${MUSL_PE_CFLAGS:+false} :
13606 then :
13607 MUSL_PE_CFLAGS=
13608 else $as_nop
13609 enable_musl=no
13611 else $as_nop
13612 enable_musl=no
13614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13617 if ${PNG_PE_LIBS:+false} :
13618 then :
13619 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13620 if ${PNG_PE_CFLAGS:+false} :
13621 then :
13622 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13623 else $as_nop
13624 enable_png=no
13626 else $as_nop
13627 enable_png=no
13629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13632 if ${TIFF_PE_LIBS:+false} :
13633 then :
13634 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13635 if ${TIFF_PE_CFLAGS:+false} :
13636 then :
13637 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13638 else $as_nop
13639 enable_tiff=no
13641 else $as_nop
13642 enable_tiff=no
13644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13647 if ${VKD3D_PE_LIBS:+false} :
13648 then :
13649 VKD3D_PE_LIBS=vkd3d
13650 if ${VKD3D_PE_CFLAGS:+false} :
13651 then :
13652 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13653 else $as_nop
13654 enable_vkd3d=no
13656 else $as_nop
13657 enable_vkd3d=no
13659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13662 if ${XML2_PE_LIBS:+false} :
13663 then :
13664 XML2_PE_LIBS=xml2
13665 if ${XML2_PE_CFLAGS:+false} :
13666 then :
13667 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13668 else $as_nop
13669 enable_xml2=no
13671 else $as_nop
13672 enable_xml2=no
13674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13677 if ${XSLT_PE_LIBS:+false} :
13678 then :
13679 XSLT_PE_LIBS=xslt
13680 if ${XSLT_PE_CFLAGS:+false} :
13681 then :
13682 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13683 else $as_nop
13684 enable_xslt=no
13686 else $as_nop
13687 enable_xslt=no
13689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13692 if ${ZLIB_PE_LIBS:+false} :
13693 then :
13694 ZLIB_PE_LIBS=z
13695 if ${ZLIB_PE_CFLAGS:+false} :
13696 then :
13697 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13698 else $as_nop
13699 enable_zlib=no
13701 else $as_nop
13702 enable_zlib=no
13704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13707 if ${ZYDIS_PE_LIBS:+false} :
13708 then :
13709 ZYDIS_PE_LIBS=zydis
13710 if ${ZYDIS_PE_CFLAGS:+false} :
13711 then :
13712 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13713 else $as_nop
13714 enable_zydis=no
13716 else $as_nop
13717 enable_zydis=no
13719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13724 if test "x$with_pthread" = xno
13725 then :
13727 else $as_nop
13728 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13729 if test "x$ac_cv_func_pthread_create" = xyes
13730 then :
13732 else $as_nop
13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13734 printf %s "checking for pthread_create in -lpthread... " >&6; }
13735 if test ${ac_cv_lib_pthread_pthread_create+y}
13736 then :
13737 printf %s "(cached) " >&6
13738 else $as_nop
13739 ac_check_lib_save_LIBS=$LIBS
13740 LIBS="-lpthread $LIBS"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13744 /* Override any GCC internal prototype to avoid an error.
13745 Use char because int might match the return type of a GCC
13746 builtin and then its argument prototype would still apply. */
13747 char pthread_create ();
13749 main (void)
13751 return pthread_create ();
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_link "$LINENO"
13757 then :
13758 ac_cv_lib_pthread_pthread_create=yes
13759 else $as_nop
13760 ac_cv_lib_pthread_pthread_create=no
13762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13763 conftest$ac_exeext conftest.$ac_ext
13764 LIBS=$ac_check_lib_save_LIBS
13766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13767 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13768 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13769 then :
13770 PTHREAD_LIBS="-lpthread"
13777 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13778 then :
13779 case "x$with_pthread" in
13780 xno) ;;
13781 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13782 Wine cannot support threads without libpthread.
13783 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13784 esac
13789 ac_ext=c
13790 ac_cpp='$CPP $CPPFLAGS'
13791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13795 printf %s "checking how to run the C preprocessor... " >&6; }
13796 # On Suns, sometimes $CPP names a directory.
13797 if test -n "$CPP" && test -d "$CPP"; then
13798 CPP=
13800 if test -z "$CPP"; then
13801 if test ${ac_cv_prog_CPP+y}
13802 then :
13803 printf %s "(cached) " >&6
13804 else $as_nop
13805 # Double quotes because $CC needs to be expanded
13806 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13808 ac_preproc_ok=false
13809 for ac_c_preproc_warn_flag in '' yes
13811 # Use a header file that comes with gcc, so configuring glibc
13812 # with a fresh cross-compiler works.
13813 # On the NeXT, cc -E runs the code through the compiler's parser,
13814 # not just through cpp. "Syntax error" is here to catch this case.
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13817 #include <limits.h>
13818 Syntax error
13819 _ACEOF
13820 if ac_fn_c_try_cpp "$LINENO"
13821 then :
13823 else $as_nop
13824 # Broken: fails on valid input.
13825 continue
13827 rm -f conftest.err conftest.i conftest.$ac_ext
13829 # OK, works on sane cases. Now check whether nonexistent headers
13830 # can be detected and how.
13831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13832 /* end confdefs.h. */
13833 #include <ac_nonexistent.h>
13834 _ACEOF
13835 if ac_fn_c_try_cpp "$LINENO"
13836 then :
13837 # Broken: success on invalid input.
13838 continue
13839 else $as_nop
13840 # Passes both tests.
13841 ac_preproc_ok=:
13842 break
13844 rm -f conftest.err conftest.i conftest.$ac_ext
13846 done
13847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13848 rm -f conftest.i conftest.err conftest.$ac_ext
13849 if $ac_preproc_ok
13850 then :
13851 break
13854 done
13855 ac_cv_prog_CPP=$CPP
13858 CPP=$ac_cv_prog_CPP
13859 else
13860 ac_cv_prog_CPP=$CPP
13862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13863 printf "%s\n" "$CPP" >&6; }
13864 ac_preproc_ok=false
13865 for ac_c_preproc_warn_flag in '' yes
13867 # Use a header file that comes with gcc, so configuring glibc
13868 # with a fresh cross-compiler works.
13869 # On the NeXT, cc -E runs the code through the compiler's parser,
13870 # not just through cpp. "Syntax error" is here to catch this case.
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 #include <limits.h>
13874 Syntax error
13875 _ACEOF
13876 if ac_fn_c_try_cpp "$LINENO"
13877 then :
13879 else $as_nop
13880 # Broken: fails on valid input.
13881 continue
13883 rm -f conftest.err conftest.i conftest.$ac_ext
13885 # OK, works on sane cases. Now check whether nonexistent headers
13886 # can be detected and how.
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 #include <ac_nonexistent.h>
13890 _ACEOF
13891 if ac_fn_c_try_cpp "$LINENO"
13892 then :
13893 # Broken: success on invalid input.
13894 continue
13895 else $as_nop
13896 # Passes both tests.
13897 ac_preproc_ok=:
13898 break
13900 rm -f conftest.err conftest.i conftest.$ac_ext
13902 done
13903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13904 rm -f conftest.i conftest.err conftest.$ac_ext
13905 if $ac_preproc_ok
13906 then :
13908 else $as_nop
13909 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13910 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13911 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13912 See \`config.log' for more details" "$LINENO" 5; }
13915 ac_ext=c
13916 ac_cpp='$CPP $CPPFLAGS'
13917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13923 printf %s "checking for X... " >&6; }
13926 # Check whether --with-x was given.
13927 if test ${with_x+y}
13928 then :
13929 withval=$with_x;
13932 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13933 if test "x$with_x" = xno; then
13934 # The user explicitly disabled X.
13935 have_x=disabled
13936 else
13937 case $x_includes,$x_libraries in #(
13938 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13939 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13940 then :
13941 printf %s "(cached) " >&6
13942 else $as_nop
13943 # One or both of the vars are not set, and there is no cached value.
13944 ac_x_includes=no
13945 ac_x_libraries=no
13946 # Do we need to do anything special at all?
13947 ac_save_LIBS=$LIBS
13948 LIBS="-lX11 $LIBS"
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 #include <X11/Xlib.h>
13953 main (void)
13955 XrmInitialize ()
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"
13961 then :
13962 # We can compile and link X programs with no special options.
13963 ac_x_includes=
13964 ac_x_libraries=
13966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13967 conftest$ac_exeext conftest.$ac_ext
13968 LIBS="$ac_save_LIBS"
13969 # If that didn't work, only try xmkmf and file system searches
13970 # for native compilation.
13971 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13972 then :
13973 rm -f -r conftest.dir
13974 if mkdir conftest.dir; then
13975 cd conftest.dir
13976 cat >Imakefile <<'_ACEOF'
13977 incroot:
13978 @echo incroot='${INCROOT}'
13979 usrlibdir:
13980 @echo usrlibdir='${USRLIBDIR}'
13981 libdir:
13982 @echo libdir='${LIBDIR}'
13983 _ACEOF
13984 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13985 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13986 for ac_var in incroot usrlibdir libdir; do
13987 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13988 done
13989 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13990 for ac_extension in a so sl dylib la dll; do
13991 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13992 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13993 ac_im_usrlibdir=$ac_im_libdir; break
13995 done
13996 # Screen out bogus values from the imake configuration. They are
13997 # bogus both because they are the default anyway, and because
13998 # using them would break gcc on systems where it needs fixed includes.
13999 case $ac_im_incroot in
14000 /usr/include) ac_x_includes= ;;
14001 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14002 esac
14003 case $ac_im_usrlibdir in
14004 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
14005 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14006 esac
14008 cd ..
14009 rm -f -r conftest.dir
14012 # Standard set of common directories for X headers.
14013 # Check X11 before X11Rn because it is often a symlink to the current release.
14014 ac_x_header_dirs='
14015 /usr/X11/include
14016 /usr/X11R7/include
14017 /usr/X11R6/include
14018 /usr/X11R5/include
14019 /usr/X11R4/include
14021 /usr/include/X11
14022 /usr/include/X11R7
14023 /usr/include/X11R6
14024 /usr/include/X11R5
14025 /usr/include/X11R4
14027 /usr/local/X11/include
14028 /usr/local/X11R7/include
14029 /usr/local/X11R6/include
14030 /usr/local/X11R5/include
14031 /usr/local/X11R4/include
14033 /usr/local/include/X11
14034 /usr/local/include/X11R7
14035 /usr/local/include/X11R6
14036 /usr/local/include/X11R5
14037 /usr/local/include/X11R4
14039 /opt/X11/include
14041 /usr/X386/include
14042 /usr/x386/include
14043 /usr/XFree86/include/X11
14045 /usr/include
14046 /usr/local/include
14047 /usr/unsupported/include
14048 /usr/athena/include
14049 /usr/local/x11r5/include
14050 /usr/lpp/Xamples/include
14052 /usr/openwin/include
14053 /usr/openwin/share/include'
14055 if test "$ac_x_includes" = no; then
14056 # Guess where to find include files, by looking for Xlib.h.
14057 # First, try using that file with no special directory specified.
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 #include <X11/Xlib.h>
14061 _ACEOF
14062 if ac_fn_c_try_cpp "$LINENO"
14063 then :
14064 # We can compile using X headers with no special include directory.
14065 ac_x_includes=
14066 else $as_nop
14067 for ac_dir in $ac_x_header_dirs; do
14068 if test -r "$ac_dir/X11/Xlib.h"; then
14069 ac_x_includes=$ac_dir
14070 break
14072 done
14074 rm -f conftest.err conftest.i conftest.$ac_ext
14075 fi # $ac_x_includes = no
14077 if test "$ac_x_libraries" = no; then
14078 # Check for the libraries.
14079 # See if we find them without any special options.
14080 # Don't add to $LIBS permanently.
14081 ac_save_LIBS=$LIBS
14082 LIBS="-lX11 $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 #include <X11/Xlib.h>
14087 main (void)
14089 XrmInitialize ()
14091 return 0;
14093 _ACEOF
14094 if ac_fn_c_try_link "$LINENO"
14095 then :
14096 LIBS=$ac_save_LIBS
14097 # We can link X programs with no special library path.
14098 ac_x_libraries=
14099 else $as_nop
14100 LIBS=$ac_save_LIBS
14101 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14103 # Don't even attempt the hair of trying to link an X program!
14104 for ac_extension in a so sl dylib la dll; do
14105 if test -r "$ac_dir/libX11.$ac_extension"; then
14106 ac_x_libraries=$ac_dir
14107 break 2
14109 done
14110 done
14112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14113 conftest$ac_exeext conftest.$ac_ext
14114 fi # $ac_x_libraries = no
14117 # Record the results.
14118 case $ac_x_includes,$ac_x_libraries in #(
14119 no,* | *,no | *\'*) :
14120 # Didn't find X, or a directory has "'" in its name.
14121 ac_cv_have_x="have_x=no" ;; #(
14122 *) :
14123 # Record where we found X for the cache.
14124 ac_cv_have_x="have_x=yes\
14125 ac_x_includes='$ac_x_includes'\
14126 ac_x_libraries='$ac_x_libraries'" ;;
14127 esac
14129 ;; #(
14130 *) have_x=yes;;
14131 esac
14132 eval "$ac_cv_have_x"
14133 fi # $with_x != no
14135 if test "$have_x" != yes; then
14136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14137 printf "%s\n" "$have_x" >&6; }
14138 no_x=yes
14139 else
14140 # If each of the values was on the command line, it overrides each guess.
14141 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14142 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14143 # Update the cache value to reflect the command line values.
14144 ac_cv_have_x="have_x=yes\
14145 ac_x_includes='$x_includes'\
14146 ac_x_libraries='$x_libraries'"
14147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14148 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14151 if test "$no_x" = yes; then
14152 # Not all programs may use this symbol, but it does not hurt to define it.
14154 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14156 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14157 else
14158 if test -n "$x_includes"; then
14159 X_CFLAGS="$X_CFLAGS -I$x_includes"
14162 # It would also be nice to do this for all -L options, not just this one.
14163 if test -n "$x_libraries"; then
14164 X_LIBS="$X_LIBS -L$x_libraries"
14165 # For Solaris; some versions of Sun CC require a space after -R and
14166 # others require no space. Words are not sufficient . . . .
14167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14168 printf %s "checking whether -R must be followed by a space... " >&6; }
14169 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14170 ac_xsave_c_werror_flag=$ac_c_werror_flag
14171 ac_c_werror_flag=yes
14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14176 main (void)
14180 return 0;
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"
14184 then :
14185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14186 printf "%s\n" "no" >&6; }
14187 X_LIBS="$X_LIBS -R$x_libraries"
14188 else $as_nop
14189 LIBS="$ac_xsave_LIBS -R $x_libraries"
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14194 main (void)
14198 return 0;
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"
14202 then :
14203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14204 printf "%s\n" "yes" >&6; }
14205 X_LIBS="$X_LIBS -R $x_libraries"
14206 else $as_nop
14207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14208 printf "%s\n" "neither works" >&6; }
14210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14211 conftest$ac_exeext conftest.$ac_ext
14213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14214 conftest$ac_exeext conftest.$ac_ext
14215 ac_c_werror_flag=$ac_xsave_c_werror_flag
14216 LIBS=$ac_xsave_LIBS
14219 # Check for system-dependent libraries X programs must link with.
14220 # Do this before checking for the system-independent R6 libraries
14221 # (-lICE), since we may need -lsocket or whatever for X linking.
14223 if test "$ISC" = yes; then
14224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14225 else
14226 # Martyn Johnson says this is needed for Ultrix, if the X
14227 # libraries were built with DECnet support. And Karl Berry says
14228 # the Alpha needs dnet_stub (dnet does not exist).
14229 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14233 /* Override any GCC internal prototype to avoid an error.
14234 Use char because int might match the return type of a GCC
14235 builtin and then its argument prototype would still apply. */
14236 char XOpenDisplay ();
14238 main (void)
14240 return XOpenDisplay ();
14242 return 0;
14244 _ACEOF
14245 if ac_fn_c_try_link "$LINENO"
14246 then :
14248 else $as_nop
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14250 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14251 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14252 then :
14253 printf %s "(cached) " >&6
14254 else $as_nop
14255 ac_check_lib_save_LIBS=$LIBS
14256 LIBS="-ldnet $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 char dnet_ntoa ();
14265 main (void)
14267 return dnet_ntoa ();
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"
14273 then :
14274 ac_cv_lib_dnet_dnet_ntoa=yes
14275 else $as_nop
14276 ac_cv_lib_dnet_dnet_ntoa=no
14278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14279 conftest$ac_exeext conftest.$ac_ext
14280 LIBS=$ac_check_lib_save_LIBS
14282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14283 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14284 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14285 then :
14286 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14289 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14291 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14292 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14293 then :
14294 printf %s "(cached) " >&6
14295 else $as_nop
14296 ac_check_lib_save_LIBS=$LIBS
14297 LIBS="-ldnet_stub $LIBS"
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14304 char dnet_ntoa ();
14306 main (void)
14308 return dnet_ntoa ();
14310 return 0;
14312 _ACEOF
14313 if ac_fn_c_try_link "$LINENO"
14314 then :
14315 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14316 else $as_nop
14317 ac_cv_lib_dnet_stub_dnet_ntoa=no
14319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14320 conftest$ac_exeext conftest.$ac_ext
14321 LIBS=$ac_check_lib_save_LIBS
14323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14324 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14325 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14326 then :
14327 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14333 conftest$ac_exeext conftest.$ac_ext
14334 LIBS="$ac_xsave_LIBS"
14336 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14337 # to get the SysV transport functions.
14338 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14339 # needs -lnsl.
14340 # The nsl library prevents programs from opening the X display
14341 # on Irix 5.2, according to T.E. Dickey.
14342 # The functions gethostbyname, getservbyname, and inet_addr are
14343 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14344 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14345 if test "x$ac_cv_func_gethostbyname" = xyes
14346 then :
14350 if test $ac_cv_func_gethostbyname = no; then
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14352 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14353 if test ${ac_cv_lib_nsl_gethostbyname+y}
14354 then :
14355 printf %s "(cached) " >&6
14356 else $as_nop
14357 ac_check_lib_save_LIBS=$LIBS
14358 LIBS="-lnsl $LIBS"
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14362 /* Override any GCC internal prototype to avoid an error.
14363 Use char because int might match the return type of a GCC
14364 builtin and then its argument prototype would still apply. */
14365 char gethostbyname ();
14367 main (void)
14369 return gethostbyname ();
14371 return 0;
14373 _ACEOF
14374 if ac_fn_c_try_link "$LINENO"
14375 then :
14376 ac_cv_lib_nsl_gethostbyname=yes
14377 else $as_nop
14378 ac_cv_lib_nsl_gethostbyname=no
14380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14381 conftest$ac_exeext conftest.$ac_ext
14382 LIBS=$ac_check_lib_save_LIBS
14384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14385 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14386 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14387 then :
14388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14391 if test $ac_cv_lib_nsl_gethostbyname = no; then
14392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14393 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14394 if test ${ac_cv_lib_bsd_gethostbyname+y}
14395 then :
14396 printf %s "(cached) " >&6
14397 else $as_nop
14398 ac_check_lib_save_LIBS=$LIBS
14399 LIBS="-lbsd $LIBS"
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14403 /* Override any GCC internal prototype to avoid an error.
14404 Use char because int might match the return type of a GCC
14405 builtin and then its argument prototype would still apply. */
14406 char gethostbyname ();
14408 main (void)
14410 return gethostbyname ();
14412 return 0;
14414 _ACEOF
14415 if ac_fn_c_try_link "$LINENO"
14416 then :
14417 ac_cv_lib_bsd_gethostbyname=yes
14418 else $as_nop
14419 ac_cv_lib_bsd_gethostbyname=no
14421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14422 conftest$ac_exeext conftest.$ac_ext
14423 LIBS=$ac_check_lib_save_LIBS
14425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14426 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14427 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14428 then :
14429 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14435 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14436 # socket/setsockopt and other routines are undefined under SCO ODT
14437 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14438 # on later versions), says Simon Leinen: it contains gethostby*
14439 # variants that don't use the name server (or something). -lsocket
14440 # must be given before -lnsl if both are needed. We assume that
14441 # if connect needs -lnsl, so does gethostbyname.
14442 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14443 if test "x$ac_cv_func_connect" = xyes
14444 then :
14448 if test $ac_cv_func_connect = no; then
14449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14450 printf %s "checking for connect in -lsocket... " >&6; }
14451 if test ${ac_cv_lib_socket_connect+y}
14452 then :
14453 printf %s "(cached) " >&6
14454 else $as_nop
14455 ac_check_lib_save_LIBS=$LIBS
14456 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14460 /* Override any GCC internal prototype to avoid an error.
14461 Use char because int might match the return type of a GCC
14462 builtin and then its argument prototype would still apply. */
14463 char connect ();
14465 main (void)
14467 return connect ();
14469 return 0;
14471 _ACEOF
14472 if ac_fn_c_try_link "$LINENO"
14473 then :
14474 ac_cv_lib_socket_connect=yes
14475 else $as_nop
14476 ac_cv_lib_socket_connect=no
14478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14479 conftest$ac_exeext conftest.$ac_ext
14480 LIBS=$ac_check_lib_save_LIBS
14482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14483 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14484 if test "x$ac_cv_lib_socket_connect" = xyes
14485 then :
14486 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14491 # Guillermo Gomez says -lposix is necessary on A/UX.
14492 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14493 if test "x$ac_cv_func_remove" = xyes
14494 then :
14498 if test $ac_cv_func_remove = no; then
14499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14500 printf %s "checking for remove in -lposix... " >&6; }
14501 if test ${ac_cv_lib_posix_remove+y}
14502 then :
14503 printf %s "(cached) " >&6
14504 else $as_nop
14505 ac_check_lib_save_LIBS=$LIBS
14506 LIBS="-lposix $LIBS"
14507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14510 /* Override any GCC internal prototype to avoid an error.
14511 Use char because int might match the return type of a GCC
14512 builtin and then its argument prototype would still apply. */
14513 char remove ();
14515 main (void)
14517 return remove ();
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_link "$LINENO"
14523 then :
14524 ac_cv_lib_posix_remove=yes
14525 else $as_nop
14526 ac_cv_lib_posix_remove=no
14528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14529 conftest$ac_exeext conftest.$ac_ext
14530 LIBS=$ac_check_lib_save_LIBS
14532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14533 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14534 if test "x$ac_cv_lib_posix_remove" = xyes
14535 then :
14536 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14541 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14542 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14543 if test "x$ac_cv_func_shmat" = xyes
14544 then :
14548 if test $ac_cv_func_shmat = no; then
14549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14550 printf %s "checking for shmat in -lipc... " >&6; }
14551 if test ${ac_cv_lib_ipc_shmat+y}
14552 then :
14553 printf %s "(cached) " >&6
14554 else $as_nop
14555 ac_check_lib_save_LIBS=$LIBS
14556 LIBS="-lipc $LIBS"
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14560 /* Override any GCC internal prototype to avoid an error.
14561 Use char because int might match the return type of a GCC
14562 builtin and then its argument prototype would still apply. */
14563 char shmat ();
14565 main (void)
14567 return shmat ();
14569 return 0;
14571 _ACEOF
14572 if ac_fn_c_try_link "$LINENO"
14573 then :
14574 ac_cv_lib_ipc_shmat=yes
14575 else $as_nop
14576 ac_cv_lib_ipc_shmat=no
14578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14579 conftest$ac_exeext conftest.$ac_ext
14580 LIBS=$ac_check_lib_save_LIBS
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14583 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14584 if test "x$ac_cv_lib_ipc_shmat" = xyes
14585 then :
14586 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14592 # Check for libraries that X11R6 Xt/Xaw programs need.
14593 ac_save_LDFLAGS=$LDFLAGS
14594 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14595 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14596 # check for ICE first), but we must link in the order -lSM -lICE or
14597 # we get undefined symbols. So assume we have SM if we have ICE.
14598 # These have to be linked with before -lX11, unlike the other
14599 # libraries we check for below, so use a different variable.
14600 # John Interrante, Karl Berry
14601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14602 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14603 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14604 then :
14605 printf %s "(cached) " >&6
14606 else $as_nop
14607 ac_check_lib_save_LIBS=$LIBS
14608 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14612 /* Override any GCC internal prototype to avoid an error.
14613 Use char because int might match the return type of a GCC
14614 builtin and then its argument prototype would still apply. */
14615 char IceConnectionNumber ();
14617 main (void)
14619 return IceConnectionNumber ();
14621 return 0;
14623 _ACEOF
14624 if ac_fn_c_try_link "$LINENO"
14625 then :
14626 ac_cv_lib_ICE_IceConnectionNumber=yes
14627 else $as_nop
14628 ac_cv_lib_ICE_IceConnectionNumber=no
14630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14631 conftest$ac_exeext conftest.$ac_ext
14632 LIBS=$ac_check_lib_save_LIBS
14634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14635 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14636 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14637 then :
14638 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14641 LDFLAGS=$ac_save_LDFLAGS
14646 if test "$have_x" = "yes"
14647 then
14648 ac_save_CPPFLAGS="$CPPFLAGS"
14649 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14652 printf %s "checking for -lX11... " >&6; }
14653 if test ${ac_cv_lib_soname_X11+y}
14654 then :
14655 printf %s "(cached) " >&6
14656 else $as_nop
14657 ac_check_soname_save_LIBS=$LIBS
14658 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h. */
14662 /* Override any GCC internal prototype to avoid an error.
14663 Use char because int might match the return type of a GCC
14664 builtin and then its argument prototype would still apply. */
14665 char XCreateWindow ();
14667 main (void)
14669 return XCreateWindow ();
14671 return 0;
14673 _ACEOF
14674 if ac_fn_c_try_link "$LINENO"
14675 then :
14676 case "$LIBEXT" in
14677 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14678 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'` ;;
14679 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14680 if ${ac_cv_lib_soname_X11:+false} :
14681 then :
14682 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14683 fi ;;
14684 esac
14685 else $as_nop
14686 ac_cv_lib_soname_X11=
14688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14689 conftest$ac_exeext conftest.$ac_ext
14690 LIBS=$ac_check_soname_save_LIBS
14692 if ${ac_cv_lib_soname_X11:+false} :
14693 then :
14694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14695 printf "%s\n" "not found" >&6; }
14697 else $as_nop
14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14699 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14701 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14706 printf %s "checking for -lXext... " >&6; }
14707 if test ${ac_cv_lib_soname_Xext+y}
14708 then :
14709 printf %s "(cached) " >&6
14710 else $as_nop
14711 ac_check_soname_save_LIBS=$LIBS
14712 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14719 char XextCreateExtension ();
14721 main (void)
14723 return XextCreateExtension ();
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"
14729 then :
14730 case "$LIBEXT" in
14731 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14732 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'` ;;
14733 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14734 if ${ac_cv_lib_soname_Xext:+false} :
14735 then :
14736 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14737 fi ;;
14738 esac
14739 else $as_nop
14740 ac_cv_lib_soname_Xext=
14742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_check_soname_save_LIBS
14746 if ${ac_cv_lib_soname_Xext:+false} :
14747 then :
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14749 printf "%s\n" "not found" >&6; }
14751 else $as_nop
14752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14753 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14755 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14757 X_LIBS="$X_LIBS -lXext"
14759 X_LIBS="$X_LIBS -lX11"
14761 xlib_includes="#include <X11/Xlib.h>
14762 #include <X11/Xutil.h>"
14764 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14766 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14767 then :
14768 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14771 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14773 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14774 then :
14775 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14778 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14780 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14781 then :
14782 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14785 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14787 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14788 then :
14789 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14792 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14794 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14795 then :
14796 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14799 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14801 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14802 then :
14803 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14806 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14808 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14809 then :
14810 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14813 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14815 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14816 then :
14817 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14820 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14822 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14823 then :
14824 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14829 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14831 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14832 then :
14833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14834 printf %s "checking for -lXcursor... " >&6; }
14835 if test ${ac_cv_lib_soname_Xcursor+y}
14836 then :
14837 printf %s "(cached) " >&6
14838 else $as_nop
14839 ac_check_soname_save_LIBS=$LIBS
14840 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14844 /* Override any GCC internal prototype to avoid an error.
14845 Use char because int might match the return type of a GCC
14846 builtin and then its argument prototype would still apply. */
14847 char XcursorImageLoadCursor ();
14849 main (void)
14851 return XcursorImageLoadCursor ();
14853 return 0;
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"
14857 then :
14858 case "$LIBEXT" in
14859 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14860 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'` ;;
14861 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14862 if ${ac_cv_lib_soname_Xcursor:+false} :
14863 then :
14864 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14865 fi ;;
14866 esac
14867 else $as_nop
14868 ac_cv_lib_soname_Xcursor=
14870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14871 conftest$ac_exeext conftest.$ac_ext
14872 LIBS=$ac_check_soname_save_LIBS
14874 if ${ac_cv_lib_soname_Xcursor:+false} :
14875 then :
14876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14877 printf "%s\n" "not found" >&6; }
14879 else $as_nop
14880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14881 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14883 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14889 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14890 then :
14891 case "x$with_xcursor" in
14892 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14893 xno) ;;
14894 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14895 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14896 esac
14900 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14902 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14903 then :
14904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14905 printf %s "checking for -lXi... " >&6; }
14906 if test ${ac_cv_lib_soname_Xi+y}
14907 then :
14908 printf %s "(cached) " >&6
14909 else $as_nop
14910 ac_check_soname_save_LIBS=$LIBS
14911 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14915 /* Override any GCC internal prototype to avoid an error.
14916 Use char because int might match the return type of a GCC
14917 builtin and then its argument prototype would still apply. */
14918 char XOpenDevice ();
14920 main (void)
14922 return XOpenDevice ();
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"
14928 then :
14929 case "$LIBEXT" in
14930 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14931 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'` ;;
14932 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14933 if ${ac_cv_lib_soname_Xi:+false} :
14934 then :
14935 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14936 fi ;;
14937 esac
14938 else $as_nop
14939 ac_cv_lib_soname_Xi=
14941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14942 conftest$ac_exeext conftest.$ac_ext
14943 LIBS=$ac_check_soname_save_LIBS
14945 if ${ac_cv_lib_soname_Xi:+false} :
14946 then :
14947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14948 printf "%s\n" "not found" >&6; }
14950 else $as_nop
14951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14952 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14954 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14960 if test "x$ac_cv_lib_soname_Xi" = "x"
14961 then :
14962 case "x$with_xinput" in
14963 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14964 xno) ;;
14965 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14966 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14967 esac
14971 if test "x$ac_cv_lib_soname_Xi" != x
14972 then
14973 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14974 then :
14975 case "x$with_xinput2" in
14976 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14977 xno) ;;
14978 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14979 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14980 esac
14985 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14986 then
14987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14988 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14989 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14990 then :
14991 printf %s "(cached) " >&6
14992 else $as_nop
14993 ac_check_lib_save_LIBS=$LIBS
14994 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14998 /* Override any GCC internal prototype to avoid an error.
14999 Use char because int might match the return type of a GCC
15000 builtin and then its argument prototype would still apply. */
15001 char XShmQueryExtension ();
15003 main (void)
15005 return XShmQueryExtension ();
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_link "$LINENO"
15011 then :
15012 ac_cv_lib_Xext_XShmQueryExtension=yes
15013 else $as_nop
15014 ac_cv_lib_Xext_XShmQueryExtension=no
15016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15017 conftest$ac_exeext conftest.$ac_ext
15018 LIBS=$ac_check_lib_save_LIBS
15020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15021 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15022 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15023 then :
15025 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15030 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15031 then :
15032 case "x$with_xshm" in
15033 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15034 xno) ;;
15035 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15036 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15037 esac
15041 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15042 then
15043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15044 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15045 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15046 then :
15047 printf %s "(cached) " >&6
15048 else $as_nop
15049 ac_check_lib_save_LIBS=$LIBS
15050 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15054 /* Override any GCC internal prototype to avoid an error.
15055 Use char because int might match the return type of a GCC
15056 builtin and then its argument prototype would still apply. */
15057 char XShapeQueryExtension ();
15059 main (void)
15061 return XShapeQueryExtension ();
15063 return 0;
15065 _ACEOF
15066 if ac_fn_c_try_link "$LINENO"
15067 then :
15068 ac_cv_lib_Xext_XShapeQueryExtension=yes
15069 else $as_nop
15070 ac_cv_lib_Xext_XShapeQueryExtension=no
15072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_lib_save_LIBS
15076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15077 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15078 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15079 then :
15081 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15086 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15087 then :
15088 case "x$with_xshape" in
15089 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15090 xno) ;;
15091 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15092 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15093 esac
15097 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15098 then
15099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15100 printf %s "checking for -lXxf86vm... " >&6; }
15101 if test ${ac_cv_lib_soname_Xxf86vm+y}
15102 then :
15103 printf %s "(cached) " >&6
15104 else $as_nop
15105 ac_check_soname_save_LIBS=$LIBS
15106 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15110 /* Override any GCC internal prototype to avoid an error.
15111 Use char because int might match the return type of a GCC
15112 builtin and then its argument prototype would still apply. */
15113 char XF86VidModeQueryExtension ();
15115 main (void)
15117 return XF86VidModeQueryExtension ();
15119 return 0;
15121 _ACEOF
15122 if ac_fn_c_try_link "$LINENO"
15123 then :
15124 case "$LIBEXT" in
15125 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15126 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'` ;;
15127 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15128 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15129 then :
15130 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15131 fi ;;
15132 esac
15133 else $as_nop
15134 ac_cv_lib_soname_Xxf86vm=
15136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15137 conftest$ac_exeext conftest.$ac_ext
15138 LIBS=$ac_check_soname_save_LIBS
15140 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15141 then :
15142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15143 printf "%s\n" "not found" >&6; }
15145 else $as_nop
15146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15147 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15149 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15154 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15155 then :
15156 case "x$with_xxf86vm" in
15157 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15158 xno) ;;
15159 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15160 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15161 esac
15165 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15166 then
15167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15168 printf %s "checking for -lXrender... " >&6; }
15169 if test ${ac_cv_lib_soname_Xrender+y}
15170 then :
15171 printf %s "(cached) " >&6
15172 else $as_nop
15173 ac_check_soname_save_LIBS=$LIBS
15174 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15178 /* Override any GCC internal prototype to avoid an error.
15179 Use char because int might match the return type of a GCC
15180 builtin and then its argument prototype would still apply. */
15181 char XRenderQueryExtension ();
15183 main (void)
15185 return XRenderQueryExtension ();
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"
15191 then :
15192 case "$LIBEXT" in
15193 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15194 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'` ;;
15195 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15196 if ${ac_cv_lib_soname_Xrender:+false} :
15197 then :
15198 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15199 fi ;;
15200 esac
15201 else $as_nop
15202 ac_cv_lib_soname_Xrender=
15204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LIBS=$ac_check_soname_save_LIBS
15208 if ${ac_cv_lib_soname_Xrender:+false} :
15209 then :
15210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15211 printf "%s\n" "not found" >&6; }
15213 else $as_nop
15214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15215 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15217 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15220 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15221 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15222 then :
15223 printf %s "(cached) " >&6
15224 else $as_nop
15225 ac_check_lib_save_LIBS=$LIBS
15226 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15230 /* Override any GCC internal prototype to avoid an error.
15231 Use char because int might match the return type of a GCC
15232 builtin and then its argument prototype would still apply. */
15233 char XRenderSetPictureTransform ();
15235 main (void)
15237 return XRenderSetPictureTransform ();
15239 return 0;
15241 _ACEOF
15242 if ac_fn_c_try_link "$LINENO"
15243 then :
15244 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15245 else $as_nop
15246 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15249 conftest$ac_exeext conftest.$ac_ext
15250 LIBS=$ac_check_lib_save_LIBS
15252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15253 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15254 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15255 then :
15257 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15262 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15263 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15264 then :
15265 printf %s "(cached) " >&6
15266 else $as_nop
15267 ac_check_lib_save_LIBS=$LIBS
15268 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15272 /* Override any GCC internal prototype to avoid an error.
15273 Use char because int might match the return type of a GCC
15274 builtin and then its argument prototype would still apply. */
15275 char XRenderCreateLinearGradient ();
15277 main (void)
15279 return XRenderCreateLinearGradient ();
15281 return 0;
15283 _ACEOF
15284 if ac_fn_c_try_link "$LINENO"
15285 then :
15286 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15287 else $as_nop
15288 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15291 conftest$ac_exeext conftest.$ac_ext
15292 LIBS=$ac_check_lib_save_LIBS
15294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15295 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15296 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15297 then :
15299 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15306 if test "x$ac_cv_lib_soname_Xrender" = "x"
15307 then :
15308 case "x$with_xrender" in
15309 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15310 xno) ;;
15311 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15312 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15313 esac
15317 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15318 then
15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 #include <X11/Xlib.h>
15322 #include <X11/extensions/Xrandr.h>
15324 main (void)
15326 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15328 return 0;
15330 _ACEOF
15331 if ac_fn_c_try_compile "$LINENO"
15332 then :
15333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15334 printf %s "checking for -lXrandr... " >&6; }
15335 if test ${ac_cv_lib_soname_Xrandr+y}
15336 then :
15337 printf %s "(cached) " >&6
15338 else $as_nop
15339 ac_check_soname_save_LIBS=$LIBS
15340 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15344 /* Override any GCC internal prototype to avoid an error.
15345 Use char because int might match the return type of a GCC
15346 builtin and then its argument prototype would still apply. */
15347 char XRRQueryExtension ();
15349 main (void)
15351 return XRRQueryExtension ();
15353 return 0;
15355 _ACEOF
15356 if ac_fn_c_try_link "$LINENO"
15357 then :
15358 case "$LIBEXT" in
15359 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15360 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'` ;;
15361 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15362 if ${ac_cv_lib_soname_Xrandr:+false} :
15363 then :
15364 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15365 fi ;;
15366 esac
15367 else $as_nop
15368 ac_cv_lib_soname_Xrandr=
15370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15371 conftest$ac_exeext conftest.$ac_ext
15372 LIBS=$ac_check_soname_save_LIBS
15374 if ${ac_cv_lib_soname_Xrandr:+false} :
15375 then :
15376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15377 printf "%s\n" "not found" >&6; }
15379 else $as_nop
15380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15381 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15383 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15387 #include <X11/Xlib.h>
15388 #include <X11/extensions/Xrandr.h>
15390 main (void)
15392 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15394 return 0;
15396 _ACEOF
15397 if ac_fn_c_try_compile "$LINENO"
15398 then :
15400 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15402 else $as_nop
15403 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15410 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15411 then :
15412 case "x$with_xrandr" in
15413 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15414 xno) ;;
15415 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15416 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15417 esac
15421 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15422 then
15423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15424 /* end confdefs.h. */
15425 #include <X11/Xlib.h>
15426 #include <X11/extensions/Xfixes.h>
15428 main (void)
15430 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15432 return 0;
15434 _ACEOF
15435 if ac_fn_c_try_compile "$LINENO"
15436 then :
15437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15438 printf %s "checking for -lXfixes... " >&6; }
15439 if test ${ac_cv_lib_soname_Xfixes+y}
15440 then :
15441 printf %s "(cached) " >&6
15442 else $as_nop
15443 ac_check_soname_save_LIBS=$LIBS
15444 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15448 /* Override any GCC internal prototype to avoid an error.
15449 Use char because int might match the return type of a GCC
15450 builtin and then its argument prototype would still apply. */
15451 char XFixesQueryVersion ();
15453 main (void)
15455 return XFixesQueryVersion ();
15457 return 0;
15459 _ACEOF
15460 if ac_fn_c_try_link "$LINENO"
15461 then :
15462 case "$LIBEXT" in
15463 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15464 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'` ;;
15465 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15466 if ${ac_cv_lib_soname_Xfixes:+false} :
15467 then :
15468 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15469 fi ;;
15470 esac
15471 else $as_nop
15472 ac_cv_lib_soname_Xfixes=
15474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15475 conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_check_soname_save_LIBS
15478 if ${ac_cv_lib_soname_Xfixes:+false} :
15479 then :
15480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15481 printf "%s\n" "not found" >&6; }
15483 else $as_nop
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15485 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15487 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15494 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15495 then :
15496 case "x$with_xfixes" in
15497 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15498 xno) ;;
15499 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15500 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15501 esac
15505 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15506 then
15507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15509 #include <X11/Xlib.h>
15510 #include <X11/extensions/Xinerama.h>
15512 main (void)
15514 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15516 return 0;
15518 _ACEOF
15519 if ac_fn_c_try_compile "$LINENO"
15520 then :
15521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15522 printf %s "checking for -lXinerama... " >&6; }
15523 if test ${ac_cv_lib_soname_Xinerama+y}
15524 then :
15525 printf %s "(cached) " >&6
15526 else $as_nop
15527 ac_check_soname_save_LIBS=$LIBS
15528 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15532 /* Override any GCC internal prototype to avoid an error.
15533 Use char because int might match the return type of a GCC
15534 builtin and then its argument prototype would still apply. */
15535 char XineramaQueryScreens ();
15537 main (void)
15539 return XineramaQueryScreens ();
15541 return 0;
15543 _ACEOF
15544 if ac_fn_c_try_link "$LINENO"
15545 then :
15546 case "$LIBEXT" in
15547 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15548 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'` ;;
15549 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15550 if ${ac_cv_lib_soname_Xinerama:+false} :
15551 then :
15552 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15553 fi ;;
15554 esac
15555 else $as_nop
15556 ac_cv_lib_soname_Xinerama=
15558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15559 conftest$ac_exeext conftest.$ac_ext
15560 LIBS=$ac_check_soname_save_LIBS
15562 if ${ac_cv_lib_soname_Xinerama:+false} :
15563 then :
15564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15565 printf "%s\n" "not found" >&6; }
15567 else $as_nop
15568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15569 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15571 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15578 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15579 then :
15580 case "x$with_xinerama" in
15581 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15582 xno) ;;
15583 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15584 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15585 esac
15589 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15591 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15592 then :
15593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15594 printf %s "checking for -lXcomposite... " >&6; }
15595 if test ${ac_cv_lib_soname_Xcomposite+y}
15596 then :
15597 printf %s "(cached) " >&6
15598 else $as_nop
15599 ac_check_soname_save_LIBS=$LIBS
15600 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15604 /* Override any GCC internal prototype to avoid an error.
15605 Use char because int might match the return type of a GCC
15606 builtin and then its argument prototype would still apply. */
15607 char XCompositeRedirectWindow ();
15609 main (void)
15611 return XCompositeRedirectWindow ();
15613 return 0;
15615 _ACEOF
15616 if ac_fn_c_try_link "$LINENO"
15617 then :
15618 case "$LIBEXT" in
15619 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15620 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'` ;;
15621 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15622 if ${ac_cv_lib_soname_Xcomposite:+false} :
15623 then :
15624 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15625 fi ;;
15626 esac
15627 else $as_nop
15628 ac_cv_lib_soname_Xcomposite=
15630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15631 conftest$ac_exeext conftest.$ac_ext
15632 LIBS=$ac_check_soname_save_LIBS
15634 if ${ac_cv_lib_soname_Xcomposite:+false} :
15635 then :
15636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15637 printf "%s\n" "not found" >&6; }
15639 else $as_nop
15640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15641 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15643 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15649 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15650 then :
15651 case "x$with_xcomposite" in
15652 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15653 xno) ;;
15654 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15655 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15656 esac
15660 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15662 if test "x$ac_cv_member_XICCallback_callback" = xyes
15663 then :
15665 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15669 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15671 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15672 then :
15674 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15681 opengl_msg=""
15682 if test "x$with_opengl" != "xno"
15683 then
15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15685 printf %s "checking for -lGL... " >&6; }
15686 if test ${ac_cv_lib_soname_GL+y}
15687 then :
15688 printf %s "(cached) " >&6
15689 else $as_nop
15690 ac_check_soname_save_LIBS=$LIBS
15691 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15695 /* Override any GCC internal prototype to avoid an error.
15696 Use char because int might match the return type of a GCC
15697 builtin and then its argument prototype would still apply. */
15698 char glXCreateContext ();
15700 main (void)
15702 return glXCreateContext ();
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_link "$LINENO"
15708 then :
15709 case "$LIBEXT" in
15710 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15711 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'` ;;
15712 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15713 if ${ac_cv_lib_soname_GL:+false} :
15714 then :
15715 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15716 fi ;;
15717 esac
15718 else $as_nop
15719 ac_cv_lib_soname_GL=
15721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15722 conftest$ac_exeext conftest.$ac_ext
15723 LIBS=$ac_check_soname_save_LIBS
15725 if ${ac_cv_lib_soname_GL:+false} :
15726 then :
15727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15728 printf "%s\n" "not found" >&6; }
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15730 printf %s "checking for -lGL... " >&6; }
15731 if test ${ac_cv_lib_soname_GL+y}
15732 then :
15733 printf %s "(cached) " >&6
15734 else $as_nop
15735 ac_check_soname_save_LIBS=$LIBS
15736 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"
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15740 /* Override any GCC internal prototype to avoid an error.
15741 Use char because int might match the return type of a GCC
15742 builtin and then its argument prototype would still apply. */
15743 char glXCreateContext ();
15745 main (void)
15747 return glXCreateContext ();
15749 return 0;
15751 _ACEOF
15752 if ac_fn_c_try_link "$LINENO"
15753 then :
15754 case "$LIBEXT" in
15755 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15756 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'` ;;
15757 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15758 if ${ac_cv_lib_soname_GL:+false} :
15759 then :
15760 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15761 fi ;;
15762 esac
15763 else $as_nop
15764 ac_cv_lib_soname_GL=
15766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15767 conftest$ac_exeext conftest.$ac_ext
15768 LIBS=$ac_check_soname_save_LIBS
15770 if ${ac_cv_lib_soname_GL:+false} :
15771 then :
15772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15773 printf "%s\n" "not found" >&6; }
15774 if test -f /usr/X11R6/lib/libGL.a
15775 then
15776 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15777 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15778 else
15779 opengl_msg="No OpenGL library found on this system."
15781 else $as_nop
15782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15783 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15785 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15787 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"
15789 else $as_nop
15790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15791 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15793 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15795 OPENGL_LIBS="-lGL"
15797 if test "x$with_osmesa" != "xno"
15798 then
15799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15800 printf %s "checking for -lOSMesa... " >&6; }
15801 if test ${ac_cv_lib_soname_OSMesa+y}
15802 then :
15803 printf %s "(cached) " >&6
15804 else $as_nop
15805 ac_check_soname_save_LIBS=$LIBS
15806 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15810 /* Override any GCC internal prototype to avoid an error.
15811 Use char because int might match the return type of a GCC
15812 builtin and then its argument prototype would still apply. */
15813 char OSMesaGetProcAddress ();
15815 main (void)
15817 return OSMesaGetProcAddress ();
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_link "$LINENO"
15823 then :
15824 case "$LIBEXT" in
15825 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15826 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'` ;;
15827 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15828 if ${ac_cv_lib_soname_OSMesa:+false} :
15829 then :
15830 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15831 fi ;;
15832 esac
15833 else $as_nop
15834 ac_cv_lib_soname_OSMesa=
15836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15837 conftest$ac_exeext conftest.$ac_ext
15838 LIBS=$ac_check_soname_save_LIBS
15840 if ${ac_cv_lib_soname_OSMesa:+false} :
15841 then :
15842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15843 printf "%s\n" "not found" >&6; }
15845 else $as_nop
15846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15847 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15849 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15853 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15854 then :
15855 case "x$with_osmesa" in
15856 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15857 xno) ;;
15858 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15859 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15860 esac
15865 if test -n "$opengl_msg"
15866 then :
15867 case "x$with_opengl" in
15868 x) as_fn_append wine_warnings "|$opengl_msg
15869 OpenGL and Direct3D won't be supported." ;;
15870 xno) ;;
15871 *) as_fn_error $? "$opengl_msg
15872 OpenGL and Direct3D won't be supported.
15873 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15874 esac
15878 CPPFLAGS="$ac_save_CPPFLAGS"
15879 else
15880 X_CFLAGS=""
15881 X_LIBS=""
15884 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15885 then
15886 if test "x$X_LIBS" = "x"
15887 then :
15888 case "x$with_x" in
15889 xno) ;;
15890 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15891 without X support, which probably isn't what you want. You will need
15892 to install ${notice_platform}development packages of Xlib at the very least.
15893 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15894 esac
15895 enable_winex11_drv=${enable_winex11_drv:-no}
15897 else
15898 if test "x$X_LIBS" = "x"
15899 then :
15900 case "x$with_x" in
15901 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15902 xno) ;;
15903 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15904 This is an error since --with-x was requested." "$LINENO" 5 ;;
15905 esac
15906 enable_winex11_drv=${enable_winex11_drv:-no}
15910 if test "x$with_wayland" != "xno"
15911 then
15912 rm -f conftest.err
15913 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15914 then :
15915 if test ${PKG_CONFIG+y}
15916 then :
15917 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15921 if ${WAYLAND_CLIENT_LIBS:+false} :
15922 then :
15923 if test ${PKG_CONFIG+y}
15924 then :
15925 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15931 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15932 if test -s conftest.err; then
15933 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15934 cat conftest.err >&5
15936 rm -f conftest.err
15937 ac_save_CPPFLAGS=$CPPFLAGS
15938 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15939 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15940 if test "x$ac_cv_header_wayland_client_h" = xyes
15941 then :
15942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15943 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15944 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15945 then :
15946 printf %s "(cached) " >&6
15947 else $as_nop
15948 ac_check_lib_save_LIBS=$LIBS
15949 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15951 /* end confdefs.h. */
15953 /* Override any GCC internal prototype to avoid an error.
15954 Use char because int might match the return type of a GCC
15955 builtin and then its argument prototype would still apply. */
15956 char wl_display_connect ();
15958 main (void)
15960 return wl_display_connect ();
15962 return 0;
15964 _ACEOF
15965 if ac_fn_c_try_link "$LINENO"
15966 then :
15967 ac_cv_lib_wayland_client_wl_display_connect=yes
15968 else $as_nop
15969 ac_cv_lib_wayland_client_wl_display_connect=no
15971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15972 conftest$ac_exeext conftest.$ac_ext
15973 LIBS=$ac_check_lib_save_LIBS
15975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15976 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15977 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15978 then :
15979 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15980 set dummy wayland-scanner; ac_word=$2
15981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15982 printf %s "checking for $ac_word... " >&6; }
15983 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15984 then :
15985 printf %s "(cached) " >&6
15986 else $as_nop
15987 case $WAYLAND_SCANNER in
15988 [\\/]* | ?:[\\/]*)
15989 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15993 for as_dir in $PATH
15995 IFS=$as_save_IFS
15996 case $as_dir in #(((
15997 '') as_dir=./ ;;
15998 */) ;;
15999 *) as_dir=$as_dir/ ;;
16000 esac
16001 for ac_exec_ext in '' $ac_executable_extensions; do
16002 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16003 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16005 break 2
16007 done
16008 done
16009 IFS=$as_save_IFS
16011 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`"
16013 esac
16015 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
16016 if test -n "$WAYLAND_SCANNER"; then
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16018 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16019 else
16020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16021 printf "%s\n" "no" >&6; }
16025 else $as_nop
16026 WAYLAND_CLIENT_LIBS=""
16031 CPPFLAGS=$ac_save_CPPFLAGS
16033 rm -f conftest.err
16034 if ${XKBCOMMON_CFLAGS:+false} :
16035 then :
16036 if test ${PKG_CONFIG+y}
16037 then :
16038 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16042 if ${XKBCOMMON_LIBS:+false} :
16043 then :
16044 if test ${PKG_CONFIG+y}
16045 then :
16046 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16053 if test -s conftest.err; then
16054 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16055 cat conftest.err >&5
16057 rm -f conftest.err
16058 ac_save_CPPFLAGS=$CPPFLAGS
16059 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16060 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16061 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16062 then :
16063 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16068 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16069 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16070 then :
16071 printf %s "(cached) " >&6
16072 else $as_nop
16073 ac_check_lib_save_LIBS=$LIBS
16074 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16076 /* end confdefs.h. */
16078 /* Override any GCC internal prototype to avoid an error.
16079 Use char because int might match the return type of a GCC
16080 builtin and then its argument prototype would still apply. */
16081 char xkb_context_new ();
16083 main (void)
16085 return xkb_context_new ();
16087 return 0;
16089 _ACEOF
16090 if ac_fn_c_try_link "$LINENO"
16091 then :
16092 ac_cv_lib_xkbcommon_xkb_context_new=yes
16093 else $as_nop
16094 ac_cv_lib_xkbcommon_xkb_context_new=no
16096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16097 conftest$ac_exeext conftest.$ac_ext
16098 LIBS=$ac_check_lib_save_LIBS
16100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16101 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16102 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16103 then :
16105 else $as_nop
16106 XKBCOMMON_LIBS=""
16109 CPPFLAGS=$ac_save_CPPFLAGS
16111 rm -f conftest.err
16112 if ${XKBREGISTRY_CFLAGS:+false} :
16113 then :
16114 if test ${PKG_CONFIG+y}
16115 then :
16116 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16120 if ${XKBREGISTRY_LIBS:+false} :
16121 then :
16122 if test ${PKG_CONFIG+y}
16123 then :
16124 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16131 if test -s conftest.err; then
16132 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16133 cat conftest.err >&5
16135 rm -f conftest.err
16136 ac_save_CPPFLAGS=$CPPFLAGS
16137 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16138 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16139 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16140 then :
16141 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16146 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16147 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16148 then :
16149 printf %s "(cached) " >&6
16150 else $as_nop
16151 ac_check_lib_save_LIBS=$LIBS
16152 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 char rxkb_context_new ();
16161 main (void)
16163 return rxkb_context_new ();
16165 return 0;
16167 _ACEOF
16168 if ac_fn_c_try_link "$LINENO"
16169 then :
16170 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16171 else $as_nop
16172 ac_cv_lib_xkbregistry_rxkb_context_new=no
16174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16175 conftest$ac_exeext conftest.$ac_ext
16176 LIBS=$ac_check_lib_save_LIBS
16178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16179 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16180 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16181 then :
16183 else $as_nop
16184 XKBREGISTRY_LIBS=""
16187 CPPFLAGS=$ac_save_CPPFLAGS
16189 if test "x$with_opengl" != "xno"
16190 then
16191 rm -f conftest.err
16192 if ${EGL_CFLAGS:+false} :
16193 then :
16194 if test ${PKG_CONFIG+y}
16195 then :
16196 EGL_CFLAGS=`$PKG_CONFIG --cflags egl 2>conftest.err`
16200 if ${EGL_LIBS:+false} :
16201 then :
16202 if test ${PKG_CONFIG+y}
16203 then :
16204 EGL_LIBS=`$PKG_CONFIG --libs egl 2>/dev/null`
16208 EGL_LIBS=${EGL_LIBS:-"-lEGL"}
16209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16211 if test -s conftest.err; then
16212 printf %s "$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16213 cat conftest.err >&5
16215 rm -f conftest.err
16216 ac_save_CPPFLAGS=$CPPFLAGS
16217 CPPFLAGS="$CPPFLAGS $EGL_CFLAGS"
16218 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16219 if test "x$ac_cv_header_EGL_egl_h" = xyes
16220 then :
16221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16222 printf %s "checking for -lEGL... " >&6; }
16223 if test ${ac_cv_lib_soname_EGL+y}
16224 then :
16225 printf %s "(cached) " >&6
16226 else $as_nop
16227 ac_check_soname_save_LIBS=$LIBS
16228 LIBS="-lEGL $EGL_LIBS $LIBS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16235 char eglGetProcAddress ();
16237 main (void)
16239 return eglGetProcAddress ();
16241 return 0;
16243 _ACEOF
16244 if ac_fn_c_try_link "$LINENO"
16245 then :
16246 case "$LIBEXT" in
16247 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16248 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'` ;;
16249 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16250 if ${ac_cv_lib_soname_EGL:+false} :
16251 then :
16252 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16253 fi ;;
16254 esac
16255 else $as_nop
16256 ac_cv_lib_soname_EGL=
16258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16259 conftest$ac_exeext conftest.$ac_ext
16260 LIBS=$ac_check_soname_save_LIBS
16262 if ${ac_cv_lib_soname_EGL:+false} :
16263 then :
16264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16265 printf "%s\n" "not found" >&6; }
16267 else $as_nop
16268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16269 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16271 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16277 CPPFLAGS=$ac_save_CPPFLAGS
16279 rm -f conftest.err
16280 if ${WAYLAND_EGL_CFLAGS:+false} :
16281 then :
16282 if test ${PKG_CONFIG+y}
16283 then :
16284 WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16288 if ${WAYLAND_EGL_LIBS:+false} :
16289 then :
16290 if test ${PKG_CONFIG+y}
16291 then :
16292 WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16299 if test -s conftest.err; then
16300 printf %s "$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16301 cat conftest.err >&5
16303 rm -f conftest.err
16304 ac_save_CPPFLAGS=$CPPFLAGS
16305 CPPFLAGS="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16306 ac_fn_c_check_header_compile "$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16307 if test "x$ac_cv_header_wayland_egl_h" = xyes
16308 then :
16309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16310 printf %s "checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16311 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16312 then :
16313 printf %s "(cached) " >&6
16314 else $as_nop
16315 ac_check_lib_save_LIBS=$LIBS
16316 LIBS="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16320 /* Override any GCC internal prototype to avoid an error.
16321 Use char because int might match the return type of a GCC
16322 builtin and then its argument prototype would still apply. */
16323 char wl_egl_window_create ();
16325 main (void)
16327 return wl_egl_window_create ();
16329 return 0;
16331 _ACEOF
16332 if ac_fn_c_try_link "$LINENO"
16333 then :
16334 ac_cv_lib_wayland_egl_wl_egl_window_create=yes
16335 else $as_nop
16336 ac_cv_lib_wayland_egl_wl_egl_window_create=no
16338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16339 conftest$ac_exeext conftest.$ac_ext
16340 LIBS=$ac_check_lib_save_LIBS
16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16343 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16344 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16345 then :
16347 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16349 else $as_nop
16350 WAYLAND_EGL_LIBS=""
16355 CPPFLAGS=$ac_save_CPPFLAGS
16357 if test "x$with_wayland" != "x"
16358 then
16359 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16360 then :
16361 case "x$with_opengl" in
16362 x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16363 xno) ;;
16364 *) as_fn_error $? "EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16365 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16366 esac
16372 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"
16373 then :
16374 case "x$with_wayland" in
16375 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16376 xno) ;;
16377 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16378 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16379 esac
16380 enable_winewayland_drv=${enable_winewayland_drv:-no}
16383 if test "$ac_cv_header_CL_cl_h" = "yes"
16384 then
16385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16386 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16387 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16388 then :
16389 printf %s "(cached) " >&6
16390 else $as_nop
16391 ac_check_lib_save_LIBS=$LIBS
16392 LIBS="-lOpenCL $LIBS"
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16396 /* Override any GCC internal prototype to avoid an error.
16397 Use char because int might match the return type of a GCC
16398 builtin and then its argument prototype would still apply. */
16399 char clGetPlatformInfo ();
16401 main (void)
16403 return clGetPlatformInfo ();
16405 return 0;
16407 _ACEOF
16408 if ac_fn_c_try_link "$LINENO"
16409 then :
16410 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16411 else $as_nop
16412 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16415 conftest$ac_exeext conftest.$ac_ext
16416 LIBS=$ac_check_lib_save_LIBS
16418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16419 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16420 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16421 then :
16422 OPENCL_LIBS="-lOpenCL"
16427 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16428 then :
16429 case "x$with_opencl" in
16430 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16431 xno) ;;
16432 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16433 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16434 esac
16435 enable_opencl=${enable_opencl:-no}
16438 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16439 then
16440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16441 printf %s "checking for pcap_init in -lpcap... " >&6; }
16442 if test ${ac_cv_lib_pcap_pcap_init+y}
16443 then :
16444 printf %s "(cached) " >&6
16445 else $as_nop
16446 ac_check_lib_save_LIBS=$LIBS
16447 LIBS="-lpcap $LIBS"
16448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16449 /* end confdefs.h. */
16451 /* Override any GCC internal prototype to avoid an error.
16452 Use char because int might match the return type of a GCC
16453 builtin and then its argument prototype would still apply. */
16454 char pcap_init ();
16456 main (void)
16458 return pcap_init ();
16460 return 0;
16462 _ACEOF
16463 if ac_fn_c_try_link "$LINENO"
16464 then :
16465 ac_cv_lib_pcap_pcap_init=yes
16466 else $as_nop
16467 ac_cv_lib_pcap_pcap_init=no
16469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16470 conftest$ac_exeext conftest.$ac_ext
16471 LIBS=$ac_check_lib_save_LIBS
16473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16474 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16475 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16476 then :
16477 PCAP_LIBS="-lpcap"
16482 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16483 then :
16484 case "x$with_pcap" in
16485 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16486 xno) ;;
16487 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16488 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16489 esac
16490 enable_wpcap=${enable_wpcap:-no}
16493 if test "x$with_pcsclite" != "xno"
16494 then
16495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16496 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16497 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16498 then :
16499 printf %s "(cached) " >&6
16500 else $as_nop
16501 ac_check_lib_save_LIBS=$LIBS
16502 LIBS="-lpcsclite $LIBS"
16503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16504 /* end confdefs.h. */
16506 /* Override any GCC internal prototype to avoid an error.
16507 Use char because int might match the return type of a GCC
16508 builtin and then its argument prototype would still apply. */
16509 char SCardEstablishContext ();
16511 main (void)
16513 return SCardEstablishContext ();
16515 return 0;
16517 _ACEOF
16518 if ac_fn_c_try_link "$LINENO"
16519 then :
16520 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16521 else $as_nop
16522 ac_cv_lib_pcsclite_SCardEstablishContext=no
16524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16525 conftest$ac_exeext conftest.$ac_ext
16526 LIBS=$ac_check_lib_save_LIBS
16528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16529 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16530 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16531 then :
16532 PCSCLITE_LIBS="-lpcsclite"
16534 else $as_nop
16535 case $host_os in
16536 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16538 esac
16542 if test "x$PCSCLITE_LIBS" = x
16543 then :
16544 case "x$with_pcsclite" in
16545 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16546 xno) ;;
16547 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16548 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16549 esac
16550 enable_winscard=${enable_winscard:-no}
16553 if test "x$with_inotify" != "xno"
16554 then
16555 rm -f conftest.err
16556 if ${INOTIFY_CFLAGS:+false} :
16557 then :
16558 if test ${PKG_CONFIG+y}
16559 then :
16560 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16564 if ${INOTIFY_LIBS:+false} :
16565 then :
16566 if test ${PKG_CONFIG+y}
16567 then :
16568 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16575 if test -s conftest.err; then
16576 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16577 cat conftest.err >&5
16579 rm -f conftest.err
16580 ac_save_CPPFLAGS=$CPPFLAGS
16581 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16582 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16583 if test "x$ac_cv_header_sys_inotify_h" = xyes
16584 then :
16585 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16590 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16591 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16592 then :
16593 printf %s "(cached) " >&6
16594 else $as_nop
16595 ac_check_lib_save_LIBS=$LIBS
16596 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16600 /* Override any GCC internal prototype to avoid an error.
16601 Use char because int might match the return type of a GCC
16602 builtin and then its argument prototype would still apply. */
16603 char inotify_add_watch ();
16605 main (void)
16607 return inotify_add_watch ();
16609 return 0;
16611 _ACEOF
16612 if ac_fn_c_try_link "$LINENO"
16613 then :
16614 ac_cv_lib_inotify_inotify_add_watch=yes
16615 else $as_nop
16616 ac_cv_lib_inotify_inotify_add_watch=no
16618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16619 conftest$ac_exeext conftest.$ac_ext
16620 LIBS=$ac_check_lib_save_LIBS
16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16623 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16624 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16625 then :
16627 else $as_nop
16628 INOTIFY_LIBS=""
16631 CPPFLAGS=$ac_save_CPPFLAGS
16634 if test "$ac_cv_header_sys_inotify_h" != "yes"
16635 then :
16636 case "x$with_inotify" in
16637 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16638 xno) ;;
16639 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16640 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16641 esac
16645 if test "x$with_dbus" != "xno"
16646 then
16647 rm -f conftest.err
16648 if ${DBUS_CFLAGS:+false} :
16649 then :
16650 if test ${PKG_CONFIG+y}
16651 then :
16652 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16656 if ${DBUS_LIBS:+false} :
16657 then :
16658 if test ${PKG_CONFIG+y}
16659 then :
16660 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16667 if test -s conftest.err; then
16668 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16669 cat conftest.err >&5
16671 rm -f conftest.err
16672 ac_save_CPPFLAGS=$CPPFLAGS
16673 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16674 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16675 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16676 then :
16677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16678 printf %s "checking for -ldbus-1... " >&6; }
16679 if test ${ac_cv_lib_soname_dbus_1+y}
16680 then :
16681 printf %s "(cached) " >&6
16682 else $as_nop
16683 ac_check_soname_save_LIBS=$LIBS
16684 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16688 /* Override any GCC internal prototype to avoid an error.
16689 Use char because int might match the return type of a GCC
16690 builtin and then its argument prototype would still apply. */
16691 char dbus_connection_close ();
16693 main (void)
16695 return dbus_connection_close ();
16697 return 0;
16699 _ACEOF
16700 if ac_fn_c_try_link "$LINENO"
16701 then :
16702 case "$LIBEXT" in
16703 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16704 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'` ;;
16705 *) 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'`
16706 if ${ac_cv_lib_soname_dbus_1:+false} :
16707 then :
16708 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16709 fi ;;
16710 esac
16711 else $as_nop
16712 ac_cv_lib_soname_dbus_1=
16714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16715 conftest$ac_exeext conftest.$ac_ext
16716 LIBS=$ac_check_soname_save_LIBS
16718 if ${ac_cv_lib_soname_dbus_1:+false} :
16719 then :
16720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16721 printf "%s\n" "not found" >&6; }
16722 DBUS_CFLAGS=""
16723 else $as_nop
16724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16725 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16727 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16731 else $as_nop
16732 DBUS_CFLAGS=""
16735 CPPFLAGS=$ac_save_CPPFLAGS
16738 case $host_os in
16739 darwin*|macosx*) ;;
16740 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16741 then :
16742 case "x$with_dbus" in
16743 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16744 xno) ;;
16745 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16746 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16747 esac
16749 fi ;;
16750 esac
16752 if test "x$with_gnutls" != "xno"
16753 then
16754 rm -f conftest.err
16755 if ${GNUTLS_CFLAGS:+false} :
16756 then :
16757 if test ${PKG_CONFIG+y}
16758 then :
16759 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16763 if ${GNUTLS_LIBS:+false} :
16764 then :
16765 if test ${PKG_CONFIG+y}
16766 then :
16767 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16771 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16774 if test -s conftest.err; then
16775 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16776 cat conftest.err >&5
16778 rm -f conftest.err
16779 ac_save_CPPFLAGS=$CPPFLAGS
16780 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16781 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16782 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16783 then :
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16786 #include <gnutls/gnutls.h>
16787 #include <gnutls/crypto.h>
16789 main (void)
16791 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16793 return 0;
16795 _ACEOF
16796 if ac_fn_c_try_compile "$LINENO"
16797 then :
16798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16799 printf %s "checking for -lgnutls... " >&6; }
16800 if test ${ac_cv_lib_soname_gnutls+y}
16801 then :
16802 printf %s "(cached) " >&6
16803 else $as_nop
16804 ac_check_soname_save_LIBS=$LIBS
16805 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16809 /* Override any GCC internal prototype to avoid an error.
16810 Use char because int might match the return type of a GCC
16811 builtin and then its argument prototype would still apply. */
16812 char gnutls_global_init ();
16814 main (void)
16816 return gnutls_global_init ();
16818 return 0;
16820 _ACEOF
16821 if ac_fn_c_try_link "$LINENO"
16822 then :
16823 case "$LIBEXT" in
16824 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16825 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'` ;;
16826 *) 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'`
16827 if ${ac_cv_lib_soname_gnutls:+false} :
16828 then :
16829 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'`
16830 fi ;;
16831 esac
16832 else $as_nop
16833 ac_cv_lib_soname_gnutls=
16835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16836 conftest$ac_exeext conftest.$ac_ext
16837 LIBS=$ac_check_soname_save_LIBS
16839 if ${ac_cv_lib_soname_gnutls:+false} :
16840 then :
16841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16842 printf "%s\n" "not found" >&6; }
16843 GNUTLS_CFLAGS=""
16844 else $as_nop
16845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16846 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16848 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16852 ac_wine_check_funcs_save_LIBS="$LIBS"
16853 LIBS="$LIBS $GNUTLS_LIBS"
16855 for ac_func in gnutls_cipher_init
16856 do :
16857 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16858 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16859 then :
16860 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16862 else $as_nop
16863 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16866 done
16867 LIBS="$ac_wine_check_funcs_save_LIBS"
16869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16870 else $as_nop
16871 GNUTLS_CFLAGS=""
16874 CPPFLAGS=$ac_save_CPPFLAGS
16877 if test "x$ac_cv_lib_soname_gnutls" = "x"
16878 then :
16879 case "x$with_gnutls" in
16880 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16881 xno) ;;
16882 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16883 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16884 esac
16888 if test "x$with_sane" != "xno"
16889 then
16890 rm -f conftest.err
16891 if ${SANE_CFLAGS:+false} :
16892 then :
16893 if test ${PKG_CONFIG+y}
16894 then :
16895 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16898 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16899 if ${SANE_LIBS:+false} :
16900 then :
16901 if test ${PKG_CONFIG+y}
16902 then :
16903 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16906 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16910 if test -s conftest.err; then
16911 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16912 cat conftest.err >&5
16914 rm -f conftest.err
16915 ac_save_CPPFLAGS=$CPPFLAGS
16916 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16917 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16918 if test "x$ac_cv_header_sane_sane_h" = xyes
16919 then :
16920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16921 printf %s "checking for sane_init in -lsane... " >&6; }
16922 if test ${ac_cv_lib_sane_sane_init+y}
16923 then :
16924 printf %s "(cached) " >&6
16925 else $as_nop
16926 ac_check_lib_save_LIBS=$LIBS
16927 LIBS="-lsane $SANE_LIBS $LIBS"
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16931 /* Override any GCC internal prototype to avoid an error.
16932 Use char because int might match the return type of a GCC
16933 builtin and then its argument prototype would still apply. */
16934 char sane_init ();
16936 main (void)
16938 return sane_init ();
16940 return 0;
16942 _ACEOF
16943 if ac_fn_c_try_link "$LINENO"
16944 then :
16945 ac_cv_lib_sane_sane_init=yes
16946 else $as_nop
16947 ac_cv_lib_sane_sane_init=no
16949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16950 conftest$ac_exeext conftest.$ac_ext
16951 LIBS=$ac_check_lib_save_LIBS
16953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16954 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16955 if test "x$ac_cv_lib_sane_sane_init" = xyes
16956 then :
16962 CPPFLAGS=$ac_save_CPPFLAGS
16965 if test "$ac_cv_lib_sane_sane_init" != "yes"
16966 then :
16967 case "x$with_sane" in
16968 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16969 xno) ;;
16970 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16971 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16972 esac
16973 enable_sane_ds=${enable_sane_ds:-no}
16976 if test "x$with_usb" != "xno"
16977 then
16978 rm -f conftest.err
16979 if ${USB_CFLAGS:+false} :
16980 then :
16981 if test ${PKG_CONFIG+y}
16982 then :
16983 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16987 if ${USB_LIBS:+false} :
16988 then :
16989 if test ${PKG_CONFIG+y}
16990 then :
16991 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16995 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16998 if test -s conftest.err; then
16999 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17000 cat conftest.err >&5
17002 rm -f conftest.err
17003 ac_save_CPPFLAGS=$CPPFLAGS
17004 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
17005 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17006 if test "x$ac_cv_header_libusb_h" = xyes
17007 then :
17008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17009 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17010 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17011 then :
17012 printf %s "(cached) " >&6
17013 else $as_nop
17014 ac_check_lib_save_LIBS=$LIBS
17015 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17019 /* Override any GCC internal prototype to avoid an error.
17020 Use char because int might match the return type of a GCC
17021 builtin and then its argument prototype would still apply. */
17022 char libusb_interrupt_event_handler ();
17024 main (void)
17026 return libusb_interrupt_event_handler ();
17028 return 0;
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"
17032 then :
17033 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
17034 else $as_nop
17035 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
17037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17038 conftest$ac_exeext conftest.$ac_ext
17039 LIBS=$ac_check_lib_save_LIBS
17041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17042 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17043 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17044 then :
17046 else $as_nop
17047 USB_LIBS=""
17050 else $as_nop
17051 USB_LIBS=""
17054 CPPFLAGS=$ac_save_CPPFLAGS
17057 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17058 then :
17059 case "x$with_usb" in
17060 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17061 xno) ;;
17062 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17063 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17064 esac
17065 enable_wineusb_sys=${enable_wineusb_sys:-no}
17068 if test "x$with_v4l2" != "xno"
17069 then
17070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17071 printf %s "checking for -lv4l2... " >&6; }
17072 if test ${ac_cv_lib_soname_v4l2+y}
17073 then :
17074 printf %s "(cached) " >&6
17075 else $as_nop
17076 ac_check_soname_save_LIBS=$LIBS
17077 LIBS="-lv4l2 $LIBS"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17081 /* Override any GCC internal prototype to avoid an error.
17082 Use char because int might match the return type of a GCC
17083 builtin and then its argument prototype would still apply. */
17084 char v4l2_open ();
17086 main (void)
17088 return v4l2_open ();
17090 return 0;
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"
17094 then :
17095 case "$LIBEXT" in
17096 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17097 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'` ;;
17098 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17099 if ${ac_cv_lib_soname_v4l2:+false} :
17100 then :
17101 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17102 fi ;;
17103 esac
17104 else $as_nop
17105 ac_cv_lib_soname_v4l2=
17107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17108 conftest$ac_exeext conftest.$ac_ext
17109 LIBS=$ac_check_soname_save_LIBS
17111 if ${ac_cv_lib_soname_v4l2:+false} :
17112 then :
17113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17114 printf "%s\n" "not found" >&6; }
17116 else $as_nop
17117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17118 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17120 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17125 if test "x$ac_cv_lib_soname_v4l2" = "x"
17126 then :
17127 case "x$with_v4l2" in
17128 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
17129 xno) ;;
17130 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
17131 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17132 esac
17136 if test "x$with_gphoto" != "xno"
17137 then
17138 rm -f conftest.err
17139 if ${GPHOTO2_CFLAGS:+false} :
17140 then :
17141 if test ${PKG_CONFIG+y}
17142 then :
17143 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17146 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17147 if ${GPHOTO2_LIBS:+false} :
17148 then :
17149 if test ${PKG_CONFIG+y}
17150 then :
17151 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17154 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17155 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
17156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17158 if test -s conftest.err; then
17159 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17160 cat conftest.err >&5
17162 rm -f conftest.err
17163 ac_save_CPPFLAGS=$CPPFLAGS
17164 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
17165 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17166 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17167 then :
17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17169 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
17170 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17171 then :
17172 printf %s "(cached) " >&6
17173 else $as_nop
17174 ac_check_lib_save_LIBS=$LIBS
17175 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 /* Override any GCC internal prototype to avoid an error.
17180 Use char because int might match the return type of a GCC
17181 builtin and then its argument prototype would still apply. */
17182 char gp_camera_new ();
17184 main (void)
17186 return gp_camera_new ();
17188 return 0;
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"
17192 then :
17193 ac_cv_lib_gphoto2_gp_camera_new=yes
17194 else $as_nop
17195 ac_cv_lib_gphoto2_gp_camera_new=no
17197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17198 conftest$ac_exeext conftest.$ac_ext
17199 LIBS=$ac_check_lib_save_LIBS
17201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17202 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17203 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17204 then :
17210 CPPFLAGS=$ac_save_CPPFLAGS
17212 rm -f conftest.err
17213 if ${GPHOTO2_PORT_CFLAGS:+false} :
17214 then :
17215 if test ${PKG_CONFIG+y}
17216 then :
17217 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17220 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17221 if ${GPHOTO2_PORT_LIBS:+false} :
17222 then :
17223 if test ${PKG_CONFIG+y}
17224 then :
17225 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17228 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17229 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17232 if test -s conftest.err; then
17233 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17234 cat conftest.err >&5
17236 rm -f conftest.err
17237 ac_save_CPPFLAGS=$CPPFLAGS
17238 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17239 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17240 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17241 then :
17242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17243 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17244 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17245 then :
17246 printf %s "(cached) " >&6
17247 else $as_nop
17248 ac_check_lib_save_LIBS=$LIBS
17249 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17253 /* Override any GCC internal prototype to avoid an error.
17254 Use char because int might match the return type of a GCC
17255 builtin and then its argument prototype would still apply. */
17256 char gp_port_info_list_new ();
17258 main (void)
17260 return gp_port_info_list_new ();
17262 return 0;
17264 _ACEOF
17265 if ac_fn_c_try_link "$LINENO"
17266 then :
17267 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17268 else $as_nop
17269 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17272 conftest$ac_exeext conftest.$ac_ext
17273 LIBS=$ac_check_lib_save_LIBS
17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17276 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17277 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17278 then :
17280 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17282 else $as_nop
17283 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17286 else $as_nop
17287 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17290 CPPFLAGS=$ac_save_CPPFLAGS
17293 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17294 then :
17295 case "x$with_gphoto" in
17296 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17297 xno) ;;
17298 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17299 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17300 esac
17301 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17303 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17304 then :
17305 case "x$with_gphoto" in
17306 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17307 xno) ;;
17308 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17309 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17310 esac
17315 if test "$ac_cv_header_resolv_h" = "yes"
17316 then
17317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17318 printf %s "checking for resolver library... " >&6; }
17319 if test ${ac_cv_have_resolv+y}
17320 then :
17321 printf %s "(cached) " >&6
17322 else $as_nop
17323 ac_save_LIBS="$LIBS"
17324 for lib in '' -lresolv
17326 LIBS="$lib $ac_save_LIBS"
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 #ifdef HAVE_NETINET_IN_H
17330 #include <netinet/in.h>
17331 #endif
17332 #include <resolv.h>
17334 main (void)
17336 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"
17342 then :
17343 ac_cv_have_resolv=${lib:-"none required"}
17344 else $as_nop
17345 ac_cv_have_resolv="not found"
17347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17348 conftest$ac_exeext conftest.$ac_ext
17349 test "x$ac_cv_have_resolv" = "xnot found" || break
17350 done
17351 LIBS="$ac_save_LIBS"
17353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17354 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17356 case "$ac_cv_have_resolv" in
17357 "not found") ;;
17358 "none required")
17360 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17363 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17365 RESOLV_LIBS=$ac_cv_have_resolv
17367 esac
17369 if test "x$ac_cv_have_resolv" != "xnot found"
17370 then
17371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17372 printf %s "checking for res_getservers... " >&6; }
17373 if test ${ac_cv_have_res_getservers+y}
17374 then :
17375 printf %s "(cached) " >&6
17376 else $as_nop
17377 ac_save_LIBS="$LIBS"
17378 LIBS="$RESOLV_LIBS $LIBS"
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 #include <resolv.h>
17383 main (void)
17385 res_getservers(NULL, NULL, 0);
17387 return 0;
17389 _ACEOF
17390 if ac_fn_c_try_link "$LINENO"
17391 then :
17392 ac_cv_have_res_getservers=yes
17393 else $as_nop
17394 ac_cv_have_res_getservers=no
17396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17397 conftest$ac_exeext conftest.$ac_ext
17398 LIBS="$ac_save_LIBS"
17400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17401 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17402 if test "$ac_cv_have_res_getservers" = "yes"
17403 then
17405 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17411 if test "x$with_freetype" != "xno"
17412 then
17413 rm -f conftest.err
17414 if ${FREETYPE_CFLAGS:+false} :
17415 then :
17416 if test ${PKG_CONFIG+y}
17417 then :
17418 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17421 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17422 if ${FREETYPE_LIBS:+false} :
17423 then :
17424 if test ${PKG_CONFIG+y}
17425 then :
17426 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17429 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17430 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17433 if test -s conftest.err; then
17434 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17435 cat conftest.err >&5
17437 rm -f conftest.err
17438 ac_save_CPPFLAGS=$CPPFLAGS
17439 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17440 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17441 if test "x$ac_cv_header_ft2build_h" = xyes
17442 then :
17443 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17447 if test "$ac_cv_header_ft2build_h" = "yes"
17448 then
17449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17450 printf %s "checking for -lfreetype... " >&6; }
17451 if test ${ac_cv_lib_soname_freetype+y}
17452 then :
17453 printf %s "(cached) " >&6
17454 else $as_nop
17455 ac_check_soname_save_LIBS=$LIBS
17456 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17460 /* Override any GCC internal prototype to avoid an error.
17461 Use char because int might match the return type of a GCC
17462 builtin and then its argument prototype would still apply. */
17463 char FT_Init_FreeType ();
17465 main (void)
17467 return FT_Init_FreeType ();
17469 return 0;
17471 _ACEOF
17472 if ac_fn_c_try_link "$LINENO"
17473 then :
17474 case "$LIBEXT" in
17475 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17476 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'` ;;
17477 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17478 if ${ac_cv_lib_soname_freetype:+false} :
17479 then :
17480 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17481 fi ;;
17482 esac
17483 else $as_nop
17484 ac_cv_lib_soname_freetype=
17486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17487 conftest$ac_exeext conftest.$ac_ext
17488 LIBS=$ac_check_soname_save_LIBS
17490 if ${ac_cv_lib_soname_freetype:+false} :
17491 then :
17492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17493 printf "%s\n" "not found" >&6; }
17494 FREETYPE_LIBS=""
17495 else $as_nop
17496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17497 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17499 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17502 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17504 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17505 #include FT_MODULE_H
17507 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17508 then :
17510 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17516 else
17517 FREETYPE_CFLAGS=""
17518 FREETYPE_LIBS=""
17520 CPPFLAGS=$ac_save_CPPFLAGS
17523 if test "x$ac_cv_lib_soname_freetype" = x
17524 then :
17525 case "x$with_freetype" in
17526 xno) ;;
17527 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17528 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17529 esac
17530 enable_fonts=${enable_fonts:-no}
17533 ac_wine_check_funcs_save_LIBS="$LIBS"
17534 LIBS="$LIBS $PTHREAD_LIBS"
17535 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17536 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17537 then :
17538 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17542 LIBS="$ac_wine_check_funcs_save_LIBS"
17544 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17545 then
17546 if test "$ac_cv_header_gettext_po_h" = "yes"
17547 then
17548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17549 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17550 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17551 then :
17552 printf %s "(cached) " >&6
17553 else $as_nop
17554 ac_check_lib_save_LIBS=$LIBS
17555 LIBS="-lgettextpo $LIBS"
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17559 /* Override any GCC internal prototype to avoid an error.
17560 Use char because int might match the return type of a GCC
17561 builtin and then its argument prototype would still apply. */
17562 char po_message_msgctxt ();
17564 main (void)
17566 return po_message_msgctxt ();
17568 return 0;
17570 _ACEOF
17571 if ac_fn_c_try_link "$LINENO"
17572 then :
17573 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17574 else $as_nop
17575 ac_cv_lib_gettextpo_po_message_msgctxt=no
17577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17578 conftest$ac_exeext conftest.$ac_ext
17579 LIBS=$ac_check_lib_save_LIBS
17581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17582 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17583 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17584 then :
17586 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17588 GETTEXTPO_LIBS="-lgettextpo"
17593 if test "x$GETTEXTPO_LIBS" = "x"
17594 then :
17595 case "x$with_gettextpo" in
17596 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17597 xno) ;;
17598 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17599 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17600 esac
17603 if test "$srcdir" != .
17604 then :
17605 case "x$with_gettextpo" in
17606 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17607 xno) ;;
17608 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17609 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17610 esac
17615 if test "x$with_pulse" != "xno";
17616 then
17617 rm -f conftest.err
17618 if ${PULSE_CFLAGS:+false} :
17619 then :
17620 if test ${PKG_CONFIG+y}
17621 then :
17622 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17626 if ${PULSE_LIBS:+false} :
17627 then :
17628 if test ${PKG_CONFIG+y}
17629 then :
17630 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17637 if test -s conftest.err; then
17638 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17639 cat conftest.err >&5
17641 rm -f conftest.err
17642 ac_save_CPPFLAGS=$CPPFLAGS
17643 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17644 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17645 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17646 then :
17647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17648 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17649 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17650 then :
17651 printf %s "(cached) " >&6
17652 else $as_nop
17653 ac_check_lib_save_LIBS=$LIBS
17654 LIBS="-lpulse $PULSE_LIBS $LIBS"
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17658 /* Override any GCC internal prototype to avoid an error.
17659 Use char because int might match the return type of a GCC
17660 builtin and then its argument prototype would still apply. */
17661 char pa_stream_is_corked ();
17663 main (void)
17665 return pa_stream_is_corked ();
17667 return 0;
17669 _ACEOF
17670 if ac_fn_c_try_link "$LINENO"
17671 then :
17672 ac_cv_lib_pulse_pa_stream_is_corked=yes
17673 else $as_nop
17674 ac_cv_lib_pulse_pa_stream_is_corked=no
17676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17677 conftest$ac_exeext conftest.$ac_ext
17678 LIBS=$ac_check_lib_save_LIBS
17680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17681 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17682 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17683 then :
17685 else $as_nop
17686 PULSE_LIBS=""
17689 else $as_nop
17690 PULSE_LIBS=""
17693 CPPFLAGS=$ac_save_CPPFLAGS
17696 if test -z "$PULSE_LIBS"
17697 then :
17698 case "x$with_pulse" in
17699 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17700 xno) ;;
17701 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17702 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17703 esac
17704 enable_winepulse_drv=${enable_winepulse_drv:-no}
17707 if test "x$with_gstreamer" != "xno"
17708 then
17709 rm -f conftest.err
17710 if ${GSTREAMER_CFLAGS:+false} :
17711 then :
17712 if test ${PKG_CONFIG+y}
17713 then :
17714 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17718 if ${GSTREAMER_LIBS:+false} :
17719 then :
17720 if test ${PKG_CONFIG+y}
17721 then :
17722 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17727 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
17728 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
17729 if test -s conftest.err; then
17730 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17731 cat conftest.err >&5
17733 rm -f conftest.err
17734 ac_save_CPPFLAGS=$CPPFLAGS
17735 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17736 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17737 if test "x$ac_cv_header_gst_gst_h" = xyes
17738 then :
17739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17740 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17743 #include <gst/gst.h>
17745 main (void)
17747 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17749 return 0;
17751 _ACEOF
17752 if ac_fn_c_try_compile "$LINENO"
17753 then :
17754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17755 printf "%s\n" "yes" >&6; }
17756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17757 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17758 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17759 then :
17760 printf %s "(cached) " >&6
17761 else $as_nop
17762 ac_check_lib_save_LIBS=$LIBS
17763 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17767 /* Override any GCC internal prototype to avoid an error.
17768 Use char because int might match the return type of a GCC
17769 builtin and then its argument prototype would still apply. */
17770 char gst_pad_new ();
17772 main (void)
17774 return gst_pad_new ();
17776 return 0;
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"
17780 then :
17781 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17782 else $as_nop
17783 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17786 conftest$ac_exeext conftest.$ac_ext
17787 LIBS=$ac_check_lib_save_LIBS
17789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17790 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17791 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17792 then :
17796 else $as_nop
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17798 printf "%s\n" "no" >&6; }
17799 ac_glib2_broken=yes
17800 enable_winegstreamer=${enable_winegstreamer:-no}
17801 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17806 CPPFLAGS=$ac_save_CPPFLAGS
17809 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17810 then :
17811 case "x$with_gstreamer" in
17812 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17813 xno) ;;
17814 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17815 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17816 esac
17817 enable_winegstreamer=${enable_winegstreamer:-no}
17820 ALSA_LIBS=""
17822 if test "x$with_alsa" != "xno"
17823 then
17824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17825 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17826 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17827 then :
17828 printf %s "(cached) " >&6
17829 else $as_nop
17830 ac_check_lib_save_LIBS=$LIBS
17831 LIBS="-lasound $LIBS"
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17835 /* Override any GCC internal prototype to avoid an error.
17836 Use char because int might match the return type of a GCC
17837 builtin and then its argument prototype would still apply. */
17838 char snd_pcm_hw_params_get_access_mask ();
17840 main (void)
17842 return snd_pcm_hw_params_get_access_mask ();
17844 return 0;
17846 _ACEOF
17847 if ac_fn_c_try_link "$LINENO"
17848 then :
17849 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17850 else $as_nop
17851 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17854 conftest$ac_exeext conftest.$ac_ext
17855 LIBS=$ac_check_lib_save_LIBS
17857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17858 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17859 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17860 then :
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17863 #include <alsa/asoundlib.h>
17865 main (void)
17867 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17869 return 0;
17871 _ACEOF
17872 if ac_fn_c_try_compile "$LINENO"
17873 then :
17874 ALSA_LIBS="-lasound"
17876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17880 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17882 if test "x$with_oss" != xno
17883 then
17884 ac_save_CPPFLAGS="$CPPFLAGS"
17885 if test -f /etc/oss.conf
17886 then
17887 . /etc/oss.conf
17889 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17890 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17891 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17892 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17893 then :
17894 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17896 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17897 then :
17899 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17901 OSS4_CFLAGS="$ac_oss_incl"
17903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17904 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17905 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17906 then :
17907 printf %s "(cached) " >&6
17908 else $as_nop
17909 ac_check_lib_save_LIBS=$LIBS
17910 LIBS="-lossaudio $LIBS"
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17914 /* Override any GCC internal prototype to avoid an error.
17915 Use char because int might match the return type of a GCC
17916 builtin and then its argument prototype would still apply. */
17917 char _oss_ioctl ();
17919 main (void)
17921 return _oss_ioctl ();
17923 return 0;
17925 _ACEOF
17926 if ac_fn_c_try_link "$LINENO"
17927 then :
17928 ac_cv_lib_ossaudio__oss_ioctl=yes
17929 else $as_nop
17930 ac_cv_lib_ossaudio__oss_ioctl=no
17932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17933 conftest$ac_exeext conftest.$ac_ext
17934 LIBS=$ac_check_lib_save_LIBS
17936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17937 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17938 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17939 then :
17940 OSS4_LIBS="-lossaudio"
17948 CPPFLAGS="$ac_save_CPPFLAGS"
17950 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17951 then :
17952 case "x$with_oss" in
17953 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17954 xno) ;;
17955 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17956 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17957 esac
17958 enable_wineoss_drv=${enable_wineoss_drv:-no}
17961 if test "x$with_udev" != "xno"
17962 then
17963 rm -f conftest.err
17964 if ${UDEV_CFLAGS:+false} :
17965 then :
17966 if test ${PKG_CONFIG+y}
17967 then :
17968 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17972 if ${UDEV_LIBS:+false} :
17973 then :
17974 if test ${PKG_CONFIG+y}
17975 then :
17976 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17980 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17983 if test -s conftest.err; then
17984 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17985 cat conftest.err >&5
17987 rm -f conftest.err
17988 ac_save_CPPFLAGS=$CPPFLAGS
17989 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17990 for ac_header in libudev.h
17991 do :
17992 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17993 if test "x$ac_cv_header_libudev_h" = xyes
17994 then :
17995 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17997 printf %s "checking for udev_new in -ludev... " >&6; }
17998 if test ${ac_cv_lib_udev_udev_new+y}
17999 then :
18000 printf %s "(cached) " >&6
18001 else $as_nop
18002 ac_check_lib_save_LIBS=$LIBS
18003 LIBS="-ludev $UDEV_LIBS $LIBS"
18004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18007 /* Override any GCC internal prototype to avoid an error.
18008 Use char because int might match the return type of a GCC
18009 builtin and then its argument prototype would still apply. */
18010 char udev_new ();
18012 main (void)
18014 return udev_new ();
18016 return 0;
18018 _ACEOF
18019 if ac_fn_c_try_link "$LINENO"
18020 then :
18021 ac_cv_lib_udev_udev_new=yes
18022 else $as_nop
18023 ac_cv_lib_udev_udev_new=no
18025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18026 conftest$ac_exeext conftest.$ac_ext
18027 LIBS=$ac_check_lib_save_LIBS
18029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18030 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18031 if test "x$ac_cv_lib_udev_udev_new" = xyes
18032 then :
18034 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18036 else $as_nop
18037 UDEV_LIBS=""
18040 else $as_nop
18041 UDEV_LIBS=""
18044 done
18045 CPPFLAGS=$ac_save_CPPFLAGS
18048 if test "x$UDEV_LIBS" = "x"
18049 then :
18050 case "x$with_udev" in
18051 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18052 xno) ;;
18053 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
18054 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18055 esac
18059 if test $HOST_ARCH = x86_64
18060 then
18061 if test "x$with_unwind" != xno
18062 then
18063 rm -f conftest.err
18064 if ${UNWIND_CFLAGS:+false} :
18065 then :
18066 if test ${PKG_CONFIG+y}
18067 then :
18068 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18072 if ${UNWIND_LIBS:+false} :
18073 then :
18074 if test ${PKG_CONFIG+y}
18075 then :
18076 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18080 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
18081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18083 if test -s conftest.err; then
18084 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18085 cat conftest.err >&5
18087 rm -f conftest.err
18088 ac_save_CPPFLAGS=$CPPFLAGS
18089 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
18090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18091 printf %s "checking for unw_step... " >&6; }
18092 if test ${wine_cv_have_unw_step+y}
18093 then :
18094 printf %s "(cached) " >&6
18095 else $as_nop
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18098 #define UNW_LOCAL_ONLY
18099 #include <libunwind.h>
18101 main (void)
18103 unw_cursor_t cursor; unw_step( &cursor );
18105 return 0;
18107 _ACEOF
18108 if ac_fn_c_try_link "$LINENO"
18109 then :
18110 wine_cv_have_unw_step="yes"
18111 else $as_nop
18112 wine_cv_have_unw_step="no"
18114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18115 conftest$ac_exeext conftest.$ac_ext
18117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18118 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18119 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
18120 then
18121 save_libs=$LIBS
18122 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
18123 LIBS="$UNWIND_LIBS $LIBS"
18124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18125 printf %s "checking for unw_step in libunwind... " >&6; }
18126 if test ${wine_cv_have_libunwind_unw_step+y}
18127 then :
18128 printf %s "(cached) " >&6
18129 else $as_nop
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18132 #define UNW_LOCAL_ONLY
18133 #include <libunwind.h>
18135 main (void)
18137 unw_cursor_t cursor; unw_step( &cursor );
18139 return 0;
18141 _ACEOF
18142 if ac_fn_c_try_link "$LINENO"
18143 then :
18144 wine_cv_have_libunwind_unw_step="yes"
18145 else $as_nop
18146 wine_cv_have_libunwind_unw_step="no"
18148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18149 conftest$ac_exeext conftest.$ac_ext
18151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18152 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18153 LIBS=$save_libs
18155 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
18156 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18157 then
18159 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18162 CPPFLAGS=$ac_save_CPPFLAGS
18165 case $host in
18166 *-darwin*)
18167 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18168 then :
18169 case "x$with_unwind" in
18170 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18171 xno) ;;
18172 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
18173 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18174 esac
18176 fi ;;
18177 esac
18180 if test "x$with_sdl" != "xno"
18181 then
18182 rm -f conftest.err
18183 if ${SDL2_CFLAGS:+false} :
18184 then :
18185 if test ${PKG_CONFIG+y}
18186 then :
18187 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18191 if ${SDL2_LIBS:+false} :
18192 then :
18193 if test ${PKG_CONFIG+y}
18194 then :
18195 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18199 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
18200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18202 if test -s conftest.err; then
18203 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18204 cat conftest.err >&5
18206 rm -f conftest.err
18207 ac_save_CPPFLAGS=$CPPFLAGS
18208 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18209 for ac_header in SDL.h
18210 do :
18211 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18212 if test "x$ac_cv_header_SDL_h" = xyes
18213 then :
18214 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18216 printf %s "checking for -lSDL2... " >&6; }
18217 if test ${ac_cv_lib_soname_SDL2+y}
18218 then :
18219 printf %s "(cached) " >&6
18220 else $as_nop
18221 ac_check_soname_save_LIBS=$LIBS
18222 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18226 /* Override any GCC internal prototype to avoid an error.
18227 Use char because int might match the return type of a GCC
18228 builtin and then its argument prototype would still apply. */
18229 char SDL_Init ();
18231 main (void)
18233 return SDL_Init ();
18235 return 0;
18237 _ACEOF
18238 if ac_fn_c_try_link "$LINENO"
18239 then :
18240 case "$LIBEXT" in
18241 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18242 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'` ;;
18243 *) 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'`
18244 if ${ac_cv_lib_soname_SDL2:+false} :
18245 then :
18246 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18247 fi ;;
18248 esac
18249 else $as_nop
18250 ac_cv_lib_soname_SDL2=
18252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18253 conftest$ac_exeext conftest.$ac_ext
18254 LIBS=$ac_check_soname_save_LIBS
18256 if ${ac_cv_lib_soname_SDL2:+false} :
18257 then :
18258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18259 printf "%s\n" "not found" >&6; }
18261 else $as_nop
18262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18263 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18265 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18271 done
18272 CPPFLAGS=$ac_save_CPPFLAGS
18275 if test "x$ac_cv_lib_soname_SDL2" = "x"
18276 then :
18277 case "x$with_sdl" in
18278 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18279 xno) ;;
18280 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18281 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18282 esac
18286 if test "x$with_capi" != "xno"
18287 then
18288 rm -f conftest.err
18289 if ${CAPI20_CFLAGS:+false} :
18290 then :
18291 if test ${PKG_CONFIG+y}
18292 then :
18293 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18297 if ${CAPI20_LIBS:+false} :
18298 then :
18299 if test ${PKG_CONFIG+y}
18300 then :
18301 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18308 if test -s conftest.err; then
18309 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18310 cat conftest.err >&5
18312 rm -f conftest.err
18313 ac_save_CPPFLAGS=$CPPFLAGS
18314 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18315 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18317 if test "x$ac_cv_header_capi20_h" = xyes
18318 then :
18319 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18322 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18324 if test "x$ac_cv_header_linux_capi_h" = xyes
18325 then :
18326 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18330 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18331 then
18332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18333 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18334 if test ${ac_cv_lib_capi20_capi20_register+y}
18335 then :
18336 printf %s "(cached) " >&6
18337 else $as_nop
18338 ac_check_lib_save_LIBS=$LIBS
18339 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18343 /* Override any GCC internal prototype to avoid an error.
18344 Use char because int might match the return type of a GCC
18345 builtin and then its argument prototype would still apply. */
18346 char capi20_register ();
18348 main (void)
18350 return capi20_register ();
18352 return 0;
18354 _ACEOF
18355 if ac_fn_c_try_link "$LINENO"
18356 then :
18357 ac_cv_lib_capi20_capi20_register=yes
18358 else $as_nop
18359 ac_cv_lib_capi20_capi20_register=no
18361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18362 conftest$ac_exeext conftest.$ac_ext
18363 LIBS=$ac_check_lib_save_LIBS
18365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18366 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18367 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18368 then :
18370 else $as_nop
18371 CAPI20_LIBS=""
18375 CPPFLAGS=$ac_save_CPPFLAGS
18378 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18379 then :
18380 case "x$with_capi" in
18381 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18382 xno) ;;
18383 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18384 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18385 esac
18386 enable_capi2032=${enable_capi2032:-no}
18389 if test "x$with_cups" != "xno"
18390 then
18391 rm -f conftest.err
18392 if ${CUPS_CFLAGS:+false} :
18393 then :
18394 if test ${PKG_CONFIG+y}
18395 then :
18396 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18399 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18400 if ${CUPS_LIBS:+false} :
18401 then :
18402 if test ${PKG_CONFIG+y}
18403 then :
18404 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18407 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18408 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18411 if test -s conftest.err; then
18412 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18413 cat conftest.err >&5
18415 rm -f conftest.err
18416 ac_save_CPPFLAGS=$CPPFLAGS
18417 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18418 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18419 if test "x$ac_cv_header_cups_cups_h" = xyes
18420 then :
18421 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18424 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18425 if test "x$ac_cv_header_cups_ppd_h" = xyes
18426 then :
18427 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18431 if test "$ac_cv_header_cups_cups_h" = "yes"
18432 then
18433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18434 printf %s "checking for -lcups... " >&6; }
18435 if test ${ac_cv_lib_soname_cups+y}
18436 then :
18437 printf %s "(cached) " >&6
18438 else $as_nop
18439 ac_check_soname_save_LIBS=$LIBS
18440 LIBS="-lcups $CUPS_LIBS $LIBS"
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18444 /* Override any GCC internal prototype to avoid an error.
18445 Use char because int might match the return type of a GCC
18446 builtin and then its argument prototype would still apply. */
18447 char cupsGetDefault ();
18449 main (void)
18451 return cupsGetDefault ();
18453 return 0;
18455 _ACEOF
18456 if ac_fn_c_try_link "$LINENO"
18457 then :
18458 case "$LIBEXT" in
18459 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18460 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'` ;;
18461 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18462 if ${ac_cv_lib_soname_cups:+false} :
18463 then :
18464 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18465 fi ;;
18466 esac
18467 else $as_nop
18468 ac_cv_lib_soname_cups=
18470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18471 conftest$ac_exeext conftest.$ac_ext
18472 LIBS=$ac_check_soname_save_LIBS
18474 if ${ac_cv_lib_soname_cups:+false} :
18475 then :
18476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18477 printf "%s\n" "not found" >&6; }
18478 CUPS_LIBS=""
18479 else $as_nop
18480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18481 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18483 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18487 else
18488 CUPS_CFLAGS=""
18489 CUPS_LIBS=""
18491 CPPFLAGS=$ac_save_CPPFLAGS
18494 if test "x$ac_cv_lib_soname_cups" = "x"
18495 then :
18496 case "x$with_cups" in
18497 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18498 xno) ;;
18499 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18500 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18501 esac
18505 if test "x$with_fontconfig" != "xno"
18506 then
18507 rm -f conftest.err
18508 if ${FONTCONFIG_CFLAGS:+false} :
18509 then :
18510 if test ${PKG_CONFIG+y}
18511 then :
18512 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18515 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18516 if ${FONTCONFIG_LIBS:+false} :
18517 then :
18518 if test ${PKG_CONFIG+y}
18519 then :
18520 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18523 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18527 if test -s conftest.err; then
18528 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18529 cat conftest.err >&5
18531 rm -f conftest.err
18532 ac_save_CPPFLAGS=$CPPFLAGS
18533 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18534 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18535 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18536 then :
18537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18538 printf %s "checking for -lfontconfig... " >&6; }
18539 if test ${ac_cv_lib_soname_fontconfig+y}
18540 then :
18541 printf %s "(cached) " >&6
18542 else $as_nop
18543 ac_check_soname_save_LIBS=$LIBS
18544 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18548 /* Override any GCC internal prototype to avoid an error.
18549 Use char because int might match the return type of a GCC
18550 builtin and then its argument prototype would still apply. */
18551 char FcInit ();
18553 main (void)
18555 return FcInit ();
18557 return 0;
18559 _ACEOF
18560 if ac_fn_c_try_link "$LINENO"
18561 then :
18562 case "$LIBEXT" in
18563 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18564 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'` ;;
18565 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18566 if ${ac_cv_lib_soname_fontconfig:+false} :
18567 then :
18568 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18569 fi ;;
18570 esac
18571 else $as_nop
18572 ac_cv_lib_soname_fontconfig=
18574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18575 conftest$ac_exeext conftest.$ac_ext
18576 LIBS=$ac_check_soname_save_LIBS
18578 if ${ac_cv_lib_soname_fontconfig:+false} :
18579 then :
18580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18581 printf "%s\n" "not found" >&6; }
18582 FONTCONFIG_CFLAGS=""
18583 else $as_nop
18584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18585 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18587 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18591 else $as_nop
18592 FONTCONFIG_CFLAGS=""
18595 CPPFLAGS=$ac_save_CPPFLAGS
18598 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18599 then :
18600 case "x$with_fontconfig" in
18601 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18602 xno) ;;
18603 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18604 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18605 esac
18609 if test "x$with_krb5" != "xno"
18610 then
18611 rm -f conftest.err
18612 if ${KRB5_CFLAGS:+false} :
18613 then :
18614 if test ${PKG_CONFIG+y}
18615 then :
18616 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18619 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18620 if ${KRB5_LIBS:+false} :
18621 then :
18622 if test ${PKG_CONFIG+y}
18623 then :
18624 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18627 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18631 if test -s conftest.err; then
18632 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18633 cat conftest.err >&5
18635 rm -f conftest.err
18636 ac_save_CPPFLAGS=$CPPFLAGS
18637 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18638 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18639 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18640 then :
18641 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18645 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18646 then
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18648 printf %s "checking for -lkrb5... " >&6; }
18649 if test ${ac_cv_lib_soname_krb5+y}
18650 then :
18651 printf %s "(cached) " >&6
18652 else $as_nop
18653 ac_check_soname_save_LIBS=$LIBS
18654 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18658 /* Override any GCC internal prototype to avoid an error.
18659 Use char because int might match the return type of a GCC
18660 builtin and then its argument prototype would still apply. */
18661 char krb5_is_config_principal ();
18663 main (void)
18665 return krb5_is_config_principal ();
18667 return 0;
18669 _ACEOF
18670 if ac_fn_c_try_link "$LINENO"
18671 then :
18672 case "$LIBEXT" in
18673 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18674 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'` ;;
18675 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18676 if ${ac_cv_lib_soname_krb5:+false} :
18677 then :
18678 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18679 fi ;;
18680 esac
18681 else $as_nop
18682 ac_cv_lib_soname_krb5=
18684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18685 conftest$ac_exeext conftest.$ac_ext
18686 LIBS=$ac_check_soname_save_LIBS
18688 if ${ac_cv_lib_soname_krb5:+false} :
18689 then :
18690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18691 printf "%s\n" "not found" >&6; }
18692 KRB5_CFLAGS=""
18693 else $as_nop
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18695 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18697 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18701 else
18702 KRB5_CFLAGS=""
18704 CPPFLAGS=$ac_save_CPPFLAGS
18707 if test "x$ac_cv_lib_soname_krb5" = "x"
18708 then :
18709 case "x$with_krb5" in
18710 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18711 xno) ;;
18712 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18713 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18714 esac
18717 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18719 if test "x$with_gssapi" != "xno"
18720 then
18721 rm -f conftest.err
18722 if ${GSSAPI_CFLAGS:+false} :
18723 then :
18724 if test ${PKG_CONFIG+y}
18725 then :
18726 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18729 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18730 if ${GSSAPI_LIBS:+false} :
18731 then :
18732 if test ${PKG_CONFIG+y}
18733 then :
18734 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18737 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18741 if test -s conftest.err; then
18742 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18743 cat conftest.err >&5
18745 rm -f conftest.err
18746 ac_save_CPPFLAGS=$CPPFLAGS
18747 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18748 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18749 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18750 then :
18751 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18754 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18755 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18756 then :
18757 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18761 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18762 then
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18764 printf %s "checking for -lgssapi_krb5... " >&6; }
18765 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18766 then :
18767 printf %s "(cached) " >&6
18768 else $as_nop
18769 ac_check_soname_save_LIBS=$LIBS
18770 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18774 /* Override any GCC internal prototype to avoid an error.
18775 Use char because int might match the return type of a GCC
18776 builtin and then its argument prototype would still apply. */
18777 char gss_init_sec_context ();
18779 main (void)
18781 return gss_init_sec_context ();
18783 return 0;
18785 _ACEOF
18786 if ac_fn_c_try_link "$LINENO"
18787 then :
18788 case "$LIBEXT" in
18789 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18790 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'` ;;
18791 *) 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'`
18792 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18793 then :
18794 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18795 fi ;;
18796 esac
18797 else $as_nop
18798 ac_cv_lib_soname_gssapi_krb5=
18800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18801 conftest$ac_exeext conftest.$ac_ext
18802 LIBS=$ac_check_soname_save_LIBS
18804 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18805 then :
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18807 printf "%s\n" "not found" >&6; }
18808 GSSAPI_CFLAGS=""
18809 else $as_nop
18810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18811 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18813 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18817 else
18818 GSSAPI_CFLAGS=""
18820 CPPFLAGS=$ac_save_CPPFLAGS
18823 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18824 then :
18825 case "x$with_gssapi" in
18826 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18827 xno) ;;
18828 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18829 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18830 esac
18834 if test "$ac_cv_header_libprocstat_h" = "yes"
18835 then
18836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18837 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18838 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18839 then :
18840 printf %s "(cached) " >&6
18841 else $as_nop
18842 ac_check_lib_save_LIBS=$LIBS
18843 LIBS="-lprocstat $LIBS"
18844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h. */
18847 /* Override any GCC internal prototype to avoid an error.
18848 Use char because int might match the return type of a GCC
18849 builtin and then its argument prototype would still apply. */
18850 char procstat_open_sysctl ();
18852 main (void)
18854 return procstat_open_sysctl ();
18856 return 0;
18858 _ACEOF
18859 if ac_fn_c_try_link "$LINENO"
18860 then :
18861 ac_cv_lib_procstat_procstat_open_sysctl=yes
18862 else $as_nop
18863 ac_cv_lib_procstat_procstat_open_sysctl=no
18865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18866 conftest$ac_exeext conftest.$ac_ext
18867 LIBS=$ac_check_lib_save_LIBS
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18870 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18871 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18872 then :
18874 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18876 PROCSTAT_LIBS="-lprocstat"
18882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18883 printf %s "checking for -lodbc... " >&6; }
18884 if test ${ac_cv_lib_soname_odbc+y}
18885 then :
18886 printf %s "(cached) " >&6
18887 else $as_nop
18888 ac_check_soname_save_LIBS=$LIBS
18889 LIBS="-lodbc $LIBS"
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18893 /* Override any GCC internal prototype to avoid an error.
18894 Use char because int might match the return type of a GCC
18895 builtin and then its argument prototype would still apply. */
18896 char SQLConnect ();
18898 main (void)
18900 return SQLConnect ();
18902 return 0;
18904 _ACEOF
18905 if ac_fn_c_try_link "$LINENO"
18906 then :
18907 case "$LIBEXT" in
18908 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18909 dylib) ac_cv_lib_soname_odbc=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18910 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18911 if ${ac_cv_lib_soname_odbc:+false} :
18912 then :
18913 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18914 fi ;;
18915 esac
18916 else $as_nop
18917 ac_cv_lib_soname_odbc=
18919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18920 conftest$ac_exeext conftest.$ac_ext
18921 LIBS=$ac_check_soname_save_LIBS
18923 if ${ac_cv_lib_soname_odbc:+false} :
18924 then :
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18926 printf "%s\n" "not found" >&6; }
18927 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18929 else $as_nop
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18931 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18933 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18938 if test "x$with_netapi" != "xno"
18939 then
18940 rm -f conftest.err
18941 if ${NETAPI_CFLAGS:+false} :
18942 then :
18943 if test ${PKG_CONFIG+y}
18944 then :
18945 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18949 if ${NETAPI_LIBS:+false} :
18950 then :
18951 if test ${PKG_CONFIG+y}
18952 then :
18953 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18960 if test -s conftest.err; then
18961 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18962 cat conftest.err >&5
18964 rm -f conftest.err
18965 ac_save_CPPFLAGS=$CPPFLAGS
18966 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18968 printf %s "checking for -lnetapi... " >&6; }
18969 if test ${ac_cv_lib_soname_netapi+y}
18970 then :
18971 printf %s "(cached) " >&6
18972 else $as_nop
18973 ac_check_soname_save_LIBS=$LIBS
18974 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18978 /* Override any GCC internal prototype to avoid an error.
18979 Use char because int might match the return type of a GCC
18980 builtin and then its argument prototype would still apply. */
18981 char libnetapi_init ();
18983 main (void)
18985 return libnetapi_init ();
18987 return 0;
18989 _ACEOF
18990 if ac_fn_c_try_link "$LINENO"
18991 then :
18992 case "$LIBEXT" in
18993 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18994 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'` ;;
18995 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18996 if ${ac_cv_lib_soname_netapi:+false} :
18997 then :
18998 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18999 fi ;;
19000 esac
19001 else $as_nop
19002 ac_cv_lib_soname_netapi=
19004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19005 conftest$ac_exeext conftest.$ac_ext
19006 LIBS=$ac_check_soname_save_LIBS
19008 if ${ac_cv_lib_soname_netapi:+false} :
19009 then :
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19011 printf "%s\n" "not found" >&6; }
19012 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19014 else $as_nop
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19016 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19018 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19022 CPPFLAGS=$ac_save_CPPFLAGS
19025 if test "x$ac_cv_lib_soname_netapi" = "x"
19026 then :
19027 case "x$with_netapi" in
19028 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
19029 xno) ;;
19030 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
19031 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19032 esac
19033 enable_netapi=${enable_netapi:-no}
19037 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
19038 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19039 then
19040 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
19043 if test "x$with_vulkan" != "xno"
19044 then
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19046 printf %s "checking for -lvulkan... " >&6; }
19047 if test ${ac_cv_lib_soname_vulkan+y}
19048 then :
19049 printf %s "(cached) " >&6
19050 else $as_nop
19051 ac_check_soname_save_LIBS=$LIBS
19052 LIBS="-lvulkan $LIBS"
19053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19056 /* Override any GCC internal prototype to avoid an error.
19057 Use char because int might match the return type of a GCC
19058 builtin and then its argument prototype would still apply. */
19059 char vkGetInstanceProcAddr ();
19061 main (void)
19063 return vkGetInstanceProcAddr ();
19065 return 0;
19067 _ACEOF
19068 if ac_fn_c_try_link "$LINENO"
19069 then :
19070 case "$LIBEXT" in
19071 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19072 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'` ;;
19073 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19074 if ${ac_cv_lib_soname_vulkan:+false} :
19075 then :
19076 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19077 fi ;;
19078 esac
19079 else $as_nop
19080 ac_cv_lib_soname_vulkan=
19082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19083 conftest$ac_exeext conftest.$ac_ext
19084 LIBS=$ac_check_soname_save_LIBS
19086 if ${ac_cv_lib_soname_vulkan:+false} :
19087 then :
19088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19089 printf "%s\n" "not found" >&6; }
19091 else $as_nop
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19093 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19095 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19099 if test "x$ac_cv_lib_soname_vulkan" = "x"
19100 then
19101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19102 printf %s "checking for -lMoltenVK... " >&6; }
19103 if test ${ac_cv_lib_soname_MoltenVK+y}
19104 then :
19105 printf %s "(cached) " >&6
19106 else $as_nop
19107 ac_check_soname_save_LIBS=$LIBS
19108 LIBS="-lMoltenVK $LIBS"
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19112 /* Override any GCC internal prototype to avoid an error.
19113 Use char because int might match the return type of a GCC
19114 builtin and then its argument prototype would still apply. */
19115 char vkGetInstanceProcAddr ();
19117 main (void)
19119 return vkGetInstanceProcAddr ();
19121 return 0;
19123 _ACEOF
19124 if ac_fn_c_try_link "$LINENO"
19125 then :
19126 case "$LIBEXT" in
19127 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19128 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'` ;;
19129 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19130 if ${ac_cv_lib_soname_MoltenVK:+false} :
19131 then :
19132 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19133 fi ;;
19134 esac
19135 else $as_nop
19136 ac_cv_lib_soname_MoltenVK=
19138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19139 conftest$ac_exeext conftest.$ac_ext
19140 LIBS=$ac_check_soname_save_LIBS
19142 if ${ac_cv_lib_soname_MoltenVK:+false} :
19143 then :
19144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19145 printf "%s\n" "not found" >&6; }
19147 else $as_nop
19148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19149 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19151 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19157 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19158 then :
19159 case "x$with_vulkan" in
19160 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19161 xno) ;;
19162 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19163 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19164 esac
19169 if test "x${GCC}" = "xyes"
19170 then
19171 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
19173 saved_CFLAGS=$CFLAGS
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19175 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19176 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19177 then :
19178 printf %s "(cached) " >&6
19179 else $as_nop
19180 ac_wine_try_cflags_saved=$CFLAGS
19181 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 int main(int argc, char **argv) { return 0; }
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"
19187 then :
19188 ac_cv_cflags__Werror_unknown_warning_option=yes
19189 else $as_nop
19190 ac_cv_cflags__Werror_unknown_warning_option=no
19192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19193 conftest$ac_exeext conftest.$ac_ext
19194 CFLAGS=$ac_wine_try_cflags_saved
19196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19197 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19198 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19199 then :
19200 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19203 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19204 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19205 then :
19206 printf %s "(cached) " >&6
19207 else $as_nop
19208 ac_wine_try_cflags_saved=$CFLAGS
19209 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19212 int main(int argc, char **argv) { return 0; }
19213 _ACEOF
19214 if ac_fn_c_try_link "$LINENO"
19215 then :
19216 ac_cv_cflags__Werror_unused_command_line_argument=yes
19217 else $as_nop
19218 ac_cv_cflags__Werror_unused_command_line_argument=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19221 conftest$ac_exeext conftest.$ac_ext
19222 CFLAGS=$ac_wine_try_cflags_saved
19224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19225 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19226 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19227 then :
19228 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19231 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19232 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19233 then :
19234 printf %s "(cached) " >&6
19235 else $as_nop
19236 ac_wine_try_cflags_saved=$CFLAGS
19237 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 int main(int argc, char **argv) { return 0; }
19241 _ACEOF
19242 if ac_fn_c_try_link "$LINENO"
19243 then :
19244 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19245 else $as_nop
19246 ac_cv_cflags__Werror_ignored_optimization_argument=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19249 conftest$ac_exeext conftest.$ac_ext
19250 CFLAGS=$ac_wine_try_cflags_saved
19252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19253 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19254 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19255 then :
19256 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19259 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19260 if test ${ac_cv_cflags__fcf_protection_none+y}
19261 then :
19262 printf %s "(cached) " >&6
19263 else $as_nop
19264 ac_wine_try_cflags_saved=$CFLAGS
19265 CFLAGS="$CFLAGS -fcf-protection=none"
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h. */
19268 int main(int argc, char **argv) { return 0; }
19269 _ACEOF
19270 if ac_fn_c_try_link "$LINENO"
19271 then :
19272 ac_cv_cflags__fcf_protection_none=yes
19273 else $as_nop
19274 ac_cv_cflags__fcf_protection_none=no
19276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19277 conftest$ac_exeext conftest.$ac_ext
19278 CFLAGS=$ac_wine_try_cflags_saved
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19281 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19282 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19283 then :
19284 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19287 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19288 if test ${ac_cv_cflags__fvisibility_hidden+y}
19289 then :
19290 printf %s "(cached) " >&6
19291 else $as_nop
19292 ac_wine_try_cflags_saved=$CFLAGS
19293 CFLAGS="$CFLAGS -fvisibility=hidden"
19294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19295 /* end confdefs.h. */
19296 int main(int argc, char **argv) { return 0; }
19297 _ACEOF
19298 if ac_fn_c_try_link "$LINENO"
19299 then :
19300 ac_cv_cflags__fvisibility_hidden=yes
19301 else $as_nop
19302 ac_cv_cflags__fvisibility_hidden=no
19304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19305 conftest$ac_exeext conftest.$ac_ext
19306 CFLAGS=$ac_wine_try_cflags_saved
19308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19309 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19310 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19311 then :
19312 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19315 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19316 if test ${ac_cv_cflags__fno_stack_protector+y}
19317 then :
19318 printf %s "(cached) " >&6
19319 else $as_nop
19320 ac_wine_try_cflags_saved=$CFLAGS
19321 CFLAGS="$CFLAGS -fno-stack-protector"
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19324 int main(int argc, char **argv) { return 0; }
19325 _ACEOF
19326 if ac_fn_c_try_link "$LINENO"
19327 then :
19328 ac_cv_cflags__fno_stack_protector=yes
19329 else $as_nop
19330 ac_cv_cflags__fno_stack_protector=no
19332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19333 conftest$ac_exeext conftest.$ac_ext
19334 CFLAGS=$ac_wine_try_cflags_saved
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19337 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19338 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19339 then :
19340 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19343 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19344 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19345 then :
19346 printf %s "(cached) " >&6
19347 else $as_nop
19348 ac_wine_try_cflags_saved=$CFLAGS
19349 CFLAGS="$CFLAGS -fno-strict-aliasing"
19350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19352 int main(int argc, char **argv) { return 0; }
19353 _ACEOF
19354 if ac_fn_c_try_link "$LINENO"
19355 then :
19356 ac_cv_cflags__fno_strict_aliasing=yes
19357 else $as_nop
19358 ac_cv_cflags__fno_strict_aliasing=no
19360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19361 conftest$ac_exeext conftest.$ac_ext
19362 CFLAGS=$ac_wine_try_cflags_saved
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19365 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19366 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19367 then :
19368 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19371 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19372 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19373 then :
19374 printf %s "(cached) " >&6
19375 else $as_nop
19376 ac_wine_try_cflags_saved=$CFLAGS
19377 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19380 int main(int argc, char **argv) { return 0; }
19381 _ACEOF
19382 if ac_fn_c_try_link "$LINENO"
19383 then :
19384 ac_cv_cflags__Wdeclaration_after_statement=yes
19385 else $as_nop
19386 ac_cv_cflags__Wdeclaration_after_statement=no
19388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19389 conftest$ac_exeext conftest.$ac_ext
19390 CFLAGS=$ac_wine_try_cflags_saved
19392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19393 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19394 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19395 then :
19396 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19399 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19400 if test ${ac_cv_cflags__Wempty_body+y}
19401 then :
19402 printf %s "(cached) " >&6
19403 else $as_nop
19404 ac_wine_try_cflags_saved=$CFLAGS
19405 CFLAGS="$CFLAGS -Wempty-body"
19406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19407 /* end confdefs.h. */
19408 int main(int argc, char **argv) { return 0; }
19409 _ACEOF
19410 if ac_fn_c_try_link "$LINENO"
19411 then :
19412 ac_cv_cflags__Wempty_body=yes
19413 else $as_nop
19414 ac_cv_cflags__Wempty_body=no
19416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19417 conftest$ac_exeext conftest.$ac_ext
19418 CFLAGS=$ac_wine_try_cflags_saved
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19421 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19422 if test "x$ac_cv_cflags__Wempty_body" = xyes
19423 then :
19424 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19427 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19428 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19429 then :
19430 printf %s "(cached) " >&6
19431 else $as_nop
19432 ac_wine_try_cflags_saved=$CFLAGS
19433 CFLAGS="$CFLAGS -Wignored-qualifiers"
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 int main(int argc, char **argv) { return 0; }
19437 _ACEOF
19438 if ac_fn_c_try_link "$LINENO"
19439 then :
19440 ac_cv_cflags__Wignored_qualifiers=yes
19441 else $as_nop
19442 ac_cv_cflags__Wignored_qualifiers=no
19444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19445 conftest$ac_exeext conftest.$ac_ext
19446 CFLAGS=$ac_wine_try_cflags_saved
19448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19449 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19450 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19451 then :
19452 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19455 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19456 if test ${ac_cv_cflags__Winit_self+y}
19457 then :
19458 printf %s "(cached) " >&6
19459 else $as_nop
19460 ac_wine_try_cflags_saved=$CFLAGS
19461 CFLAGS="$CFLAGS -Winit-self"
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19464 int main(int argc, char **argv) { return 0; }
19465 _ACEOF
19466 if ac_fn_c_try_link "$LINENO"
19467 then :
19468 ac_cv_cflags__Winit_self=yes
19469 else $as_nop
19470 ac_cv_cflags__Winit_self=no
19472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19473 conftest$ac_exeext conftest.$ac_ext
19474 CFLAGS=$ac_wine_try_cflags_saved
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19477 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19478 if test "x$ac_cv_cflags__Winit_self" = xyes
19479 then :
19480 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19483 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19484 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19485 then :
19486 printf %s "(cached) " >&6
19487 else $as_nop
19488 ac_wine_try_cflags_saved=$CFLAGS
19489 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 int main(int argc, char **argv) { return 0; }
19493 _ACEOF
19494 if ac_fn_c_try_link "$LINENO"
19495 then :
19496 ac_cv_cflags__Wpacked_not_aligned=yes
19497 else $as_nop
19498 ac_cv_cflags__Wpacked_not_aligned=no
19500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19501 conftest$ac_exeext conftest.$ac_ext
19502 CFLAGS=$ac_wine_try_cflags_saved
19504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19505 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19506 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19507 then :
19508 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19511 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19512 if test ${ac_cv_cflags__Wpragma_pack+y}
19513 then :
19514 printf %s "(cached) " >&6
19515 else $as_nop
19516 ac_wine_try_cflags_saved=$CFLAGS
19517 CFLAGS="$CFLAGS -Wpragma-pack"
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 int main(int argc, char **argv) { return 0; }
19521 _ACEOF
19522 if ac_fn_c_try_link "$LINENO"
19523 then :
19524 ac_cv_cflags__Wpragma_pack=yes
19525 else $as_nop
19526 ac_cv_cflags__Wpragma_pack=no
19528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19529 conftest$ac_exeext conftest.$ac_ext
19530 CFLAGS=$ac_wine_try_cflags_saved
19532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19533 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19534 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19535 then :
19536 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19539 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19540 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19541 then :
19542 printf %s "(cached) " >&6
19543 else $as_nop
19544 ac_wine_try_cflags_saved=$CFLAGS
19545 CFLAGS="$CFLAGS -Wshift-overflow=2"
19546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19547 /* end confdefs.h. */
19548 int main(int argc, char **argv) { return 0; }
19549 _ACEOF
19550 if ac_fn_c_try_link "$LINENO"
19551 then :
19552 ac_cv_cflags__Wshift_overflow_2=yes
19553 else $as_nop
19554 ac_cv_cflags__Wshift_overflow_2=no
19556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19557 conftest$ac_exeext conftest.$ac_ext
19558 CFLAGS=$ac_wine_try_cflags_saved
19560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19561 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19562 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19563 then :
19564 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19567 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19568 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19569 then :
19570 printf %s "(cached) " >&6
19571 else $as_nop
19572 ac_wine_try_cflags_saved=$CFLAGS
19573 CFLAGS="$CFLAGS -Wstrict-prototypes"
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 int main(int argc, char **argv) { return 0; }
19577 _ACEOF
19578 if ac_fn_c_try_link "$LINENO"
19579 then :
19580 ac_cv_cflags__Wstrict_prototypes=yes
19581 else $as_nop
19582 ac_cv_cflags__Wstrict_prototypes=no
19584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19585 conftest$ac_exeext conftest.$ac_ext
19586 CFLAGS=$ac_wine_try_cflags_saved
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19589 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19590 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19591 then :
19592 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19595 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19596 if test ${ac_cv_cflags__Wtype_limits+y}
19597 then :
19598 printf %s "(cached) " >&6
19599 else $as_nop
19600 ac_wine_try_cflags_saved=$CFLAGS
19601 CFLAGS="$CFLAGS -Wtype-limits"
19602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19603 /* end confdefs.h. */
19604 int main(int argc, char **argv) { return 0; }
19605 _ACEOF
19606 if ac_fn_c_try_link "$LINENO"
19607 then :
19608 ac_cv_cflags__Wtype_limits=yes
19609 else $as_nop
19610 ac_cv_cflags__Wtype_limits=no
19612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19613 conftest$ac_exeext conftest.$ac_ext
19614 CFLAGS=$ac_wine_try_cflags_saved
19616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19617 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19618 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19619 then :
19620 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19623 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19624 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19625 then :
19626 printf %s "(cached) " >&6
19627 else $as_nop
19628 ac_wine_try_cflags_saved=$CFLAGS
19629 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19632 int main(int argc, char **argv) { return 0; }
19633 _ACEOF
19634 if ac_fn_c_try_link "$LINENO"
19635 then :
19636 ac_cv_cflags__Wunused_but_set_parameter=yes
19637 else $as_nop
19638 ac_cv_cflags__Wunused_but_set_parameter=no
19640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19641 conftest$ac_exeext conftest.$ac_ext
19642 CFLAGS=$ac_wine_try_cflags_saved
19644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19645 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19646 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19647 then :
19648 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19651 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19652 if test ${ac_cv_cflags__Wvla+y}
19653 then :
19654 printf %s "(cached) " >&6
19655 else $as_nop
19656 ac_wine_try_cflags_saved=$CFLAGS
19657 CFLAGS="$CFLAGS -Wvla"
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19660 int main(int argc, char **argv) { return 0; }
19661 _ACEOF
19662 if ac_fn_c_try_link "$LINENO"
19663 then :
19664 ac_cv_cflags__Wvla=yes
19665 else $as_nop
19666 ac_cv_cflags__Wvla=no
19668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19669 conftest$ac_exeext conftest.$ac_ext
19670 CFLAGS=$ac_wine_try_cflags_saved
19672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19673 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19674 if test "x$ac_cv_cflags__Wvla" = xyes
19675 then :
19676 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19679 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19680 if test ${ac_cv_cflags__Wwrite_strings+y}
19681 then :
19682 printf %s "(cached) " >&6
19683 else $as_nop
19684 ac_wine_try_cflags_saved=$CFLAGS
19685 CFLAGS="$CFLAGS -Wwrite-strings"
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19688 int main(int argc, char **argv) { return 0; }
19689 _ACEOF
19690 if ac_fn_c_try_link "$LINENO"
19691 then :
19692 ac_cv_cflags__Wwrite_strings=yes
19693 else $as_nop
19694 ac_cv_cflags__Wwrite_strings=no
19696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19697 conftest$ac_exeext conftest.$ac_ext
19698 CFLAGS=$ac_wine_try_cflags_saved
19700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19701 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19702 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19703 then :
19704 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19708 printf %s "checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19709 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19710 then :
19711 printf %s "(cached) " >&6
19712 else $as_nop
19713 ac_wine_try_cflags_saved=$CFLAGS
19714 CFLAGS="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h. */
19717 int main(int argc, char **argv) { return 0; }
19718 _ACEOF
19719 if ac_fn_c_try_link "$LINENO"
19720 then :
19721 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=yes
19722 else $as_nop
19723 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=no
19725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19726 conftest$ac_exeext conftest.$ac_ext
19727 CFLAGS=$ac_wine_try_cflags_saved
19729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19730 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19731 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19732 then :
19733 EXTRACFLAGS="$EXTRACFLAGS -Wno-misleading-indentation"
19736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19737 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19738 if test ${ac_cv_cflags__Wpointer_arith+y}
19739 then :
19740 printf %s "(cached) " >&6
19741 else $as_nop
19742 ac_wine_try_cflags_saved=$CFLAGS
19743 CFLAGS="$CFLAGS -Wpointer-arith"
19744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19746 int main(int argc, char **argv) { return 0; }
19747 _ACEOF
19748 if ac_fn_c_try_link "$LINENO"
19749 then :
19750 ac_cv_cflags__Wpointer_arith=yes
19751 else $as_nop
19752 ac_cv_cflags__Wpointer_arith=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19755 conftest$ac_exeext conftest.$ac_ext
19756 CFLAGS=$ac_wine_try_cflags_saved
19758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19759 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19760 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19761 then :
19762 saved_string_h_CFLAGS=$CFLAGS
19763 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19765 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19766 if test ${ac_cv_c_string_h_warnings+y}
19767 then :
19768 printf %s "(cached) " >&6
19769 else $as_nop
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19772 #include <string.h>
19774 main (void)
19778 return 0;
19780 _ACEOF
19781 if ac_fn_c_try_compile "$LINENO"
19782 then :
19783 ac_cv_c_string_h_warnings=no
19784 else $as_nop
19785 ac_cv_c_string_h_warnings=yes
19787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19790 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19791 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19792 CFLAGS=$saved_string_h_CFLAGS
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19796 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19797 if test ${ac_cv_cflags__Wlogical_op+y}
19798 then :
19799 printf %s "(cached) " >&6
19800 else $as_nop
19801 ac_wine_try_cflags_saved=$CFLAGS
19802 CFLAGS="$CFLAGS -Wlogical-op"
19803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19804 /* end confdefs.h. */
19805 int main(int argc, char **argv) { return 0; }
19806 _ACEOF
19807 if ac_fn_c_try_link "$LINENO"
19808 then :
19809 ac_cv_cflags__Wlogical_op=yes
19810 else $as_nop
19811 ac_cv_cflags__Wlogical_op=no
19813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19814 conftest$ac_exeext conftest.$ac_ext
19815 CFLAGS=$ac_wine_try_cflags_saved
19817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19818 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19819 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19820 then :
19821 saved_string_h_CFLAGS=$CFLAGS
19822 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19824 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19825 if test ${ac_cv_c_logicalop_noisy+y}
19826 then :
19827 printf %s "(cached) " >&6
19828 else $as_nop
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19831 #include <string.h>
19832 char*f(const char *h,char n) {return strchr(h,n);}
19834 main (void)
19838 return 0;
19840 _ACEOF
19841 if ac_fn_c_try_compile "$LINENO"
19842 then :
19843 ac_cv_c_logicalop_noisy=no
19844 else $as_nop
19845 ac_cv_c_logicalop_noisy=yes
19847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19850 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19851 CFLAGS=$saved_string_h_CFLAGS
19852 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19856 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19857 if test ${wine_cv_64bit_compare_swap+y}
19858 then :
19859 printf %s "(cached) " >&6
19860 else $as_nop
19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19863 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19864 #error no
19865 #endif
19867 main (void)
19871 return 0;
19873 _ACEOF
19874 if ac_fn_c_try_compile "$LINENO"
19875 then :
19876 wine_cv_64bit_compare_swap="none needed"
19877 else $as_nop
19878 case $HOST_ARCH in
19879 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19880 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19881 *) wine_cv_64bit_compare_swap="unknown" ;;
19882 esac
19883 if test "x$wine_cv_64bit_compare_swap" != xunknown
19884 then
19885 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19888 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19889 #error no
19890 #endif
19892 main (void)
19896 return 0;
19898 _ACEOF
19899 if ac_fn_c_try_compile "$LINENO"
19900 then :
19902 else $as_nop
19903 wine_cv_64bit_compare_swap="unknown"
19905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19906 CFLAGS=$saved_CFLAGS
19909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19912 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19913 case "$wine_cv_64bit_compare_swap" in
19914 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19915 "none needed") ;;
19916 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19917 esac
19919 ac_debug_format_seen=""
19920 for ac_flag in $CFLAGS; do
19921 case $ac_flag in
19922 -gdwarf*) ac_debug_format_seen=yes ;;
19923 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19924 esac
19925 done
19926 if test "x$ac_debug_format_seen" = xdefault
19927 then
19928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19929 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19930 if test ${ac_cv_cflags__gdwarf_4+y}
19931 then :
19932 printf %s "(cached) " >&6
19933 else $as_nop
19934 ac_wine_try_cflags_saved=$CFLAGS
19935 CFLAGS="$CFLAGS -gdwarf-4"
19936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19937 /* end confdefs.h. */
19938 int main(int argc, char **argv) { return 0; }
19939 _ACEOF
19940 if ac_fn_c_try_link "$LINENO"
19941 then :
19942 ac_cv_cflags__gdwarf_4=yes
19943 else $as_nop
19944 ac_cv_cflags__gdwarf_4=no
19946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19947 conftest$ac_exeext conftest.$ac_ext
19948 CFLAGS=$ac_wine_try_cflags_saved
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19951 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19952 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19953 then :
19954 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19958 MSVCRTFLAGS=""
19960 case $host_os in
19961 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19962 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19963 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19964 then :
19965 printf %s "(cached) " >&6
19966 else $as_nop
19967 ac_wine_try_cflags_saved=$CFLAGS
19968 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19970 /* end confdefs.h. */
19971 int main(int argc, char **argv) { return 0; }
19972 _ACEOF
19973 if ac_fn_c_try_link "$LINENO"
19974 then :
19975 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19976 else $as_nop
19977 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19980 conftest$ac_exeext conftest.$ac_ext
19981 CFLAGS=$ac_wine_try_cflags_saved
19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19984 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19985 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19986 then :
19987 DELAYLOADFLAG="-Wl,-delayload,"
19989 fi ;;
19990 *) MSVCRTFLAGS="-D_WIN32"
19991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19992 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19993 if test ${ac_cv_cflags__fno_builtin+y}
19994 then :
19995 printf %s "(cached) " >&6
19996 else $as_nop
19997 ac_wine_try_cflags_saved=$CFLAGS
19998 CFLAGS="$CFLAGS -fno-builtin"
19999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20000 /* end confdefs.h. */
20001 int main(int argc, char **argv) { return 0; }
20002 _ACEOF
20003 if ac_fn_c_try_link "$LINENO"
20004 then :
20005 ac_cv_cflags__fno_builtin=yes
20006 else $as_nop
20007 ac_cv_cflags__fno_builtin=no
20009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20010 conftest$ac_exeext conftest.$ac_ext
20011 CFLAGS=$ac_wine_try_cflags_saved
20013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20014 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20015 if test "x$ac_cv_cflags__fno_builtin" = xyes
20016 then :
20017 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
20019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20020 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
20021 if test ${ac_cv_cflags__fshort_wchar+y}
20022 then :
20023 printf %s "(cached) " >&6
20024 else $as_nop
20025 ac_wine_try_cflags_saved=$CFLAGS
20026 CFLAGS="$CFLAGS -fshort-wchar"
20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20029 int main(int argc, char **argv) { return 0; }
20030 _ACEOF
20031 if ac_fn_c_try_link "$LINENO"
20032 then :
20033 ac_cv_cflags__fshort_wchar=yes
20034 else $as_nop
20035 ac_cv_cflags__fshort_wchar=no
20037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20038 conftest$ac_exeext conftest.$ac_ext
20039 CFLAGS=$ac_wine_try_cflags_saved
20041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20042 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20043 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20044 then :
20045 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
20047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20048 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20049 if test ${ac_cv_cflags__Wno_format+y}
20050 then :
20051 printf %s "(cached) " >&6
20052 else $as_nop
20053 ac_wine_try_cflags_saved=$CFLAGS
20054 CFLAGS="$CFLAGS -Wno-format"
20055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20057 int main(int argc, char **argv) { return 0; }
20058 _ACEOF
20059 if ac_fn_c_try_link "$LINENO"
20060 then :
20061 ac_cv_cflags__Wno_format=yes
20062 else $as_nop
20063 ac_cv_cflags__Wno_format=no
20065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20066 conftest$ac_exeext conftest.$ac_ext
20067 CFLAGS=$ac_wine_try_cflags_saved
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20070 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20071 if test "x$ac_cv_cflags__Wno_format" = xyes
20072 then :
20073 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
20074 fi ;;
20075 esac
20077 case $HOST_ARCH in
20078 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20079 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20080 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20081 then :
20082 printf %s "(cached) " >&6
20083 else $as_nop
20084 ac_wine_try_cflags_saved=$CFLAGS
20085 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
20086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20088 int main(int argc, char **argv) { return 0; }
20089 _ACEOF
20090 if ac_fn_c_try_link "$LINENO"
20091 then :
20092 ac_cv_cflags__fno_omit_frame_pointer=yes
20093 else $as_nop
20094 ac_cv_cflags__fno_omit_frame_pointer=no
20096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20097 conftest$ac_exeext conftest.$ac_ext
20098 CFLAGS=$ac_wine_try_cflags_saved
20100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20101 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20102 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20103 then :
20104 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
20105 fi ;;
20106 x86_64)
20107 case $host_os in
20108 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20109 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20110 if test ${ac_cv_cflags__Wno_format+y}
20111 then :
20112 printf %s "(cached) " >&6
20113 else $as_nop
20114 ac_wine_try_cflags_saved=$CFLAGS
20115 CFLAGS="$CFLAGS -Wno-format"
20116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 int main(int argc, char **argv) { return 0; }
20119 _ACEOF
20120 if ac_fn_c_try_link "$LINENO"
20121 then :
20122 ac_cv_cflags__Wno_format=yes
20123 else $as_nop
20124 ac_cv_cflags__Wno_format=no
20126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20127 conftest$ac_exeext conftest.$ac_ext
20128 CFLAGS=$ac_wine_try_cflags_saved
20130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20131 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20132 if test "x$ac_cv_cflags__Wno_format" = xyes
20133 then :
20134 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
20135 fi ;;
20136 *) if test -z "$PE_ARCHS"
20137 then
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20139 printf %s "checking for working -mabi=ms... " >&6; }
20140 if test ${ac_cv_mabi_ms+y}
20141 then :
20142 printf %s "(cached) " >&6
20143 else $as_nop
20144 CFLAGS="$CFLAGS -mabi=ms"
20145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20146 /* end confdefs.h. */
20147 #include <stdarg.h>
20148 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20150 main (void)
20154 return 0;
20156 _ACEOF
20157 if ac_fn_c_try_compile "$LINENO"
20158 then :
20159 ac_cv_mabi_ms=yes
20160 else $as_nop
20161 ac_cv_mabi_ms=no
20163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20164 CFLAGS=$saved_CFLAGS
20166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20167 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20168 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
20170 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
20171 esac ;;
20172 arm)
20173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20174 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20175 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20176 then :
20177 printf %s "(cached) " >&6
20178 else $as_nop
20179 ac_wine_try_cflags_saved=$CFLAGS
20180 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 int main(int argc, char **argv) { return 0; }
20184 _ACEOF
20185 if ac_fn_c_try_link "$LINENO"
20186 then :
20187 ac_cv_cflags__Wincompatible_function_pointer_types=yes
20188 else $as_nop
20189 ac_cv_cflags__Wincompatible_function_pointer_types=no
20191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20192 conftest$ac_exeext conftest.$ac_ext
20193 CFLAGS=$ac_wine_try_cflags_saved
20195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20196 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20197 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20198 then :
20199 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20200 fi ;;
20201 esac
20203 CFLAGS=$saved_CFLAGS
20205 if test "x$enable_werror" = "xyes"
20206 then
20207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20208 printf %s "checking whether the compiler supports -Werror... " >&6; }
20209 if test ${ac_cv_cflags__Werror+y}
20210 then :
20211 printf %s "(cached) " >&6
20212 else $as_nop
20213 ac_wine_try_cflags_saved=$CFLAGS
20214 CFLAGS="$CFLAGS -Werror"
20215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h. */
20217 int main(int argc, char **argv) { return 0; }
20218 _ACEOF
20219 if ac_fn_c_try_link "$LINENO"
20220 then :
20221 ac_cv_cflags__Werror=yes
20222 else $as_nop
20223 ac_cv_cflags__Werror=no
20225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20226 conftest$ac_exeext conftest.$ac_ext
20227 CFLAGS=$ac_wine_try_cflags_saved
20229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20230 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20231 if test "x$ac_cv_cflags__Werror" = xyes
20232 then :
20233 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20236 if test "x$enable_build_id" = "xyes"
20237 then
20238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20239 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20240 if test ${ac_cv_cflags__Wl___build_id+y}
20241 then :
20242 printf %s "(cached) " >&6
20243 else $as_nop
20244 ac_wine_try_cflags_saved=$CFLAGS
20245 CFLAGS="$CFLAGS -Wl,--build-id"
20246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20247 /* end confdefs.h. */
20248 int main(int argc, char **argv) { return 0; }
20249 _ACEOF
20250 if ac_fn_c_try_link "$LINENO"
20251 then :
20252 ac_cv_cflags__Wl___build_id=yes
20253 else $as_nop
20254 ac_cv_cflags__Wl___build_id=no
20256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20257 conftest$ac_exeext conftest.$ac_ext
20258 CFLAGS=$ac_wine_try_cflags_saved
20260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20261 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20262 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20263 then :
20264 CFLAGS="$CFLAGS -Wl,--build-id"
20265 LDFLAGS="$LDFLAGS -Wl,--build-id"
20271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20272 printf %s "checking for the need to disable Fortify... " >&6; }
20273 if test ${ac_cv_c_fortify_enabled+y}
20274 then :
20275 printf %s "(cached) " >&6
20276 else $as_nop
20277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20278 /* end confdefs.h. */
20279 #include <string.h>
20281 main (void)
20283 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20284 #error Fortify enabled
20285 #endif
20287 return 0;
20289 _ACEOF
20290 if ac_fn_c_try_compile "$LINENO"
20291 then :
20292 ac_cv_c_fortify_enabled=no
20293 else $as_nop
20294 ac_cv_c_fortify_enabled=yes
20296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20299 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20300 if test "$ac_cv_c_fortify_enabled" = yes
20301 then
20302 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20307 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20308 if test ${ac_cv_c_cfi_support+y}
20309 then :
20310 printf %s "(cached) " >&6
20311 else $as_nop
20312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20314 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20316 main (void)
20320 return 0;
20322 _ACEOF
20323 if ac_fn_c_try_compile "$LINENO"
20324 then :
20325 ac_cv_c_cfi_support="yes"
20326 else $as_nop
20327 ac_cv_c_cfi_support="no"
20329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20332 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20333 if test "$ac_cv_c_cfi_support" = "yes"
20334 then
20335 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20336 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20337 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20338 elif test $HOST_ARCH = x86_64
20339 then
20340 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20344 case "$HOST_ARCH,$PE_ARCHS" in
20345 x86_64,*i386*) wine_binary="wine" ;;
20346 x86_64,*) wine_binary="wine64" ;;
20347 *) wine_binary="wine" ;;
20348 esac
20349 WINELOADER_PROGRAMS="$wine_binary"
20352 case $host_os in
20353 linux*)
20354 if test $HOST_ARCH != unknown
20355 then
20356 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20357 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20360 darwin*|macosx*)
20361 if test "$wine_can_build_preloader" = "yes"
20362 then
20363 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20364 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20367 esac
20370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20371 printf %s "checking for library containing dlopen... " >&6; }
20372 if test ${ac_cv_search_dlopen+y}
20373 then :
20374 printf %s "(cached) " >&6
20375 else $as_nop
20376 ac_func_search_save_LIBS=$LIBS
20377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20378 /* end confdefs.h. */
20380 /* Override any GCC internal prototype to avoid an error.
20381 Use char because int might match the return type of a GCC
20382 builtin and then its argument prototype would still apply. */
20383 char dlopen ();
20385 main (void)
20387 return dlopen ();
20389 return 0;
20391 _ACEOF
20392 for ac_lib in '' dl
20394 if test -z "$ac_lib"; then
20395 ac_res="none required"
20396 else
20397 ac_res=-l$ac_lib
20398 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20400 if ac_fn_c_try_link "$LINENO"
20401 then :
20402 ac_cv_search_dlopen=$ac_res
20404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20405 conftest$ac_exeext
20406 if test ${ac_cv_search_dlopen+y}
20407 then :
20408 break
20410 done
20411 if test ${ac_cv_search_dlopen+y}
20412 then :
20414 else $as_nop
20415 ac_cv_search_dlopen=no
20417 rm conftest.$ac_ext
20418 LIBS=$ac_func_search_save_LIBS
20420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20421 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20422 ac_res=$ac_cv_search_dlopen
20423 if test "$ac_res" != no
20424 then :
20425 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20431 printf %s "checking for library containing gethostbyname... " >&6; }
20432 if test ${ac_cv_search_gethostbyname+y}
20433 then :
20434 printf %s "(cached) " >&6
20435 else $as_nop
20436 ac_func_search_save_LIBS=$LIBS
20437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20440 /* Override any GCC internal prototype to avoid an error.
20441 Use char because int might match the return type of a GCC
20442 builtin and then its argument prototype would still apply. */
20443 char gethostbyname ();
20445 main (void)
20447 return gethostbyname ();
20449 return 0;
20451 _ACEOF
20452 for ac_lib in '' nsl
20454 if test -z "$ac_lib"; then
20455 ac_res="none required"
20456 else
20457 ac_res=-l$ac_lib
20458 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20460 if ac_fn_c_try_link "$LINENO"
20461 then :
20462 ac_cv_search_gethostbyname=$ac_res
20464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20465 conftest$ac_exeext
20466 if test ${ac_cv_search_gethostbyname+y}
20467 then :
20468 break
20470 done
20471 if test ${ac_cv_search_gethostbyname+y}
20472 then :
20474 else $as_nop
20475 ac_cv_search_gethostbyname=no
20477 rm conftest.$ac_ext
20478 LIBS=$ac_func_search_save_LIBS
20480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20481 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20482 ac_res=$ac_cv_search_gethostbyname
20483 if test "$ac_res" != no
20484 then :
20485 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20491 printf %s "checking for library containing connect... " >&6; }
20492 if test ${ac_cv_search_connect+y}
20493 then :
20494 printf %s "(cached) " >&6
20495 else $as_nop
20496 ac_func_search_save_LIBS=$LIBS
20497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20498 /* end confdefs.h. */
20500 /* Override any GCC internal prototype to avoid an error.
20501 Use char because int might match the return type of a GCC
20502 builtin and then its argument prototype would still apply. */
20503 char connect ();
20505 main (void)
20507 return connect ();
20509 return 0;
20511 _ACEOF
20512 for ac_lib in '' socket
20514 if test -z "$ac_lib"; then
20515 ac_res="none required"
20516 else
20517 ac_res=-l$ac_lib
20518 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20520 if ac_fn_c_try_link "$LINENO"
20521 then :
20522 ac_cv_search_connect=$ac_res
20524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20525 conftest$ac_exeext
20526 if test ${ac_cv_search_connect+y}
20527 then :
20528 break
20530 done
20531 if test ${ac_cv_search_connect+y}
20532 then :
20534 else $as_nop
20535 ac_cv_search_connect=no
20537 rm conftest.$ac_ext
20538 LIBS=$ac_func_search_save_LIBS
20540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20541 printf "%s\n" "$ac_cv_search_connect" >&6; }
20542 ac_res=$ac_cv_search_connect
20543 if test "$ac_res" != no
20544 then :
20545 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20551 printf %s "checking for library containing inet_aton... " >&6; }
20552 if test ${ac_cv_search_inet_aton+y}
20553 then :
20554 printf %s "(cached) " >&6
20555 else $as_nop
20556 ac_func_search_save_LIBS=$LIBS
20557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20558 /* end confdefs.h. */
20560 /* Override any GCC internal prototype to avoid an error.
20561 Use char because int might match the return type of a GCC
20562 builtin and then its argument prototype would still apply. */
20563 char inet_aton ();
20565 main (void)
20567 return inet_aton ();
20569 return 0;
20571 _ACEOF
20572 for ac_lib in '' resolv
20574 if test -z "$ac_lib"; then
20575 ac_res="none required"
20576 else
20577 ac_res=-l$ac_lib
20578 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20580 if ac_fn_c_try_link "$LINENO"
20581 then :
20582 ac_cv_search_inet_aton=$ac_res
20584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20585 conftest$ac_exeext
20586 if test ${ac_cv_search_inet_aton+y}
20587 then :
20588 break
20590 done
20591 if test ${ac_cv_search_inet_aton+y}
20592 then :
20594 else $as_nop
20595 ac_cv_search_inet_aton=no
20597 rm conftest.$ac_ext
20598 LIBS=$ac_func_search_save_LIBS
20600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20601 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20602 ac_res=$ac_cv_search_inet_aton
20603 if test "$ac_res" != no
20604 then :
20605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20610 ac_save_CFLAGS="$CFLAGS"
20611 CFLAGS="$CFLAGS $BUILTINFLAG"
20612 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20613 if test "x$ac_cv_func_dladdr1" = xyes
20614 then :
20615 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20618 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20619 if test "x$ac_cv_func_dlinfo" = xyes
20620 then :
20621 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20624 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20625 if test "x$ac_cv_func_epoll_create" = xyes
20626 then :
20627 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20630 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20631 if test "x$ac_cv_func_fstatfs" = xyes
20632 then :
20633 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20636 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20637 if test "x$ac_cv_func_futimens" = xyes
20638 then :
20639 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20642 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20643 if test "x$ac_cv_func_futimes" = xyes
20644 then :
20645 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20648 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20649 if test "x$ac_cv_func_futimesat" = xyes
20650 then :
20651 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20654 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20655 if test "x$ac_cv_func_getaddrinfo" = xyes
20656 then :
20657 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20660 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20661 if test "x$ac_cv_func_getattrlist" = xyes
20662 then :
20663 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20666 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20667 if test "x$ac_cv_func_getauxval" = xyes
20668 then :
20669 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20672 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20673 if test "x$ac_cv_func_getifaddrs" = xyes
20674 then :
20675 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20678 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20679 if test "x$ac_cv_func_getrandom" = xyes
20680 then :
20681 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20684 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20685 if test "x$ac_cv_func_kqueue" = xyes
20686 then :
20687 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20690 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20691 if test "x$ac_cv_func_mach_continuous_time" = xyes
20692 then :
20693 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20696 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20697 if test "x$ac_cv_func_pipe2" = xyes
20698 then :
20699 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20702 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20703 if test "x$ac_cv_func_port_create" = xyes
20704 then :
20705 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20708 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20709 if test "x$ac_cv_func_posix_fadvise" = xyes
20710 then :
20711 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20714 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20715 if test "x$ac_cv_func_posix_fallocate" = xyes
20716 then :
20717 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20720 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20721 if test "x$ac_cv_func_prctl" = xyes
20722 then :
20723 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20726 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20727 if test "x$ac_cv_func_proc_pidinfo" = xyes
20728 then :
20729 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20732 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20733 if test "x$ac_cv_func_sched_yield" = xyes
20734 then :
20735 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20738 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20739 if test "x$ac_cv_func_setproctitle" = xyes
20740 then :
20741 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20744 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20745 if test "x$ac_cv_func_setprogname" = xyes
20746 then :
20747 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20750 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20751 if test "x$ac_cv_func_sigprocmask" = xyes
20752 then :
20753 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20756 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20757 if test "x$ac_cv_func_sysinfo" = xyes
20758 then :
20759 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20762 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20763 if test "x$ac_cv_func_tcdrain" = xyes
20764 then :
20765 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20768 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20769 if test "x$ac_cv_func_thr_kill2" = xyes
20770 then :
20771 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20775 CFLAGS="$ac_save_CFLAGS"
20777 case $host_os in
20778 darwin*|macosx*) ;;
20779 *) ac_save_LIBS=$LIBS
20780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20781 printf %s "checking for library containing clock_gettime... " >&6; }
20782 if test ${ac_cv_search_clock_gettime+y}
20783 then :
20784 printf %s "(cached) " >&6
20785 else $as_nop
20786 ac_func_search_save_LIBS=$LIBS
20787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20788 /* end confdefs.h. */
20790 /* Override any GCC internal prototype to avoid an error.
20791 Use char because int might match the return type of a GCC
20792 builtin and then its argument prototype would still apply. */
20793 char clock_gettime ();
20795 main (void)
20797 return clock_gettime ();
20799 return 0;
20801 _ACEOF
20802 for ac_lib in '' rt
20804 if test -z "$ac_lib"; then
20805 ac_res="none required"
20806 else
20807 ac_res=-l$ac_lib
20808 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20810 if ac_fn_c_try_link "$LINENO"
20811 then :
20812 ac_cv_search_clock_gettime=$ac_res
20814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20815 conftest$ac_exeext
20816 if test ${ac_cv_search_clock_gettime+y}
20817 then :
20818 break
20820 done
20821 if test ${ac_cv_search_clock_gettime+y}
20822 then :
20824 else $as_nop
20825 ac_cv_search_clock_gettime=no
20827 rm conftest.$ac_ext
20828 LIBS=$ac_func_search_save_LIBS
20830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20831 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20832 ac_res=$ac_cv_search_clock_gettime
20833 if test "$ac_res" != no
20834 then :
20835 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20837 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20839 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20843 LIBS=$ac_save_LIBS
20845 esac
20847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20848 printf %s "checking for sched_setaffinity... " >&6; }
20849 if test ${wine_cv_have_sched_setaffinity+y}
20850 then :
20851 printf %s "(cached) " >&6
20852 else $as_nop
20853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20855 #include <sched.h>
20857 main (void)
20859 sched_setaffinity(0, 0, 0);
20861 return 0;
20863 _ACEOF
20864 if ac_fn_c_try_link "$LINENO"
20865 then :
20866 wine_cv_have_sched_setaffinity=yes
20867 else $as_nop
20868 wine_cv_have_sched_setaffinity=no
20870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20871 conftest$ac_exeext conftest.$ac_ext
20873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20874 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20875 if test "$wine_cv_have_sched_setaffinity" = "yes"
20876 then
20878 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20884 printf %s "checking for inline... " >&6; }
20885 if test ${ac_cv_c_inline+y}
20886 then :
20887 printf %s "(cached) " >&6
20888 else $as_nop
20889 ac_cv_c_inline=no
20890 for ac_kw in inline __inline__ __inline; do
20891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20892 /* end confdefs.h. */
20893 #ifndef __cplusplus
20894 typedef int foo_t;
20895 static $ac_kw foo_t static_foo (void) {return 0; }
20896 $ac_kw foo_t foo (void) {return 0; }
20897 #endif
20899 _ACEOF
20900 if ac_fn_c_try_compile "$LINENO"
20901 then :
20902 ac_cv_c_inline=$ac_kw
20904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20905 test "$ac_cv_c_inline" != no && break
20906 done
20909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20910 printf "%s\n" "$ac_cv_c_inline" >&6; }
20912 case $ac_cv_c_inline in
20913 inline | yes) ;;
20915 case $ac_cv_c_inline in
20916 no) ac_val=;;
20917 *) ac_val=$ac_cv_c_inline;;
20918 esac
20919 cat >>confdefs.h <<_ACEOF
20920 #ifndef __cplusplus
20921 #define inline $ac_val
20922 #endif
20923 _ACEOF
20925 esac
20927 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20929 if test "x$ac_cv_type_request_sense" = xyes
20930 then :
20932 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20938 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20939 #include <sys/socket.h>
20940 #ifdef HAVE_SYS_SOCKETVAR_H
20941 #include <sys/socketvar.h>
20942 #endif
20943 #ifdef HAVE_NET_ROUTE_H
20944 #include <net/route.h>
20945 #endif
20946 #ifdef HAVE_NETINET_IN_H
20947 #include <netinet/in.h>
20948 #endif
20949 #ifdef HAVE_NETINET_IN_SYSTM_H
20950 #include <netinet/in_systm.h>
20951 #endif
20952 #ifdef HAVE_NETINET_IP_H
20953 #include <netinet/ip.h>
20954 #endif
20955 #ifdef HAVE_NETINET_IN_PCB_H
20956 #include <netinet/in_pcb.h>
20957 #endif
20959 if test "x$ac_cv_type_struct_xinpgen" = xyes
20960 then :
20962 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20969 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20970 if test ${wine_cv_linux_gethostbyname_r_6+y}
20971 then :
20972 printf %s "(cached) " >&6
20973 else $as_nop
20974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20976 #include <netdb.h>
20978 main (void)
20981 char *name=0;
20982 struct hostent he;
20983 struct hostent *result;
20984 char *buf=0;
20985 int bufsize=0;
20986 int errnr;
20987 char *addr=0;
20988 int addrlen=0;
20989 int addrtype=0;
20990 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20991 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20994 return 0;
20996 _ACEOF
20997 if ac_fn_c_try_link "$LINENO"
20998 then :
20999 wine_cv_linux_gethostbyname_r_6=yes
21000 else $as_nop
21001 wine_cv_linux_gethostbyname_r_6=no
21004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21005 conftest$ac_exeext conftest.$ac_ext
21008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21009 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21010 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21011 then
21013 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21017 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
21018 #include <sys/socket.h>
21019 #ifdef HAVE_SYS_UN_H
21020 # include <sys/un.h>
21021 #endif
21023 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
21024 then :
21026 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
21030 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21031 #include <sys/socket.h>
21032 #ifdef HAVE_SYS_UN_H
21033 # include <sys/un.h>
21034 #endif
21036 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21037 then :
21039 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21045 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21046 #ifdef HAVE_SCSI_SG_H
21047 #include <scsi/sg.h>
21048 #endif
21050 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21051 then :
21053 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21057 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>
21058 #ifdef HAVE_SCSI_SG_H
21059 #include <scsi/sg.h>
21060 #endif
21062 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21063 then :
21065 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21071 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21073 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21074 then :
21076 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21082 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21083 #ifdef HAVE_SYS_MTIO_H
21084 #include <sys/mtio.h>
21085 #endif
21087 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21088 then :
21090 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21094 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21095 #ifdef HAVE_SYS_MTIO_H
21096 #include <sys/mtio.h>
21097 #endif
21099 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21100 then :
21102 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21106 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21107 #ifdef HAVE_SYS_MTIO_H
21108 #include <sys/mtio.h>
21109 #endif
21111 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21112 then :
21114 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21120 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21121 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21122 then :
21124 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21128 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21129 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21130 then :
21132 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21136 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21137 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21138 then :
21140 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21144 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21145 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21146 then :
21148 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21152 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21153 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21154 then :
21156 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21160 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21161 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21162 then :
21164 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21168 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21169 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21170 then :
21172 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21176 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21177 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21178 then :
21180 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21184 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21185 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21186 then :
21188 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21192 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21193 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21194 then :
21196 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21200 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21201 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21202 then :
21204 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21210 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>
21211 #ifdef HAVE_NETINET_IN_H
21212 #include <netinet/in.h>
21213 #endif
21215 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21216 then :
21218 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21224 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
21225 #include <resolv.h>
21226 #endif
21228 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21229 then :
21231 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21237 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21238 #include <netinet/in.h>
21239 #endif
21241 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21242 then :
21244 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21250 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21251 #ifdef HAVE_SYS_SOCKETVAR_H
21252 #include <sys/socketvar.h>
21253 #endif
21254 #ifdef HAVE_NETINET_IN_H
21255 #include <netinet/in.h>
21256 #endif
21257 #ifdef HAVE_NETINET_IP_VAR_H
21258 #include <netinet/ip_var.h>
21259 #endif
21261 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21262 then :
21264 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21270 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
21271 #include <netinet/ip_var.h>
21272 #endif
21274 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21275 then :
21277 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21283 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21284 #ifdef HAVE_SYS_SOCKETVAR_H
21285 #include <sys/socketvar.h>
21286 #endif
21287 #ifdef HAVE_NETINET_IN_H
21288 #include <netinet/in.h>
21289 #endif
21290 #ifdef HAVE_NETINET6_IP6_VAR_H
21291 #include <netinet6/ip6_var.h>
21292 #endif
21294 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21295 then :
21297 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21303 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21304 #ifdef HAVE_SYS_SOCKETVAR_H
21305 #include <sys/socketvar.h>
21306 #endif
21307 #ifdef HAVE_NETINET_IN_H
21308 #include <netinet/in.h>
21309 #endif
21310 #ifdef HAVE_NETINET_IP_H
21311 #include <netinet/ip.h>
21312 #endif
21313 #ifdef HAVE_NETINET_IP_ICMP_H
21314 #include <netinet/ip_icmp.h>
21315 #endif
21316 #ifdef HAVE_NETINET_ICMP_VAR_H
21317 #include <netinet/icmp_var.h>
21318 #endif
21320 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21321 then :
21323 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21329 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21330 #ifdef HAVE_SYS_SOCKETVAR_H
21331 #include <sys/socketvar.h>
21332 #endif
21333 #ifdef HAVE_NETINET_IN_H
21334 #include <netinet/in.h>
21335 #endif
21336 #ifdef HAVE_NETINET_ICMP6_H
21337 #include <netinet/icmp6.h>
21338 #endif
21340 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21341 then :
21343 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21349 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21350 #ifdef HAVE_SYS_SOCKETVAR_H
21351 #include <sys/socketvar.h>
21352 #endif
21353 #ifdef HAVE_NETINET_IN_H
21354 #include <netinet/in.h>
21355 #endif
21356 #ifdef HAVE_NETINET_TCP_H
21357 #include <netinet/tcp.h>
21358 #endif
21359 #ifdef HAVE_NETINET_TCP_VAR_H
21360 #include <netinet/tcp_var.h>
21361 #endif
21363 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21364 then :
21366 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21372 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
21373 #include <netinet/tcp_var.h>
21374 #endif
21376 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21377 then :
21379 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21385 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21386 #ifdef HAVE_NETINET_IN_H
21387 #include <netinet/in.h>
21388 #endif
21389 #ifdef HAVE_NETINET_IP_VAR_H
21390 #include <netinet/ip_var.h>
21391 #endif
21392 #ifdef HAVE_NETINET_UDP_H
21393 #include <netinet/udp.h>
21394 #endif
21395 #ifdef HAVE_NETINET_UDP_VAR_H
21396 #include <netinet/udp_var.h>
21397 #endif
21399 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21400 then :
21402 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21408 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21409 #ifdef HAVE_NET_IF_H
21410 # include <net/if.h>
21411 #endif
21413 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21414 then :
21416 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21422 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21423 # include <sys/sysinfo.h>
21424 #endif
21426 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21427 then :
21429 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21433 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21434 # include <sys/sysinfo.h>
21435 #endif
21437 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21438 then :
21440 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21446 LIBS="$ac_save_LIBS"
21448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21449 printf %s "checking for __builtin_popcount... " >&6; }
21450 if test ${ac_cv_have___builtin_popcount+y}
21451 then :
21452 printf %s "(cached) " >&6
21453 else $as_nop
21454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h. */
21458 main (void)
21460 return __builtin_popcount(1)
21462 return 0;
21464 _ACEOF
21465 if ac_fn_c_try_link "$LINENO"
21466 then :
21467 ac_cv_have___builtin_popcount="yes"
21468 else $as_nop
21469 ac_cv_have___builtin_popcount="no"
21471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21472 conftest$ac_exeext conftest.$ac_ext
21474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21475 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21476 if test "$ac_cv_have___builtin_popcount" = "yes"
21477 then
21479 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21484 printf %s "checking for __clear_cache... " >&6; }
21485 if test ${ac_cv_have___clear_cache+y}
21486 then :
21487 printf %s "(cached) " >&6
21488 else $as_nop
21489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21490 /* end confdefs.h. */
21493 main (void)
21495 __clear_cache((void*)0, (void*)0); return 0;
21497 return 0;
21499 _ACEOF
21500 if ac_fn_c_try_link "$LINENO"
21501 then :
21502 ac_cv_have___clear_cache="yes"
21503 else $as_nop
21504 ac_cv_have___clear_cache="no"
21506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21507 conftest$ac_exeext conftest.$ac_ext
21509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21510 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21511 if test "$ac_cv_have___clear_cache" = "yes"
21512 then
21514 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21519 case $host_cpu in
21520 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21521 printf %s "checking whether we need to define __i386__... " >&6; }
21522 if test ${ac_cv_cpp_def___i386__+y}
21523 then :
21524 printf %s "(cached) " >&6
21525 else $as_nop
21526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21527 /* end confdefs.h. */
21528 #ifndef __i386__
21530 #endif
21531 _ACEOF
21532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21533 $EGREP "yes" >/dev/null 2>&1
21534 then :
21535 ac_cv_cpp_def___i386__=yes
21536 else $as_nop
21537 ac_cv_cpp_def___i386__=no
21539 rm -rf conftest*
21542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21543 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21544 if test "x$ac_cv_cpp_def___i386__" = xyes
21545 then :
21546 CFLAGS="$CFLAGS -D__i386__"
21547 LINTFLAGS="$LINTFLAGS -D__i386__"
21548 fi ;;
21549 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21550 printf %s "checking whether we need to define __x86_64__... " >&6; }
21551 if test ${ac_cv_cpp_def___x86_64__+y}
21552 then :
21553 printf %s "(cached) " >&6
21554 else $as_nop
21555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21556 /* end confdefs.h. */
21557 #ifndef __x86_64__
21559 #endif
21560 _ACEOF
21561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21562 $EGREP "yes" >/dev/null 2>&1
21563 then :
21564 ac_cv_cpp_def___x86_64__=yes
21565 else $as_nop
21566 ac_cv_cpp_def___x86_64__=no
21568 rm -rf conftest*
21571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21572 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21573 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21574 then :
21575 CFLAGS="$CFLAGS -D__x86_64__"
21576 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21577 fi ;;
21578 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21579 printf %s "checking whether we need to define __sparc64__... " >&6; }
21580 if test ${ac_cv_cpp_def___sparc64__+y}
21581 then :
21582 printf %s "(cached) " >&6
21583 else $as_nop
21584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21585 /* end confdefs.h. */
21586 #ifndef __sparc64__
21588 #endif
21589 _ACEOF
21590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21591 $EGREP "yes" >/dev/null 2>&1
21592 then :
21593 ac_cv_cpp_def___sparc64__=yes
21594 else $as_nop
21595 ac_cv_cpp_def___sparc64__=no
21597 rm -rf conftest*
21600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21601 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21602 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21603 then :
21604 CFLAGS="$CFLAGS -D__sparc64__"
21605 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21606 fi ;;
21607 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21608 printf %s "checking whether we need to define __sparc__... " >&6; }
21609 if test ${ac_cv_cpp_def___sparc__+y}
21610 then :
21611 printf %s "(cached) " >&6
21612 else $as_nop
21613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21614 /* end confdefs.h. */
21615 #ifndef __sparc__
21617 #endif
21618 _ACEOF
21619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21620 $EGREP "yes" >/dev/null 2>&1
21621 then :
21622 ac_cv_cpp_def___sparc__=yes
21623 else $as_nop
21624 ac_cv_cpp_def___sparc__=no
21626 rm -rf conftest*
21629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21630 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21631 if test "x$ac_cv_cpp_def___sparc__" = xyes
21632 then :
21633 CFLAGS="$CFLAGS -D__sparc__"
21634 LINTFLAGS="$LINTFLAGS -D__sparc__"
21635 fi ;;
21636 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21637 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21638 if test ${ac_cv_cpp_def___powerpc64__+y}
21639 then :
21640 printf %s "(cached) " >&6
21641 else $as_nop
21642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21643 /* end confdefs.h. */
21644 #ifndef __powerpc64__
21646 #endif
21647 _ACEOF
21648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21649 $EGREP "yes" >/dev/null 2>&1
21650 then :
21651 ac_cv_cpp_def___powerpc64__=yes
21652 else $as_nop
21653 ac_cv_cpp_def___powerpc64__=no
21655 rm -rf conftest*
21658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21659 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21660 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21661 then :
21662 CFLAGS="$CFLAGS -D__powerpc64__"
21663 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21664 fi ;;
21665 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21666 printf %s "checking whether we need to define __powerpc__... " >&6; }
21667 if test ${ac_cv_cpp_def___powerpc__+y}
21668 then :
21669 printf %s "(cached) " >&6
21670 else $as_nop
21671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21673 #ifndef __powerpc__
21675 #endif
21676 _ACEOF
21677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21678 $EGREP "yes" >/dev/null 2>&1
21679 then :
21680 ac_cv_cpp_def___powerpc__=yes
21681 else $as_nop
21682 ac_cv_cpp_def___powerpc__=no
21684 rm -rf conftest*
21687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21688 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21689 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21690 then :
21691 CFLAGS="$CFLAGS -D__powerpc__"
21692 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21693 fi ;;
21694 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21695 printf %s "checking whether we need to define __aarch64__... " >&6; }
21696 if test ${ac_cv_cpp_def___aarch64__+y}
21697 then :
21698 printf %s "(cached) " >&6
21699 else $as_nop
21700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21701 /* end confdefs.h. */
21702 #ifndef __aarch64__
21704 #endif
21705 _ACEOF
21706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21707 $EGREP "yes" >/dev/null 2>&1
21708 then :
21709 ac_cv_cpp_def___aarch64__=yes
21710 else $as_nop
21711 ac_cv_cpp_def___aarch64__=no
21713 rm -rf conftest*
21716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21717 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21718 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21719 then :
21720 CFLAGS="$CFLAGS -D__aarch64__"
21721 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21722 fi ;;
21723 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21724 printf %s "checking whether we need to define __arm__... " >&6; }
21725 if test ${ac_cv_cpp_def___arm__+y}
21726 then :
21727 printf %s "(cached) " >&6
21728 else $as_nop
21729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h. */
21731 #ifndef __arm__
21733 #endif
21734 _ACEOF
21735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21736 $EGREP "yes" >/dev/null 2>&1
21737 then :
21738 ac_cv_cpp_def___arm__=yes
21739 else $as_nop
21740 ac_cv_cpp_def___arm__=no
21742 rm -rf conftest*
21745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21746 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21747 if test "x$ac_cv_cpp_def___arm__" = xyes
21748 then :
21749 CFLAGS="$CFLAGS -D__arm__"
21750 LINTFLAGS="$LINTFLAGS -D__arm__"
21751 fi ;;
21752 esac
21754 case $host_vendor in
21755 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21756 printf %s "checking whether we need to define __sun__... " >&6; }
21757 if test ${ac_cv_cpp_def___sun__+y}
21758 then :
21759 printf %s "(cached) " >&6
21760 else $as_nop
21761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21762 /* end confdefs.h. */
21763 #ifndef __sun__
21765 #endif
21766 _ACEOF
21767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21768 $EGREP "yes" >/dev/null 2>&1
21769 then :
21770 ac_cv_cpp_def___sun__=yes
21771 else $as_nop
21772 ac_cv_cpp_def___sun__=no
21774 rm -rf conftest*
21777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21778 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21779 if test "x$ac_cv_cpp_def___sun__" = xyes
21780 then :
21781 CFLAGS="$CFLAGS -D__sun__"
21782 LINTFLAGS="$LINTFLAGS -D__sun__"
21783 fi ;;
21784 esac
21790 ac_config_commands="$ac_config_commands include/stamp-h"
21792 printf %s "creating Makefile rules..." >&6
21794 makedep_flags=""
21795 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21797 wine_srcdir=
21798 test "$srcdir" = . || wine_srcdir="$srcdir/"
21800 ac_config_links="$ac_config_links wine:tools/winewrapper"
21801 wine_fn_config_symlink wine
21802 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21803 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21804 wine_fn_config_symlink wine64
21807 wine_fn_config_makefile dlls/acledit enable_acledit
21808 wine_fn_config_makefile dlls/aclui enable_aclui
21809 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21810 wine_fn_config_makefile dlls/activeds enable_activeds
21811 wine_fn_config_makefile dlls/activeds/tests enable_tests
21812 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21813 wine_fn_config_makefile dlls/adsldp enable_adsldp
21814 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21815 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21816 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21817 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21818 wine_fn_config_makefile dlls/advpack enable_advpack
21819 wine_fn_config_makefile dlls/advpack/tests enable_tests
21820 wine_fn_config_makefile dlls/amsi enable_amsi
21821 wine_fn_config_makefile dlls/amstream enable_amstream
21822 wine_fn_config_makefile dlls/amstream/tests enable_tests
21823 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21824 wine_fn_config_makefile dlls/apphelp enable_apphelp
21825 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21826 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21827 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21828 wine_fn_config_makefile dlls/atl enable_atl
21829 wine_fn_config_makefile dlls/atl/tests enable_tests
21830 wine_fn_config_makefile dlls/atl100 enable_atl100
21831 wine_fn_config_makefile dlls/atl100/tests enable_tests
21832 wine_fn_config_makefile dlls/atl110 enable_atl110
21833 wine_fn_config_makefile dlls/atl110/tests enable_tests
21834 wine_fn_config_makefile dlls/atl80 enable_atl80
21835 wine_fn_config_makefile dlls/atl80/tests enable_tests
21836 wine_fn_config_makefile dlls/atl90 enable_atl90
21837 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21838 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21839 wine_fn_config_makefile dlls/atmlib enable_atmlib
21840 wine_fn_config_makefile dlls/authz enable_authz
21841 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21842 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21843 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21844 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21845 wine_fn_config_makefile dlls/avrt enable_avrt
21846 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21847 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21848 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21849 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21850 wine_fn_config_makefile dlls/browseui enable_browseui
21851 wine_fn_config_makefile dlls/browseui/tests enable_tests
21852 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21853 wine_fn_config_makefile dlls/cabinet enable_cabinet
21854 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21855 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21856 wine_fn_config_makefile dlls/cards enable_cards
21857 wine_fn_config_makefile dlls/cdosys enable_cdosys
21858 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21859 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21860 wine_fn_config_makefile dlls/clusapi enable_clusapi
21861 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21862 wine_fn_config_makefile dlls/combase enable_combase
21863 wine_fn_config_makefile dlls/combase/tests enable_tests
21864 wine_fn_config_makefile dlls/comcat enable_comcat
21865 wine_fn_config_makefile dlls/comcat/tests enable_tests
21866 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21867 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21868 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21869 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21870 wine_fn_config_makefile dlls/coml2 enable_coml2
21871 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21872 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21873 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21874 wine_fn_config_makefile dlls/compstui enable_compstui
21875 wine_fn_config_makefile dlls/compstui/tests enable_tests
21876 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21877 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21878 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21879 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21880 wine_fn_config_makefile dlls/connect enable_connect
21881 wine_fn_config_makefile dlls/credui enable_credui
21882 wine_fn_config_makefile dlls/credui/tests enable_tests
21883 wine_fn_config_makefile dlls/crtdll enable_crtdll
21884 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21885 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21886 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21887 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21888 wine_fn_config_makefile dlls/cryptext enable_cryptext
21889 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21890 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21891 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21892 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21893 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21894 wine_fn_config_makefile dlls/cryptui enable_cryptui
21895 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21896 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21897 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21898 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21899 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21900 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21901 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21902 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21903 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21904 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21905 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21906 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21907 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21908 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21909 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21910 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21911 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21912 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21913 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21914 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21915 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21916 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21917 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21918 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21919 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21920 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21921 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21922 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21923 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21924 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21925 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21926 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21927 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21928 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21929 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21930 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21931 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21932 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21933 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21934 wine_fn_config_makefile dlls/d3dim enable_d3dim
21935 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21936 wine_fn_config_makefile dlls/d3drm enable_d3drm
21937 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21938 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21939 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21940 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21941 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21942 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21943 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21944 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21945 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21946 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21947 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21948 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21949 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21950 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21951 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21952 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21953 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21954 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21955 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21956 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21957 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21958 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21959 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21960 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21961 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21962 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21963 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21964 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21965 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21966 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21967 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21968 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21969 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21970 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21971 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21972 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21973 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21974 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21975 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21976 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21977 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21978 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21979 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21980 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21981 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21982 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21983 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21984 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21985 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21986 wine_fn_config_makefile dlls/davclnt enable_davclnt
21987 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21988 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21989 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21990 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21991 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21992 wine_fn_config_makefile dlls/dcomp enable_dcomp
21993 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21994 wine_fn_config_makefile dlls/ddraw enable_ddraw
21995 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21996 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21997 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21998 wine_fn_config_makefile dlls/devenum enable_devenum
21999 wine_fn_config_makefile dlls/devenum/tests enable_tests
22000 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
22001 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
22002 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
22003 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
22004 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
22005 wine_fn_config_makefile dlls/difxapi enable_difxapi
22006 wine_fn_config_makefile dlls/dinput enable_dinput
22007 wine_fn_config_makefile dlls/dinput/tests enable_tests
22008 wine_fn_config_makefile dlls/dinput8 enable_dinput8
22009 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
22010 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
22011 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
22012 wine_fn_config_makefile dlls/dispex enable_dispex
22013 wine_fn_config_makefile dlls/dispex/tests enable_tests
22014 wine_fn_config_makefile dlls/display.drv16 enable_win16
22015 wine_fn_config_makefile dlls/dmband enable_dmband
22016 wine_fn_config_makefile dlls/dmband/tests enable_tests
22017 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
22018 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
22019 wine_fn_config_makefile dlls/dmime enable_dmime
22020 wine_fn_config_makefile dlls/dmime/tests enable_tests
22021 wine_fn_config_makefile dlls/dmloader enable_dmloader
22022 wine_fn_config_makefile dlls/dmloader/tests enable_tests
22023 wine_fn_config_makefile dlls/dmscript enable_dmscript
22024 wine_fn_config_makefile dlls/dmscript/tests enable_tests
22025 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
22026 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
22027 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
22028 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
22029 wine_fn_config_makefile dlls/dmusic enable_dmusic
22030 wine_fn_config_makefile dlls/dmusic/tests enable_tests
22031 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
22032 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
22033 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
22034 wine_fn_config_makefile dlls/dplay enable_dplay
22035 wine_fn_config_makefile dlls/dplayx enable_dplayx
22036 wine_fn_config_makefile dlls/dplayx/tests enable_tests
22037 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
22038 wine_fn_config_makefile dlls/dpnet enable_dpnet
22039 wine_fn_config_makefile dlls/dpnet/tests enable_tests
22040 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
22041 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
22042 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
22043 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
22044 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
22045 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
22046 wine_fn_config_makefile dlls/drmclien enable_drmclien
22047 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
22048 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
22049 wine_fn_config_makefile dlls/dsound enable_dsound
22050 wine_fn_config_makefile dlls/dsound/tests enable_tests
22051 wine_fn_config_makefile dlls/dsquery enable_dsquery
22052 wine_fn_config_makefile dlls/dssenh enable_dssenh
22053 wine_fn_config_makefile dlls/dssenh/tests enable_tests
22054 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
22055 wine_fn_config_makefile dlls/dswave enable_dswave
22056 wine_fn_config_makefile dlls/dswave/tests enable_tests
22057 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
22058 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
22059 wine_fn_config_makefile dlls/dwrite enable_dwrite
22060 wine_fn_config_makefile dlls/dwrite/tests enable_tests
22061 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
22062 wine_fn_config_makefile dlls/dxcore enable_dxcore
22063 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
22064 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
22065 wine_fn_config_makefile dlls/dxgi enable_dxgi
22066 wine_fn_config_makefile dlls/dxgi/tests enable_tests
22067 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
22068 wine_fn_config_makefile dlls/dxva2 enable_dxva2
22069 wine_fn_config_makefile dlls/dxva2/tests enable_tests
22070 wine_fn_config_makefile dlls/esent enable_esent
22071 wine_fn_config_makefile dlls/evr enable_evr
22072 wine_fn_config_makefile dlls/evr/tests enable_tests
22073 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
22074 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
22075 wine_fn_config_makefile dlls/faultrep enable_faultrep
22076 wine_fn_config_makefile dlls/faultrep/tests enable_tests
22077 wine_fn_config_makefile dlls/feclient enable_feclient
22078 wine_fn_config_makefile dlls/fltlib enable_fltlib
22079 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
22080 wine_fn_config_makefile dlls/fntcache enable_fntcache
22081 wine_fn_config_makefile dlls/fontsub enable_fontsub
22082 wine_fn_config_makefile dlls/fusion enable_fusion
22083 wine_fn_config_makefile dlls/fusion/tests enable_tests
22084 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
22085 wine_fn_config_makefile dlls/gameux enable_gameux
22086 wine_fn_config_makefile dlls/gameux/tests enable_tests
22087 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
22088 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
22089 wine_fn_config_makefile dlls/gdi32 enable_gdi32
22090 wine_fn_config_makefile dlls/gdi32/tests enable_tests
22091 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
22092 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
22093 wine_fn_config_makefile dlls/geolocation enable_geolocation
22094 wine_fn_config_makefile dlls/geolocation/tests enable_tests
22095 wine_fn_config_makefile dlls/glu32 enable_glu32
22096 wine_fn_config_makefile dlls/glu32/tests enable_tests
22097 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
22098 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
22099 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
22100 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
22101 wine_fn_config_makefile dlls/hal enable_hal
22102 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
22103 wine_fn_config_makefile dlls/hid enable_hid
22104 wine_fn_config_makefile dlls/hid/tests enable_tests
22105 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
22106 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22107 wine_fn_config_makefile dlls/hlink enable_hlink
22108 wine_fn_config_makefile dlls/hlink/tests enable_tests
22109 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22110 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22111 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
22112 wine_fn_config_makefile dlls/http.sys enable_http_sys
22113 wine_fn_config_makefile dlls/httpapi enable_httpapi
22114 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22115 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
22116 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
22117 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
22118 wine_fn_config_makefile dlls/iccvid enable_iccvid
22119 wine_fn_config_makefile dlls/icmp enable_icmp
22120 wine_fn_config_makefile dlls/ieframe enable_ieframe
22121 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22122 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22123 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22124 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22125 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22126 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22127 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22128 wine_fn_config_makefile dlls/imm32 enable_imm32
22129 wine_fn_config_makefile dlls/imm32/tests enable_tests
22130 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22131 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22132 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22133 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22134 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22135 wine_fn_config_makefile dlls/infosoft enable_infosoft
22136 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22137 wine_fn_config_makefile dlls/initpki enable_initpki
22138 wine_fn_config_makefile dlls/inkobj enable_inkobj
22139 wine_fn_config_makefile dlls/inseng enable_inseng
22140 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22141 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22142 wine_fn_config_makefile dlls/iprop enable_iprop
22143 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
22144 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22145 wine_fn_config_makefile dlls/itircl enable_itircl
22146 wine_fn_config_makefile dlls/itss enable_itss
22147 wine_fn_config_makefile dlls/itss/tests enable_tests
22148 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22149 wine_fn_config_makefile dlls/jscript enable_jscript
22150 wine_fn_config_makefile dlls/jscript/tests enable_tests
22151 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22152 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22153 wine_fn_config_makefile dlls/kerberos enable_kerberos
22154 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22155 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22156 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22157 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22158 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22159 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22160 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22161 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22162 wine_fn_config_makefile dlls/ksuser enable_ksuser
22163 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22164 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22165 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22166 wine_fn_config_makefile dlls/loadperf enable_loadperf
22167 wine_fn_config_makefile dlls/localspl enable_localspl
22168 wine_fn_config_makefile dlls/localspl/tests enable_tests
22169 wine_fn_config_makefile dlls/localui enable_localui
22170 wine_fn_config_makefile dlls/localui/tests enable_tests
22171 wine_fn_config_makefile dlls/lz32 enable_lz32
22172 wine_fn_config_makefile dlls/lz32/tests enable_tests
22173 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22174 wine_fn_config_makefile dlls/magnification enable_magnification
22175 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22176 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22177 wine_fn_config_makefile dlls/mapistub enable_mapistub
22178 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22179 wine_fn_config_makefile dlls/mcicda enable_mcicda
22180 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22181 wine_fn_config_makefile dlls/mciseq enable_mciseq
22182 wine_fn_config_makefile dlls/mciwave enable_mciwave
22183 wine_fn_config_makefile dlls/mf enable_mf
22184 wine_fn_config_makefile dlls/mf/tests enable_tests
22185 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22186 wine_fn_config_makefile dlls/mferror enable_mferror
22187 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22188 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22189 wine_fn_config_makefile dlls/mfplat enable_mfplat
22190 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22191 wine_fn_config_makefile dlls/mfplay enable_mfplay
22192 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22193 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22194 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22195 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
22196 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
22197 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22198 wine_fn_config_makefile dlls/midimap enable_midimap
22199 wine_fn_config_makefile dlls/mlang enable_mlang
22200 wine_fn_config_makefile dlls/mlang/tests enable_tests
22201 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22202 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22203 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22204 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22205 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22206 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22207 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22208 wine_fn_config_makefile dlls/mouhid.sys enable_mouhid_sys
22209 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22210 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22211 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22212 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22213 wine_fn_config_makefile dlls/mpr enable_mpr
22214 wine_fn_config_makefile dlls/mpr/tests enable_tests
22215 wine_fn_config_makefile dlls/mprapi enable_mprapi
22216 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22217 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22218 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22219 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22220 wine_fn_config_makefile dlls/msado15 enable_msado15
22221 wine_fn_config_makefile dlls/msado15/tests enable_tests
22222 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22223 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22224 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22225 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
22226 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22227 wine_fn_config_makefile dlls/mscms enable_mscms
22228 wine_fn_config_makefile dlls/mscms/tests enable_tests
22229 wine_fn_config_makefile dlls/mscoree enable_mscoree
22230 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22231 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22232 wine_fn_config_makefile dlls/msctf enable_msctf
22233 wine_fn_config_makefile dlls/msctf/tests enable_tests
22234 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22235 wine_fn_config_makefile dlls/msctfp enable_msctfp
22236 wine_fn_config_makefile dlls/msdaps enable_msdaps
22237 wine_fn_config_makefile dlls/msdasql enable_msdasql
22238 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22239 wine_fn_config_makefile dlls/msdelta enable_msdelta
22240 wine_fn_config_makefile dlls/msdmo enable_msdmo
22241 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22242 wine_fn_config_makefile dlls/msdrm enable_msdrm
22243 wine_fn_config_makefile dlls/msftedit enable_msftedit
22244 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22245 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22246 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22247 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22248 wine_fn_config_makefile dlls/mshtml enable_mshtml
22249 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22250 wine_fn_config_makefile dlls/msi enable_msi
22251 wine_fn_config_makefile dlls/msi/tests enable_tests
22252 wine_fn_config_makefile dlls/msident enable_msident
22253 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22254 wine_fn_config_makefile dlls/msimsg enable_msimsg
22255 wine_fn_config_makefile dlls/msimtf enable_msimtf
22256 wine_fn_config_makefile dlls/msisip enable_msisip
22257 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22258 wine_fn_config_makefile dlls/msls31 enable_msls31
22259 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22260 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22261 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22262 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22263 wine_fn_config_makefile dlls/msports enable_msports
22264 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22265 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22266 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22267 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22268 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22269 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22270 wine_fn_config_makefile dlls/mstask enable_mstask
22271 wine_fn_config_makefile dlls/mstask/tests enable_tests
22272 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22273 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22274 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22275 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22276 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22277 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22278 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22279 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22280 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22281 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22282 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22283 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22284 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22285 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22286 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22287 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22288 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22289 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22290 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22291 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22292 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22293 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22294 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22295 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22296 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22297 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22298 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22299 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22300 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22301 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22302 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22303 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22304 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22305 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22306 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22307 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22308 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22309 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22310 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22311 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22312 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22313 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22314 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22315 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22316 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22317 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22318 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22319 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22320 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22321 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22322 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22323 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22324 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22325 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22326 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22327 wine_fn_config_makefile dlls/mswsock enable_mswsock
22328 wine_fn_config_makefile dlls/msxml enable_msxml
22329 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22330 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22331 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22332 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22333 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22334 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22335 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22336 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22337 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22338 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22339 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22340 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22341 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22342 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22343 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22344 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22345 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22346 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22347 wine_fn_config_makefile dlls/netprofm enable_netprofm
22348 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22349 wine_fn_config_makefile dlls/netutils enable_netutils
22350 wine_fn_config_makefile dlls/newdev enable_newdev
22351 wine_fn_config_makefile dlls/ninput enable_ninput
22352 wine_fn_config_makefile dlls/ninput/tests enable_tests
22353 wine_fn_config_makefile dlls/normaliz enable_normaliz
22354 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22355 wine_fn_config_makefile dlls/npptools enable_npptools
22356 wine_fn_config_makefile dlls/nsi enable_nsi
22357 wine_fn_config_makefile dlls/nsi/tests enable_tests
22358 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22359 wine_fn_config_makefile dlls/ntdll enable_ntdll
22360 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22361 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22362 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22363 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22364 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22365 wine_fn_config_makefile dlls/ntprint enable_ntprint
22366 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22367 wine_fn_config_makefile dlls/objsel enable_objsel
22368 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22369 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22370 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22371 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22372 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22373 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22374 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22375 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22376 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22377 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22378 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22379 wine_fn_config_makefile dlls/ole32 enable_ole32
22380 wine_fn_config_makefile dlls/ole32/tests enable_tests
22381 wine_fn_config_makefile dlls/oleacc enable_oleacc
22382 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22383 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22384 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22385 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22386 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22387 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22388 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22389 wine_fn_config_makefile dlls/oledlg enable_oledlg
22390 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22391 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22392 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22393 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22394 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22395 wine_fn_config_makefile dlls/opcservices enable_opcservices
22396 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22397 wine_fn_config_makefile dlls/opencl enable_opencl
22398 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22399 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22400 wine_fn_config_makefile dlls/packager enable_packager
22401 wine_fn_config_makefile dlls/packager/tests enable_tests
22402 wine_fn_config_makefile dlls/pdh enable_pdh
22403 wine_fn_config_makefile dlls/pdh/tests enable_tests
22404 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22405 wine_fn_config_makefile dlls/pidgen enable_pidgen
22406 wine_fn_config_makefile dlls/powrprof enable_powrprof
22407 wine_fn_config_makefile dlls/printui enable_printui
22408 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22409 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22410 wine_fn_config_makefile dlls/propsys enable_propsys
22411 wine_fn_config_makefile dlls/propsys/tests enable_tests
22412 wine_fn_config_makefile dlls/psapi enable_psapi
22413 wine_fn_config_makefile dlls/psapi/tests enable_tests
22414 wine_fn_config_makefile dlls/pstorec enable_pstorec
22415 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22416 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22417 wine_fn_config_makefile dlls/qasf enable_qasf
22418 wine_fn_config_makefile dlls/qasf/tests enable_tests
22419 wine_fn_config_makefile dlls/qcap enable_qcap
22420 wine_fn_config_makefile dlls/qcap/tests enable_tests
22421 wine_fn_config_makefile dlls/qdvd enable_qdvd
22422 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22423 wine_fn_config_makefile dlls/qedit enable_qedit
22424 wine_fn_config_makefile dlls/qedit/tests enable_tests
22425 wine_fn_config_makefile dlls/qmgr enable_qmgr
22426 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22427 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22428 wine_fn_config_makefile dlls/quartz enable_quartz
22429 wine_fn_config_makefile dlls/quartz/tests enable_tests
22430 wine_fn_config_makefile dlls/query enable_query
22431 wine_fn_config_makefile dlls/qwave enable_qwave
22432 wine_fn_config_makefile dlls/qwave/tests enable_tests
22433 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22434 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22435 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22436 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22437 wine_fn_config_makefile dlls/regapi enable_regapi
22438 wine_fn_config_makefile dlls/resutils enable_resutils
22439 wine_fn_config_makefile dlls/riched20 enable_riched20
22440 wine_fn_config_makefile dlls/riched20/tests enable_tests
22441 wine_fn_config_makefile dlls/riched32 enable_riched32
22442 wine_fn_config_makefile dlls/riched32/tests enable_tests
22443 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22444 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22445 wine_fn_config_makefile dlls/rsabase enable_rsabase
22446 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22447 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22448 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22449 wine_fn_config_makefile dlls/rtutils enable_rtutils
22450 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22451 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22452 wine_fn_config_makefile dlls/samlib enable_samlib
22453 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22454 wine_fn_config_makefile dlls/sapi enable_sapi
22455 wine_fn_config_makefile dlls/sapi/tests enable_tests
22456 wine_fn_config_makefile dlls/sas enable_sas
22457 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22458 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22459 wine_fn_config_makefile dlls/sccbase enable_sccbase
22460 wine_fn_config_makefile dlls/schannel enable_schannel
22461 wine_fn_config_makefile dlls/schannel/tests enable_tests
22462 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22463 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22464 wine_fn_config_makefile dlls/scrobj enable_scrobj
22465 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22466 wine_fn_config_makefile dlls/scrrun enable_scrrun
22467 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22468 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22469 wine_fn_config_makefile dlls/sechost enable_sechost
22470 wine_fn_config_makefile dlls/secur32 enable_secur32
22471 wine_fn_config_makefile dlls/secur32/tests enable_tests
22472 wine_fn_config_makefile dlls/security enable_security
22473 wine_fn_config_makefile dlls/sensapi enable_sensapi
22474 wine_fn_config_makefile dlls/serialui enable_serialui
22475 wine_fn_config_makefile dlls/serialui/tests enable_tests
22476 wine_fn_config_makefile dlls/setupapi enable_setupapi
22477 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22478 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22479 wine_fn_config_makefile dlls/sfc enable_sfc
22480 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22481 wine_fn_config_makefile dlls/shcore enable_shcore
22482 wine_fn_config_makefile dlls/shcore/tests enable_tests
22483 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22484 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22485 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22486 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22487 wine_fn_config_makefile dlls/shell32 enable_shell32
22488 wine_fn_config_makefile dlls/shell32/tests enable_tests
22489 wine_fn_config_makefile dlls/shfolder enable_shfolder
22490 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22491 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22492 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22493 wine_fn_config_makefile dlls/slc enable_slc
22494 wine_fn_config_makefile dlls/slc/tests enable_tests
22495 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22496 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22497 wine_fn_config_makefile dlls/softpub enable_softpub
22498 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22499 wine_fn_config_makefile dlls/spoolss enable_spoolss
22500 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22501 wine_fn_config_makefile dlls/sppc enable_sppc
22502 wine_fn_config_makefile dlls/srclient enable_srclient
22503 wine_fn_config_makefile dlls/srvcli enable_srvcli
22504 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22505 wine_fn_config_makefile dlls/sspicli enable_sspicli
22506 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22507 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22508 wine_fn_config_makefile dlls/sti enable_sti
22509 wine_fn_config_makefile dlls/sti/tests enable_tests
22510 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22511 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22512 wine_fn_config_makefile dlls/strmdll enable_strmdll
22513 wine_fn_config_makefile dlls/svrapi enable_svrapi
22514 wine_fn_config_makefile dlls/sxs enable_sxs
22515 wine_fn_config_makefile dlls/sxs/tests enable_tests
22516 wine_fn_config_makefile dlls/system.drv16 enable_win16
22517 wine_fn_config_makefile dlls/t2embed enable_t2embed
22518 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22519 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22520 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22521 wine_fn_config_makefile dlls/taskschd enable_taskschd
22522 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22523 wine_fn_config_makefile dlls/tbs enable_tbs
22524 wine_fn_config_makefile dlls/tdh enable_tdh
22525 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22526 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22527 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22528 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22529 wine_fn_config_makefile dlls/traffic enable_traffic
22530 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22531 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22532 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22533 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22534 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22535 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22536 wine_fn_config_makefile dlls/tzres enable_tzres
22537 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22538 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22539 wine_fn_config_makefile dlls/uianimation enable_uianimation
22540 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22541 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22542 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22543 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22544 wine_fn_config_makefile dlls/unicows enable_unicows
22545 wine_fn_config_makefile dlls/updspapi enable_updspapi
22546 wine_fn_config_makefile dlls/url enable_url
22547 wine_fn_config_makefile dlls/urlmon enable_urlmon
22548 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22549 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22550 wine_fn_config_makefile dlls/user.exe16 enable_win16
22551 wine_fn_config_makefile dlls/user32 enable_user32
22552 wine_fn_config_makefile dlls/user32/tests enable_tests
22553 wine_fn_config_makefile dlls/userenv enable_userenv
22554 wine_fn_config_makefile dlls/userenv/tests enable_tests
22555 wine_fn_config_makefile dlls/usp10 enable_usp10
22556 wine_fn_config_makefile dlls/usp10/tests enable_tests
22557 wine_fn_config_makefile dlls/utildll enable_utildll
22558 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22559 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22560 wine_fn_config_makefile dlls/vbscript enable_vbscript
22561 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22562 wine_fn_config_makefile dlls/vcomp enable_vcomp
22563 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22564 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22565 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22566 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22567 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22568 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22569 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22570 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22571 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22572 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22573 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22574 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22575 wine_fn_config_makefile dlls/version enable_version
22576 wine_fn_config_makefile dlls/version/tests enable_tests
22577 wine_fn_config_makefile dlls/vga enable_vga
22578 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22579 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22580 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22581 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22582 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22583 wine_fn_config_makefile dlls/vssapi enable_vssapi
22584 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22585 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22586 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22587 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22588 wine_fn_config_makefile dlls/w32skrnl enable_win16
22589 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22590 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22591 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22592 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22593 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22594 wine_fn_config_makefile dlls/wdscore enable_wdscore
22595 wine_fn_config_makefile dlls/webservices enable_webservices
22596 wine_fn_config_makefile dlls/webservices/tests enable_tests
22597 wine_fn_config_makefile dlls/websocket enable_websocket
22598 wine_fn_config_makefile dlls/wer enable_wer
22599 wine_fn_config_makefile dlls/wer/tests enable_tests
22600 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22601 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22602 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22603 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22604 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22605 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22606 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22607 wine_fn_config_makefile dlls/win32u enable_win32u
22608 wine_fn_config_makefile dlls/win32u/tests enable_tests
22609 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22610 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22611 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22612 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22613 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22614 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22615 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22616 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22617 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22618 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22619 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22620 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22621 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22622 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22623 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22624 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22625 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22626 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22627 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22628 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22629 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22630 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22631 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22632 wine_fn_config_makefile dlls/windows.media enable_windows_media
22633 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22634 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22635 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22636 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22637 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22638 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22639 wine_fn_config_makefile dlls/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22640 wine_fn_config_makefile dlls/windows.security.authentication.onlineid/tests enable_tests
22641 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22642 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22643 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22644 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22645 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22646 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22647 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22648 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22649 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22650 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22651 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22652 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22653 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22654 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22655 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22656 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22657 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22658 wine_fn_config_makefile dlls/wined3d enable_wined3d
22659 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22660 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22661 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22662 wine_fn_config_makefile dlls/winemapi enable_winemapi
22663 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22664 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22665 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22666 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22667 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22668 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22669 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22670 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22671 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22672 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22673 wine_fn_config_makefile dlls/wing32 enable_wing32
22674 wine_fn_config_makefile dlls/wing32/tests enable_tests
22675 wine_fn_config_makefile dlls/winhttp enable_winhttp
22676 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22677 wine_fn_config_makefile dlls/wininet enable_wininet
22678 wine_fn_config_makefile dlls/wininet/tests enable_tests
22679 wine_fn_config_makefile dlls/winmm enable_winmm
22680 wine_fn_config_makefile dlls/winmm/tests enable_tests
22681 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22682 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22683 wine_fn_config_makefile dlls/winprint enable_winprint
22684 wine_fn_config_makefile dlls/winscard enable_winscard
22685 wine_fn_config_makefile dlls/winscard/tests enable_tests
22686 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22687 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22688 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22689 wine_fn_config_makefile dlls/winsta enable_winsta
22690 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22691 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22692 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22693 wine_fn_config_makefile dlls/wintrust enable_wintrust
22694 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22695 wine_fn_config_makefile dlls/wintypes enable_wintypes
22696 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22697 wine_fn_config_makefile dlls/winusb enable_winusb
22698 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22699 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22700 wine_fn_config_makefile dlls/wlanui enable_wlanui
22701 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22702 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22703 wine_fn_config_makefile dlls/wldp enable_wldp
22704 wine_fn_config_makefile dlls/wldp/tests enable_tests
22705 wine_fn_config_makefile dlls/wmasf enable_wmasf
22706 wine_fn_config_makefile dlls/wmi enable_wmi
22707 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22708 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22709 wine_fn_config_makefile dlls/wmp enable_wmp
22710 wine_fn_config_makefile dlls/wmp/tests enable_tests
22711 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22712 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22713 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22714 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22715 wine_fn_config_makefile dlls/wofutil enable_wofutil
22716 wine_fn_config_makefile dlls/wow32 enable_win16
22717 wine_fn_config_makefile dlls/wow64 enable_wow64
22718 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22719 wine_fn_config_makefile dlls/wow64win enable_wow64win
22720 wine_fn_config_makefile dlls/wpc enable_wpc
22721 wine_fn_config_makefile dlls/wpc/tests enable_tests
22722 wine_fn_config_makefile dlls/wpcap enable_wpcap
22723 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22724 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22725 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22726 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22727 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22728 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22729 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22730 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22731 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22732 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22733 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22734 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22735 wine_fn_config_makefile dlls/wuapi enable_wuapi
22736 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22737 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22738 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22739 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22740 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22741 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22742 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22743 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22744 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22745 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22746 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22747 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22748 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22749 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22750 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22751 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22752 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22753 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22754 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22755 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22756 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22757 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22758 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22759 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22760 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22761 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22762 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22763 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22764 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22765 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22766 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22767 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22768 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22769 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22770 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22771 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22772 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22773 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22774 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22775 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22776 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22777 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22778 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22779 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22780 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22781 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22782 wine_fn_config_makefile dlls/xmllite enable_xmllite
22783 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22784 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22785 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22786 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22787 wine_fn_config_makefile fonts enable_fonts
22788 wine_fn_config_makefile include enable_include
22789 wine_fn_config_makefile libs/adsiid enable_adsiid
22790 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22791 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22792 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22793 wine_fn_config_makefile libs/dxguid enable_dxguid
22794 wine_fn_config_makefile libs/faudio enable_faudio
22795 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22796 wine_fn_config_makefile libs/gsm enable_gsm
22797 wine_fn_config_makefile libs/jpeg enable_jpeg
22798 wine_fn_config_makefile libs/jxr enable_jxr
22799 wine_fn_config_makefile libs/lcms2 enable_lcms2
22800 wine_fn_config_makefile libs/ldap enable_ldap
22801 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22802 wine_fn_config_makefile libs/mpg123 enable_mpg123
22803 wine_fn_config_makefile libs/musl enable_musl
22804 wine_fn_config_makefile libs/png enable_png
22805 wine_fn_config_makefile libs/strmbase enable_strmbase
22806 wine_fn_config_makefile libs/strmiids enable_strmiids
22807 wine_fn_config_makefile libs/tiff enable_tiff
22808 wine_fn_config_makefile libs/uuid enable_uuid
22809 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22810 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22811 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22812 wine_fn_config_makefile libs/xml2 enable_xml2
22813 wine_fn_config_makefile libs/xslt enable_xslt
22814 wine_fn_config_makefile libs/zlib enable_zlib
22815 wine_fn_config_makefile libs/zydis enable_zydis
22816 wine_fn_config_makefile loader enable_loader
22817 wine_fn_config_makefile nls enable_nls
22818 wine_fn_config_makefile po enable_po
22819 wine_fn_config_makefile programs/arp enable_arp
22820 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22821 wine_fn_config_makefile programs/attrib enable_attrib
22822 wine_fn_config_makefile programs/cabarc enable_cabarc
22823 wine_fn_config_makefile programs/cacls enable_cacls
22824 wine_fn_config_makefile programs/certutil enable_certutil
22825 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22826 wine_fn_config_makefile programs/clock enable_clock
22827 wine_fn_config_makefile programs/cmd enable_cmd
22828 wine_fn_config_makefile programs/cmd/tests enable_tests
22829 wine_fn_config_makefile programs/conhost enable_conhost
22830 wine_fn_config_makefile programs/conhost/tests enable_tests
22831 wine_fn_config_makefile programs/control enable_control
22832 wine_fn_config_makefile programs/cscript enable_cscript
22833 wine_fn_config_makefile programs/dism enable_dism
22834 wine_fn_config_makefile programs/dllhost enable_dllhost
22835 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22836 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22837 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22838 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22839 wine_fn_config_makefile programs/eject enable_eject
22840 wine_fn_config_makefile programs/expand enable_expand
22841 wine_fn_config_makefile programs/explorer enable_explorer
22842 wine_fn_config_makefile programs/explorer/tests enable_tests
22843 wine_fn_config_makefile programs/extrac32 enable_extrac32
22844 wine_fn_config_makefile programs/fc enable_fc
22845 wine_fn_config_makefile programs/find enable_find
22846 wine_fn_config_makefile programs/find/tests enable_tests
22847 wine_fn_config_makefile programs/findstr enable_findstr
22848 wine_fn_config_makefile programs/findstr/tests enable_tests
22849 wine_fn_config_makefile programs/fsutil enable_fsutil
22850 wine_fn_config_makefile programs/fsutil/tests enable_tests
22851 wine_fn_config_makefile programs/hh enable_hh
22852 wine_fn_config_makefile programs/hostname enable_hostname
22853 wine_fn_config_makefile programs/icacls enable_icacls
22854 wine_fn_config_makefile programs/icinfo enable_icinfo
22855 wine_fn_config_makefile programs/iexplore enable_iexplore
22856 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22857 wine_fn_config_makefile programs/klist enable_klist
22858 wine_fn_config_makefile programs/lodctr enable_lodctr
22859 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22860 wine_fn_config_makefile programs/mshta enable_mshta
22861 wine_fn_config_makefile programs/msidb enable_msidb
22862 wine_fn_config_makefile programs/msiexec enable_msiexec
22863 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22864 wine_fn_config_makefile programs/net enable_net
22865 wine_fn_config_makefile programs/netsh enable_netsh
22866 wine_fn_config_makefile programs/netstat enable_netstat
22867 wine_fn_config_makefile programs/ngen enable_ngen
22868 wine_fn_config_makefile programs/notepad enable_notepad
22869 wine_fn_config_makefile programs/oleview enable_oleview
22870 wine_fn_config_makefile programs/ping enable_ping
22871 wine_fn_config_makefile programs/plugplay enable_plugplay
22872 wine_fn_config_makefile programs/pnputil enable_pnputil
22873 wine_fn_config_makefile programs/powershell enable_powershell
22874 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22875 wine_fn_config_makefile programs/progman enable_progman
22876 wine_fn_config_makefile programs/reg enable_reg
22877 wine_fn_config_makefile programs/reg/tests enable_tests
22878 wine_fn_config_makefile programs/regasm enable_regasm
22879 wine_fn_config_makefile programs/regedit enable_regedit
22880 wine_fn_config_makefile programs/regedit/tests enable_tests
22881 wine_fn_config_makefile programs/regini enable_regini
22882 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22883 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22884 wine_fn_config_makefile programs/robocopy enable_robocopy
22885 wine_fn_config_makefile programs/rpcss enable_rpcss
22886 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22887 wine_fn_config_makefile programs/rundll32 enable_rundll32
22888 wine_fn_config_makefile programs/sc enable_sc
22889 wine_fn_config_makefile programs/sc/tests enable_tests
22890 wine_fn_config_makefile programs/schtasks enable_schtasks
22891 wine_fn_config_makefile programs/schtasks/tests enable_tests
22892 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22893 wine_fn_config_makefile programs/secedit enable_secedit
22894 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22895 wine_fn_config_makefile programs/services enable_services
22896 wine_fn_config_makefile programs/services/tests enable_tests
22897 wine_fn_config_makefile programs/setx enable_setx
22898 wine_fn_config_makefile programs/shutdown enable_shutdown
22899 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22900 wine_fn_config_makefile programs/start enable_start
22901 wine_fn_config_makefile programs/subst enable_subst
22902 wine_fn_config_makefile programs/svchost enable_svchost
22903 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22904 wine_fn_config_makefile programs/taskkill enable_taskkill
22905 wine_fn_config_makefile programs/tasklist enable_tasklist
22906 wine_fn_config_makefile programs/tasklist/tests enable_tests
22907 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22908 wine_fn_config_makefile programs/termsv enable_termsv
22909 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22910 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22911 wine_fn_config_makefile programs/view enable_view
22912 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22913 wine_fn_config_makefile programs/where enable_where
22914 wine_fn_config_makefile programs/whoami enable_whoami
22915 wine_fn_config_makefile programs/wineboot enable_wineboot
22916 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22917 wine_fn_config_makefile programs/winecfg enable_winecfg
22918 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22919 wine_fn_config_makefile programs/winedbg enable_winedbg
22920 wine_fn_config_makefile programs/winedevice enable_winedevice
22921 wine_fn_config_makefile programs/winefile enable_winefile
22922 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22923 wine_fn_config_makefile programs/winemine enable_winemine
22924 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22925 wine_fn_config_makefile programs/winepath enable_winepath
22926 wine_fn_config_makefile programs/winetest enable_winetest
22927 wine_fn_config_makefile programs/winevdm enable_win16
22928 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22929 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22930 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22931 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22932 wine_fn_config_makefile programs/winver enable_winver
22933 wine_fn_config_makefile programs/wmic enable_wmic
22934 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22935 wine_fn_config_makefile programs/wordpad enable_wordpad
22936 wine_fn_config_makefile programs/write enable_write
22937 wine_fn_config_makefile programs/wscript enable_wscript
22938 wine_fn_config_makefile programs/wscript/tests enable_tests
22939 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22940 wine_fn_config_makefile programs/wusa enable_wusa
22941 wine_fn_config_makefile programs/xcopy enable_xcopy
22942 wine_fn_config_makefile programs/xcopy/tests enable_tests
22943 wine_fn_config_makefile server enable_server
22944 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22945 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22946 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22947 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22948 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22949 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22950 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22951 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22952 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22955 as_fn_append CONFIGURE_TARGETS " TAGS"
22956 as_fn_append CONFIGURE_TARGETS " tags"
22957 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22958 as_fn_append CONFIGURE_TARGETS " config.log"
22959 as_fn_append CONFIGURE_TARGETS " config.status"
22960 as_fn_append CONFIGURE_TARGETS " include/config.h"
22961 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22962 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22964 if test "x$enable_tools" != xno
22965 then
22966 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22967 ac_config_commands="$ac_config_commands tools/makedep"
22971 ac_config_commands="$ac_config_commands Makefile"
22975 SHELL=/bin/sh
22978 as_fn_append wine_rules "
22979 all: wine
22980 @echo \"Wine build complete.\"
22981 .INIT: Makefile
22982 .MAKEFILEDEPS:
22983 all: Makefile
22984 Makefile: config.status \$(MAKEDEP)
22985 @./config.status Makefile
22986 depend: \$(MAKEDEP)
22987 \$(MAKEDEP)$makedep_flags"
22990 as_fn_append wine_rules "
22991 config.status: ${wine_srcdir}configure
22992 @./config.status --recheck
22993 include/config.h: include/stamp-h
22994 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22995 @./config.status include/config.h include/stamp-h"
22997 if test "x$enable_maintainer_mode" = xyes
22998 then
22999 as_fn_append wine_rules "
23000 configure: configure.ac aclocal.m4
23001 autoconf --warnings=all
23002 include/config.h.in: include/stamp-h.in
23003 include/stamp-h.in: configure.ac aclocal.m4
23004 autoheader --warnings=all
23005 @echo timestamp > \$@"
23008 if test "x$enable_tools" != xno
23009 then
23010 as_fn_append wine_rules "
23011 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23012 @./config.status tools/makedep
23013 Makefile: tools/makedep$ac_exeext"
23014 else
23015 as_fn_append wine_rules "
23016 \$(MAKEDEP):
23017 @echo \"You need to run make in $toolsdir first\" && false"
23021 if test -n "$with_wine64"
23022 then
23023 case "$with_wine64" in
23024 /*) reldir="" ;;
23025 *) reldir="../" ;;
23026 esac
23027 rm -f fonts server 2>/dev/null
23028 as_fn_append wine_rules "
23029 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23030 loader/wine64 loader/wine64-preloader:
23031 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23032 $with_wine64/loader/wine:
23033 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23034 $with_wine64/loader/wine-preloader:
23035 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23036 clean::
23037 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23038 else
23039 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
23040 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
23041 fonts \
23042 loader/wine.inf \
23043 nls \
23044 programs/msidb/msidb \
23045 programs/msiexec/msiexec \
23046 programs/notepad/notepad \
23047 programs/regedit/regedit \
23048 programs/regsvr32/regsvr32 \
23049 programs/wineboot/wineboot \
23050 programs/winecfg/winecfg \
23051 programs/wineconsole/wineconsole \
23052 programs/winedbg/winedbg \
23053 programs/winefile/winefile \
23054 programs/winemine/winemine \
23055 programs/winepath/winepath \
23056 server/wineserver"
23058 case $host_os in
23059 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
23060 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23061 esac
23065 as_fn_append wine_rules "
23066 distclean:: clean
23067 rm -rf autom4te.cache
23068 maintainer-clean::
23069 rm -f configure include/config.h.in"
23072 as_fn_append wine_rules "
23073 dlls/ntdll/unix/version.c: dummy
23074 @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)
23075 programs/winetest/build.rc: dummy
23076 @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)
23077 programs/winetest/build.nfo:
23078 @-\$(CC) -v 2>\$@
23079 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
23080 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23081 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23084 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23086 as_fn_append wine_rules "
23087 TAGS etags:
23088 rm -f TAGS
23089 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23090 tags ctags:
23091 rm -f tags
23092 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23093 dummy:
23094 .PHONY: depend dummy install-manpages"
23096 printf "%s\n" " done" >&6
23097 cat >confcache <<\_ACEOF
23098 # This file is a shell script that caches the results of configure
23099 # tests run on this system so they can be shared between configure
23100 # scripts and configure runs, see configure's option --config-cache.
23101 # It is not useful on other systems. If it contains results you don't
23102 # want to keep, you may remove or edit it.
23104 # config.status only pays attention to the cache file if you give it
23105 # the --recheck option to rerun configure.
23107 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23108 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23109 # following values.
23111 _ACEOF
23113 # The following way of writing the cache mishandles newlines in values,
23114 # but we know of no workaround that is simple, portable, and efficient.
23115 # So, we kill variables containing newlines.
23116 # Ultrix sh set writes to stderr and can't be redirected directly,
23117 # and sets the high bit in the cache file unless we assign to the vars.
23119 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23120 eval ac_val=\$$ac_var
23121 case $ac_val in #(
23122 *${as_nl}*)
23123 case $ac_var in #(
23124 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23125 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23126 esac
23127 case $ac_var in #(
23128 _ | IFS | as_nl) ;; #(
23129 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23130 *) { eval $ac_var=; unset $ac_var;} ;;
23131 esac ;;
23132 esac
23133 done
23135 (set) 2>&1 |
23136 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23137 *${as_nl}ac_space=\ *)
23138 # `set' does not quote correctly, so add quotes: double-quote
23139 # substitution turns \\\\ into \\, and sed turns \\ into \.
23140 sed -n \
23141 "s/'/'\\\\''/g;
23142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23143 ;; #(
23145 # `set' quotes correctly as required by POSIX, so do not add quotes.
23146 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23148 esac |
23149 sort
23151 sed '
23152 /^ac_cv_env_/b end
23153 t clear
23154 :clear
23155 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23156 t end
23157 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23158 :end' >>confcache
23159 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23160 if test -w "$cache_file"; then
23161 if test "x$cache_file" != "x/dev/null"; then
23162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23163 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23164 if test ! -f "$cache_file" || test -h "$cache_file"; then
23165 cat confcache >"$cache_file"
23166 else
23167 case $cache_file in #(
23168 */* | ?:*)
23169 mv -f confcache "$cache_file"$$ &&
23170 mv -f "$cache_file"$$ "$cache_file" ;; #(
23172 mv -f confcache "$cache_file" ;;
23173 esac
23176 else
23177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23178 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23181 rm -f confcache
23183 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23184 # Let make expand exec_prefix.
23185 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23187 DEFS=-DHAVE_CONFIG_H
23189 ac_libobjs=
23190 ac_ltlibobjs=
23192 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23193 # 1. Remove the extension, and $U if already installed.
23194 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23195 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23196 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23197 # will be set to the directory where LIBOBJS objects are built.
23198 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23199 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23200 done
23201 LIBOBJS=$ac_libobjs
23203 LTLIBOBJS=$ac_ltlibobjs
23207 : "${CONFIG_STATUS=./config.status}"
23208 ac_write_fail=0
23209 ac_clean_files_save=$ac_clean_files
23210 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23212 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23213 as_write_fail=0
23214 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23215 #! $SHELL
23216 # Generated by $as_me.
23217 # Run this file to recreate the current configuration.
23218 # Compiler output produced by configure, useful for debugging
23219 # configure, is in config.log if it exists.
23221 debug=false
23222 ac_cs_recheck=false
23223 ac_cs_silent=false
23225 SHELL=\${CONFIG_SHELL-$SHELL}
23226 export SHELL
23227 _ASEOF
23228 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23229 ## -------------------- ##
23230 ## M4sh Initialization. ##
23231 ## -------------------- ##
23233 # Be more Bourne compatible
23234 DUALCASE=1; export DUALCASE # for MKS sh
23235 as_nop=:
23236 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23237 then :
23238 emulate sh
23239 NULLCMD=:
23240 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23241 # is contrary to our usage. Disable this feature.
23242 alias -g '${1+"$@"}'='"$@"'
23243 setopt NO_GLOB_SUBST
23244 else $as_nop
23245 case `(set -o) 2>/dev/null` in #(
23246 *posix*) :
23247 set -o posix ;; #(
23248 *) :
23250 esac
23255 # Reset variables that may have inherited troublesome values from
23256 # the environment.
23258 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23259 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23260 # side effect of setting IFS to empty, thus disabling word splitting.)
23261 # Quoting is to prevent editors from complaining about space-tab.
23262 as_nl='
23264 export as_nl
23265 IFS=" "" $as_nl"
23267 PS1='$ '
23268 PS2='> '
23269 PS4='+ '
23271 # Ensure predictable behavior from utilities with locale-dependent output.
23272 LC_ALL=C
23273 export LC_ALL
23274 LANGUAGE=C
23275 export LANGUAGE
23277 # We cannot yet rely on "unset" to work, but we need these variables
23278 # to be unset--not just set to an empty or harmless value--now, to
23279 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23280 # also avoids known problems related to "unset" and subshell syntax
23281 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23282 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23283 do eval test \${$as_var+y} \
23284 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23285 done
23287 # Ensure that fds 0, 1, and 2 are open.
23288 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23289 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23290 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23292 # The user is always right.
23293 if ${PATH_SEPARATOR+false} :; then
23294 PATH_SEPARATOR=:
23295 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23296 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23297 PATH_SEPARATOR=';'
23302 # Find who we are. Look in the path if we contain no directory separator.
23303 as_myself=
23304 case $0 in #((
23305 *[\\/]* ) as_myself=$0 ;;
23306 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23307 for as_dir in $PATH
23309 IFS=$as_save_IFS
23310 case $as_dir in #(((
23311 '') as_dir=./ ;;
23312 */) ;;
23313 *) as_dir=$as_dir/ ;;
23314 esac
23315 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23316 done
23317 IFS=$as_save_IFS
23320 esac
23321 # We did not find ourselves, most probably we were run as `sh COMMAND'
23322 # in which case we are not to be found in the path.
23323 if test "x$as_myself" = x; then
23324 as_myself=$0
23326 if test ! -f "$as_myself"; then
23327 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23328 exit 1
23333 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23334 # ----------------------------------------
23335 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23336 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23337 # script with STATUS, using 1 if that was 0.
23338 as_fn_error ()
23340 as_status=$1; test $as_status -eq 0 && as_status=1
23341 if test "$4"; then
23342 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23345 printf "%s\n" "$as_me: error: $2" >&2
23346 as_fn_exit $as_status
23347 } # as_fn_error
23351 # as_fn_set_status STATUS
23352 # -----------------------
23353 # Set $? to STATUS, without forking.
23354 as_fn_set_status ()
23356 return $1
23357 } # as_fn_set_status
23359 # as_fn_exit STATUS
23360 # -----------------
23361 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23362 as_fn_exit ()
23364 set +e
23365 as_fn_set_status $1
23366 exit $1
23367 } # as_fn_exit
23369 # as_fn_unset VAR
23370 # ---------------
23371 # Portably unset VAR.
23372 as_fn_unset ()
23374 { eval $1=; unset $1;}
23376 as_unset=as_fn_unset
23378 # as_fn_append VAR VALUE
23379 # ----------------------
23380 # Append the text in VALUE to the end of the definition contained in VAR. Take
23381 # advantage of any shell optimizations that allow amortized linear growth over
23382 # repeated appends, instead of the typical quadratic growth present in naive
23383 # implementations.
23384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23385 then :
23386 eval 'as_fn_append ()
23388 eval $1+=\$2
23390 else $as_nop
23391 as_fn_append ()
23393 eval $1=\$$1\$2
23395 fi # as_fn_append
23397 # as_fn_arith ARG...
23398 # ------------------
23399 # Perform arithmetic evaluation on the ARGs, and store the result in the
23400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23401 # must be portable across $(()) and expr.
23402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23403 then :
23404 eval 'as_fn_arith ()
23406 as_val=$(( $* ))
23408 else $as_nop
23409 as_fn_arith ()
23411 as_val=`expr "$@" || test $? -eq 1`
23413 fi # as_fn_arith
23416 if expr a : '\(a\)' >/dev/null 2>&1 &&
23417 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23418 as_expr=expr
23419 else
23420 as_expr=false
23423 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23424 as_basename=basename
23425 else
23426 as_basename=false
23429 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23430 as_dirname=dirname
23431 else
23432 as_dirname=false
23435 as_me=`$as_basename -- "$0" ||
23436 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23437 X"$0" : 'X\(//\)$' \| \
23438 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23439 printf "%s\n" X/"$0" |
23440 sed '/^.*\/\([^/][^/]*\)\/*$/{
23441 s//\1/
23444 /^X\/\(\/\/\)$/{
23445 s//\1/
23448 /^X\/\(\/\).*/{
23449 s//\1/
23452 s/.*/./; q'`
23454 # Avoid depending upon Character Ranges.
23455 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23456 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23457 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23458 as_cr_digits='0123456789'
23459 as_cr_alnum=$as_cr_Letters$as_cr_digits
23462 # Determine whether it's possible to make 'echo' print without a newline.
23463 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23464 # for compatibility with existing Makefiles.
23465 ECHO_C= ECHO_N= ECHO_T=
23466 case `echo -n x` in #(((((
23467 -n*)
23468 case `echo 'xy\c'` in
23469 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23470 xy) ECHO_C='\c';;
23471 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23472 ECHO_T=' ';;
23473 esac;;
23475 ECHO_N='-n';;
23476 esac
23478 # For backward compatibility with old third-party macros, we provide
23479 # the shell variables $as_echo and $as_echo_n. New code should use
23480 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23481 as_echo='printf %s\n'
23482 as_echo_n='printf %s'
23484 rm -f conf$$ conf$$.exe conf$$.file
23485 if test -d conf$$.dir; then
23486 rm -f conf$$.dir/conf$$.file
23487 else
23488 rm -f conf$$.dir
23489 mkdir conf$$.dir 2>/dev/null
23491 if (echo >conf$$.file) 2>/dev/null; then
23492 if ln -s conf$$.file conf$$ 2>/dev/null; then
23493 as_ln_s='ln -s'
23494 # ... but there are two gotchas:
23495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23497 # In both cases, we have to default to `cp -pR'.
23498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23499 as_ln_s='cp -pR'
23500 elif ln conf$$.file conf$$ 2>/dev/null; then
23501 as_ln_s=ln
23502 else
23503 as_ln_s='cp -pR'
23505 else
23506 as_ln_s='cp -pR'
23508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23509 rmdir conf$$.dir 2>/dev/null
23512 # as_fn_mkdir_p
23513 # -------------
23514 # Create "$as_dir" as a directory, including parents if necessary.
23515 as_fn_mkdir_p ()
23518 case $as_dir in #(
23519 -*) as_dir=./$as_dir;;
23520 esac
23521 test -d "$as_dir" || eval $as_mkdir_p || {
23522 as_dirs=
23523 while :; do
23524 case $as_dir in #(
23525 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23526 *) as_qdir=$as_dir;;
23527 esac
23528 as_dirs="'$as_qdir' $as_dirs"
23529 as_dir=`$as_dirname -- "$as_dir" ||
23530 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23531 X"$as_dir" : 'X\(//\)[^/]' \| \
23532 X"$as_dir" : 'X\(//\)$' \| \
23533 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23534 printf "%s\n" X"$as_dir" |
23535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23536 s//\1/
23539 /^X\(\/\/\)[^/].*/{
23540 s//\1/
23543 /^X\(\/\/\)$/{
23544 s//\1/
23547 /^X\(\/\).*/{
23548 s//\1/
23551 s/.*/./; q'`
23552 test -d "$as_dir" && break
23553 done
23554 test -z "$as_dirs" || eval "mkdir $as_dirs"
23555 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23558 } # as_fn_mkdir_p
23559 if mkdir -p . 2>/dev/null; then
23560 as_mkdir_p='mkdir -p "$as_dir"'
23561 else
23562 test -d ./-p && rmdir ./-p
23563 as_mkdir_p=false
23567 # as_fn_executable_p FILE
23568 # -----------------------
23569 # Test if FILE is an executable regular file.
23570 as_fn_executable_p ()
23572 test -f "$1" && test -x "$1"
23573 } # as_fn_executable_p
23574 as_test_x='test -x'
23575 as_executable_p=as_fn_executable_p
23577 # Sed expression to map a string onto a valid CPP name.
23578 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23580 # Sed expression to map a string onto a valid variable name.
23581 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23584 exec 6>&1
23585 ## ----------------------------------- ##
23586 ## Main body of $CONFIG_STATUS script. ##
23587 ## ----------------------------------- ##
23588 _ASEOF
23589 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23592 # Save the log message, to keep $0 and so on meaningful, and to
23593 # report actual input values of CONFIG_FILES etc. instead of their
23594 # values after options handling.
23595 ac_log="
23596 This file was extended by Wine $as_me 9.4, which was
23597 generated by GNU Autoconf 2.71. Invocation command line was
23599 CONFIG_FILES = $CONFIG_FILES
23600 CONFIG_HEADERS = $CONFIG_HEADERS
23601 CONFIG_LINKS = $CONFIG_LINKS
23602 CONFIG_COMMANDS = $CONFIG_COMMANDS
23603 $ $0 $@
23605 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23608 _ACEOF
23611 case $ac_config_headers in *"
23612 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23613 esac
23616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23617 # Files that config.status was made for.
23618 config_headers="$ac_config_headers"
23619 config_links="$ac_config_links"
23620 config_commands="$ac_config_commands"
23622 _ACEOF
23624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23625 ac_cs_usage="\
23626 \`$as_me' instantiates files and other configuration actions
23627 from templates according to the current configuration. Unless the files
23628 and actions are specified as TAGs, all are instantiated by default.
23630 Usage: $0 [OPTION]... [TAG]...
23632 -h, --help print this help, then exit
23633 -V, --version print version number and configuration settings, then exit
23634 --config print configuration, then exit
23635 -q, --quiet, --silent
23636 do not print progress messages
23637 -d, --debug don't remove temporary files
23638 --recheck update $as_me by reconfiguring in the same conditions
23639 --header=FILE[:TEMPLATE]
23640 instantiate the configuration header FILE
23642 Configuration headers:
23643 $config_headers
23645 Configuration links:
23646 $config_links
23648 Configuration commands:
23649 $config_commands
23651 Report bugs to <wine-devel@winehq.org>.
23652 Wine home page: <https://www.winehq.org>."
23654 _ACEOF
23655 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23656 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23658 ac_cs_config='$ac_cs_config_escaped'
23659 ac_cs_version="\\
23660 Wine config.status 9.4
23661 configured by $0, generated by GNU Autoconf 2.71,
23662 with options \\"\$ac_cs_config\\"
23664 Copyright (C) 2021 Free Software Foundation, Inc.
23665 This config.status script is free software; the Free Software Foundation
23666 gives unlimited permission to copy, distribute and modify it."
23668 ac_pwd='$ac_pwd'
23669 srcdir='$srcdir'
23670 test -n "\$AWK" || AWK=awk
23671 _ACEOF
23673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23674 # The default lists apply if the user does not specify any file.
23675 ac_need_defaults=:
23676 while test $# != 0
23678 case $1 in
23679 --*=?*)
23680 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23681 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23682 ac_shift=:
23684 --*=)
23685 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23686 ac_optarg=
23687 ac_shift=:
23690 ac_option=$1
23691 ac_optarg=$2
23692 ac_shift=shift
23694 esac
23696 case $ac_option in
23697 # Handling of the options.
23698 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23699 ac_cs_recheck=: ;;
23700 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23701 printf "%s\n" "$ac_cs_version"; exit ;;
23702 --config | --confi | --conf | --con | --co | --c )
23703 printf "%s\n" "$ac_cs_config"; exit ;;
23704 --debug | --debu | --deb | --de | --d | -d )
23705 debug=: ;;
23706 --header | --heade | --head | --hea )
23707 $ac_shift
23708 case $ac_optarg in
23709 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23710 esac
23711 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23712 ac_need_defaults=false;;
23713 --he | --h)
23714 # Conflict between --help and --header
23715 as_fn_error $? "ambiguous option: \`$1'
23716 Try \`$0 --help' for more information.";;
23717 --help | --hel | -h )
23718 printf "%s\n" "$ac_cs_usage"; exit ;;
23719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23720 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23721 ac_cs_silent=: ;;
23723 # This is an error.
23724 -*) as_fn_error $? "unrecognized option: \`$1'
23725 Try \`$0 --help' for more information." ;;
23727 *) as_fn_append ac_config_targets " $1"
23728 ac_need_defaults=false ;;
23730 esac
23731 shift
23732 done
23734 ac_configure_extra_args=
23736 if $ac_cs_silent; then
23737 exec 6>/dev/null
23738 ac_configure_extra_args="$ac_configure_extra_args --silent"
23741 _ACEOF
23742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23743 if \$ac_cs_recheck; then
23744 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23745 shift
23746 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23747 CONFIG_SHELL='$SHELL'
23748 export CONFIG_SHELL
23749 exec "\$@"
23752 _ACEOF
23753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23754 exec 5>>config.log
23756 echo
23757 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23758 ## Running $as_me. ##
23759 _ASBOX
23760 printf "%s\n" "$ac_log"
23761 } >&5
23763 _ACEOF
23764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23766 # INIT-COMMANDS
23768 wine_fn_output_makedep ()
23770 as_dir=tools; as_fn_mkdir_p
23771 $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
23773 wine_fn_output_makefile ()
23775 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23776 # This Makefile understands the following targets:
23778 # all (default): build wine
23779 # clean: remove all intermediate files
23780 # distclean: also remove all files created by configure
23781 # test: run tests
23782 # testclean: clean test results to force running all tests again
23783 # install-lib: install libraries needed to run applications
23784 # install-dev: install development environment
23785 # install: install everything
23786 # uninstall: uninstall everything
23787 # ctags: create a tags file for vim and others.
23788 # etags: create a TAGS file for Emacs.
23790 SHELL = $SHELL
23791 PATH_SEPARATOR = $PATH_SEPARATOR
23792 PACKAGE_NAME = $PACKAGE_NAME
23793 PACKAGE_TARNAME = $PACKAGE_TARNAME
23794 PACKAGE_VERSION = $PACKAGE_VERSION
23795 PACKAGE_STRING = $PACKAGE_STRING
23796 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23797 PACKAGE_URL = $PACKAGE_URL
23798 exec_prefix = $exec_prefix
23799 prefix = $prefix
23800 program_transform_name = $program_transform_name
23801 bindir = $bindir
23802 sbindir = $sbindir
23803 libexecdir = $libexecdir
23804 datarootdir = $datarootdir
23805 datadir = $datadir
23806 sysconfdir = $sysconfdir
23807 sharedstatedir = $sharedstatedir
23808 localstatedir = $localstatedir
23809 runstatedir = $runstatedir
23810 includedir = $includedir
23811 oldincludedir = $oldincludedir
23812 docdir = $docdir
23813 infodir = $infodir
23814 htmldir = $htmldir
23815 dvidir = $dvidir
23816 pdfdir = $pdfdir
23817 psdir = $psdir
23818 libdir = $libdir
23819 localedir = $localedir
23820 mandir = $mandir
23821 DEFS = $DEFS
23822 ECHO_C = $ECHO_C
23823 ECHO_N = $ECHO_N
23824 ECHO_T = $ECHO_T
23825 LIBS = $LIBS
23826 build_alias = $build_alias
23827 host_alias = $host_alias
23828 target_alias = $target_alias
23829 system_dllpath = $system_dllpath
23830 build = $build
23831 build_cpu = $build_cpu
23832 build_vendor = $build_vendor
23833 build_os = $build_os
23834 host = $host
23835 host_cpu = $host_cpu
23836 host_vendor = $host_vendor
23837 host_os = $host_os
23838 dlldir = $dlldir
23839 fontdir = $fontdir
23840 nlsdir = $nlsdir
23841 srcdir = $srcdir
23842 SET_MAKE = $SET_MAKE
23843 CC = $CC
23844 CFLAGS = $CFLAGS
23845 LDFLAGS = $LDFLAGS
23846 CPPFLAGS = $CPPFLAGS
23847 ac_ct_CC = $ac_ct_CC
23848 EXEEXT = $EXEEXT
23849 OBJEXT = $OBJEXT
23850 CXX = $CXX
23851 CXXFLAGS = $CXXFLAGS
23852 ac_ct_CXX = $ac_ct_CXX
23853 CPPBIN = $CPPBIN
23854 LD = $LD
23855 TARGETFLAGS = $TARGETFLAGS
23856 toolsext = $toolsext
23857 HOST_ARCH = $HOST_ARCH
23858 aarch64_CC = $aarch64_CC
23859 aarch64_CFLAGS = $aarch64_CFLAGS
23860 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23861 aarch64_LDFLAGS = $aarch64_LDFLAGS
23862 aarch64_DEBUG = $aarch64_DEBUG
23863 aarch64_TARGET = $aarch64_TARGET
23864 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23865 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23866 arm_CC = $arm_CC
23867 arm_CFLAGS = $arm_CFLAGS
23868 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23869 arm_LDFLAGS = $arm_LDFLAGS
23870 arm_DEBUG = $arm_DEBUG
23871 arm_TARGET = $arm_TARGET
23872 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23873 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23874 arm64ec_CC = $arm64ec_CC
23875 arm64ec_CFLAGS = $arm64ec_CFLAGS
23876 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23877 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23878 arm64ec_DEBUG = $arm64ec_DEBUG
23879 arm64ec_TARGET = $arm64ec_TARGET
23880 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23881 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23882 i386_CC = $i386_CC
23883 i386_CFLAGS = $i386_CFLAGS
23884 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23885 i386_LDFLAGS = $i386_LDFLAGS
23886 i386_DEBUG = $i386_DEBUG
23887 i386_TARGET = $i386_TARGET
23888 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23889 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23890 x86_64_CC = $x86_64_CC
23891 x86_64_CFLAGS = $x86_64_CFLAGS
23892 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23893 x86_64_LDFLAGS = $x86_64_LDFLAGS
23894 x86_64_DEBUG = $x86_64_DEBUG
23895 x86_64_TARGET = $x86_64_TARGET
23896 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23897 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23898 toolsdir = $toolsdir
23899 MAKEDEP = $MAKEDEP
23900 RUNTESTFLAGS = $RUNTESTFLAGS
23901 SED_CMD = $SED_CMD
23902 FLEX = $FLEX
23903 BISON = $BISON
23904 AR = $AR
23905 ac_ct_AR = $ac_ct_AR
23906 STRIP = $STRIP
23907 RANLIB = $RANLIB
23908 LN_S = $LN_S
23909 GREP = $GREP
23910 EGREP = $EGREP
23911 LDCONFIG = $LDCONFIG
23912 MSGFMT = $MSGFMT
23913 PKG_CONFIG = $PKG_CONFIG
23914 FONTFORGE = $FONTFORGE
23915 RSVG = $RSVG
23916 CONVERT = $CONVERT
23917 ICOTOOL = $ICOTOOL
23918 I386_LIBS = $I386_LIBS
23919 OPENGL_LIBS = $OPENGL_LIBS
23920 DLLFLAGS = $DLLFLAGS
23921 LDDLLFLAGS = $LDDLLFLAGS
23922 LDEXECFLAGS = $LDEXECFLAGS
23923 EXTRACFLAGS = $EXTRACFLAGS
23924 UNIXDLLFLAGS = $UNIXDLLFLAGS
23925 UNIXLDFLAGS = $UNIXLDFLAGS
23926 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23927 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23928 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23929 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23930 DLLEXT = $DLLEXT
23931 LDD = $LDD
23932 OTOOL = $OTOOL
23933 READELF = $READELF
23934 SUBDIRS = $SUBDIRS
23935 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23936 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23937 CARBON_LIBS = $CARBON_LIBS
23938 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23939 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23940 IOKIT_LIBS = $IOKIT_LIBS
23941 METAL_LIBS = $METAL_LIBS
23942 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23943 CORESERVICES_LIBS = $CORESERVICES_LIBS
23944 APPKIT_LIBS = $APPKIT_LIBS
23945 SECURITY_LIBS = $SECURITY_LIBS
23946 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23947 COREAUDIO_LIBS = $COREAUDIO_LIBS
23948 OPENCL_LIBS = $OPENCL_LIBS
23949 OBJC = $OBJC
23950 OBJCFLAGS = $OBJCFLAGS
23951 ac_ct_OBJC = $ac_ct_OBJC
23952 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23953 PE_ARCHS = $PE_ARCHS
23954 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23955 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23956 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23957 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23958 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23959 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23960 GSM_PE_LIBS = $GSM_PE_LIBS
23961 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23962 JPEG_PE_LIBS = $JPEG_PE_LIBS
23963 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23964 JXR_PE_LIBS = $JXR_PE_LIBS
23965 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23966 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23967 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23968 LDAP_PE_LIBS = $LDAP_PE_LIBS
23969 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23970 MPG123_PE_LIBS = $MPG123_PE_LIBS
23971 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23972 MUSL_PE_LIBS = $MUSL_PE_LIBS
23973 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23974 PNG_PE_LIBS = $PNG_PE_LIBS
23975 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23976 TIFF_PE_LIBS = $TIFF_PE_LIBS
23977 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23978 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23979 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23980 XML2_PE_LIBS = $XML2_PE_LIBS
23981 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23982 XSLT_PE_LIBS = $XSLT_PE_LIBS
23983 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23984 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23985 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23986 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23987 PTHREAD_LIBS = $PTHREAD_LIBS
23988 XMKMF = $XMKMF
23989 CPP = $CPP
23990 X_CFLAGS = $X_CFLAGS
23991 X_PRE_LIBS = $X_PRE_LIBS
23992 X_LIBS = $X_LIBS
23993 X_EXTRA_LIBS = $X_EXTRA_LIBS
23994 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23995 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23996 WAYLAND_SCANNER = $WAYLAND_SCANNER
23997 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
23998 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
23999 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24000 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24001 EGL_CFLAGS = $EGL_CFLAGS
24002 EGL_LIBS = $EGL_LIBS
24003 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24004 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24005 PCAP_LIBS = $PCAP_LIBS
24006 PCSCLITE_LIBS = $PCSCLITE_LIBS
24007 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24008 INOTIFY_LIBS = $INOTIFY_LIBS
24009 DBUS_CFLAGS = $DBUS_CFLAGS
24010 DBUS_LIBS = $DBUS_LIBS
24011 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24012 GNUTLS_LIBS = $GNUTLS_LIBS
24013 SANE_CFLAGS = $SANE_CFLAGS
24014 SANE_LIBS = $SANE_LIBS
24015 USB_CFLAGS = $USB_CFLAGS
24016 USB_LIBS = $USB_LIBS
24017 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24018 GPHOTO2_LIBS = $GPHOTO2_LIBS
24019 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24020 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24021 RESOLV_LIBS = $RESOLV_LIBS
24022 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24023 FREETYPE_LIBS = $FREETYPE_LIBS
24024 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24025 PULSE_CFLAGS = $PULSE_CFLAGS
24026 PULSE_LIBS = $PULSE_LIBS
24027 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24028 GSTREAMER_LIBS = $GSTREAMER_LIBS
24029 ALSA_LIBS = $ALSA_LIBS
24030 OSS4_CFLAGS = $OSS4_CFLAGS
24031 OSS4_LIBS = $OSS4_LIBS
24032 UDEV_CFLAGS = $UDEV_CFLAGS
24033 UDEV_LIBS = $UDEV_LIBS
24034 UNWIND_CFLAGS = $UNWIND_CFLAGS
24035 UNWIND_LIBS = $UNWIND_LIBS
24036 SDL2_CFLAGS = $SDL2_CFLAGS
24037 SDL2_LIBS = $SDL2_LIBS
24038 CAPI20_CFLAGS = $CAPI20_CFLAGS
24039 CAPI20_LIBS = $CAPI20_LIBS
24040 CUPS_CFLAGS = $CUPS_CFLAGS
24041 CUPS_LIBS = $CUPS_LIBS
24042 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24043 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24044 KRB5_CFLAGS = $KRB5_CFLAGS
24045 KRB5_LIBS = $KRB5_LIBS
24046 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24047 GSSAPI_LIBS = $GSSAPI_LIBS
24048 PROCSTAT_LIBS = $PROCSTAT_LIBS
24049 NETAPI_CFLAGS = $NETAPI_CFLAGS
24050 NETAPI_LIBS = $NETAPI_LIBS
24051 MSVCRTFLAGS = $MSVCRTFLAGS
24052 DELAYLOADFLAG = $DELAYLOADFLAG
24053 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24054 RT_LIBS = $RT_LIBS
24055 TAGSFLAGS = $TAGSFLAGS
24056 LIBOBJS = $LIBOBJS
24057 LTLIBOBJS = $LTLIBOBJS
24058 $SET_MAKE
24059 $wine_rules
24060 _WINE_EOF
24061 as_fn_error $? "could not create Makefile" "$LINENO" 5
24064 _ACEOF
24066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24068 # Handling of arguments.
24069 for ac_config_target in $ac_config_targets
24071 case $ac_config_target in
24072 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24073 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24074 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
24075 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24076 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
24077 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
24079 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24080 esac
24081 done
24084 # If the user did not use the arguments to specify the items to instantiate,
24085 # then the envvar interface is used. Set only those that are not.
24086 # We use the long form for the default assignment because of an extremely
24087 # bizarre bug on SunOS 4.1.3.
24088 if $ac_need_defaults; then
24089 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
24090 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
24091 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
24094 # Have a temporary directory for convenience. Make it in the build tree
24095 # simply because there is no reason against having it here, and in addition,
24096 # creating and moving files from /tmp can sometimes cause problems.
24097 # Hook for its removal unless debugging.
24098 # Note that there is a small window in which the directory will not be cleaned:
24099 # after its creation but before its name has been assigned to `$tmp'.
24100 $debug ||
24102 tmp= ac_tmp=
24103 trap 'exit_status=$?
24104 : "${ac_tmp:=$tmp}"
24105 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24107 trap 'as_fn_exit 1' 1 2 13 15
24109 # Create a (secure) tmp directory for tmp files.
24112 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24113 test -d "$tmp"
24114 } ||
24116 tmp=./conf$$-$RANDOM
24117 (umask 077 && mkdir "$tmp")
24118 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24119 ac_tmp=$tmp
24121 # Set up the scripts for CONFIG_HEADERS section.
24122 # No need to generate them if there are no CONFIG_HEADERS.
24123 # This happens for instance with `./config.status Makefile'.
24124 if test -n "$CONFIG_HEADERS"; then
24125 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24126 BEGIN {
24127 _ACEOF
24129 # Transform confdefs.h into an awk script `defines.awk', embedded as
24130 # here-document in config.status, that substitutes the proper values into
24131 # config.h.in to produce config.h.
24133 # Create a delimiter string that does not exist in confdefs.h, to ease
24134 # handling of long lines.
24135 ac_delim='%!_!# '
24136 for ac_last_try in false false :; do
24137 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24138 if test -z "$ac_tt"; then
24139 break
24140 elif $ac_last_try; then
24141 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24142 else
24143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24145 done
24147 # For the awk script, D is an array of macro values keyed by name,
24148 # likewise P contains macro parameters if any. Preserve backslash
24149 # newline sequences.
24151 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24152 sed -n '
24153 s/.\{148\}/&'"$ac_delim"'/g
24154 t rset
24155 :rset
24156 s/^[ ]*#[ ]*define[ ][ ]*/ /
24157 t def
24159 :def
24160 s/\\$//
24161 t bsnl
24162 s/["\\]/\\&/g
24163 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24164 D["\1"]=" \3"/p
24165 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24167 :bsnl
24168 s/["\\]/\\&/g
24169 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24170 D["\1"]=" \3\\\\\\n"\\/p
24171 t cont
24172 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24173 t cont
24175 :cont
24177 s/.\{148\}/&'"$ac_delim"'/g
24178 t clear
24179 :clear
24180 s/\\$//
24181 t bsnlc
24182 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24184 :bsnlc
24185 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24186 b cont
24187 ' <confdefs.h | sed '
24188 s/'"$ac_delim"'/"\\\
24189 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24192 for (key in D) D_is_set[key] = 1
24193 FS = "\a"
24195 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24196 line = \$ 0
24197 split(line, arg, " ")
24198 if (arg[1] == "#") {
24199 defundef = arg[2]
24200 mac1 = arg[3]
24201 } else {
24202 defundef = substr(arg[1], 2)
24203 mac1 = arg[2]
24205 split(mac1, mac2, "(") #)
24206 macro = mac2[1]
24207 prefix = substr(line, 1, index(line, defundef) - 1)
24208 if (D_is_set[macro]) {
24209 # Preserve the white space surrounding the "#".
24210 print prefix "define", macro P[macro] D[macro]
24211 next
24212 } else {
24213 # Replace #undef with comments. This is necessary, for example,
24214 # in the case of _POSIX_SOURCE, which is predefined and required
24215 # on some systems where configure will not decide to define it.
24216 if (defundef == "undef") {
24217 print "/*", prefix defundef, macro, "*/"
24218 next
24222 { print }
24223 _ACAWK
24224 _ACEOF
24225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24226 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24227 fi # test -n "$CONFIG_HEADERS"
24230 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24231 shift
24232 for ac_tag
24234 case $ac_tag in
24235 :[FHLC]) ac_mode=$ac_tag; continue;;
24236 esac
24237 case $ac_mode$ac_tag in
24238 :[FHL]*:*);;
24239 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24240 :[FH]-) ac_tag=-:-;;
24241 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24242 esac
24243 ac_save_IFS=$IFS
24244 IFS=:
24245 set x $ac_tag
24246 IFS=$ac_save_IFS
24247 shift
24248 ac_file=$1
24249 shift
24251 case $ac_mode in
24252 :L) ac_source=$1;;
24253 :[FH])
24254 ac_file_inputs=
24255 for ac_f
24257 case $ac_f in
24258 -) ac_f="$ac_tmp/stdin";;
24259 *) # Look for the file first in the build tree, then in the source tree
24260 # (if the path is not absolute). The absolute path cannot be DOS-style,
24261 # because $ac_f cannot contain `:'.
24262 test -f "$ac_f" ||
24263 case $ac_f in
24264 [\\/$]*) false;;
24265 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24266 esac ||
24267 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24268 esac
24269 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24270 as_fn_append ac_file_inputs " '$ac_f'"
24271 done
24273 # Let's still pretend it is `configure' which instantiates (i.e., don't
24274 # use $as_me), people would be surprised to read:
24275 # /* config.h. Generated by config.status. */
24276 configure_input='Generated from '`
24277 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24278 `' by configure.'
24279 if test x"$ac_file" != x-; then
24280 configure_input="$ac_file. $configure_input"
24281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24282 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24284 # Neutralize special characters interpreted by sed in replacement strings.
24285 case $configure_input in #(
24286 *\&* | *\|* | *\\* )
24287 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24288 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24289 *) ac_sed_conf_input=$configure_input;;
24290 esac
24292 case $ac_tag in
24293 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24294 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24295 esac
24297 esac
24299 ac_dir=`$as_dirname -- "$ac_file" ||
24300 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24301 X"$ac_file" : 'X\(//\)[^/]' \| \
24302 X"$ac_file" : 'X\(//\)$' \| \
24303 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24304 printf "%s\n" X"$ac_file" |
24305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24306 s//\1/
24309 /^X\(\/\/\)[^/].*/{
24310 s//\1/
24313 /^X\(\/\/\)$/{
24314 s//\1/
24317 /^X\(\/\).*/{
24318 s//\1/
24321 s/.*/./; q'`
24322 as_dir="$ac_dir"; as_fn_mkdir_p
24323 ac_builddir=.
24325 case "$ac_dir" in
24326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24328 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24329 # A ".." for each directory in $ac_dir_suffix.
24330 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24331 case $ac_top_builddir_sub in
24332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24334 esac ;;
24335 esac
24336 ac_abs_top_builddir=$ac_pwd
24337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24338 # for backward compatibility:
24339 ac_top_builddir=$ac_top_build_prefix
24341 case $srcdir in
24342 .) # We are building in place.
24343 ac_srcdir=.
24344 ac_top_srcdir=$ac_top_builddir_sub
24345 ac_abs_top_srcdir=$ac_pwd ;;
24346 [\\/]* | ?:[\\/]* ) # Absolute name.
24347 ac_srcdir=$srcdir$ac_dir_suffix;
24348 ac_top_srcdir=$srcdir
24349 ac_abs_top_srcdir=$srcdir ;;
24350 *) # Relative name.
24351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24352 ac_top_srcdir=$ac_top_build_prefix$srcdir
24353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24354 esac
24355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24358 case $ac_mode in
24362 # CONFIG_HEADER
24364 if test x"$ac_file" != x-; then
24366 printf "%s\n" "/* $configure_input */" >&1 \
24367 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24368 } >"$ac_tmp/config.h" \
24369 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24370 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24372 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24373 else
24374 rm -f "$ac_file"
24375 mv "$ac_tmp/config.h" "$ac_file" \
24376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24378 else
24379 printf "%s\n" "/* $configure_input */" >&1 \
24380 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24381 || as_fn_error $? "could not create -" "$LINENO" 5
24386 # CONFIG_LINK
24389 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24391 else
24392 # Prefer the file from the source tree if names are identical.
24393 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24394 ac_source=$srcdir/$ac_source
24397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24398 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24400 if test ! -r "$ac_source"; then
24401 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24403 rm -f "$ac_file"
24405 # Try a relative symlink, then a hard link, then a copy.
24406 case $ac_source in
24407 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24408 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24409 esac
24410 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24411 ln "$ac_source" "$ac_file" 2>/dev/null ||
24412 cp -p "$ac_source" "$ac_file" ||
24413 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24416 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24417 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24419 esac
24422 case $ac_file$ac_mode in
24423 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24424 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24425 "Makefile":C) wine_fn_output_makefile Makefile ;;
24427 esac
24428 done # for ac_tag
24431 as_fn_exit 0
24432 _ACEOF
24433 ac_clean_files=$ac_clean_files_save
24435 test $ac_write_fail = 0 ||
24436 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24439 # configure is writing to config.log, and then calls config.status.
24440 # config.status does its own redirection, appending to config.log.
24441 # Unfortunately, on DOS this fails, as config.log is still kept open
24442 # by configure, so config.status won't be able to write to it; its
24443 # output is simply discarded. So we exec the FD to /dev/null,
24444 # effectively closing config.log, so it can be properly (re)opened and
24445 # appended to by config.status. When coming back to configure, we
24446 # need to make the FD available again.
24447 if test "$no_create" != yes; then
24448 ac_cs_success=:
24449 ac_config_status_args=
24450 test "$silent" = yes &&
24451 ac_config_status_args="$ac_config_status_args --quiet"
24452 exec 5>/dev/null
24453 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24454 exec 5>>config.log
24455 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24456 # would make configure fail if this is the last instruction.
24457 $ac_cs_success || as_fn_exit 1
24459 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24461 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24465 if test "$no_create" = "yes"
24466 then
24467 exit 0
24470 ac_save_IFS="$IFS"
24471 if test "x$wine_notices" != x; then
24472 echo >&6
24473 IFS="|"
24474 for msg in $wine_notices; do
24475 IFS="$ac_save_IFS"
24476 if ${msg:+false} :
24477 then :
24479 else $as_nop
24480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24481 printf "%s\n" "$as_me: $msg" >&6;}
24483 done
24485 IFS="|"
24486 for msg in $wine_warnings; do
24487 IFS="$ac_save_IFS"
24488 if ${msg:+false} :
24489 then :
24491 else $as_nop
24492 echo >&2
24493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24494 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24496 done
24497 IFS="$ac_save_IFS"
24499 printf "%s\n" "
24500 $as_me: Finished. Do '${ac_make}' to compile Wine.
24501 " >&6