include: Use nested namespaces in windows.system.userprofile.idl.
[wine.git] / configure
blobdb0c76036401154b9b727741a8f848d8469fe095
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.20.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.20'
615 PACKAGE_STRING='Wine 8.20'
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 XKBCOMMON_LIBS
706 XKBCOMMON_CFLAGS
707 WAYLAND_SCANNER
708 WAYLAND_CLIENT_LIBS
709 WAYLAND_CLIENT_CFLAGS
710 X_EXTRA_LIBS
711 X_LIBS
712 X_PRE_LIBS
713 X_CFLAGS
715 XMKMF
716 PTHREAD_LIBS
717 ZYDIS_PE_LIBS
718 ZYDIS_PE_CFLAGS
719 ZLIB_PE_LIBS
720 ZLIB_PE_CFLAGS
721 XSLT_PE_LIBS
722 XSLT_PE_CFLAGS
723 XML2_PE_LIBS
724 XML2_PE_CFLAGS
725 VKD3D_PE_LIBS
726 VKD3D_PE_CFLAGS
727 TIFF_PE_LIBS
728 TIFF_PE_CFLAGS
729 PNG_PE_LIBS
730 PNG_PE_CFLAGS
731 MUSL_PE_LIBS
732 MUSL_PE_CFLAGS
733 MPG123_PE_LIBS
734 MPG123_PE_CFLAGS
735 LDAP_PE_LIBS
736 LDAP_PE_CFLAGS
737 LCMS2_PE_LIBS
738 LCMS2_PE_CFLAGS
739 JXR_PE_LIBS
740 JXR_PE_CFLAGS
741 JPEG_PE_LIBS
742 JPEG_PE_CFLAGS
743 GSM_PE_LIBS
744 GSM_PE_CFLAGS
745 FLUIDSYNTH_PE_LIBS
746 FLUIDSYNTH_PE_CFLAGS
747 FAUDIO_PE_LIBS
748 FAUDIO_PE_CFLAGS
749 MINGW_PKG_CONFIG
750 PE_ARCHS
751 WINELOADER_DEPENDS
752 ac_ct_OBJC
753 OBJCFLAGS
754 OBJC
755 OPENCL_LIBS
756 COREAUDIO_LIBS
757 SYSTEMCONFIGURATION_LIBS
758 SECURITY_LIBS
759 APPKIT_LIBS
760 CORESERVICES_LIBS
761 APPLICATIONSERVICES_LIBS
762 METAL_LIBS
763 IOKIT_LIBS
764 DISKARBITRATION_LIBS
765 COREFOUNDATION_LIBS
766 CARBON_LIBS
767 CONFIGURE_TARGETS
768 DISABLED_SUBDIRS
769 SUBDIRS
770 READELF
771 OTOOL
773 DLLEXT
774 WINEPRELOADER_LDFLAGS
775 WINELOADER_LDFLAGS
776 TOP_INSTALL_DEV
777 TOP_INSTALL_LIB
778 UNIXLDFLAGS
779 UNIXDLLFLAGS
780 EXTRACFLAGS
781 LDEXECFLAGS
782 LDDLLFLAGS
783 DLLFLAGS
784 OPENGL_LIBS
785 I386_LIBS
786 ICOTOOL
787 CONVERT
788 RSVG
789 FONTFORGE
790 PKG_CONFIG
791 MSGFMT
792 LDCONFIG
793 EGREP
794 GREP
795 LN_S
796 RANLIB
797 STRIP
798 ac_ct_AR
800 BISON
801 FLEX
802 SED_CMD
803 RUNTESTFLAGS
804 MAKEDEP
805 toolsdir
806 x86_64_DISABLED_SUBDIRS
807 x86_64_DELAYLOADFLAG
808 x86_64_TARGET
809 x86_64_DEBUG
810 x86_64_LDFLAGS
811 x86_64_EXTRACFLAGS
812 x86_64_CFLAGS
813 x86_64_CC
814 i386_DISABLED_SUBDIRS
815 i386_DELAYLOADFLAG
816 i386_TARGET
817 i386_DEBUG
818 i386_LDFLAGS
819 i386_EXTRACFLAGS
820 i386_CFLAGS
821 i386_CC
822 arm64ec_DISABLED_SUBDIRS
823 arm64ec_DELAYLOADFLAG
824 arm64ec_TARGET
825 arm64ec_DEBUG
826 arm64ec_LDFLAGS
827 arm64ec_EXTRACFLAGS
828 arm64ec_CFLAGS
829 arm64ec_CC
830 arm_DISABLED_SUBDIRS
831 arm_DELAYLOADFLAG
832 arm_TARGET
833 arm_DEBUG
834 arm_LDFLAGS
835 arm_EXTRACFLAGS
836 arm_CFLAGS
837 arm_CC
838 aarch64_DISABLED_SUBDIRS
839 aarch64_DELAYLOADFLAG
840 aarch64_TARGET
841 aarch64_DEBUG
842 aarch64_LDFLAGS
843 aarch64_EXTRACFLAGS
844 aarch64_CFLAGS
845 aarch64_CC
846 HOST_ARCH
847 toolsext
848 TARGETFLAGS
850 CPPBIN
851 ac_ct_CXX
852 CXXFLAGS
854 OBJEXT
855 EXEEXT
856 ac_ct_CC
857 CPPFLAGS
858 LDFLAGS
859 CFLAGS
861 SET_MAKE
862 srcdir
863 nlsdir
864 fontdir
865 dlldir
866 host_os
867 host_vendor
868 host_cpu
869 host
870 build_os
871 build_vendor
872 build_cpu
873 build
874 system_dllpath
875 target_alias
876 host_alias
877 build_alias
878 LIBS
879 ECHO_T
880 ECHO_N
881 ECHO_C
882 DEFS
883 mandir
884 localedir
885 libdir
886 psdir
887 pdfdir
888 dvidir
889 htmldir
890 infodir
891 docdir
892 oldincludedir
893 includedir
894 runstatedir
895 localstatedir
896 sharedstatedir
897 sysconfdir
898 datadir
899 datarootdir
900 libexecdir
901 sbindir
902 bindir
903 program_transform_name
904 prefix
905 exec_prefix
906 PACKAGE_URL
907 PACKAGE_BUGREPORT
908 PACKAGE_STRING
909 PACKAGE_VERSION
910 PACKAGE_TARNAME
911 PACKAGE_NAME
912 PATH_SEPARATOR
913 SHELL'
914 ac_subst_files=''
915 ac_user_opts='
916 enable_option_checking
917 enable_archs
918 enable_win16
919 enable_win64
920 enable_tests
921 enable_build_id
922 enable_maintainer_mode
923 enable_silent_rules
924 enable_werror
925 with_alsa
926 with_capi
927 with_coreaudio
928 with_cups
929 with_dbus
930 with_float_abi
931 with_fontconfig
932 with_freetype
933 with_gettext
934 with_gettextpo
935 with_gphoto
936 with_gnutls
937 with_gssapi
938 with_gstreamer
939 with_inotify
940 with_krb5
941 with_mingw
942 with_netapi
943 with_opencl
944 with_opengl
945 with_osmesa
946 with_oss
947 with_pcap
948 with_pcsclite
949 with_pthread
950 with_pulse
951 with_sane
952 with_sdl
953 with_udev
954 with_unwind
955 with_usb
956 with_v4l2
957 with_vulkan
958 with_wayland
959 with_xcomposite
960 with_xcursor
961 with_xfixes
962 with_xinerama
963 with_xinput
964 with_xinput2
965 with_xrandr
966 with_xrender
967 with_xshape
968 with_xshm
969 with_xxf86vm
970 with_system_dllpath
971 with_wine_tools
972 with_wine64
973 enable_largefile
974 with_x
975 enable_acledit
976 enable_aclui
977 enable_activeds_tlb
978 enable_activeds
979 enable_actxprxy
980 enable_adsldp
981 enable_adsldpc
982 enable_advapi32
983 enable_advpack
984 enable_amsi
985 enable_amstream
986 enable_apisetschema
987 enable_apphelp
988 enable_appwiz_cpl
989 enable_appxdeploymentclient
990 enable_atl
991 enable_atl100
992 enable_atl110
993 enable_atl80
994 enable_atl90
995 enable_atlthunk
996 enable_atmlib
997 enable_authz
998 enable_avicap32
999 enable_avifil32
1000 enable_avrt
1001 enable_bcrypt
1002 enable_bcryptprimitives
1003 enable_bluetoothapis
1004 enable_browseui
1005 enable_bthprops_cpl
1006 enable_cabinet
1007 enable_capi2032
1008 enable_cards
1009 enable_cdosys
1010 enable_cfgmgr32
1011 enable_clusapi
1012 enable_cng_sys
1013 enable_combase
1014 enable_comcat
1015 enable_comctl32
1016 enable_comdlg32
1017 enable_compstui
1018 enable_comsvcs
1019 enable_concrt140
1020 enable_connect
1021 enable_credui
1022 enable_crtdll
1023 enable_crypt32
1024 enable_cryptdlg
1025 enable_cryptdll
1026 enable_cryptext
1027 enable_cryptnet
1028 enable_cryptowinrt
1029 enable_cryptsp
1030 enable_cryptui
1031 enable_ctapi32
1032 enable_ctl3d32
1033 enable_d2d1
1034 enable_d3d10
1035 enable_d3d10_1
1036 enable_d3d10core
1037 enable_d3d11
1038 enable_d3d12
1039 enable_d3d12core
1040 enable_d3d8
1041 enable_d3d8thk
1042 enable_d3d9
1043 enable_d3dcompiler_33
1044 enable_d3dcompiler_34
1045 enable_d3dcompiler_35
1046 enable_d3dcompiler_36
1047 enable_d3dcompiler_37
1048 enable_d3dcompiler_38
1049 enable_d3dcompiler_39
1050 enable_d3dcompiler_40
1051 enable_d3dcompiler_41
1052 enable_d3dcompiler_42
1053 enable_d3dcompiler_43
1054 enable_d3dcompiler_46
1055 enable_d3dcompiler_47
1056 enable_d3dim
1057 enable_d3dim700
1058 enable_d3drm
1059 enable_d3dx10_33
1060 enable_d3dx10_34
1061 enable_d3dx10_35
1062 enable_d3dx10_36
1063 enable_d3dx10_37
1064 enable_d3dx10_38
1065 enable_d3dx10_39
1066 enable_d3dx10_40
1067 enable_d3dx10_41
1068 enable_d3dx10_42
1069 enable_d3dx10_43
1070 enable_d3dx11_42
1071 enable_d3dx11_43
1072 enable_d3dx9_24
1073 enable_d3dx9_25
1074 enable_d3dx9_26
1075 enable_d3dx9_27
1076 enable_d3dx9_28
1077 enable_d3dx9_29
1078 enable_d3dx9_30
1079 enable_d3dx9_31
1080 enable_d3dx9_32
1081 enable_d3dx9_33
1082 enable_d3dx9_34
1083 enable_d3dx9_35
1084 enable_d3dx9_36
1085 enable_d3dx9_37
1086 enable_d3dx9_38
1087 enable_d3dx9_39
1088 enable_d3dx9_40
1089 enable_d3dx9_41
1090 enable_d3dx9_42
1091 enable_d3dx9_43
1092 enable_d3dxof
1093 enable_davclnt
1094 enable_dbgeng
1095 enable_dbghelp
1096 enable_dciman32
1097 enable_dcomp
1098 enable_ddraw
1099 enable_ddrawex
1100 enable_devenum
1101 enable_dhcpcsvc
1102 enable_dhcpcsvc6
1103 enable_dhtmled_ocx
1104 enable_diasymreader
1105 enable_difxapi
1106 enable_dinput
1107 enable_dinput8
1108 enable_directmanipulation
1109 enable_dispex
1110 enable_dmband
1111 enable_dmcompos
1112 enable_dmime
1113 enable_dmloader
1114 enable_dmscript
1115 enable_dmstyle
1116 enable_dmsynth
1117 enable_dmusic
1118 enable_dmusic32
1119 enable_dnsapi
1120 enable_dplay
1121 enable_dplayx
1122 enable_dpnaddr
1123 enable_dpnet
1124 enable_dpnhpast
1125 enable_dpnhupnp
1126 enable_dpnlobby
1127 enable_dpvoice
1128 enable_dpwsockx
1129 enable_drmclien
1130 enable_dsdmo
1131 enable_dsound
1132 enable_dsquery
1133 enable_dssenh
1134 enable_dsuiext
1135 enable_dswave
1136 enable_dwmapi
1137 enable_dwrite
1138 enable_dx8vb
1139 enable_dxcore
1140 enable_dxdiagn
1141 enable_dxgi
1142 enable_dxtrans
1143 enable_dxva2
1144 enable_esent
1145 enable_evr
1146 enable_explorerframe
1147 enable_faultrep
1148 enable_feclient
1149 enable_fltlib
1150 enable_fltmgr_sys
1151 enable_fntcache
1152 enable_fontsub
1153 enable_fusion
1154 enable_fwpuclnt
1155 enable_gameux
1156 enable_gamingtcui
1157 enable_gdi32
1158 enable_gdiplus
1159 enable_geolocation
1160 enable_glu32
1161 enable_gphoto2_ds
1162 enable_gpkcsp
1163 enable_graphicscapture
1164 enable_hal
1165 enable_hhctrl_ocx
1166 enable_hid
1167 enable_hidclass_sys
1168 enable_hidparse_sys
1169 enable_hlink
1170 enable_hnetcfg
1171 enable_hrtfapo
1172 enable_http_sys
1173 enable_httpapi
1174 enable_hvsimanagementapi
1175 enable_ia2comproxy
1176 enable_iccvid
1177 enable_icmp
1178 enable_ieframe
1179 enable_ieproxy
1180 enable_imaadp32_acm
1181 enable_imagehlp
1182 enable_imm32
1183 enable_inetcomm
1184 enable_inetcpl_cpl
1185 enable_inetmib1
1186 enable_infosoft
1187 enable_initpki
1188 enable_inkobj
1189 enable_inseng
1190 enable_iphlpapi
1191 enable_iprop
1192 enable_ir50_32
1193 enable_irprops_cpl
1194 enable_itircl
1195 enable_itss
1196 enable_joy_cpl
1197 enable_jscript
1198 enable_jsproxy
1199 enable_kerberos
1200 enable_kernel32
1201 enable_kernelbase
1202 enable_ksecdd_sys
1203 enable_ksproxy_ax
1204 enable_ksuser
1205 enable_ktmw32
1206 enable_l3codeca_acm
1207 enable_light_msstyles
1208 enable_loadperf
1209 enable_localspl
1210 enable_localui
1211 enable_lz32
1212 enable_magnification
1213 enable_mapi32
1214 enable_mapistub
1215 enable_mciavi32
1216 enable_mcicda
1217 enable_mciqtz32
1218 enable_mciseq
1219 enable_mciwave
1220 enable_mf
1221 enable_mf3216
1222 enable_mferror
1223 enable_mfmediaengine
1224 enable_mfplat
1225 enable_mfplay
1226 enable_mfreadwrite
1227 enable_mfsrcsnk
1228 enable_mgmtapi
1229 enable_midimap
1230 enable_mlang
1231 enable_mmcndmgr
1232 enable_mmdevapi
1233 enable_mountmgr_sys
1234 enable_mp3dmod
1235 enable_mpr
1236 enable_mprapi
1237 enable_msacm32_drv
1238 enable_msacm32
1239 enable_msado15
1240 enable_msadp32_acm
1241 enable_msasn1
1242 enable_msauddecmft
1243 enable_mscat32
1244 enable_mscms
1245 enable_mscoree
1246 enable_mscorwks
1247 enable_msctf
1248 enable_msctfmonitor
1249 enable_msctfp
1250 enable_msdaps
1251 enable_msdasql
1252 enable_msdelta
1253 enable_msdmo
1254 enable_msdrm
1255 enable_msftedit
1256 enable_msg711_acm
1257 enable_msgsm32_acm
1258 enable_mshtml_tlb
1259 enable_mshtml
1260 enable_msi
1261 enable_msident
1262 enable_msimg32
1263 enable_msimsg
1264 enable_msimtf
1265 enable_msisip
1266 enable_msisys_ocx
1267 enable_msls31
1268 enable_msmpeg2vdec
1269 enable_msnet32
1270 enable_mspatcha
1271 enable_msports
1272 enable_msrle32
1273 enable_msscript_ocx
1274 enable_mssign32
1275 enable_mssip32
1276 enable_mstask
1277 enable_msttsengine
1278 enable_msv1_0
1279 enable_msvcirt
1280 enable_msvcm80
1281 enable_msvcm90
1282 enable_msvcp100
1283 enable_msvcp110
1284 enable_msvcp120
1285 enable_msvcp120_app
1286 enable_msvcp140
1287 enable_msvcp140_1
1288 enable_msvcp140_2
1289 enable_msvcp140_atomic_wait
1290 enable_msvcp140_codecvt_ids
1291 enable_msvcp60
1292 enable_msvcp70
1293 enable_msvcp71
1294 enable_msvcp80
1295 enable_msvcp90
1296 enable_msvcp_win
1297 enable_msvcr100
1298 enable_msvcr110
1299 enable_msvcr120
1300 enable_msvcr120_app
1301 enable_msvcr70
1302 enable_msvcr71
1303 enable_msvcr80
1304 enable_msvcr90
1305 enable_msvcrt
1306 enable_msvcrt20
1307 enable_msvcrt40
1308 enable_msvcrtd
1309 enable_msvfw32
1310 enable_msvidc32
1311 enable_mswsock
1312 enable_msxml
1313 enable_msxml2
1314 enable_msxml3
1315 enable_msxml4
1316 enable_msxml6
1317 enable_mtxdm
1318 enable_ncrypt
1319 enable_nddeapi
1320 enable_ndis_sys
1321 enable_netapi32
1322 enable_netcfgx
1323 enable_netio_sys
1324 enable_netprofm
1325 enable_netutils
1326 enable_newdev
1327 enable_ninput
1328 enable_normaliz
1329 enable_npmshtml
1330 enable_npptools
1331 enable_nsi
1332 enable_nsiproxy_sys
1333 enable_ntdll
1334 enable_ntdsapi
1335 enable_ntoskrnl_exe
1336 enable_ntprint
1337 enable_objsel
1338 enable_odbc32
1339 enable_odbcbcp
1340 enable_odbccp32
1341 enable_odbccu32
1342 enable_ole32
1343 enable_oleacc
1344 enable_oleaut32
1345 enable_olecli32
1346 enable_oledb32
1347 enable_oledlg
1348 enable_olepro32
1349 enable_olesvr32
1350 enable_olethk32
1351 enable_opcservices
1352 enable_opencl
1353 enable_opengl32
1354 enable_packager
1355 enable_pdh
1356 enable_photometadatahandler
1357 enable_pidgen
1358 enable_powrprof
1359 enable_printui
1360 enable_prntvpt
1361 enable_propsys
1362 enable_psapi
1363 enable_pstorec
1364 enable_pwrshplugin
1365 enable_qasf
1366 enable_qcap
1367 enable_qdvd
1368 enable_qedit
1369 enable_qmgr
1370 enable_qmgrprxy
1371 enable_quartz
1372 enable_query
1373 enable_qwave
1374 enable_rasapi32
1375 enable_rasdlg
1376 enable_regapi
1377 enable_resutils
1378 enable_riched20
1379 enable_riched32
1380 enable_rpcrt4
1381 enable_rsabase
1382 enable_rsaenh
1383 enable_rstrtmgr
1384 enable_rtutils
1385 enable_rtworkq
1386 enable_samlib
1387 enable_sane_ds
1388 enable_sapi
1389 enable_sas
1390 enable_scarddlg
1391 enable_scardsvr
1392 enable_sccbase
1393 enable_schannel
1394 enable_schedsvc
1395 enable_scrobj
1396 enable_scrrun
1397 enable_scsiport_sys
1398 enable_sechost
1399 enable_secur32
1400 enable_security
1401 enable_sensapi
1402 enable_serialui
1403 enable_setupapi
1404 enable_sfc
1405 enable_sfc_os
1406 enable_shcore
1407 enable_shdoclc
1408 enable_shdocvw
1409 enable_shell32
1410 enable_shfolder
1411 enable_shlwapi
1412 enable_slbcsp
1413 enable_slc
1414 enable_snmpapi
1415 enable_softpub
1416 enable_spoolss
1417 enable_sppc
1418 enable_srclient
1419 enable_srvcli
1420 enable_srvsvc
1421 enable_sspicli
1422 enable_stdole2_tlb
1423 enable_stdole32_tlb
1424 enable_sti
1425 enable_strmdll
1426 enable_svrapi
1427 enable_sxs
1428 enable_t2embed
1429 enable_tapi32
1430 enable_taskschd
1431 enable_tbs
1432 enable_tdh
1433 enable_tdi_sys
1434 enable_threadpoolwinrt
1435 enable_traffic
1436 enable_twain_32
1437 enable_twinapi_appcore
1438 enable_tzres
1439 enable_ucrtbase
1440 enable_uianimation
1441 enable_uiautomationcore
1442 enable_uiribbon
1443 enable_unicows
1444 enable_updspapi
1445 enable_url
1446 enable_urlmon
1447 enable_usbd_sys
1448 enable_user32
1449 enable_userenv
1450 enable_usp10
1451 enable_utildll
1452 enable_uxtheme
1453 enable_vbscript
1454 enable_vcomp
1455 enable_vcomp100
1456 enable_vcomp110
1457 enable_vcomp120
1458 enable_vcomp140
1459 enable_vcomp90
1460 enable_vcruntime140
1461 enable_vcruntime140_1
1462 enable_vdmdbg
1463 enable_version
1464 enable_vga
1465 enable_virtdisk
1466 enable_vssapi
1467 enable_vulkan_1
1468 enable_wbemdisp
1469 enable_wbemprox
1470 enable_wdscore
1471 enable_webservices
1472 enable_websocket
1473 enable_wer
1474 enable_wevtapi
1475 enable_wevtsvc
1476 enable_wiaservc
1477 enable_wimgapi
1478 enable_win32u
1479 enable_windows_applicationmodel
1480 enable_windows_devices_bluetooth
1481 enable_windows_devices_enumeration
1482 enable_windows_devices_usb
1483 enable_windows_gaming_input
1484 enable_windows_gaming_ui_gamebar
1485 enable_windows_globalization
1486 enable_windows_media_devices
1487 enable_windows_media_mediacontrol
1488 enable_windows_media_speech
1489 enable_windows_media
1490 enable_windows_networking_hostname
1491 enable_windows_networking
1492 enable_windows_perception_stub
1493 enable_windows_security_credentials_ui_userconsentverifier
1494 enable_windows_storage_applicationdata
1495 enable_windows_system_profile_systemmanufacturers
1496 enable_windows_ui
1497 enable_windowscodecs
1498 enable_windowscodecsext
1499 enable_winealsa_drv
1500 enable_wineandroid_drv
1501 enable_winebus_sys
1502 enable_winecoreaudio_drv
1503 enable_winecrt0
1504 enable_wined3d
1505 enable_winegstreamer
1506 enable_winehid_sys
1507 enable_winemac_drv
1508 enable_winemapi
1509 enable_wineoss_drv
1510 enable_wineps_drv
1511 enable_winepulse_drv
1512 enable_wineusb_sys
1513 enable_winevulkan
1514 enable_winewayland_drv
1515 enable_winex11_drv
1516 enable_winexinput_sys
1517 enable_wing32
1518 enable_winhttp
1519 enable_wininet
1520 enable_winmm
1521 enable_winnls32
1522 enable_winprint
1523 enable_winscard
1524 enable_winspool_drv
1525 enable_winsta
1526 enable_wintab32
1527 enable_wintrust
1528 enable_wintypes
1529 enable_winusb
1530 enable_wlanapi
1531 enable_wlanui
1532 enable_wldap32
1533 enable_wldp
1534 enable_wmasf
1535 enable_wmi
1536 enable_wmiutils
1537 enable_wmp
1538 enable_wmphoto
1539 enable_wmvcore
1540 enable_wnaspi32
1541 enable_wofutil
1542 enable_wow64
1543 enable_wow64cpu
1544 enable_wow64win
1545 enable_wpc
1546 enable_wpcap
1547 enable_ws2_32
1548 enable_wsdapi
1549 enable_wshom_ocx
1550 enable_wsnmp32
1551 enable_wsock32
1552 enable_wtsapi32
1553 enable_wuapi
1554 enable_wuaueng
1555 enable_x3daudio1_0
1556 enable_x3daudio1_1
1557 enable_x3daudio1_2
1558 enable_x3daudio1_3
1559 enable_x3daudio1_4
1560 enable_x3daudio1_5
1561 enable_x3daudio1_6
1562 enable_x3daudio1_7
1563 enable_xactengine2_0
1564 enable_xactengine2_4
1565 enable_xactengine2_7
1566 enable_xactengine2_9
1567 enable_xactengine3_0
1568 enable_xactengine3_1
1569 enable_xactengine3_2
1570 enable_xactengine3_3
1571 enable_xactengine3_4
1572 enable_xactengine3_5
1573 enable_xactengine3_6
1574 enable_xactengine3_7
1575 enable_xapofx1_1
1576 enable_xapofx1_2
1577 enable_xapofx1_3
1578 enable_xapofx1_4
1579 enable_xapofx1_5
1580 enable_xaudio2_0
1581 enable_xaudio2_1
1582 enable_xaudio2_2
1583 enable_xaudio2_3
1584 enable_xaudio2_4
1585 enable_xaudio2_5
1586 enable_xaudio2_6
1587 enable_xaudio2_7
1588 enable_xaudio2_8
1589 enable_xaudio2_9
1590 enable_xinput1_1
1591 enable_xinput1_2
1592 enable_xinput1_3
1593 enable_xinput1_4
1594 enable_xinput9_1_0
1595 enable_xinputuap
1596 enable_xmllite
1597 enable_xolehlp
1598 enable_xpsprint
1599 enable_xpssvcs
1600 enable_fonts
1601 enable_include
1602 enable_adsiid
1603 enable_dmoguids
1604 enable_dxerr8
1605 enable_dxerr9
1606 enable_dxguid
1607 enable_faudio
1608 enable_fluidsynth
1609 enable_gsm
1610 enable_jpeg
1611 enable_jxr
1612 enable_lcms2
1613 enable_ldap
1614 enable_mfuuid
1615 enable_mpg123
1616 enable_musl
1617 enable_png
1618 enable_strmbase
1619 enable_strmiids
1620 enable_tiff
1621 enable_uuid
1622 enable_vkd3d
1623 enable_wbemuuid
1624 enable_wmcodecdspuuid
1625 enable_xml2
1626 enable_xslt
1627 enable_zlib
1628 enable_zydis
1629 enable_loader
1630 enable_nls
1631 enable_po
1632 enable_arp
1633 enable_aspnet_regiis
1634 enable_attrib
1635 enable_cabarc
1636 enable_cacls
1637 enable_certutil
1638 enable_chcp_com
1639 enable_clock
1640 enable_cmd
1641 enable_conhost
1642 enable_control
1643 enable_cscript
1644 enable_dism
1645 enable_dllhost
1646 enable_dplaysvr
1647 enable_dpnsvr
1648 enable_dpvsetup
1649 enable_dxdiag
1650 enable_eject
1651 enable_expand
1652 enable_explorer
1653 enable_extrac32
1654 enable_fc
1655 enable_find
1656 enable_findstr
1657 enable_fsutil
1658 enable_hh
1659 enable_hostname
1660 enable_icacls
1661 enable_icinfo
1662 enable_iexplore
1663 enable_ipconfig
1664 enable_klist
1665 enable_lodctr
1666 enable_mofcomp
1667 enable_mshta
1668 enable_msidb
1669 enable_msiexec
1670 enable_msinfo32
1671 enable_net
1672 enable_netsh
1673 enable_netstat
1674 enable_ngen
1675 enable_notepad
1676 enable_oleview
1677 enable_ping
1678 enable_plugplay
1679 enable_pnputil
1680 enable_powershell
1681 enable_presentationfontcache
1682 enable_progman
1683 enable_reg
1684 enable_regasm
1685 enable_regedit
1686 enable_regini
1687 enable_regsvcs
1688 enable_regsvr32
1689 enable_robocopy
1690 enable_rpcss
1691 enable_rundll32
1692 enable_sc
1693 enable_schtasks
1694 enable_sdbinst
1695 enable_secedit
1696 enable_servicemodelreg
1697 enable_services
1698 enable_setx
1699 enable_shutdown
1700 enable_spoolsv
1701 enable_start
1702 enable_subst
1703 enable_svchost
1704 enable_systeminfo
1705 enable_taskkill
1706 enable_tasklist
1707 enable_taskmgr
1708 enable_termsv
1709 enable_uninstaller
1710 enable_unlodctr
1711 enable_view
1712 enable_wevtutil
1713 enable_where
1714 enable_whoami
1715 enable_wineboot
1716 enable_winebrowser
1717 enable_winecfg
1718 enable_wineconsole
1719 enable_winedbg
1720 enable_winedevice
1721 enable_winefile
1722 enable_winemenubuilder
1723 enable_winemine
1724 enable_winemsibuilder
1725 enable_winepath
1726 enable_winetest
1727 enable_winhlp32
1728 enable_winmgmt
1729 enable_winver
1730 enable_wmic
1731 enable_wmplayer
1732 enable_wordpad
1733 enable_write
1734 enable_wscript
1735 enable_wuauserv
1736 enable_wusa
1737 enable_xcopy
1738 enable_server
1739 enable_tools
1740 enable_sfnt2fon
1741 enable_widl
1742 enable_winebuild
1743 enable_winedump
1744 enable_winegcc
1745 enable_winemaker
1746 enable_wmc
1747 enable_wrc
1749 ac_precious_vars='build_alias
1750 host_alias
1751 target_alias
1753 CFLAGS
1754 LDFLAGS
1755 LIBS
1756 CPPFLAGS
1758 CXXFLAGS
1760 OBJC
1761 OBJCFLAGS
1762 FAUDIO_PE_CFLAGS
1763 FAUDIO_PE_LIBS
1764 FLUIDSYNTH_PE_CFLAGS
1765 FLUIDSYNTH_PE_LIBS
1766 GSM_PE_CFLAGS
1767 GSM_PE_LIBS
1768 JPEG_PE_CFLAGS
1769 JPEG_PE_LIBS
1770 JXR_PE_CFLAGS
1771 JXR_PE_LIBS
1772 LCMS2_PE_CFLAGS
1773 LCMS2_PE_LIBS
1774 LDAP_PE_CFLAGS
1775 LDAP_PE_LIBS
1776 MPG123_PE_CFLAGS
1777 MPG123_PE_LIBS
1778 MUSL_PE_CFLAGS
1779 MUSL_PE_LIBS
1780 PNG_PE_CFLAGS
1781 PNG_PE_LIBS
1782 TIFF_PE_CFLAGS
1783 TIFF_PE_LIBS
1784 VKD3D_PE_CFLAGS
1785 VKD3D_PE_LIBS
1786 XML2_PE_CFLAGS
1787 XML2_PE_LIBS
1788 XSLT_PE_CFLAGS
1789 XSLT_PE_LIBS
1790 ZLIB_PE_CFLAGS
1791 ZLIB_PE_LIBS
1792 ZYDIS_PE_CFLAGS
1793 ZYDIS_PE_LIBS
1794 XMKMF
1796 WAYLAND_CLIENT_CFLAGS
1797 WAYLAND_CLIENT_LIBS
1798 XKBCOMMON_CFLAGS
1799 XKBCOMMON_LIBS
1800 INOTIFY_CFLAGS
1801 INOTIFY_LIBS
1802 DBUS_CFLAGS
1803 DBUS_LIBS
1804 GNUTLS_CFLAGS
1805 GNUTLS_LIBS
1806 SANE_CFLAGS
1807 SANE_LIBS
1808 USB_CFLAGS
1809 USB_LIBS
1810 GPHOTO2_CFLAGS
1811 GPHOTO2_LIBS
1812 GPHOTO2_PORT_CFLAGS
1813 GPHOTO2_PORT_LIBS
1814 FREETYPE_CFLAGS
1815 FREETYPE_LIBS
1816 PULSE_CFLAGS
1817 PULSE_LIBS
1818 GSTREAMER_CFLAGS
1819 GSTREAMER_LIBS
1820 UDEV_CFLAGS
1821 UDEV_LIBS
1822 UNWIND_CFLAGS
1823 UNWIND_LIBS
1824 SDL2_CFLAGS
1825 SDL2_LIBS
1826 CAPI20_CFLAGS
1827 CAPI20_LIBS
1828 CUPS_CFLAGS
1829 CUPS_LIBS
1830 FONTCONFIG_CFLAGS
1831 FONTCONFIG_LIBS
1832 KRB5_CFLAGS
1833 KRB5_LIBS
1834 GSSAPI_CFLAGS
1835 GSSAPI_LIBS
1836 NETAPI_CFLAGS
1837 NETAPI_LIBS'
1840 # Initialize some variables set by options.
1841 ac_init_help=
1842 ac_init_version=false
1843 ac_unrecognized_opts=
1844 ac_unrecognized_sep=
1845 # The variables have the same names as the options, with
1846 # dashes changed to underlines.
1847 cache_file=/dev/null
1848 exec_prefix=NONE
1849 no_create=
1850 no_recursion=
1851 prefix=NONE
1852 program_prefix=NONE
1853 program_suffix=NONE
1854 program_transform_name=s,x,x,
1855 silent=
1856 site=
1857 srcdir=
1858 verbose=
1859 x_includes=NONE
1860 x_libraries=NONE
1862 # Installation directory options.
1863 # These are left unexpanded so users can "make install exec_prefix=/foo"
1864 # and all the variables that are supposed to be based on exec_prefix
1865 # by default will actually change.
1866 # Use braces instead of parens because sh, perl, etc. also accept them.
1867 # (The list follows the same order as the GNU Coding Standards.)
1868 bindir='${exec_prefix}/bin'
1869 sbindir='${exec_prefix}/sbin'
1870 libexecdir='${exec_prefix}/libexec'
1871 datarootdir='${prefix}/share'
1872 datadir='${datarootdir}'
1873 sysconfdir='${prefix}/etc'
1874 sharedstatedir='${prefix}/com'
1875 localstatedir='${prefix}/var'
1876 runstatedir='${localstatedir}/run'
1877 includedir='${prefix}/include'
1878 oldincludedir='/usr/include'
1879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1880 infodir='${datarootdir}/info'
1881 htmldir='${docdir}'
1882 dvidir='${docdir}'
1883 pdfdir='${docdir}'
1884 psdir='${docdir}'
1885 libdir='${exec_prefix}/lib'
1886 localedir='${datarootdir}/locale'
1887 mandir='${datarootdir}/man'
1889 ac_prev=
1890 ac_dashdash=
1891 for ac_option
1893 # If the previous option needs an argument, assign it.
1894 if test -n "$ac_prev"; then
1895 eval $ac_prev=\$ac_option
1896 ac_prev=
1897 continue
1900 case $ac_option in
1901 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1902 *=) ac_optarg= ;;
1903 *) ac_optarg=yes ;;
1904 esac
1906 case $ac_dashdash$ac_option in
1908 ac_dashdash=yes ;;
1910 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1911 ac_prev=bindir ;;
1912 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1913 bindir=$ac_optarg ;;
1915 -build | --build | --buil | --bui | --bu)
1916 ac_prev=build_alias ;;
1917 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1918 build_alias=$ac_optarg ;;
1920 -cache-file | --cache-file | --cache-fil | --cache-fi \
1921 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1922 ac_prev=cache_file ;;
1923 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1924 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1925 cache_file=$ac_optarg ;;
1927 --config-cache | -C)
1928 cache_file=config.cache ;;
1930 -datadir | --datadir | --datadi | --datad)
1931 ac_prev=datadir ;;
1932 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1933 datadir=$ac_optarg ;;
1935 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1936 | --dataroo | --dataro | --datar)
1937 ac_prev=datarootdir ;;
1938 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1939 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1940 datarootdir=$ac_optarg ;;
1942 -disable-* | --disable-*)
1943 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1944 # Reject names that are not valid shell variable names.
1945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1946 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1947 ac_useropt_orig=$ac_useropt
1948 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1949 case $ac_user_opts in
1951 "enable_$ac_useropt"
1952 "*) ;;
1953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1954 ac_unrecognized_sep=', ';;
1955 esac
1956 eval enable_$ac_useropt=no ;;
1958 -docdir | --docdir | --docdi | --doc | --do)
1959 ac_prev=docdir ;;
1960 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1961 docdir=$ac_optarg ;;
1963 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1964 ac_prev=dvidir ;;
1965 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1966 dvidir=$ac_optarg ;;
1968 -enable-* | --enable-*)
1969 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1970 # Reject names that are not valid shell variable names.
1971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1972 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1973 ac_useropt_orig=$ac_useropt
1974 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1975 case $ac_user_opts in
1977 "enable_$ac_useropt"
1978 "*) ;;
1979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1980 ac_unrecognized_sep=', ';;
1981 esac
1982 eval enable_$ac_useropt=\$ac_optarg ;;
1984 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1985 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1986 | --exec | --exe | --ex)
1987 ac_prev=exec_prefix ;;
1988 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1989 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1990 | --exec=* | --exe=* | --ex=*)
1991 exec_prefix=$ac_optarg ;;
1993 -gas | --gas | --ga | --g)
1994 # Obsolete; use --with-gas.
1995 with_gas=yes ;;
1997 -help | --help | --hel | --he | -h)
1998 ac_init_help=long ;;
1999 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2000 ac_init_help=recursive ;;
2001 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2002 ac_init_help=short ;;
2004 -host | --host | --hos | --ho)
2005 ac_prev=host_alias ;;
2006 -host=* | --host=* | --hos=* | --ho=*)
2007 host_alias=$ac_optarg ;;
2009 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2010 ac_prev=htmldir ;;
2011 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2012 | --ht=*)
2013 htmldir=$ac_optarg ;;
2015 -includedir | --includedir | --includedi | --included | --include \
2016 | --includ | --inclu | --incl | --inc)
2017 ac_prev=includedir ;;
2018 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2019 | --includ=* | --inclu=* | --incl=* | --inc=*)
2020 includedir=$ac_optarg ;;
2022 -infodir | --infodir | --infodi | --infod | --info | --inf)
2023 ac_prev=infodir ;;
2024 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2025 infodir=$ac_optarg ;;
2027 -libdir | --libdir | --libdi | --libd)
2028 ac_prev=libdir ;;
2029 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2030 libdir=$ac_optarg ;;
2032 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2033 | --libexe | --libex | --libe)
2034 ac_prev=libexecdir ;;
2035 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2036 | --libexe=* | --libex=* | --libe=*)
2037 libexecdir=$ac_optarg ;;
2039 -localedir | --localedir | --localedi | --localed | --locale)
2040 ac_prev=localedir ;;
2041 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2042 localedir=$ac_optarg ;;
2044 -localstatedir | --localstatedir | --localstatedi | --localstated \
2045 | --localstate | --localstat | --localsta | --localst | --locals)
2046 ac_prev=localstatedir ;;
2047 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2048 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2049 localstatedir=$ac_optarg ;;
2051 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2052 ac_prev=mandir ;;
2053 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2054 mandir=$ac_optarg ;;
2056 -nfp | --nfp | --nf)
2057 # Obsolete; use --without-fp.
2058 with_fp=no ;;
2060 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2061 | --no-cr | --no-c | -n)
2062 no_create=yes ;;
2064 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2065 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2066 no_recursion=yes ;;
2068 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2069 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2070 | --oldin | --oldi | --old | --ol | --o)
2071 ac_prev=oldincludedir ;;
2072 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2073 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2074 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2075 oldincludedir=$ac_optarg ;;
2077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2078 ac_prev=prefix ;;
2079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2080 prefix=$ac_optarg ;;
2082 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2083 | --program-pre | --program-pr | --program-p)
2084 ac_prev=program_prefix ;;
2085 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2086 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2087 program_prefix=$ac_optarg ;;
2089 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2090 | --program-suf | --program-su | --program-s)
2091 ac_prev=program_suffix ;;
2092 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2093 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2094 program_suffix=$ac_optarg ;;
2096 -program-transform-name | --program-transform-name \
2097 | --program-transform-nam | --program-transform-na \
2098 | --program-transform-n | --program-transform- \
2099 | --program-transform | --program-transfor \
2100 | --program-transfo | --program-transf \
2101 | --program-trans | --program-tran \
2102 | --progr-tra | --program-tr | --program-t)
2103 ac_prev=program_transform_name ;;
2104 -program-transform-name=* | --program-transform-name=* \
2105 | --program-transform-nam=* | --program-transform-na=* \
2106 | --program-transform-n=* | --program-transform-=* \
2107 | --program-transform=* | --program-transfor=* \
2108 | --program-transfo=* | --program-transf=* \
2109 | --program-trans=* | --program-tran=* \
2110 | --progr-tra=* | --program-tr=* | --program-t=*)
2111 program_transform_name=$ac_optarg ;;
2113 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2114 ac_prev=pdfdir ;;
2115 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2116 pdfdir=$ac_optarg ;;
2118 -psdir | --psdir | --psdi | --psd | --ps)
2119 ac_prev=psdir ;;
2120 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2121 psdir=$ac_optarg ;;
2123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2124 | -silent | --silent | --silen | --sile | --sil)
2125 silent=yes ;;
2127 -runstatedir | --runstatedir | --runstatedi | --runstated \
2128 | --runstate | --runstat | --runsta | --runst | --runs \
2129 | --run | --ru | --r)
2130 ac_prev=runstatedir ;;
2131 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2132 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2133 | --run=* | --ru=* | --r=*)
2134 runstatedir=$ac_optarg ;;
2136 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2137 ac_prev=sbindir ;;
2138 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2139 | --sbi=* | --sb=*)
2140 sbindir=$ac_optarg ;;
2142 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2143 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2144 | --sharedst | --shareds | --shared | --share | --shar \
2145 | --sha | --sh)
2146 ac_prev=sharedstatedir ;;
2147 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2148 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2149 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2150 | --sha=* | --sh=*)
2151 sharedstatedir=$ac_optarg ;;
2153 -site | --site | --sit)
2154 ac_prev=site ;;
2155 -site=* | --site=* | --sit=*)
2156 site=$ac_optarg ;;
2158 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2159 ac_prev=srcdir ;;
2160 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2161 srcdir=$ac_optarg ;;
2163 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2164 | --syscon | --sysco | --sysc | --sys | --sy)
2165 ac_prev=sysconfdir ;;
2166 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2167 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2168 sysconfdir=$ac_optarg ;;
2170 -target | --target | --targe | --targ | --tar | --ta | --t)
2171 ac_prev=target_alias ;;
2172 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2173 target_alias=$ac_optarg ;;
2175 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2176 verbose=yes ;;
2178 -version | --version | --versio | --versi | --vers | -V)
2179 ac_init_version=: ;;
2181 -with-* | --with-*)
2182 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2183 # Reject names that are not valid shell variable names.
2184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2185 as_fn_error $? "invalid package name: \`$ac_useropt'"
2186 ac_useropt_orig=$ac_useropt
2187 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2188 case $ac_user_opts in
2190 "with_$ac_useropt"
2191 "*) ;;
2192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2193 ac_unrecognized_sep=', ';;
2194 esac
2195 eval with_$ac_useropt=\$ac_optarg ;;
2197 -without-* | --without-*)
2198 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2199 # Reject names that are not valid shell variable names.
2200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2201 as_fn_error $? "invalid package name: \`$ac_useropt'"
2202 ac_useropt_orig=$ac_useropt
2203 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2204 case $ac_user_opts in
2206 "with_$ac_useropt"
2207 "*) ;;
2208 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2209 ac_unrecognized_sep=', ';;
2210 esac
2211 eval with_$ac_useropt=no ;;
2213 --x)
2214 # Obsolete; use --with-x.
2215 with_x=yes ;;
2217 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2218 | --x-incl | --x-inc | --x-in | --x-i)
2219 ac_prev=x_includes ;;
2220 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2221 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2222 x_includes=$ac_optarg ;;
2224 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2225 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2226 ac_prev=x_libraries ;;
2227 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2228 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2229 x_libraries=$ac_optarg ;;
2231 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2232 Try \`$0 --help' for more information"
2235 *=*)
2236 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2237 # Reject names that are not valid shell variable names.
2238 case $ac_envvar in #(
2239 '' | [0-9]* | *[!_$as_cr_alnum]* )
2240 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2241 esac
2242 eval $ac_envvar=\$ac_optarg
2243 export $ac_envvar ;;
2246 # FIXME: should be removed in autoconf 3.0.
2247 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2248 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2249 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2250 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2253 esac
2254 done
2256 if test -n "$ac_prev"; then
2257 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2258 as_fn_error $? "missing argument to $ac_option"
2261 if test -n "$ac_unrecognized_opts"; then
2262 case $enable_option_checking in
2263 no) ;;
2264 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2265 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2266 esac
2269 # Check all directory arguments for consistency.
2270 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2271 datadir sysconfdir sharedstatedir localstatedir includedir \
2272 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2273 libdir localedir mandir runstatedir
2275 eval ac_val=\$$ac_var
2276 # Remove trailing slashes.
2277 case $ac_val in
2278 */ )
2279 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2280 eval $ac_var=\$ac_val;;
2281 esac
2282 # Be sure to have absolute directory names.
2283 case $ac_val in
2284 [\\/$]* | ?:[\\/]* ) continue;;
2285 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2286 esac
2287 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2288 done
2290 # There might be people who depend on the old broken behavior: `$host'
2291 # used to hold the argument of --host etc.
2292 # FIXME: To remove some day.
2293 build=$build_alias
2294 host=$host_alias
2295 target=$target_alias
2297 # FIXME: To remove some day.
2298 if test "x$host_alias" != x; then
2299 if test "x$build_alias" = x; then
2300 cross_compiling=maybe
2301 elif test "x$build_alias" != "x$host_alias"; then
2302 cross_compiling=yes
2306 ac_tool_prefix=
2307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2309 test "$silent" = yes && exec 6>/dev/null
2312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2313 ac_ls_di=`ls -di .` &&
2314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2315 as_fn_error $? "working directory cannot be determined"
2316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2317 as_fn_error $? "pwd does not report name of working directory"
2320 # Find the source files, if location was not specified.
2321 if test -z "$srcdir"; then
2322 ac_srcdir_defaulted=yes
2323 # Try the directory containing this script, then the parent directory.
2324 ac_confdir=`$as_dirname -- "$as_myself" ||
2325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2326 X"$as_myself" : 'X\(//\)[^/]' \| \
2327 X"$as_myself" : 'X\(//\)$' \| \
2328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2329 printf "%s\n" X"$as_myself" |
2330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2331 s//\1/
2334 /^X\(\/\/\)[^/].*/{
2335 s//\1/
2338 /^X\(\/\/\)$/{
2339 s//\1/
2342 /^X\(\/\).*/{
2343 s//\1/
2346 s/.*/./; q'`
2347 srcdir=$ac_confdir
2348 if test ! -r "$srcdir/$ac_unique_file"; then
2349 srcdir=..
2351 else
2352 ac_srcdir_defaulted=no
2354 if test ! -r "$srcdir/$ac_unique_file"; then
2355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2359 ac_abs_confdir=`(
2360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2361 pwd)`
2362 # When building in place, set srcdir=.
2363 if test "$ac_abs_confdir" = "$ac_pwd"; then
2364 srcdir=.
2366 # Remove unnecessary trailing slashes from srcdir.
2367 # Double slashes in file names in object file debugging info
2368 # mess up M-x gdb in Emacs.
2369 case $srcdir in
2370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2371 esac
2372 for ac_var in $ac_precious_vars; do
2373 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2374 eval ac_env_${ac_var}_value=\$${ac_var}
2375 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2376 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2377 done
2380 # Report the --help message.
2382 if test "$ac_init_help" = "long"; then
2383 # Omit some internal or obsolete options to make the list less imposing.
2384 # This message is too long to be a string in the A/UX 3.1 sh.
2385 cat <<_ACEOF
2386 \`configure' configures Wine 8.20 to adapt to many kinds of systems.
2388 Usage: $0 [OPTION]... [VAR=VALUE]...
2390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2391 VAR=VALUE. See below for descriptions of some of the useful variables.
2393 Defaults for the options are specified in brackets.
2395 Configuration:
2396 -h, --help display this help and exit
2397 --help=short display options specific to this package
2398 --help=recursive display the short help of all the included packages
2399 -V, --version display version information and exit
2400 -q, --quiet, --silent do not print \`checking ...' messages
2401 --cache-file=FILE cache test results in FILE [disabled]
2402 -C, --config-cache alias for \`--cache-file=config.cache'
2403 -n, --no-create do not create output files
2404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2406 Installation directories:
2407 --prefix=PREFIX install architecture-independent files in PREFIX
2408 [$ac_default_prefix]
2409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2410 [PREFIX]
2412 By default, \`make install' will install all the files in
2413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2415 for instance \`--prefix=\$HOME'.
2417 For better control, use the options below.
2419 Fine tuning of the installation directories:
2420 --bindir=DIR user executables [EPREFIX/bin]
2421 --sbindir=DIR system admin executables [EPREFIX/sbin]
2422 --libexecdir=DIR program executables [EPREFIX/libexec]
2423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2426 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2427 --libdir=DIR object code libraries [EPREFIX/lib]
2428 --includedir=DIR C header files [PREFIX/include]
2429 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2430 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2431 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2432 --infodir=DIR info documentation [DATAROOTDIR/info]
2433 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2434 --mandir=DIR man documentation [DATAROOTDIR/man]
2435 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2436 --htmldir=DIR html documentation [DOCDIR]
2437 --dvidir=DIR dvi documentation [DOCDIR]
2438 --pdfdir=DIR pdf documentation [DOCDIR]
2439 --psdir=DIR ps documentation [DOCDIR]
2440 _ACEOF
2442 cat <<\_ACEOF
2444 X features:
2445 --x-includes=DIR X include files are in DIR
2446 --x-libraries=DIR X library files are in DIR
2448 System types:
2449 --build=BUILD configure for building on BUILD [guessed]
2450 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2451 _ACEOF
2454 if test -n "$ac_init_help"; then
2455 case $ac_init_help in
2456 short | recursive ) echo "Configuration of Wine 8.20:";;
2457 esac
2458 cat <<\_ACEOF
2460 Optional Features:
2461 --disable-option-checking ignore unrecognized --enable/--with options
2462 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2463 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2464 --enable-archs={i386,x86_64,arm,aarch64}
2465 enable multiple architectures for PE compilation
2466 --disable-win16 do not include Win16 support
2467 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2468 binaries)
2469 --disable-tests do not build the regression tests
2470 --enable-build-id include .buildid section in output objects
2471 --enable-maintainer-mode
2472 enable maintainer-specific build rules
2473 --enable-silent-rules use silent build rules (override: "make V=1")
2474 --enable-werror treat compilation warnings as errors
2475 --disable-largefile omit support for large files
2477 Optional Packages:
2478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2480 --without-alsa do not use the Alsa sound support
2481 --without-capi do not use CAPI (ISDN support)
2482 --without-coreaudio do not use the CoreAudio sound support
2483 --without-cups do not use CUPS
2484 --without-dbus do not use DBus (dynamic device support)
2485 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2486 --without-fontconfig do not use fontconfig
2487 --without-freetype do not use the FreeType library
2488 --without-gettext do not use gettext
2489 --with-gettextpo use the GetTextPO library to rebuild po files
2490 --without-gphoto do not use gphoto (Digital Camera support)
2491 --without-gnutls do not use GnuTLS (schannel support)
2492 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2493 --without-gstreamer do not use GStreamer (codecs support)
2494 --without-inotify do not use inotify (filesystem change notifications)
2495 --without-krb5 do not use krb5 (Kerberos)
2496 --without-mingw do not use the MinGW cross-compiler
2497 --without-netapi do not use the Samba NetAPI library
2498 --without-opencl do not use OpenCL
2499 --without-opengl do not use OpenGL
2500 --without-osmesa do not use the OSMesa library
2501 --without-oss do not use the OSS sound support
2502 --without-pcap do not use the Packet Capture library
2503 --without-pcsclite do not use PCSC lite
2504 --without-pthread do not use the pthread library
2505 --without-pulse do not use PulseAudio sound support
2506 --without-sane do not use SANE (scanner support)
2507 --without-sdl do not use SDL
2508 --without-udev do not use udev (plug and play support)
2509 --without-unwind do not use the libunwind library (exception
2510 handling)
2511 --without-usb do not use the libusb library
2512 --without-v4l2 do not use v4l2 (video capture)
2513 --without-vulkan do not use Vulkan
2514 --without-wayland do not build the Wayland driver
2515 --without-xcomposite do not use the Xcomposite extension
2516 --without-xcursor do not use the Xcursor extension
2517 --without-xfixes do not use Xfixes for clipboard change notifications
2518 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2519 --without-xinput do not use the Xinput extension
2520 --without-xinput2 do not use the Xinput 2 extension
2521 --without-xrandr do not use Xrandr (multi-monitor support)
2522 --without-xrender do not use the Xrender extension
2523 --without-xshape do not use the Xshape extension
2524 --without-xshm do not use XShm (shared memory extension)
2525 --without-xxf86vm do not use XFree video mode extension
2526 --with-system-dllpath=PATH
2527 load external PE dependencies from colon-separated
2528 path PATH
2529 --with-wine-tools=DIR use Wine tools from directory DIR
2530 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2531 --with-x use the X Window System
2533 Some influential environment variables:
2534 CC C compiler command
2535 CFLAGS C compiler flags
2536 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2537 nonstandard directory <lib dir>
2538 LIBS libraries to pass to the linker, e.g. -l<library>
2539 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2540 you have headers in a nonstandard directory <include dir>
2541 CXX C++ compiler command
2542 CXXFLAGS C++ compiler flags
2543 OBJC Objective C compiler command
2544 OBJCFLAGS Objective C compiler flags
2545 FAUDIO_PE_CFLAGS
2546 C compiler flags for the PE faudio, overriding the bundled
2547 version
2548 FAUDIO_PE_LIBS
2549 Linker flags for the PE faudio, overriding the bundled version
2550 FLUIDSYNTH_PE_CFLAGS
2551 C compiler flags for the PE fluidsynth, overriding the bundled
2552 version
2553 FLUIDSYNTH_PE_LIBS
2554 Linker flags for the PE fluidsynth, overriding the bundled
2555 version
2556 GSM_PE_CFLAGS
2557 C compiler flags for the PE gsm, overriding the bundled version
2558 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2559 JPEG_PE_CFLAGS
2560 C compiler flags for the PE jpeg, overriding the bundled version
2561 JPEG_PE_LIBS
2562 Linker flags for the PE jpeg, overriding the bundled version
2563 JXR_PE_CFLAGS
2564 C compiler flags for the PE jxr, overriding the bundled version
2565 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2566 LCMS2_PE_CFLAGS
2567 C compiler flags for the PE lcms2, overriding the bundled
2568 version
2569 LCMS2_PE_LIBS
2570 Linker flags for the PE lcms2, overriding the bundled version
2571 LDAP_PE_CFLAGS
2572 C compiler flags for the PE ldap, overriding the bundled version
2573 LDAP_PE_LIBS
2574 Linker flags for the PE ldap, overriding the bundled version
2575 MPG123_PE_CFLAGS
2576 C compiler flags for the PE mpg123, overriding the bundled
2577 version
2578 MPG123_PE_LIBS
2579 Linker flags for the PE mpg123, overriding the bundled version
2580 MUSL_PE_CFLAGS
2581 C compiler flags for the PE musl, overriding the bundled version
2582 MUSL_PE_LIBS
2583 Linker flags for the PE musl, overriding the bundled version
2584 PNG_PE_CFLAGS
2585 C compiler flags for the PE png, overriding the bundled version
2586 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2587 TIFF_PE_CFLAGS
2588 C compiler flags for the PE tiff, overriding the bundled version
2589 TIFF_PE_LIBS
2590 Linker flags for the PE tiff, overriding the bundled version
2591 VKD3D_PE_CFLAGS
2592 C compiler flags for the PE vkd3d, overriding the bundled
2593 version
2594 VKD3D_PE_LIBS
2595 Linker flags for the PE vkd3d, overriding the bundled version
2596 XML2_PE_CFLAGS
2597 C compiler flags for the PE xml2, overriding the bundled version
2598 XML2_PE_LIBS
2599 Linker flags for the PE xml2, overriding the bundled version
2600 XSLT_PE_CFLAGS
2601 C compiler flags for the PE xslt, overriding the bundled version
2602 XSLT_PE_LIBS
2603 Linker flags for the PE xslt, overriding the bundled version
2604 ZLIB_PE_CFLAGS
2605 C compiler flags for the PE zlib, overriding the bundled version
2606 ZLIB_PE_LIBS
2607 Linker flags for the PE zlib, overriding the bundled version
2608 ZYDIS_PE_CFLAGS
2609 C compiler flags for the PE zydis, overriding the bundled
2610 version
2611 ZYDIS_PE_LIBS
2612 Linker flags for the PE zydis, overriding the bundled version
2613 XMKMF Path to xmkmf, Makefile generator for X Window System
2614 CPP C preprocessor
2615 WAYLAND_CLIENT_CFLAGS
2616 C compiler flags for wayland-client, overriding pkg-config
2617 WAYLAND_CLIENT_LIBS
2618 Linker flags for wayland-client, overriding pkg-config
2619 XKBCOMMON_CFLAGS
2620 C compiler flags for xkbcommon, overriding pkg-config
2621 XKBCOMMON_LIBS
2622 Linker flags for xkbcommon, overriding pkg-config
2623 INOTIFY_CFLAGS
2624 C compiler flags for libinotify, overriding pkg-config
2625 INOTIFY_LIBS
2626 Linker flags for libinotify, overriding pkg-config
2627 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2628 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2629 GNUTLS_CFLAGS
2630 C compiler flags for gnutls, overriding pkg-config
2631 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2632 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2633 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2634 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2635 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2636 GPHOTO2_CFLAGS
2637 C compiler flags for libgphoto2, overriding pkg-config
2638 GPHOTO2_LIBS
2639 Linker flags for libgphoto2, overriding pkg-config
2640 GPHOTO2_PORT_CFLAGS
2641 C compiler flags for libgphoto2_port, overriding pkg-config
2642 GPHOTO2_PORT_LIBS
2643 Linker flags for libgphoto2_port, overriding pkg-config
2644 FREETYPE_CFLAGS
2645 C compiler flags for freetype2, overriding pkg-config
2646 FREETYPE_LIBS
2647 Linker flags for freetype2, overriding pkg-config
2648 PULSE_CFLAGS
2649 C compiler flags for libpulse, overriding pkg-config
2650 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2651 GSTREAMER_CFLAGS
2652 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2653 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2654 GSTREAMER_LIBS
2655 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2656 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2657 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2658 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2659 UNWIND_CFLAGS
2660 C compiler flags for libunwind, overriding pkg-config
2661 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2662 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2663 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2664 CAPI20_CFLAGS
2665 C compiler flags for capi20, overriding pkg-config
2666 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2667 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2668 CUPS_LIBS Linker flags for cups, overriding pkg-config
2669 FONTCONFIG_CFLAGS
2670 C compiler flags for fontconfig, overriding pkg-config
2671 FONTCONFIG_LIBS
2672 Linker flags for fontconfig, overriding pkg-config
2673 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2674 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2675 GSSAPI_CFLAGS
2676 C compiler flags for krb5-gssapi, overriding pkg-config
2677 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2678 NETAPI_CFLAGS
2679 C compiler flags for netapi, overriding pkg-config
2680 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2682 Use these variables to override the choices made by `configure' or to help
2683 it to find libraries and programs with nonstandard names/locations.
2685 Report bugs to <wine-devel@winehq.org>.
2686 Wine home page: <https://www.winehq.org>.
2687 _ACEOF
2688 ac_status=$?
2691 if test "$ac_init_help" = "recursive"; then
2692 # If there are subdirs, report their specific --help.
2693 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2694 test -d "$ac_dir" ||
2695 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2696 continue
2697 ac_builddir=.
2699 case "$ac_dir" in
2700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2702 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2703 # A ".." for each directory in $ac_dir_suffix.
2704 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2705 case $ac_top_builddir_sub in
2706 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2707 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2708 esac ;;
2709 esac
2710 ac_abs_top_builddir=$ac_pwd
2711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2712 # for backward compatibility:
2713 ac_top_builddir=$ac_top_build_prefix
2715 case $srcdir in
2716 .) # We are building in place.
2717 ac_srcdir=.
2718 ac_top_srcdir=$ac_top_builddir_sub
2719 ac_abs_top_srcdir=$ac_pwd ;;
2720 [\\/]* | ?:[\\/]* ) # Absolute name.
2721 ac_srcdir=$srcdir$ac_dir_suffix;
2722 ac_top_srcdir=$srcdir
2723 ac_abs_top_srcdir=$srcdir ;;
2724 *) # Relative name.
2725 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2726 ac_top_srcdir=$ac_top_build_prefix$srcdir
2727 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2728 esac
2729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2731 cd "$ac_dir" || { ac_status=$?; continue; }
2732 # Check for configure.gnu first; this name is used for a wrapper for
2733 # Metaconfig's "Configure" on case-insensitive file systems.
2734 if test -f "$ac_srcdir/configure.gnu"; then
2735 echo &&
2736 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2737 elif test -f "$ac_srcdir/configure"; then
2738 echo &&
2739 $SHELL "$ac_srcdir/configure" --help=recursive
2740 else
2741 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2742 fi || ac_status=$?
2743 cd "$ac_pwd" || { ac_status=$?; break; }
2744 done
2747 test -n "$ac_init_help" && exit $ac_status
2748 if $ac_init_version; then
2749 cat <<\_ACEOF
2750 Wine configure 8.20
2751 generated by GNU Autoconf 2.71
2753 Copyright (C) 2021 Free Software Foundation, Inc.
2754 This configure script is free software; the Free Software Foundation
2755 gives unlimited permission to copy, distribute and modify it.
2756 _ACEOF
2757 exit
2760 ## ------------------------ ##
2761 ## Autoconf initialization. ##
2762 ## ------------------------ ##
2764 # ac_fn_c_try_compile LINENO
2765 # --------------------------
2766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_c_try_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 rm -f conftest.$ac_objext conftest.beam
2771 if { { ac_try="$ac_compile"
2772 case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2775 esac
2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 printf "%s\n" "$ac_try_echo"; } >&5
2778 (eval "$ac_compile") 2>conftest.err
2779 ac_status=$?
2780 if test -s conftest.err; then
2781 grep -v '^ *+' conftest.err >conftest.er1
2782 cat conftest.er1 >&5
2783 mv -f conftest.er1 conftest.err
2785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; } && {
2787 test -z "$ac_c_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.$ac_objext
2790 then :
2791 ac_retval=0
2792 else $as_nop
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_retval=1
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 as_fn_set_status $ac_retval
2801 } # ac_fn_c_try_compile
2803 # ac_fn_cxx_try_compile LINENO
2804 # ----------------------------
2805 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2806 ac_fn_cxx_try_compile ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 rm -f conftest.$ac_objext conftest.beam
2810 if { { ac_try="$ac_compile"
2811 case "(($ac_try" in
2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2814 esac
2815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2816 printf "%s\n" "$ac_try_echo"; } >&5
2817 (eval "$ac_compile") 2>conftest.err
2818 ac_status=$?
2819 if test -s conftest.err; then
2820 grep -v '^ *+' conftest.err >conftest.er1
2821 cat conftest.er1 >&5
2822 mv -f conftest.er1 conftest.err
2824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; } && {
2826 test -z "$ac_cxx_werror_flag" ||
2827 test ! -s conftest.err
2828 } && test -s conftest.$ac_objext
2829 then :
2830 ac_retval=0
2831 else $as_nop
2832 printf "%s\n" "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.$ac_ext >&5
2835 ac_retval=1
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2838 as_fn_set_status $ac_retval
2840 } # ac_fn_cxx_try_compile
2842 # ac_fn_c_try_link LINENO
2843 # -----------------------
2844 # Try to link conftest.$ac_ext, and return whether this succeeded.
2845 ac_fn_c_try_link ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2849 if { { ac_try="$ac_link"
2850 case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853 esac
2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855 printf "%s\n" "$ac_try_echo"; } >&5
2856 (eval "$ac_link") 2>conftest.err
2857 ac_status=$?
2858 if test -s conftest.err; then
2859 grep -v '^ *+' conftest.err >conftest.er1
2860 cat conftest.er1 >&5
2861 mv -f conftest.er1 conftest.err
2863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864 test $ac_status = 0; } && {
2865 test -z "$ac_c_werror_flag" ||
2866 test ! -s conftest.err
2867 } && test -s conftest$ac_exeext && {
2868 test "$cross_compiling" = yes ||
2869 test -x conftest$ac_exeext
2871 then :
2872 ac_retval=0
2873 else $as_nop
2874 printf "%s\n" "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.$ac_ext >&5
2877 ac_retval=1
2879 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2880 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2881 # interfere with the next link command; also delete a directory that is
2882 # left behind by Apple's compiler. We do this before executing the actions.
2883 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885 as_fn_set_status $ac_retval
2887 } # ac_fn_c_try_link
2889 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2890 # -------------------------------------------------------
2891 # Tests whether HEADER exists and can be compiled using the include files in
2892 # INCLUDES, setting the cache variable VAR accordingly.
2893 ac_fn_c_check_header_compile ()
2895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2897 printf %s "checking for $2... " >&6; }
2898 if eval test \${$3+y}
2899 then :
2900 printf %s "(cached) " >&6
2901 else $as_nop
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2905 #include <$2>
2906 _ACEOF
2907 if ac_fn_c_try_compile "$LINENO"
2908 then :
2909 eval "$3=yes"
2910 else $as_nop
2911 eval "$3=no"
2913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2915 eval ac_res=\$$3
2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2917 printf "%s\n" "$ac_res" >&6; }
2918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2920 } # ac_fn_c_check_header_compile
2922 # ac_fn_objc_try_compile LINENO
2923 # -----------------------------
2924 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2925 ac_fn_objc_try_compile ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 rm -f conftest.$ac_objext conftest.beam
2929 if { { ac_try="$ac_compile"
2930 case "(($ac_try" in
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2933 esac
2934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2935 printf "%s\n" "$ac_try_echo"; } >&5
2936 (eval "$ac_compile") 2>conftest.err
2937 ac_status=$?
2938 if test -s conftest.err; then
2939 grep -v '^ *+' conftest.err >conftest.er1
2940 cat conftest.er1 >&5
2941 mv -f conftest.er1 conftest.err
2943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2944 test $ac_status = 0; } && {
2945 test -z "$ac_objc_werror_flag" ||
2946 test ! -s conftest.err
2947 } && test -s conftest.$ac_objext
2948 then :
2949 ac_retval=0
2950 else $as_nop
2951 printf "%s\n" "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.$ac_ext >&5
2954 ac_retval=1
2956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2957 as_fn_set_status $ac_retval
2959 } # ac_fn_objc_try_compile
2961 # ac_fn_c_check_func LINENO FUNC VAR
2962 # ----------------------------------
2963 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2964 ac_fn_c_check_func ()
2966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2968 printf %s "checking for $2... " >&6; }
2969 if eval test \${$3+y}
2970 then :
2971 printf %s "(cached) " >&6
2972 else $as_nop
2973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2975 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2977 #define $2 innocuous_$2
2979 /* System header to define __stub macros and hopefully few prototypes,
2980 which can conflict with char $2 (); below. */
2982 #include <limits.h>
2983 #undef $2
2985 /* Override any GCC internal prototype to avoid an error.
2986 Use char because int might match the return type of a GCC
2987 builtin and then its argument prototype would still apply. */
2988 #ifdef __cplusplus
2989 extern "C"
2990 #endif
2991 char $2 ();
2992 /* The GNU C library defines this for functions which it implements
2993 to always fail with ENOSYS. Some functions are actually named
2994 something starting with __ and the normal name is an alias. */
2995 #if defined __stub_$2 || defined __stub___$2
2996 choke me
2997 #endif
3000 main (void)
3002 return $2 ();
3004 return 0;
3006 _ACEOF
3007 if ac_fn_c_try_link "$LINENO"
3008 then :
3009 eval "$3=yes"
3010 else $as_nop
3011 eval "$3=no"
3013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3014 conftest$ac_exeext conftest.$ac_ext
3016 eval ac_res=\$$3
3017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3018 printf "%s\n" "$ac_res" >&6; }
3019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3021 } # ac_fn_c_check_func
3023 # ac_fn_c_try_cpp LINENO
3024 # ----------------------
3025 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3026 ac_fn_c_try_cpp ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 if { { ac_try="$ac_cpp conftest.$ac_ext"
3030 case "(($ac_try" in
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;
3033 esac
3034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3035 printf "%s\n" "$ac_try_echo"; } >&5
3036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3037 ac_status=$?
3038 if test -s conftest.err; then
3039 grep -v '^ *+' conftest.err >conftest.er1
3040 cat conftest.er1 >&5
3041 mv -f conftest.er1 conftest.err
3043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3044 test $ac_status = 0; } > conftest.i && {
3045 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3048 then :
3049 ac_retval=0
3050 else $as_nop
3051 printf "%s\n" "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.$ac_ext >&5
3054 ac_retval=1
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3057 as_fn_set_status $ac_retval
3059 } # ac_fn_c_try_cpp
3061 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3062 # ----------------------------------------------------
3063 # Tries to find if the field MEMBER exists in type AGGR, after including
3064 # INCLUDES, setting cache variable VAR accordingly.
3065 ac_fn_c_check_member ()
3067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3069 printf %s "checking for $2.$3... " >&6; }
3070 if eval test \${$4+y}
3071 then :
3072 printf %s "(cached) " >&6
3073 else $as_nop
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3078 main (void)
3080 static $2 ac_aggr;
3081 if (ac_aggr.$3)
3082 return 0;
3084 return 0;
3086 _ACEOF
3087 if ac_fn_c_try_compile "$LINENO"
3088 then :
3089 eval "$4=yes"
3090 else $as_nop
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 main (void)
3097 static $2 ac_aggr;
3098 if (sizeof ac_aggr.$3)
3099 return 0;
3101 return 0;
3103 _ACEOF
3104 if ac_fn_c_try_compile "$LINENO"
3105 then :
3106 eval "$4=yes"
3107 else $as_nop
3108 eval "$4=no"
3110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3114 eval ac_res=\$$4
3115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 printf "%s\n" "$ac_res" >&6; }
3117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3119 } # ac_fn_c_check_member
3121 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3122 # -------------------------------------------
3123 # Tests whether TYPE exists after having included INCLUDES, setting cache
3124 # variable VAR accordingly.
3125 ac_fn_c_check_type ()
3127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3129 printf %s "checking for $2... " >&6; }
3130 if eval test \${$3+y}
3131 then :
3132 printf %s "(cached) " >&6
3133 else $as_nop
3134 eval "$3=no"
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3139 main (void)
3141 if (sizeof ($2))
3142 return 0;
3144 return 0;
3146 _ACEOF
3147 if ac_fn_c_try_compile "$LINENO"
3148 then :
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3153 main (void)
3155 if (sizeof (($2)))
3156 return 0;
3158 return 0;
3160 _ACEOF
3161 if ac_fn_c_try_compile "$LINENO"
3162 then :
3164 else $as_nop
3165 eval "$3=yes"
3167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3171 eval ac_res=\$$3
3172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3173 printf "%s\n" "$ac_res" >&6; }
3174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3176 } # ac_fn_c_check_type
3177 ac_configure_args_raw=
3178 for ac_arg
3180 case $ac_arg in
3181 *\'*)
3182 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3183 esac
3184 as_fn_append ac_configure_args_raw " '$ac_arg'"
3185 done
3187 case $ac_configure_args_raw in
3188 *$as_nl*)
3189 ac_safe_unquote= ;;
3191 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3192 ac_unsafe_a="$ac_unsafe_z#~"
3193 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3194 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3195 esac
3197 cat >config.log <<_ACEOF
3198 This file contains any messages produced by compilers while
3199 running configure, to aid debugging if configure makes a mistake.
3201 It was created by Wine $as_me 8.20, which was
3202 generated by GNU Autoconf 2.71. Invocation command line was
3204 $ $0$ac_configure_args_raw
3206 _ACEOF
3207 exec 5>>config.log
3209 cat <<_ASUNAME
3210 ## --------- ##
3211 ## Platform. ##
3212 ## --------- ##
3214 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3215 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3216 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3217 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3218 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3220 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3221 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3223 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3224 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3225 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3226 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3227 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3228 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3229 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3231 _ASUNAME
3233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3234 for as_dir in $PATH
3236 IFS=$as_save_IFS
3237 case $as_dir in #(((
3238 '') as_dir=./ ;;
3239 */) ;;
3240 *) as_dir=$as_dir/ ;;
3241 esac
3242 printf "%s\n" "PATH: $as_dir"
3243 done
3244 IFS=$as_save_IFS
3246 } >&5
3248 cat >&5 <<_ACEOF
3251 ## ----------- ##
3252 ## Core tests. ##
3253 ## ----------- ##
3255 _ACEOF
3258 # Keep a trace of the command line.
3259 # Strip out --no-create and --no-recursion so they do not pile up.
3260 # Strip out --silent because we don't want to record it for future runs.
3261 # Also quote any args containing shell meta-characters.
3262 # Make two passes to allow for proper duplicate-argument suppression.
3263 ac_configure_args=
3264 ac_configure_args0=
3265 ac_configure_args1=
3266 ac_must_keep_next=false
3267 for ac_pass in 1 2
3269 for ac_arg
3271 case $ac_arg in
3272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3274 | -silent | --silent | --silen | --sile | --sil)
3275 continue ;;
3276 *\'*)
3277 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3278 esac
3279 case $ac_pass in
3280 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3282 as_fn_append ac_configure_args1 " '$ac_arg'"
3283 if test $ac_must_keep_next = true; then
3284 ac_must_keep_next=false # Got value, back to normal.
3285 else
3286 case $ac_arg in
3287 *=* | --config-cache | -C | -disable-* | --disable-* \
3288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3290 | -with-* | --with-* | -without-* | --without-* | --x)
3291 case "$ac_configure_args0 " in
3292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3293 esac
3295 -* ) ac_must_keep_next=true ;;
3296 esac
3298 as_fn_append ac_configure_args " '$ac_arg'"
3300 esac
3301 done
3302 done
3303 { ac_configure_args0=; unset ac_configure_args0;}
3304 { ac_configure_args1=; unset ac_configure_args1;}
3306 # When interrupted or exit'd, cleanup temporary files, and complete
3307 # config.log. We remove comments because anyway the quotes in there
3308 # would cause problems or look ugly.
3309 # WARNING: Use '\'' to represent an apostrophe within the trap.
3310 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3311 trap 'exit_status=$?
3312 # Sanitize IFS.
3313 IFS=" "" $as_nl"
3314 # Save into config.log some information that might help in debugging.
3316 echo
3318 printf "%s\n" "## ---------------- ##
3319 ## Cache variables. ##
3320 ## ---------------- ##"
3321 echo
3322 # The following way of writing the cache mishandles newlines in values,
3324 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3325 eval ac_val=\$$ac_var
3326 case $ac_val in #(
3327 *${as_nl}*)
3328 case $ac_var in #(
3329 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3330 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3331 esac
3332 case $ac_var in #(
3333 _ | IFS | as_nl) ;; #(
3334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3335 *) { eval $ac_var=; unset $ac_var;} ;;
3336 esac ;;
3337 esac
3338 done
3339 (set) 2>&1 |
3340 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3341 *${as_nl}ac_space=\ *)
3342 sed -n \
3343 "s/'\''/'\''\\\\'\'''\''/g;
3344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3345 ;; #(
3347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3349 esac |
3350 sort
3352 echo
3354 printf "%s\n" "## ----------------- ##
3355 ## Output variables. ##
3356 ## ----------------- ##"
3357 echo
3358 for ac_var in $ac_subst_vars
3360 eval ac_val=\$$ac_var
3361 case $ac_val in
3362 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3363 esac
3364 printf "%s\n" "$ac_var='\''$ac_val'\''"
3365 done | sort
3366 echo
3368 if test -n "$ac_subst_files"; then
3369 printf "%s\n" "## ------------------- ##
3370 ## File substitutions. ##
3371 ## ------------------- ##"
3372 echo
3373 for ac_var in $ac_subst_files
3375 eval ac_val=\$$ac_var
3376 case $ac_val in
3377 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3378 esac
3379 printf "%s\n" "$ac_var='\''$ac_val'\''"
3380 done | sort
3381 echo
3384 if test -s confdefs.h; then
3385 printf "%s\n" "## ----------- ##
3386 ## confdefs.h. ##
3387 ## ----------- ##"
3388 echo
3389 cat confdefs.h
3390 echo
3392 test "$ac_signal" != 0 &&
3393 printf "%s\n" "$as_me: caught signal $ac_signal"
3394 printf "%s\n" "$as_me: exit $exit_status"
3395 } >&5
3396 rm -f core *.core core.conftest.* &&
3397 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3398 exit $exit_status
3400 for ac_signal in 1 2 13 15; do
3401 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3402 done
3403 ac_signal=0
3405 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3406 rm -f -r conftest* confdefs.h
3408 printf "%s\n" "/* confdefs.h */" > confdefs.h
3410 # Predefined preprocessor variables.
3412 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3414 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3416 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3418 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3420 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3422 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3425 # Let the site file select an alternate cache file if it wants to.
3426 # Prefer an explicitly selected file to automatically selected ones.
3427 if test -n "$CONFIG_SITE"; then
3428 ac_site_files="$CONFIG_SITE"
3429 elif test "x$prefix" != xNONE; then
3430 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3431 else
3432 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3435 for ac_site_file in $ac_site_files
3437 case $ac_site_file in #(
3438 */*) :
3439 ;; #(
3440 *) :
3441 ac_site_file=./$ac_site_file ;;
3442 esac
3443 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3445 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3446 sed 's/^/| /' "$ac_site_file" >&5
3447 . "$ac_site_file" \
3448 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error $? "failed to load site script $ac_site_file
3451 See \`config.log' for more details" "$LINENO" 5; }
3453 done
3455 if test -r "$cache_file"; then
3456 # Some versions of bash will fail to source /dev/null (special files
3457 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3458 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3460 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3461 case $cache_file in
3462 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3463 *) . "./$cache_file";;
3464 esac
3466 else
3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3468 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3469 >$cache_file
3472 # Test code for whether the C compiler supports C89 (global declarations)
3473 ac_c_conftest_c89_globals='
3474 /* Does the compiler advertise C89 conformance?
3475 Do not test the value of __STDC__, because some compilers set it to 0
3476 while being otherwise adequately conformant. */
3477 #if !defined __STDC__
3478 # error "Compiler does not advertise C89 conformance"
3479 #endif
3481 #include <stddef.h>
3482 #include <stdarg.h>
3483 struct stat;
3484 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3485 struct buf { int x; };
3486 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3487 static char *e (p, i)
3488 char **p;
3489 int i;
3491 return p[i];
3493 static char *f (char * (*g) (char **, int), char **p, ...)
3495 char *s;
3496 va_list v;
3497 va_start (v,p);
3498 s = g (p, va_arg (v,int));
3499 va_end (v);
3500 return s;
3503 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3504 function prototypes and stuff, but not \xHH hex character constants.
3505 These do not provoke an error unfortunately, instead are silently treated
3506 as an "x". The following induces an error, until -std is added to get
3507 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3508 array size at least. It is necessary to write \x00 == 0 to get something
3509 that is true only with -std. */
3510 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3512 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3513 inside strings and character constants. */
3514 #define FOO(x) '\''x'\''
3515 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3517 int test (int i, double x);
3518 struct s1 {int (*f) (int a);};
3519 struct s2 {int (*f) (double a);};
3520 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3521 int, int);'
3523 # Test code for whether the C compiler supports C89 (body of main).
3524 ac_c_conftest_c89_main='
3525 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3528 # Test code for whether the C compiler supports C99 (global declarations)
3529 ac_c_conftest_c99_globals='
3530 // Does the compiler advertise C99 conformance?
3531 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3532 # error "Compiler does not advertise C99 conformance"
3533 #endif
3535 #include <stdbool.h>
3536 extern int puts (const char *);
3537 extern int printf (const char *, ...);
3538 extern int dprintf (int, const char *, ...);
3539 extern void *malloc (size_t);
3541 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3542 // dprintf is used instead of fprintf to avoid needing to declare
3543 // FILE and stderr.
3544 #define debug(...) dprintf (2, __VA_ARGS__)
3545 #define showlist(...) puts (#__VA_ARGS__)
3546 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3547 static void
3548 test_varargs_macros (void)
3550 int x = 1234;
3551 int y = 5678;
3552 debug ("Flag");
3553 debug ("X = %d\n", x);
3554 showlist (The first, second, and third items.);
3555 report (x>y, "x is %d but y is %d", x, y);
3558 // Check long long types.
3559 #define BIG64 18446744073709551615ull
3560 #define BIG32 4294967295ul
3561 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3562 #if !BIG_OK
3563 #error "your preprocessor is broken"
3564 #endif
3565 #if BIG_OK
3566 #else
3567 #error "your preprocessor is broken"
3568 #endif
3569 static long long int bignum = -9223372036854775807LL;
3570 static unsigned long long int ubignum = BIG64;
3572 struct incomplete_array
3574 int datasize;
3575 double data[];
3578 struct named_init {
3579 int number;
3580 const wchar_t *name;
3581 double average;
3584 typedef const char *ccp;
3586 static inline int
3587 test_restrict (ccp restrict text)
3589 // See if C++-style comments work.
3590 // Iterate through items via the restricted pointer.
3591 // Also check for declarations in for loops.
3592 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3593 continue;
3594 return 0;
3597 // Check varargs and va_copy.
3598 static bool
3599 test_varargs (const char *format, ...)
3601 va_list args;
3602 va_start (args, format);
3603 va_list args_copy;
3604 va_copy (args_copy, args);
3606 const char *str = "";
3607 int number = 0;
3608 float fnumber = 0;
3610 while (*format)
3612 switch (*format++)
3614 case '\''s'\'': // string
3615 str = va_arg (args_copy, const char *);
3616 break;
3617 case '\''d'\'': // int
3618 number = va_arg (args_copy, int);
3619 break;
3620 case '\''f'\'': // float
3621 fnumber = va_arg (args_copy, double);
3622 break;
3623 default:
3624 break;
3627 va_end (args_copy);
3628 va_end (args);
3630 return *str && number && fnumber;
3634 # Test code for whether the C compiler supports C99 (body of main).
3635 ac_c_conftest_c99_main='
3636 // Check bool.
3637 _Bool success = false;
3638 success |= (argc != 0);
3640 // Check restrict.
3641 if (test_restrict ("String literal") == 0)
3642 success = true;
3643 char *restrict newvar = "Another string";
3645 // Check varargs.
3646 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3647 test_varargs_macros ();
3649 // Check flexible array members.
3650 struct incomplete_array *ia =
3651 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3652 ia->datasize = 10;
3653 for (int i = 0; i < ia->datasize; ++i)
3654 ia->data[i] = i * 1.234;
3656 // Check named initializers.
3657 struct named_init ni = {
3658 .number = 34,
3659 .name = L"Test wide string",
3660 .average = 543.34343,
3663 ni.number = 58;
3665 int dynamic_array[ni.number];
3666 dynamic_array[0] = argv[0][0];
3667 dynamic_array[ni.number - 1] = 543;
3669 // work around unused variable warnings
3670 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3671 || dynamic_array[ni.number - 1] != 543);
3674 # Test code for whether the C compiler supports C11 (global declarations)
3675 ac_c_conftest_c11_globals='
3676 // Does the compiler advertise C11 conformance?
3677 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3678 # error "Compiler does not advertise C11 conformance"
3679 #endif
3681 // Check _Alignas.
3682 char _Alignas (double) aligned_as_double;
3683 char _Alignas (0) no_special_alignment;
3684 extern char aligned_as_int;
3685 char _Alignas (0) _Alignas (int) aligned_as_int;
3687 // Check _Alignof.
3688 enum
3690 int_alignment = _Alignof (int),
3691 int_array_alignment = _Alignof (int[100]),
3692 char_alignment = _Alignof (char)
3694 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3696 // Check _Noreturn.
3697 int _Noreturn does_not_return (void) { for (;;) continue; }
3699 // Check _Static_assert.
3700 struct test_static_assert
3702 int x;
3703 _Static_assert (sizeof (int) <= sizeof (long int),
3704 "_Static_assert does not work in struct");
3705 long int y;
3708 // Check UTF-8 literals.
3709 #define u8 syntax error!
3710 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3712 // Check duplicate typedefs.
3713 typedef long *long_ptr;
3714 typedef long int *long_ptr;
3715 typedef long_ptr long_ptr;
3717 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3718 struct anonymous
3720 union {
3721 struct { int i; int j; };
3722 struct { int k; long int l; } w;
3724 int m;
3725 } v1;
3728 # Test code for whether the C compiler supports C11 (body of main).
3729 ac_c_conftest_c11_main='
3730 _Static_assert ((offsetof (struct anonymous, i)
3731 == offsetof (struct anonymous, w.k)),
3732 "Anonymous union alignment botch");
3733 v1.i = 2;
3734 v1.w.k = 5;
3735 ok |= v1.i != 5;
3738 # Test code for whether the C compiler supports C11 (complete).
3739 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3740 ${ac_c_conftest_c99_globals}
3741 ${ac_c_conftest_c11_globals}
3744 main (int argc, char **argv)
3746 int ok = 0;
3747 ${ac_c_conftest_c89_main}
3748 ${ac_c_conftest_c99_main}
3749 ${ac_c_conftest_c11_main}
3750 return ok;
3754 # Test code for whether the C compiler supports C99 (complete).
3755 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3756 ${ac_c_conftest_c99_globals}
3759 main (int argc, char **argv)
3761 int ok = 0;
3762 ${ac_c_conftest_c89_main}
3763 ${ac_c_conftest_c99_main}
3764 return ok;
3768 # Test code for whether the C compiler supports C89 (complete).
3769 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3772 main (int argc, char **argv)
3774 int ok = 0;
3775 ${ac_c_conftest_c89_main}
3776 return ok;
3780 # Test code for whether the C++ compiler supports C++98 (global declarations)
3781 ac_cxx_conftest_cxx98_globals='
3782 // Does the compiler advertise C++98 conformance?
3783 #if !defined __cplusplus || __cplusplus < 199711L
3784 # error "Compiler does not advertise C++98 conformance"
3785 #endif
3787 // These inclusions are to reject old compilers that
3788 // lack the unsuffixed header files.
3789 #include <cstdlib>
3790 #include <exception>
3792 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3793 extern void assert (int);
3794 namespace std {
3795 extern int strcmp (const char *, const char *);
3798 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3799 using std::exception;
3800 using std::strcmp;
3802 namespace {
3804 void test_exception_syntax()
3806 try {
3807 throw "test";
3808 } catch (const char *s) {
3809 // Extra parentheses suppress a warning when building autoconf itself,
3810 // due to lint rules shared with more typical C programs.
3811 assert (!(strcmp) (s, "test"));
3815 template <typename T> struct test_template
3817 T const val;
3818 explicit test_template(T t) : val(t) {}
3819 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3822 } // anonymous namespace
3825 # Test code for whether the C++ compiler supports C++98 (body of main)
3826 ac_cxx_conftest_cxx98_main='
3827 assert (argc);
3828 assert (! argv[0]);
3830 test_exception_syntax ();
3831 test_template<double> tt (2.0);
3832 assert (tt.add (4) == 6.0);
3833 assert (true && !false);
3837 # Test code for whether the C++ compiler supports C++11 (global declarations)
3838 ac_cxx_conftest_cxx11_globals='
3839 // Does the compiler advertise C++ 2011 conformance?
3840 #if !defined __cplusplus || __cplusplus < 201103L
3841 # error "Compiler does not advertise C++11 conformance"
3842 #endif
3844 namespace cxx11test
3846 constexpr int get_val() { return 20; }
3848 struct testinit
3850 int i;
3851 double d;
3854 class delegate
3856 public:
3857 delegate(int n) : n(n) {}
3858 delegate(): delegate(2354) {}
3860 virtual int getval() { return this->n; };
3861 protected:
3862 int n;
3865 class overridden : public delegate
3867 public:
3868 overridden(int n): delegate(n) {}
3869 virtual int getval() override final { return this->n * 2; }
3872 class nocopy
3874 public:
3875 nocopy(int i): i(i) {}
3876 nocopy() = default;
3877 nocopy(const nocopy&) = delete;
3878 nocopy & operator=(const nocopy&) = delete;
3879 private:
3880 int i;
3883 // for testing lambda expressions
3884 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3886 return f(v);
3889 // for testing variadic templates and trailing return types
3890 template <typename V> auto sum(V first) -> V
3892 return first;
3894 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3896 return first + sum(rest...);
3901 # Test code for whether the C++ compiler supports C++11 (body of main)
3902 ac_cxx_conftest_cxx11_main='
3904 // Test auto and decltype
3905 auto a1 = 6538;
3906 auto a2 = 48573953.4;
3907 auto a3 = "String literal";
3909 int total = 0;
3910 for (auto i = a3; *i; ++i) { total += *i; }
3912 decltype(a2) a4 = 34895.034;
3915 // Test constexpr
3916 short sa[cxx11test::get_val()] = { 0 };
3919 // Test initializer lists
3920 cxx11test::testinit il = { 4323, 435234.23544 };
3923 // Test range-based for
3924 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3925 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3926 for (auto &x : array) { x += 23; }
3929 // Test lambda expressions
3930 using cxx11test::eval;
3931 assert (eval ([](int x) { return x*2; }, 21) == 42);
3932 double d = 2.0;
3933 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3934 assert (d == 5.0);
3935 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3936 assert (d == 5.0);
3939 // Test use of variadic templates
3940 using cxx11test::sum;
3941 auto a = sum(1);
3942 auto b = sum(1, 2);
3943 auto c = sum(1.0, 2.0, 3.0);
3946 // Test constructor delegation
3947 cxx11test::delegate d1;
3948 cxx11test::delegate d2();
3949 cxx11test::delegate d3(45);
3952 // Test override and final
3953 cxx11test::overridden o1(55464);
3956 // Test nullptr
3957 char *c = nullptr;
3960 // Test template brackets
3961 test_template<::test_template<int>> v(test_template<int>(12));
3964 // Unicode literals
3965 char const *utf8 = u8"UTF-8 string \u2500";
3966 char16_t const *utf16 = u"UTF-8 string \u2500";
3967 char32_t const *utf32 = U"UTF-32 string \u2500";
3971 # Test code for whether the C compiler supports C++11 (complete).
3972 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3973 ${ac_cxx_conftest_cxx11_globals}
3976 main (int argc, char **argv)
3978 int ok = 0;
3979 ${ac_cxx_conftest_cxx98_main}
3980 ${ac_cxx_conftest_cxx11_main}
3981 return ok;
3985 # Test code for whether the C compiler supports C++98 (complete).
3986 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3988 main (int argc, char **argv)
3990 int ok = 0;
3991 ${ac_cxx_conftest_cxx98_main}
3992 return ok;
3996 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3997 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3998 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3999 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4000 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4001 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4002 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4003 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4004 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4006 # Auxiliary files required by this configure script.
4007 ac_aux_files="config.guess config.sub"
4009 # Locations in which to look for auxiliary files.
4010 ac_aux_dir_candidates="${srcdir}/tools"
4012 # Search for a directory containing all of the required auxiliary files,
4013 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4014 # If we don't find one directory that contains all the files we need,
4015 # we report the set of missing files from the *first* directory in
4016 # $ac_aux_dir_candidates and give up.
4017 ac_missing_aux_files=""
4018 ac_first_candidate=:
4019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021 as_found=false
4022 for as_dir in $ac_aux_dir_candidates
4024 IFS=$as_save_IFS
4025 case $as_dir in #(((
4026 '') as_dir=./ ;;
4027 */) ;;
4028 *) as_dir=$as_dir/ ;;
4029 esac
4030 as_found=:
4032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4033 ac_aux_dir_found=yes
4034 ac_install_sh=
4035 for ac_aux in $ac_aux_files
4037 # As a special case, if "install-sh" is required, that requirement
4038 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4039 # and $ac_install_sh is set appropriately for whichever one is found.
4040 if test x"$ac_aux" = x"install-sh"
4041 then
4042 if test -f "${as_dir}install-sh"; then
4043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4044 ac_install_sh="${as_dir}install-sh -c"
4045 elif test -f "${as_dir}install.sh"; then
4046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4047 ac_install_sh="${as_dir}install.sh -c"
4048 elif test -f "${as_dir}shtool"; then
4049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4050 ac_install_sh="${as_dir}shtool install -c"
4051 else
4052 ac_aux_dir_found=no
4053 if $ac_first_candidate; then
4054 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4055 else
4056 break
4059 else
4060 if test -f "${as_dir}${ac_aux}"; then
4061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4062 else
4063 ac_aux_dir_found=no
4064 if $ac_first_candidate; then
4065 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4066 else
4067 break
4071 done
4072 if test "$ac_aux_dir_found" = yes; then
4073 ac_aux_dir="$as_dir"
4074 break
4076 ac_first_candidate=false
4078 as_found=false
4079 done
4080 IFS=$as_save_IFS
4081 if $as_found
4082 then :
4084 else $as_nop
4085 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4089 # These three variables are undocumented and unsupported,
4090 # and are intended to be withdrawn in a future Autoconf release.
4091 # They can cause serious problems if a builder's source tree is in a directory
4092 # whose full name contains unusual characters.
4093 if test -f "${ac_aux_dir}config.guess"; then
4094 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4096 if test -f "${ac_aux_dir}config.sub"; then
4097 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4099 if test -f "$ac_aux_dir/configure"; then
4100 ac_configure="$SHELL ${ac_aux_dir}configure"
4103 # Check that the precious variables saved in the cache have kept the same
4104 # value.
4105 ac_cache_corrupted=false
4106 for ac_var in $ac_precious_vars; do
4107 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4108 eval ac_new_set=\$ac_env_${ac_var}_set
4109 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4110 eval ac_new_val=\$ac_env_${ac_var}_value
4111 case $ac_old_set,$ac_new_set in
4112 set,)
4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4114 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4115 ac_cache_corrupted=: ;;
4116 ,set)
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4118 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4119 ac_cache_corrupted=: ;;
4120 ,);;
4122 if test "x$ac_old_val" != "x$ac_new_val"; then
4123 # differences in whitespace do not lead to failure.
4124 ac_old_val_w=`echo x $ac_old_val`
4125 ac_new_val_w=`echo x $ac_new_val`
4126 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4128 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4129 ac_cache_corrupted=:
4130 else
4131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4132 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4133 eval $ac_var=\$ac_old_val
4135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4136 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4138 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4139 fi;;
4140 esac
4141 # Pass precious variables to config.status.
4142 if test "$ac_new_set" = set; then
4143 case $ac_new_val in
4144 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4145 *) ac_arg=$ac_var=$ac_new_val ;;
4146 esac
4147 case " $ac_configure_args " in
4148 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4149 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4150 esac
4152 done
4153 if $ac_cache_corrupted; then
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4155 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4157 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4158 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4159 and start over" "$LINENO" 5
4161 ## -------------------- ##
4162 ## Main body of script. ##
4163 ## -------------------- ##
4165 ac_ext=c
4166 ac_cpp='$CPP $CPPFLAGS'
4167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173 ac_config_headers="$ac_config_headers include/config.h"
4177 libwine_version="1.0"
4180 # Check whether --enable-archs was given.
4181 if test ${enable_archs+y}
4182 then :
4183 enableval=$enable_archs;
4186 # Check whether --enable-win16 was given.
4187 if test ${enable_win16+y}
4188 then :
4189 enableval=$enable_win16;
4192 # Check whether --enable-win64 was given.
4193 if test ${enable_win64+y}
4194 then :
4195 enableval=$enable_win64;
4198 # Check whether --enable-tests was given.
4199 if test ${enable_tests+y}
4200 then :
4201 enableval=$enable_tests;
4204 # Check whether --enable-build-id was given.
4205 if test ${enable_build_id+y}
4206 then :
4207 enableval=$enable_build_id;
4210 # Check whether --enable-maintainer-mode was given.
4211 if test ${enable_maintainer_mode+y}
4212 then :
4213 enableval=$enable_maintainer_mode;
4216 # Check whether --enable-silent-rules was given.
4217 if test ${enable_silent_rules+y}
4218 then :
4219 enableval=$enable_silent_rules;
4222 # Check whether --enable-werror was given.
4223 if test ${enable_werror+y}
4224 then :
4225 enableval=$enable_werror;
4230 # Check whether --with-alsa was given.
4231 if test ${with_alsa+y}
4232 then :
4233 withval=$with_alsa;
4237 # Check whether --with-capi was given.
4238 if test ${with_capi+y}
4239 then :
4240 withval=$with_capi;
4244 # Check whether --with-coreaudio was given.
4245 if test ${with_coreaudio+y}
4246 then :
4247 withval=$with_coreaudio;
4251 # Check whether --with-cups was given.
4252 if test ${with_cups+y}
4253 then :
4254 withval=$with_cups;
4258 # Check whether --with-dbus was given.
4259 if test ${with_dbus+y}
4260 then :
4261 withval=$with_dbus;
4265 # Check whether --with-float-abi was given.
4266 if test ${with_float_abi+y}
4267 then :
4268 withval=$with_float_abi;
4272 # Check whether --with-fontconfig was given.
4273 if test ${with_fontconfig+y}
4274 then :
4275 withval=$with_fontconfig;
4279 # Check whether --with-freetype was given.
4280 if test ${with_freetype+y}
4281 then :
4282 withval=$with_freetype;
4286 # Check whether --with-gettext was given.
4287 if test ${with_gettext+y}
4288 then :
4289 withval=$with_gettext;
4293 # Check whether --with-gettextpo was given.
4294 if test ${with_gettextpo+y}
4295 then :
4296 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4300 # Check whether --with-gphoto was given.
4301 if test ${with_gphoto+y}
4302 then :
4303 withval=$with_gphoto;
4307 # Check whether --with-gnutls was given.
4308 if test ${with_gnutls+y}
4309 then :
4310 withval=$with_gnutls;
4314 # Check whether --with-gssapi was given.
4315 if test ${with_gssapi+y}
4316 then :
4317 withval=$with_gssapi;
4321 # Check whether --with-gstreamer was given.
4322 if test ${with_gstreamer+y}
4323 then :
4324 withval=$with_gstreamer;
4328 # Check whether --with-inotify was given.
4329 if test ${with_inotify+y}
4330 then :
4331 withval=$with_inotify;
4335 # Check whether --with-krb5 was given.
4336 if test ${with_krb5+y}
4337 then :
4338 withval=$with_krb5;
4342 # Check whether --with-mingw was given.
4343 if test ${with_mingw+y}
4344 then :
4345 withval=$with_mingw;
4349 # Check whether --with-netapi was given.
4350 if test ${with_netapi+y}
4351 then :
4352 withval=$with_netapi;
4356 # Check whether --with-opencl was given.
4357 if test ${with_opencl+y}
4358 then :
4359 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4363 # Check whether --with-opengl was given.
4364 if test ${with_opengl+y}
4365 then :
4366 withval=$with_opengl;
4370 # Check whether --with-osmesa was given.
4371 if test ${with_osmesa+y}
4372 then :
4373 withval=$with_osmesa;
4377 # Check whether --with-oss was given.
4378 if test ${with_oss+y}
4379 then :
4380 withval=$with_oss;
4384 # Check whether --with-pcap was given.
4385 if test ${with_pcap+y}
4386 then :
4387 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4391 # Check whether --with-pcsclite was given.
4392 if test ${with_pcsclite+y}
4393 then :
4394 withval=$with_pcsclite;
4398 # Check whether --with-pthread was given.
4399 if test ${with_pthread+y}
4400 then :
4401 withval=$with_pthread;
4405 # Check whether --with-pulse was given.
4406 if test ${with_pulse+y}
4407 then :
4408 withval=$with_pulse;
4412 # Check whether --with-sane was given.
4413 if test ${with_sane+y}
4414 then :
4415 withval=$with_sane;
4419 # Check whether --with-sdl was given.
4420 if test ${with_sdl+y}
4421 then :
4422 withval=$with_sdl;
4426 # Check whether --with-udev was given.
4427 if test ${with_udev+y}
4428 then :
4429 withval=$with_udev;
4433 # Check whether --with-unwind was given.
4434 if test ${with_unwind+y}
4435 then :
4436 withval=$with_unwind;
4440 # Check whether --with-usb was given.
4441 if test ${with_usb+y}
4442 then :
4443 withval=$with_usb;
4447 # Check whether --with-v4l2 was given.
4448 if test ${with_v4l2+y}
4449 then :
4450 withval=$with_v4l2;
4454 # Check whether --with-vulkan was given.
4455 if test ${with_vulkan+y}
4456 then :
4457 withval=$with_vulkan;
4461 # Check whether --with-wayland was given.
4462 if test ${with_wayland+y}
4463 then :
4464 withval=$with_wayland;
4468 # Check whether --with-xcomposite was given.
4469 if test ${with_xcomposite+y}
4470 then :
4471 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4475 # Check whether --with-xcursor was given.
4476 if test ${with_xcursor+y}
4477 then :
4478 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4482 # Check whether --with-xfixes was given.
4483 if test ${with_xfixes+y}
4484 then :
4485 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4489 # Check whether --with-xinerama was given.
4490 if test ${with_xinerama+y}
4491 then :
4492 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4496 # Check whether --with-xinput was given.
4497 if test ${with_xinput+y}
4498 then :
4499 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4503 # Check whether --with-xinput2 was given.
4504 if test ${with_xinput2+y}
4505 then :
4506 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4510 # Check whether --with-xrandr was given.
4511 if test ${with_xrandr+y}
4512 then :
4513 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4517 # Check whether --with-xrender was given.
4518 if test ${with_xrender+y}
4519 then :
4520 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4524 # Check whether --with-xshape was given.
4525 if test ${with_xshape+y}
4526 then :
4527 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4531 # Check whether --with-xshm was given.
4532 if test ${with_xshm+y}
4533 then :
4534 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4538 # Check whether --with-xxf86vm was given.
4539 if test ${with_xxf86vm+y}
4540 then :
4541 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
4546 # Check whether --with-system-dllpath was given.
4547 if test ${with_system_dllpath+y}
4548 then :
4549 withval=$with_system_dllpath; system_dllpath=$withval
4554 # Check whether --with-wine-tools was given.
4555 if test ${with_wine_tools+y}
4556 then :
4557 withval=$with_wine_tools;
4561 # Check whether --with-wine64 was given.
4562 if test ${with_wine64+y}
4563 then :
4564 withval=$with_wine64;
4571 # Make sure we can run config.sub.
4572 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4573 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4576 printf %s "checking build system type... " >&6; }
4577 if test ${ac_cv_build+y}
4578 then :
4579 printf %s "(cached) " >&6
4580 else $as_nop
4581 ac_build_alias=$build_alias
4582 test "x$ac_build_alias" = x &&
4583 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4584 test "x$ac_build_alias" = x &&
4585 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4586 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4587 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4591 printf "%s\n" "$ac_cv_build" >&6; }
4592 case $ac_cv_build in
4593 *-*-*) ;;
4594 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4595 esac
4596 build=$ac_cv_build
4597 ac_save_IFS=$IFS; IFS='-'
4598 set x $ac_cv_build
4599 shift
4600 build_cpu=$1
4601 build_vendor=$2
4602 shift; shift
4603 # Remember, the first character of IFS is used to create $*,
4604 # except with old shells:
4605 build_os=$*
4606 IFS=$ac_save_IFS
4607 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4611 printf %s "checking host system type... " >&6; }
4612 if test ${ac_cv_host+y}
4613 then :
4614 printf %s "(cached) " >&6
4615 else $as_nop
4616 if test "x$host_alias" = x; then
4617 ac_cv_host=$ac_cv_build
4618 else
4619 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4620 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4625 printf "%s\n" "$ac_cv_host" >&6; }
4626 case $ac_cv_host in
4627 *-*-*) ;;
4628 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4629 esac
4630 host=$ac_cv_host
4631 ac_save_IFS=$IFS; IFS='-'
4632 set x $ac_cv_host
4633 shift
4634 host_cpu=$1
4635 host_vendor=$2
4636 shift; shift
4637 # Remember, the first character of IFS is used to create $*,
4638 # except with old shells:
4639 host_os=$*
4640 IFS=$ac_save_IFS
4641 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4645 dlldir=\${libdir}/wine
4647 fontdir=\${datadir}/wine/fonts
4649 nlsdir=\${datadir}/wine/nls
4654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4655 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4656 set x ${MAKE-make}
4657 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4658 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4659 then :
4660 printf %s "(cached) " >&6
4661 else $as_nop
4662 cat >conftest.make <<\_ACEOF
4663 SHELL = /bin/sh
4664 all:
4665 @echo '@@@%%%=$(MAKE)=@@@%%%'
4666 _ACEOF
4667 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4668 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4669 *@@@%%%=?*=@@@%%%*)
4670 eval ac_cv_prog_make_${ac_make}_set=yes;;
4672 eval ac_cv_prog_make_${ac_make}_set=no;;
4673 esac
4674 rm -f conftest.make
4676 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4678 printf "%s\n" "yes" >&6; }
4679 SET_MAKE=
4680 else
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 printf "%s\n" "no" >&6; }
4683 SET_MAKE="MAKE=${MAKE-make}"
4695 ac_ext=c
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 if test -n "$ac_tool_prefix"; then
4701 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4702 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704 printf %s "checking for $ac_word... " >&6; }
4705 if test ${ac_cv_prog_CC+y}
4706 then :
4707 printf %s "(cached) " >&6
4708 else $as_nop
4709 if test -n "$CC"; then
4710 ac_cv_prog_CC="$CC" # Let the user override the test.
4711 else
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713 for as_dir in $PATH
4715 IFS=$as_save_IFS
4716 case $as_dir in #(((
4717 '') as_dir=./ ;;
4718 */) ;;
4719 *) as_dir=$as_dir/ ;;
4720 esac
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4723 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4725 break 2
4727 done
4728 done
4729 IFS=$as_save_IFS
4733 CC=$ac_cv_prog_CC
4734 if test -n "$CC"; then
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4736 printf "%s\n" "$CC" >&6; }
4737 else
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 printf "%s\n" "no" >&6; }
4744 if test -z "$ac_cv_prog_CC"; then
4745 ac_ct_CC=$CC
4746 # Extract the first word of "gcc", so it can be a program name with args.
4747 set dummy gcc; ac_word=$2
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 printf %s "checking for $ac_word... " >&6; }
4750 if test ${ac_cv_prog_ac_ct_CC+y}
4751 then :
4752 printf %s "(cached) " >&6
4753 else $as_nop
4754 if test -n "$ac_ct_CC"; then
4755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4756 else
4757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 for as_dir in $PATH
4760 IFS=$as_save_IFS
4761 case $as_dir in #(((
4762 '') as_dir=./ ;;
4763 */) ;;
4764 *) as_dir=$as_dir/ ;;
4765 esac
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_ac_ct_CC="gcc"
4769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4770 break 2
4772 done
4773 done
4774 IFS=$as_save_IFS
4778 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4779 if test -n "$ac_ct_CC"; then
4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4781 printf "%s\n" "$ac_ct_CC" >&6; }
4782 else
4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 printf "%s\n" "no" >&6; }
4787 if test "x$ac_ct_CC" = x; then
4788 CC=""
4789 else
4790 case $cross_compiling:$ac_tool_warned in
4791 yes:)
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4793 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4794 ac_tool_warned=yes ;;
4795 esac
4796 CC=$ac_ct_CC
4798 else
4799 CC="$ac_cv_prog_CC"
4802 if test -z "$CC"; then
4803 if test -n "$ac_tool_prefix"; then
4804 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4805 set dummy ${ac_tool_prefix}cc; ac_word=$2
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807 printf %s "checking for $ac_word... " >&6; }
4808 if test ${ac_cv_prog_CC+y}
4809 then :
4810 printf %s "(cached) " >&6
4811 else $as_nop
4812 if test -n "$CC"; then
4813 ac_cv_prog_CC="$CC" # Let the user override the test.
4814 else
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 for as_dir in $PATH
4818 IFS=$as_save_IFS
4819 case $as_dir in #(((
4820 '') as_dir=./ ;;
4821 */) ;;
4822 *) as_dir=$as_dir/ ;;
4823 esac
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4826 ac_cv_prog_CC="${ac_tool_prefix}cc"
4827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4828 break 2
4830 done
4831 done
4832 IFS=$as_save_IFS
4836 CC=$ac_cv_prog_CC
4837 if test -n "$CC"; then
4838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4839 printf "%s\n" "$CC" >&6; }
4840 else
4841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 printf "%s\n" "no" >&6; }
4848 if test -z "$CC"; then
4849 # Extract the first word of "cc", so it can be a program name with args.
4850 set dummy cc; ac_word=$2
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 printf %s "checking for $ac_word... " >&6; }
4853 if test ${ac_cv_prog_CC+y}
4854 then :
4855 printf %s "(cached) " >&6
4856 else $as_nop
4857 if test -n "$CC"; then
4858 ac_cv_prog_CC="$CC" # Let the user override the test.
4859 else
4860 ac_prog_rejected=no
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862 for as_dir in $PATH
4864 IFS=$as_save_IFS
4865 case $as_dir in #(((
4866 '') as_dir=./ ;;
4867 */) ;;
4868 *) as_dir=$as_dir/ ;;
4869 esac
4870 for ac_exec_ext in '' $ac_executable_extensions; do
4871 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4872 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4873 ac_prog_rejected=yes
4874 continue
4876 ac_cv_prog_CC="cc"
4877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4878 break 2
4880 done
4881 done
4882 IFS=$as_save_IFS
4884 if test $ac_prog_rejected = yes; then
4885 # We found a bogon in the path, so make sure we never use it.
4886 set dummy $ac_cv_prog_CC
4887 shift
4888 if test $# != 0; then
4889 # We chose a different compiler from the bogus one.
4890 # However, it has the same basename, so the bogon will be chosen
4891 # first if we set CC to just the basename; use the full file name.
4892 shift
4893 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4898 CC=$ac_cv_prog_CC
4899 if test -n "$CC"; then
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4901 printf "%s\n" "$CC" >&6; }
4902 else
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 printf "%s\n" "no" >&6; }
4909 if test -z "$CC"; then
4910 if test -n "$ac_tool_prefix"; then
4911 for ac_prog in cl.exe
4913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 printf %s "checking for $ac_word... " >&6; }
4917 if test ${ac_cv_prog_CC+y}
4918 then :
4919 printf %s "(cached) " >&6
4920 else $as_nop
4921 if test -n "$CC"; then
4922 ac_cv_prog_CC="$CC" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 case $as_dir in #(((
4929 '') as_dir=./ ;;
4930 */) ;;
4931 *) as_dir=$as_dir/ ;;
4932 esac
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4937 break 2
4939 done
4940 done
4941 IFS=$as_save_IFS
4945 CC=$ac_cv_prog_CC
4946 if test -n "$CC"; then
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4948 printf "%s\n" "$CC" >&6; }
4949 else
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 printf "%s\n" "no" >&6; }
4955 test -n "$CC" && break
4956 done
4958 if test -z "$CC"; then
4959 ac_ct_CC=$CC
4960 for ac_prog in cl.exe
4962 # Extract the first word of "$ac_prog", so it can be a program name with args.
4963 set dummy $ac_prog; ac_word=$2
4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 printf %s "checking for $ac_word... " >&6; }
4966 if test ${ac_cv_prog_ac_ct_CC+y}
4967 then :
4968 printf %s "(cached) " >&6
4969 else $as_nop
4970 if test -n "$ac_ct_CC"; then
4971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4972 else
4973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974 for as_dir in $PATH
4976 IFS=$as_save_IFS
4977 case $as_dir in #(((
4978 '') as_dir=./ ;;
4979 */) ;;
4980 *) as_dir=$as_dir/ ;;
4981 esac
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_ac_ct_CC="$ac_prog"
4985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4986 break 2
4988 done
4989 done
4990 IFS=$as_save_IFS
4994 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4995 if test -n "$ac_ct_CC"; then
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4997 printf "%s\n" "$ac_ct_CC" >&6; }
4998 else
4999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 printf "%s\n" "no" >&6; }
5004 test -n "$ac_ct_CC" && break
5005 done
5007 if test "x$ac_ct_CC" = x; then
5008 CC=""
5009 else
5010 case $cross_compiling:$ac_tool_warned in
5011 yes:)
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5015 esac
5016 CC=$ac_ct_CC
5021 if test -z "$CC"; then
5022 if test -n "$ac_tool_prefix"; then
5023 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5024 set dummy ${ac_tool_prefix}clang; ac_word=$2
5025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 printf %s "checking for $ac_word... " >&6; }
5027 if test ${ac_cv_prog_CC+y}
5028 then :
5029 printf %s "(cached) " >&6
5030 else $as_nop
5031 if test -n "$CC"; then
5032 ac_cv_prog_CC="$CC" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5037 IFS=$as_save_IFS
5038 case $as_dir in #(((
5039 '') as_dir=./ ;;
5040 */) ;;
5041 *) as_dir=$as_dir/ ;;
5042 esac
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_CC="${ac_tool_prefix}clang"
5046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 CC=$ac_cv_prog_CC
5056 if test -n "$CC"; then
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5058 printf "%s\n" "$CC" >&6; }
5059 else
5060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 printf "%s\n" "no" >&6; }
5066 if test -z "$ac_cv_prog_CC"; then
5067 ac_ct_CC=$CC
5068 # Extract the first word of "clang", so it can be a program name with args.
5069 set dummy clang; ac_word=$2
5070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 printf %s "checking for $ac_word... " >&6; }
5072 if test ${ac_cv_prog_ac_ct_CC+y}
5073 then :
5074 printf %s "(cached) " >&6
5075 else $as_nop
5076 if test -n "$ac_ct_CC"; then
5077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5082 IFS=$as_save_IFS
5083 case $as_dir in #(((
5084 '') as_dir=./ ;;
5085 */) ;;
5086 *) as_dir=$as_dir/ ;;
5087 esac
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_ac_ct_CC="clang"
5091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5092 break 2
5094 done
5095 done
5096 IFS=$as_save_IFS
5100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5101 if test -n "$ac_ct_CC"; then
5102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5103 printf "%s\n" "$ac_ct_CC" >&6; }
5104 else
5105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 printf "%s\n" "no" >&6; }
5109 if test "x$ac_ct_CC" = x; then
5110 CC=""
5111 else
5112 case $cross_compiling:$ac_tool_warned in
5113 yes:)
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5115 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5116 ac_tool_warned=yes ;;
5117 esac
5118 CC=$ac_ct_CC
5120 else
5121 CC="$ac_cv_prog_CC"
5127 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5128 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5129 as_fn_error $? "no acceptable C compiler found in \$PATH
5130 See \`config.log' for more details" "$LINENO" 5; }
5132 # Provide some information about the compiler.
5133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5134 set X $ac_compile
5135 ac_compiler=$2
5136 for ac_option in --version -v -V -qversion -version; do
5137 { { ac_try="$ac_compiler $ac_option >&5"
5138 case "(($ac_try" in
5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140 *) ac_try_echo=$ac_try;;
5141 esac
5142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5143 printf "%s\n" "$ac_try_echo"; } >&5
5144 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5145 ac_status=$?
5146 if test -s conftest.err; then
5147 sed '10a\
5148 ... rest of stderr output deleted ...
5149 10q' conftest.err >conftest.er1
5150 cat conftest.er1 >&5
5152 rm -f conftest.er1 conftest.err
5153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5154 test $ac_status = 0; }
5155 done
5157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158 /* end confdefs.h. */
5161 main (void)
5165 return 0;
5167 _ACEOF
5168 ac_clean_files_save=$ac_clean_files
5169 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5170 # Try to create an executable without -o first, disregard a.out.
5171 # It will help us diagnose broken compilers, and finding out an intuition
5172 # of exeext.
5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5174 printf %s "checking whether the C compiler works... " >&6; }
5175 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5177 # The possible output files:
5178 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5180 ac_rmfiles=
5181 for ac_file in $ac_files
5183 case $ac_file in
5184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5185 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5186 esac
5187 done
5188 rm -f $ac_rmfiles
5190 if { { ac_try="$ac_link_default"
5191 case "(($ac_try" in
5192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5193 *) ac_try_echo=$ac_try;;
5194 esac
5195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5196 printf "%s\n" "$ac_try_echo"; } >&5
5197 (eval "$ac_link_default") 2>&5
5198 ac_status=$?
5199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5200 test $ac_status = 0; }
5201 then :
5202 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5203 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5204 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5205 # so that the user can short-circuit this test for compilers unknown to
5206 # Autoconf.
5207 for ac_file in $ac_files ''
5209 test -f "$ac_file" || continue
5210 case $ac_file in
5211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5213 [ab].out )
5214 # We found the default executable, but exeext='' is most
5215 # certainly right.
5216 break;;
5217 *.* )
5218 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5219 then :; else
5220 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5222 # We set ac_cv_exeext here because the later test for it is not
5223 # safe: cross compilers may not add the suffix if given an `-o'
5224 # argument, so we may need to know it at that point already.
5225 # Even if this section looks crufty: it has the advantage of
5226 # actually working.
5227 break;;
5229 break;;
5230 esac
5231 done
5232 test "$ac_cv_exeext" = no && ac_cv_exeext=
5234 else $as_nop
5235 ac_file=''
5237 if test -z "$ac_file"
5238 then :
5239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 printf "%s\n" "no" >&6; }
5241 printf "%s\n" "$as_me: failed program was:" >&5
5242 sed 's/^/| /' conftest.$ac_ext >&5
5244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5245 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5246 as_fn_error 77 "C compiler cannot create executables
5247 See \`config.log' for more details" "$LINENO" 5; }
5248 else $as_nop
5249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5250 printf "%s\n" "yes" >&6; }
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5253 printf %s "checking for C compiler default output file name... " >&6; }
5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5255 printf "%s\n" "$ac_file" >&6; }
5256 ac_exeext=$ac_cv_exeext
5258 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5259 ac_clean_files=$ac_clean_files_save
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5261 printf %s "checking for suffix of executables... " >&6; }
5262 if { { ac_try="$ac_link"
5263 case "(($ac_try" in
5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5266 esac
5267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5268 printf "%s\n" "$ac_try_echo"; } >&5
5269 (eval "$ac_link") 2>&5
5270 ac_status=$?
5271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5272 test $ac_status = 0; }
5273 then :
5274 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5275 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5276 # work properly (i.e., refer to `conftest.exe'), while it won't with
5277 # `rm'.
5278 for ac_file in conftest.exe conftest conftest.*; do
5279 test -f "$ac_file" || continue
5280 case $ac_file in
5281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5282 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5283 break;;
5284 * ) break;;
5285 esac
5286 done
5287 else $as_nop
5288 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5289 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5290 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5291 See \`config.log' for more details" "$LINENO" 5; }
5293 rm -f conftest conftest$ac_cv_exeext
5294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5295 printf "%s\n" "$ac_cv_exeext" >&6; }
5297 rm -f conftest.$ac_ext
5298 EXEEXT=$ac_cv_exeext
5299 ac_exeext=$EXEEXT
5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5302 #include <stdio.h>
5304 main (void)
5306 FILE *f = fopen ("conftest.out", "w");
5307 return ferror (f) || fclose (f) != 0;
5310 return 0;
5312 _ACEOF
5313 ac_clean_files="$ac_clean_files conftest.out"
5314 # Check that the compiler produces executables we can run. If not, either
5315 # the compiler is broken, or we cross compile.
5316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5317 printf %s "checking whether we are cross compiling... " >&6; }
5318 if test "$cross_compiling" != yes; then
5319 { { ac_try="$ac_link"
5320 case "(($ac_try" in
5321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5322 *) ac_try_echo=$ac_try;;
5323 esac
5324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5325 printf "%s\n" "$ac_try_echo"; } >&5
5326 (eval "$ac_link") 2>&5
5327 ac_status=$?
5328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5329 test $ac_status = 0; }
5330 if { ac_try='./conftest$ac_cv_exeext'
5331 { { case "(($ac_try" in
5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5334 esac
5335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5336 printf "%s\n" "$ac_try_echo"; } >&5
5337 (eval "$ac_try") 2>&5
5338 ac_status=$?
5339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5340 test $ac_status = 0; }; }; then
5341 cross_compiling=no
5342 else
5343 if test "$cross_compiling" = maybe; then
5344 cross_compiling=yes
5345 else
5346 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5347 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5348 as_fn_error 77 "cannot run C compiled programs.
5349 If you meant to cross compile, use \`--host'.
5350 See \`config.log' for more details" "$LINENO" 5; }
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5355 printf "%s\n" "$cross_compiling" >&6; }
5357 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5358 ac_clean_files=$ac_clean_files_save
5359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5360 printf %s "checking for suffix of object files... " >&6; }
5361 if test ${ac_cv_objext+y}
5362 then :
5363 printf %s "(cached) " >&6
5364 else $as_nop
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main (void)
5373 return 0;
5375 _ACEOF
5376 rm -f conftest.o conftest.obj
5377 if { { ac_try="$ac_compile"
5378 case "(($ac_try" in
5379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5380 *) ac_try_echo=$ac_try;;
5381 esac
5382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5383 printf "%s\n" "$ac_try_echo"; } >&5
5384 (eval "$ac_compile") 2>&5
5385 ac_status=$?
5386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5387 test $ac_status = 0; }
5388 then :
5389 for ac_file in conftest.o conftest.obj conftest.*; do
5390 test -f "$ac_file" || continue;
5391 case $ac_file in
5392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5393 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5394 break;;
5395 esac
5396 done
5397 else $as_nop
5398 printf "%s\n" "$as_me: failed program was:" >&5
5399 sed 's/^/| /' conftest.$ac_ext >&5
5401 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5402 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5403 as_fn_error $? "cannot compute suffix of object files: cannot compile
5404 See \`config.log' for more details" "$LINENO" 5; }
5406 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5409 printf "%s\n" "$ac_cv_objext" >&6; }
5410 OBJEXT=$ac_cv_objext
5411 ac_objext=$OBJEXT
5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5413 printf %s "checking whether the compiler supports GNU C... " >&6; }
5414 if test ${ac_cv_c_compiler_gnu+y}
5415 then :
5416 printf %s "(cached) " >&6
5417 else $as_nop
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5422 main (void)
5424 #ifndef __GNUC__
5425 choke me
5426 #endif
5429 return 0;
5431 _ACEOF
5432 if ac_fn_c_try_compile "$LINENO"
5433 then :
5434 ac_compiler_gnu=yes
5435 else $as_nop
5436 ac_compiler_gnu=no
5438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5443 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5446 if test $ac_compiler_gnu = yes; then
5447 GCC=yes
5448 else
5449 GCC=
5451 ac_test_CFLAGS=${CFLAGS+y}
5452 ac_save_CFLAGS=$CFLAGS
5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5454 printf %s "checking whether $CC accepts -g... " >&6; }
5455 if test ${ac_cv_prog_cc_g+y}
5456 then :
5457 printf %s "(cached) " >&6
5458 else $as_nop
5459 ac_save_c_werror_flag=$ac_c_werror_flag
5460 ac_c_werror_flag=yes
5461 ac_cv_prog_cc_g=no
5462 CFLAGS="-g"
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5467 main (void)
5471 return 0;
5473 _ACEOF
5474 if ac_fn_c_try_compile "$LINENO"
5475 then :
5476 ac_cv_prog_cc_g=yes
5477 else $as_nop
5478 CFLAGS=""
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 :
5493 else $as_nop
5494 ac_c_werror_flag=$ac_save_c_werror_flag
5495 CFLAGS="-g"
5496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5500 main (void)
5504 return 0;
5506 _ACEOF
5507 if ac_fn_c_try_compile "$LINENO"
5508 then :
5509 ac_cv_prog_cc_g=yes
5511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5516 ac_c_werror_flag=$ac_save_c_werror_flag
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5519 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5520 if test $ac_test_CFLAGS; then
5521 CFLAGS=$ac_save_CFLAGS
5522 elif test $ac_cv_prog_cc_g = yes; then
5523 if test "$GCC" = yes; then
5524 CFLAGS="-g -O2"
5525 else
5526 CFLAGS="-g"
5528 else
5529 if test "$GCC" = yes; then
5530 CFLAGS="-O2"
5531 else
5532 CFLAGS=
5535 ac_prog_cc_stdc=no
5536 if test x$ac_prog_cc_stdc = xno
5537 then :
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5539 printf %s "checking for $CC option to enable C11 features... " >&6; }
5540 if test ${ac_cv_prog_cc_c11+y}
5541 then :
5542 printf %s "(cached) " >&6
5543 else $as_nop
5544 ac_cv_prog_cc_c11=no
5545 ac_save_CC=$CC
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5548 $ac_c_conftest_c11_program
5549 _ACEOF
5550 for ac_arg in '' -std=gnu11
5552 CC="$ac_save_CC $ac_arg"
5553 if ac_fn_c_try_compile "$LINENO"
5554 then :
5555 ac_cv_prog_cc_c11=$ac_arg
5557 rm -f core conftest.err conftest.$ac_objext conftest.beam
5558 test "x$ac_cv_prog_cc_c11" != "xno" && break
5559 done
5560 rm -f conftest.$ac_ext
5561 CC=$ac_save_CC
5564 if test "x$ac_cv_prog_cc_c11" = xno
5565 then :
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5567 printf "%s\n" "unsupported" >&6; }
5568 else $as_nop
5569 if test "x$ac_cv_prog_cc_c11" = x
5570 then :
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5572 printf "%s\n" "none needed" >&6; }
5573 else $as_nop
5574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5575 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5576 CC="$CC $ac_cv_prog_cc_c11"
5578 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5579 ac_prog_cc_stdc=c11
5582 if test x$ac_prog_cc_stdc = xno
5583 then :
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5585 printf %s "checking for $CC option to enable C99 features... " >&6; }
5586 if test ${ac_cv_prog_cc_c99+y}
5587 then :
5588 printf %s "(cached) " >&6
5589 else $as_nop
5590 ac_cv_prog_cc_c99=no
5591 ac_save_CC=$CC
5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5594 $ac_c_conftest_c99_program
5595 _ACEOF
5596 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5598 CC="$ac_save_CC $ac_arg"
5599 if ac_fn_c_try_compile "$LINENO"
5600 then :
5601 ac_cv_prog_cc_c99=$ac_arg
5603 rm -f core conftest.err conftest.$ac_objext conftest.beam
5604 test "x$ac_cv_prog_cc_c99" != "xno" && break
5605 done
5606 rm -f conftest.$ac_ext
5607 CC=$ac_save_CC
5610 if test "x$ac_cv_prog_cc_c99" = xno
5611 then :
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5613 printf "%s\n" "unsupported" >&6; }
5614 else $as_nop
5615 if test "x$ac_cv_prog_cc_c99" = x
5616 then :
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5618 printf "%s\n" "none needed" >&6; }
5619 else $as_nop
5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5621 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5622 CC="$CC $ac_cv_prog_cc_c99"
5624 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5625 ac_prog_cc_stdc=c99
5628 if test x$ac_prog_cc_stdc = xno
5629 then :
5630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5631 printf %s "checking for $CC option to enable C89 features... " >&6; }
5632 if test ${ac_cv_prog_cc_c89+y}
5633 then :
5634 printf %s "(cached) " >&6
5635 else $as_nop
5636 ac_cv_prog_cc_c89=no
5637 ac_save_CC=$CC
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5640 $ac_c_conftest_c89_program
5641 _ACEOF
5642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5644 CC="$ac_save_CC $ac_arg"
5645 if ac_fn_c_try_compile "$LINENO"
5646 then :
5647 ac_cv_prog_cc_c89=$ac_arg
5649 rm -f core conftest.err conftest.$ac_objext conftest.beam
5650 test "x$ac_cv_prog_cc_c89" != "xno" && break
5651 done
5652 rm -f conftest.$ac_ext
5653 CC=$ac_save_CC
5656 if test "x$ac_cv_prog_cc_c89" = xno
5657 then :
5658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5659 printf "%s\n" "unsupported" >&6; }
5660 else $as_nop
5661 if test "x$ac_cv_prog_cc_c89" = x
5662 then :
5663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5664 printf "%s\n" "none needed" >&6; }
5665 else $as_nop
5666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5667 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5668 CC="$CC $ac_cv_prog_cc_c89"
5670 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5671 ac_prog_cc_stdc=c89
5675 ac_ext=c
5676 ac_cpp='$CPP $CPPFLAGS'
5677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5687 ac_ext=cpp
5688 ac_cpp='$CXXCPP $CPPFLAGS'
5689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5692 if test -z "$CXX"; then
5693 if test -n "$CCC"; then
5694 CXX=$CCC
5695 else
5696 if test -n "$ac_tool_prefix"; then
5697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 printf %s "checking for $ac_word... " >&6; }
5703 if test ${ac_cv_prog_CXX+y}
5704 then :
5705 printf %s "(cached) " >&6
5706 else $as_nop
5707 if test -n "$CXX"; then
5708 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5709 else
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5713 IFS=$as_save_IFS
5714 case $as_dir in #(((
5715 '') as_dir=./ ;;
5716 */) ;;
5717 *) as_dir=$as_dir/ ;;
5718 esac
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5723 break 2
5725 done
5726 done
5727 IFS=$as_save_IFS
5731 CXX=$ac_cv_prog_CXX
5732 if test -n "$CXX"; then
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5734 printf "%s\n" "$CXX" >&6; }
5735 else
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 printf "%s\n" "no" >&6; }
5741 test -n "$CXX" && break
5742 done
5744 if test -z "$CXX"; then
5745 ac_ct_CXX=$CXX
5746 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5748 # Extract the first word of "$ac_prog", so it can be a program name with args.
5749 set dummy $ac_prog; ac_word=$2
5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 printf %s "checking for $ac_word... " >&6; }
5752 if test ${ac_cv_prog_ac_ct_CXX+y}
5753 then :
5754 printf %s "(cached) " >&6
5755 else $as_nop
5756 if test -n "$ac_ct_CXX"; then
5757 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5758 else
5759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 for as_dir in $PATH
5762 IFS=$as_save_IFS
5763 case $as_dir in #(((
5764 '') as_dir=./ ;;
5765 */) ;;
5766 *) as_dir=$as_dir/ ;;
5767 esac
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_ac_ct_CXX="$ac_prog"
5771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5780 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5781 if test -n "$ac_ct_CXX"; then
5782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5783 printf "%s\n" "$ac_ct_CXX" >&6; }
5784 else
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 printf "%s\n" "no" >&6; }
5790 test -n "$ac_ct_CXX" && break
5791 done
5793 if test "x$ac_ct_CXX" = x; then
5794 CXX="g++"
5795 else
5796 case $cross_compiling:$ac_tool_warned in
5797 yes:)
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5801 esac
5802 CXX=$ac_ct_CXX
5808 # Provide some information about the compiler.
5809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5810 set X $ac_compile
5811 ac_compiler=$2
5812 for ac_option in --version -v -V -qversion; do
5813 { { ac_try="$ac_compiler $ac_option >&5"
5814 case "(($ac_try" in
5815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5816 *) ac_try_echo=$ac_try;;
5817 esac
5818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5819 printf "%s\n" "$ac_try_echo"; } >&5
5820 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5821 ac_status=$?
5822 if test -s conftest.err; then
5823 sed '10a\
5824 ... rest of stderr output deleted ...
5825 10q' conftest.err >conftest.er1
5826 cat conftest.er1 >&5
5828 rm -f conftest.er1 conftest.err
5829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5830 test $ac_status = 0; }
5831 done
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5834 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5835 if test ${ac_cv_cxx_compiler_gnu+y}
5836 then :
5837 printf %s "(cached) " >&6
5838 else $as_nop
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5843 main (void)
5845 #ifndef __GNUC__
5846 choke me
5847 #endif
5850 return 0;
5852 _ACEOF
5853 if ac_fn_cxx_try_compile "$LINENO"
5854 then :
5855 ac_compiler_gnu=yes
5856 else $as_nop
5857 ac_compiler_gnu=no
5859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5860 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5864 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5867 if test $ac_compiler_gnu = yes; then
5868 GXX=yes
5869 else
5870 GXX=
5872 ac_test_CXXFLAGS=${CXXFLAGS+y}
5873 ac_save_CXXFLAGS=$CXXFLAGS
5874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5875 printf %s "checking whether $CXX accepts -g... " >&6; }
5876 if test ${ac_cv_prog_cxx_g+y}
5877 then :
5878 printf %s "(cached) " >&6
5879 else $as_nop
5880 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5881 ac_cxx_werror_flag=yes
5882 ac_cv_prog_cxx_g=no
5883 CXXFLAGS="-g"
5884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5888 main (void)
5892 return 0;
5894 _ACEOF
5895 if ac_fn_cxx_try_compile "$LINENO"
5896 then :
5897 ac_cv_prog_cxx_g=yes
5898 else $as_nop
5899 CXXFLAGS=""
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 :
5914 else $as_nop
5915 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5916 CXXFLAGS="-g"
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5921 main (void)
5925 return 0;
5927 _ACEOF
5928 if ac_fn_cxx_try_compile "$LINENO"
5929 then :
5930 ac_cv_prog_cxx_g=yes
5932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5937 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5940 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5941 if test $ac_test_CXXFLAGS; then
5942 CXXFLAGS=$ac_save_CXXFLAGS
5943 elif test $ac_cv_prog_cxx_g = yes; then
5944 if test "$GXX" = yes; then
5945 CXXFLAGS="-g -O2"
5946 else
5947 CXXFLAGS="-g"
5949 else
5950 if test "$GXX" = yes; then
5951 CXXFLAGS="-O2"
5952 else
5953 CXXFLAGS=
5956 ac_prog_cxx_stdcxx=no
5957 if test x$ac_prog_cxx_stdcxx = xno
5958 then :
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5960 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5961 if test ${ac_cv_prog_cxx_cxx11+y}
5962 then :
5963 printf %s "(cached) " >&6
5964 else $as_nop
5965 ac_cv_prog_cxx_cxx11=no
5966 ac_save_CXX=$CXX
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5969 $ac_cxx_conftest_cxx11_program
5970 _ACEOF
5971 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5973 CXX="$ac_save_CXX $ac_arg"
5974 if ac_fn_cxx_try_compile "$LINENO"
5975 then :
5976 ac_cv_prog_cxx_cxx11=$ac_arg
5978 rm -f core conftest.err conftest.$ac_objext conftest.beam
5979 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5980 done
5981 rm -f conftest.$ac_ext
5982 CXX=$ac_save_CXX
5985 if test "x$ac_cv_prog_cxx_cxx11" = xno
5986 then :
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5988 printf "%s\n" "unsupported" >&6; }
5989 else $as_nop
5990 if test "x$ac_cv_prog_cxx_cxx11" = x
5991 then :
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5993 printf "%s\n" "none needed" >&6; }
5994 else $as_nop
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5996 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5997 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5999 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6000 ac_prog_cxx_stdcxx=cxx11
6003 if test x$ac_prog_cxx_stdcxx = xno
6004 then :
6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6006 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6007 if test ${ac_cv_prog_cxx_cxx98+y}
6008 then :
6009 printf %s "(cached) " >&6
6010 else $as_nop
6011 ac_cv_prog_cxx_cxx98=no
6012 ac_save_CXX=$CXX
6013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6014 /* end confdefs.h. */
6015 $ac_cxx_conftest_cxx98_program
6016 _ACEOF
6017 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6019 CXX="$ac_save_CXX $ac_arg"
6020 if ac_fn_cxx_try_compile "$LINENO"
6021 then :
6022 ac_cv_prog_cxx_cxx98=$ac_arg
6024 rm -f core conftest.err conftest.$ac_objext conftest.beam
6025 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6026 done
6027 rm -f conftest.$ac_ext
6028 CXX=$ac_save_CXX
6031 if test "x$ac_cv_prog_cxx_cxx98" = xno
6032 then :
6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6034 printf "%s\n" "unsupported" >&6; }
6035 else $as_nop
6036 if test "x$ac_cv_prog_cxx_cxx98" = x
6037 then :
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6039 printf "%s\n" "none needed" >&6; }
6040 else $as_nop
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6042 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6043 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6045 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6046 ac_prog_cxx_stdcxx=cxx98
6050 ac_ext=c
6051 ac_cpp='$CPP $CPPFLAGS'
6052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6056 if test -n "$ac_tool_prefix"; then
6057 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6058 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 printf %s "checking for $ac_word... " >&6; }
6061 if test ${ac_cv_prog_CPPBIN+y}
6062 then :
6063 printf %s "(cached) " >&6
6064 else $as_nop
6065 if test -n "$CPPBIN"; then
6066 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 case $as_dir in #(((
6073 '') as_dir=./ ;;
6074 */) ;;
6075 *) as_dir=$as_dir/ ;;
6076 esac
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 CPPBIN=$ac_cv_prog_CPPBIN
6090 if test -n "$CPPBIN"; then
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6092 printf "%s\n" "$CPPBIN" >&6; }
6093 else
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 printf "%s\n" "no" >&6; }
6100 if test -z "$ac_cv_prog_CPPBIN"; then
6101 ac_ct_CPPBIN=$CPPBIN
6102 # Extract the first word of "cpp", so it can be a program name with args.
6103 set dummy cpp; ac_word=$2
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 printf %s "checking for $ac_word... " >&6; }
6106 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6107 then :
6108 printf %s "(cached) " >&6
6109 else $as_nop
6110 if test -n "$ac_ct_CPPBIN"; then
6111 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6116 IFS=$as_save_IFS
6117 case $as_dir in #(((
6118 '') as_dir=./ ;;
6119 */) ;;
6120 *) as_dir=$as_dir/ ;;
6121 esac
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_ac_ct_CPPBIN="cpp"
6125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6135 if test -n "$ac_ct_CPPBIN"; then
6136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6137 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6138 else
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 printf "%s\n" "no" >&6; }
6143 if test "x$ac_ct_CPPBIN" = x; then
6144 CPPBIN="cpp"
6145 else
6146 case $cross_compiling:$ac_tool_warned in
6147 yes:)
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6151 esac
6152 CPPBIN=$ac_ct_CPPBIN
6154 else
6155 CPPBIN="$ac_cv_prog_CPPBIN"
6159 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6161 if test -n "$ac_tool_prefix"; then
6162 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6163 set dummy ${ac_tool_prefix}ld; ac_word=$2
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 printf %s "checking for $ac_word... " >&6; }
6166 if test ${ac_cv_prog_LD+y}
6167 then :
6168 printf %s "(cached) " >&6
6169 else $as_nop
6170 if test -n "$LD"; then
6171 ac_cv_prog_LD="$LD" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 case $as_dir in #(((
6178 '') as_dir=./ ;;
6179 */) ;;
6180 *) as_dir=$as_dir/ ;;
6181 esac
6182 for ac_exec_ext in '' $ac_executable_extensions; do
6183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6184 ac_cv_prog_LD="${ac_tool_prefix}ld"
6185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6186 break 2
6188 done
6189 done
6190 IFS=$as_save_IFS
6194 LD=$ac_cv_prog_LD
6195 if test -n "$LD"; then
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6197 printf "%s\n" "$LD" >&6; }
6198 else
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 printf "%s\n" "no" >&6; }
6205 if test -z "$ac_cv_prog_LD"; then
6206 ac_ct_LD=$LD
6207 # Extract the first word of "ld", so it can be a program name with args.
6208 set dummy ld; ac_word=$2
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6210 printf %s "checking for $ac_word... " >&6; }
6211 if test ${ac_cv_prog_ac_ct_LD+y}
6212 then :
6213 printf %s "(cached) " >&6
6214 else $as_nop
6215 if test -n "$ac_ct_LD"; then
6216 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6217 else
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 for as_dir in $PATH
6221 IFS=$as_save_IFS
6222 case $as_dir in #(((
6223 '') as_dir=./ ;;
6224 */) ;;
6225 *) as_dir=$as_dir/ ;;
6226 esac
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6229 ac_cv_prog_ac_ct_LD="ld"
6230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6231 break 2
6233 done
6234 done
6235 IFS=$as_save_IFS
6239 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6240 if test -n "$ac_ct_LD"; then
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6242 printf "%s\n" "$ac_ct_LD" >&6; }
6243 else
6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6245 printf "%s\n" "no" >&6; }
6248 if test "x$ac_ct_LD" = x; then
6249 LD=""
6250 else
6251 case $cross_compiling:$ac_tool_warned in
6252 yes:)
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6254 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6255 ac_tool_warned=yes ;;
6256 esac
6257 LD=$ac_ct_LD
6259 else
6260 LD="$ac_cv_prog_LD"
6264 case $host in
6265 *-darwin*)
6266 with_fontconfig=${with_fontconfig:-no}
6268 *-mingw32*|*-cygwin*)
6269 enable_win16=${enable_win16:-no}
6270 with_mingw=${with_mingw:-no}
6272 esac
6275 case $host in
6276 x86_64*|amd64*)
6277 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6278 then
6279 CC="$CC -m32"
6280 CXX="$CXX -m32"
6282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6283 printf %s "checking whether $CC works... " >&6; }
6284 if test ${wine_cv_cc_m32+y}
6285 then :
6286 printf %s "(cached) " >&6
6287 else $as_nop
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6292 main (void)
6296 return 0;
6298 _ACEOF
6299 if ac_fn_c_try_link "$LINENO"
6300 then :
6301 wine_cv_cc_m32=yes
6302 else $as_nop
6303 wine_cv_cc_m32=no
6305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6306 conftest$ac_exeext conftest.$ac_ext
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6309 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6310 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
6311 host_cpu="i386"
6312 notice_platform="32-bit "
6313 TARGETFLAGS="$TARGETFLAGS -m32"
6314 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6315 export PKG_CONFIG_LIBDIR
6316 with_unwind=${with_unwind:-no}
6317 else
6318 CC="$CC -m64"
6319 CXX="$CXX -m64"
6320 host_cpu="x86_64"
6321 notice_platform="64-bit "
6322 TARGETFLAGS="$TARGETFLAGS -m64"
6325 arm*)
6326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6327 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6328 if test ${wine_cv_thumb2+y}
6329 then :
6330 printf %s "(cached) " >&6
6331 else $as_nop
6332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6336 main (void)
6338 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6340 return 0;
6342 _ACEOF
6343 if ac_fn_c_try_link "$LINENO"
6344 then :
6345 wine_cv_thumb2=yes
6346 else $as_nop
6347 wine_cv_thumb2=no
6349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6350 conftest$ac_exeext conftest.$ac_ext
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6353 printf "%s\n" "$wine_cv_thumb2" >&6; }
6354 if test x"$wine_cv_thumb2" = xyes
6355 then
6356 CFLAGS="$CFLAGS -mthumb"
6357 TARGETFLAGS="$TARGETFLAGS -mthumb"
6358 else
6359 CFLAGS="$CFLAGS -marm"
6360 TARGETFLAGS="$TARGETFLAGS -marm"
6362 case $with_float_abi in
6363 soft|softfp|hard)
6364 float_abi=$with_float_abi ;;
6366 case $host_os in
6367 *eabihf)
6368 float_abi=hard ;;
6370 float_abi=softfp
6371 saved_CFLAGS=$CFLAGS
6372 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6374 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6375 if test ${wine_cv_float_abi+y}
6376 then :
6377 printf %s "(cached) " >&6
6378 else $as_nop
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6383 main (void)
6385 asm("vmrs r2,fpscr");
6387 return 0;
6389 _ACEOF
6390 if ac_fn_c_try_link "$LINENO"
6391 then :
6392 wine_cv_float_abi=yes
6393 else $as_nop
6394 wine_cv_float_abi=no
6396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6397 conftest$ac_exeext conftest.$ac_ext
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6400 printf "%s\n" "$wine_cv_float_abi" >&6; }
6401 if test $wine_cv_float_abi = no
6402 then
6403 float_abi=soft
6404 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6406 CFLAGS=$saved_CFLAGS
6407 esac
6409 esac
6410 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6411 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6413 i[3456789]86*)
6414 with_unwind=${with_unwind:-no}
6416 esac
6418 enable_win16=${enable_win16:-i386}
6419 enable_win64=${enable_win64:-no}
6420 enable_wow64=${enable_wow64:-aarch64,x86_64}
6421 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6422 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6423 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
6425 enable_winetest=${enable_winetest:-$enable_tests}
6427 if test "x$enable_win64" = "xyes"
6428 then
6429 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6430 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6433 case $build_os in
6434 cygwin*|mingw32*) toolsext=".exe"
6436 *) toolsext=""
6438 esac
6440 HOST_ARCH=unknown
6441 case "$host_cpu" in
6442 aarch64*) HOST_ARCH=aarch64 ;;
6443 arm*) HOST_ARCH=arm ;;
6444 i[3456789]86*) HOST_ARCH=i386 ;;
6445 x86_64) HOST_ARCH=x86_64 ;;
6446 esac
6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6450 printf %s "checking for the directory containing the Wine tools... " >&6; }
6451 if test ${wine_cv_toolsdir+y}
6452 then :
6453 printf %s "(cached) " >&6
6454 else $as_nop
6455 wine_cv_toolsdir="$with_wine_tools"
6456 if test -z "$with_wine_tools"; then
6457 if test "$cross_compiling" = "yes"; then
6458 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6459 elif test -n "$with_wine64"; then
6460 wine_cv_toolsdir="$with_wine64"
6464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6465 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6466 if test -z "$wine_cv_toolsdir"; then
6467 wine_makedep=tools/makedep$toolsext
6468 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6469 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6470 enable_tools=${enable_tools:-no}
6471 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6472 else
6473 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6475 toolsdir=$wine_cv_toolsdir
6477 MAKEDEP=$wine_makedep
6479 RUNTESTFLAGS="-q -P wine"
6481 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'"
6484 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6485 then
6486 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6489 for ac_prog in flex
6491 # Extract the first word of "$ac_prog", so it can be a program name with args.
6492 set dummy $ac_prog; ac_word=$2
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 printf %s "checking for $ac_word... " >&6; }
6495 if test ${ac_cv_prog_FLEX+y}
6496 then :
6497 printf %s "(cached) " >&6
6498 else $as_nop
6499 if test -n "$FLEX"; then
6500 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6501 else
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 for as_dir in $PATH
6505 IFS=$as_save_IFS
6506 case $as_dir in #(((
6507 '') as_dir=./ ;;
6508 */) ;;
6509 *) as_dir=$as_dir/ ;;
6510 esac
6511 for ac_exec_ext in '' $ac_executable_extensions; do
6512 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6513 ac_cv_prog_FLEX="$ac_prog"
6514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6515 break 2
6517 done
6518 done
6519 IFS=$as_save_IFS
6523 FLEX=$ac_cv_prog_FLEX
6524 if test -n "$FLEX"; then
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6526 printf "%s\n" "$FLEX" >&6; }
6527 else
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529 printf "%s\n" "no" >&6; }
6533 test -n "$FLEX" && break
6534 done
6535 test -n "$FLEX" || FLEX="none"
6537 if test "$FLEX" = "none"
6538 then
6539 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6542 printf %s "checking whether flex is recent enough... " >&6; }
6543 if test ${wine_cv_recent_flex+y}
6544 then :
6545 printf %s "(cached) " >&6
6546 else $as_nop
6547 cat >conftest.l <<EOF
6548 %top{
6549 #include "prediluvian.h"
6553 if $FLEX -t conftest.l >/dev/null 2>&5
6554 then
6555 wine_cv_recent_flex=yes
6556 else
6557 wine_cv_recent_flex=no
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6561 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6562 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
6564 for ac_prog in bison
6566 # Extract the first word of "$ac_prog", so it can be a program name with args.
6567 set dummy $ac_prog; ac_word=$2
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6569 printf %s "checking for $ac_word... " >&6; }
6570 if test ${ac_cv_prog_BISON+y}
6571 then :
6572 printf %s "(cached) " >&6
6573 else $as_nop
6574 if test -n "$BISON"; then
6575 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6576 else
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 for as_dir in $PATH
6580 IFS=$as_save_IFS
6581 case $as_dir in #(((
6582 '') as_dir=./ ;;
6583 */) ;;
6584 *) as_dir=$as_dir/ ;;
6585 esac
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_BISON="$ac_prog"
6589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6590 break 2
6592 done
6593 done
6594 IFS=$as_save_IFS
6598 BISON=$ac_cv_prog_BISON
6599 if test -n "$BISON"; then
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6601 printf "%s\n" "$BISON" >&6; }
6602 else
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 printf "%s\n" "no" >&6; }
6608 test -n "$BISON" && break
6609 done
6610 test -n "$BISON" || BISON="none"
6612 if test "$BISON" = "none"
6613 then
6614 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6617 printf %s "checking whether bison is recent enough... " >&6; }
6618 if test ${wine_cv_recent_bison+y}
6619 then :
6620 printf %s "(cached) " >&6
6621 else $as_nop
6622 cat >conftest.y <<EOF
6623 %define parse.error verbose
6625 empty: ;
6627 if $BISON conftest.y >/dev/null 2>&5
6628 then
6629 wine_cv_recent_bison=yes
6630 else
6631 wine_cv_recent_bison=no
6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6635 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6636 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
6638 if test -n "$ac_tool_prefix"; then
6639 for ac_prog in ar gar
6641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 printf %s "checking for $ac_word... " >&6; }
6645 if test ${ac_cv_prog_AR+y}
6646 then :
6647 printf %s "(cached) " >&6
6648 else $as_nop
6649 if test -n "$AR"; then
6650 ac_cv_prog_AR="$AR" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 case $as_dir in #(((
6657 '') as_dir=./ ;;
6658 */) ;;
6659 *) as_dir=$as_dir/ ;;
6660 esac
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 AR=$ac_cv_prog_AR
6674 if test -n "$AR"; then
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6676 printf "%s\n" "$AR" >&6; }
6677 else
6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 printf "%s\n" "no" >&6; }
6683 test -n "$AR" && break
6684 done
6686 if test -z "$AR"; then
6687 ac_ct_AR=$AR
6688 for ac_prog in ar gar
6690 # Extract the first word of "$ac_prog", so it can be a program name with args.
6691 set dummy $ac_prog; ac_word=$2
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693 printf %s "checking for $ac_word... " >&6; }
6694 if test ${ac_cv_prog_ac_ct_AR+y}
6695 then :
6696 printf %s "(cached) " >&6
6697 else $as_nop
6698 if test -n "$ac_ct_AR"; then
6699 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6704 IFS=$as_save_IFS
6705 case $as_dir in #(((
6706 '') as_dir=./ ;;
6707 */) ;;
6708 *) as_dir=$as_dir/ ;;
6709 esac
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_ac_ct_AR="$ac_prog"
6713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6714 break 2
6716 done
6717 done
6718 IFS=$as_save_IFS
6722 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6723 if test -n "$ac_ct_AR"; then
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6725 printf "%s\n" "$ac_ct_AR" >&6; }
6726 else
6727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 printf "%s\n" "no" >&6; }
6732 test -n "$ac_ct_AR" && break
6733 done
6735 if test "x$ac_ct_AR" = x; then
6736 AR="ar"
6737 else
6738 case $cross_compiling:$ac_tool_warned in
6739 yes:)
6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6741 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6742 ac_tool_warned=yes ;;
6743 esac
6744 AR=$ac_ct_AR
6748 if test -n "$ac_tool_prefix"; then
6749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6750 set dummy ${ac_tool_prefix}strip; ac_word=$2
6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 printf %s "checking for $ac_word... " >&6; }
6753 if test ${ac_cv_prog_STRIP+y}
6754 then :
6755 printf %s "(cached) " >&6
6756 else $as_nop
6757 if test -n "$STRIP"; then
6758 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6759 else
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 for as_dir in $PATH
6763 IFS=$as_save_IFS
6764 case $as_dir in #(((
6765 '') as_dir=./ ;;
6766 */) ;;
6767 *) as_dir=$as_dir/ ;;
6768 esac
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6771 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6773 break 2
6775 done
6776 done
6777 IFS=$as_save_IFS
6781 STRIP=$ac_cv_prog_STRIP
6782 if test -n "$STRIP"; then
6783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6784 printf "%s\n" "$STRIP" >&6; }
6785 else
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 printf "%s\n" "no" >&6; }
6792 if test -z "$ac_cv_prog_STRIP"; then
6793 ac_ct_STRIP=$STRIP
6794 # Extract the first word of "strip", so it can be a program name with args.
6795 set dummy strip; ac_word=$2
6796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797 printf %s "checking for $ac_word... " >&6; }
6798 if test ${ac_cv_prog_ac_ct_STRIP+y}
6799 then :
6800 printf %s "(cached) " >&6
6801 else $as_nop
6802 if test -n "$ac_ct_STRIP"; then
6803 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6804 else
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 for as_dir in $PATH
6808 IFS=$as_save_IFS
6809 case $as_dir in #(((
6810 '') as_dir=./ ;;
6811 */) ;;
6812 *) as_dir=$as_dir/ ;;
6813 esac
6814 for ac_exec_ext in '' $ac_executable_extensions; do
6815 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6816 ac_cv_prog_ac_ct_STRIP="strip"
6817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6818 break 2
6820 done
6821 done
6822 IFS=$as_save_IFS
6826 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6827 if test -n "$ac_ct_STRIP"; then
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6829 printf "%s\n" "$ac_ct_STRIP" >&6; }
6830 else
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832 printf "%s\n" "no" >&6; }
6835 if test "x$ac_ct_STRIP" = x; then
6836 STRIP="strip"
6837 else
6838 case $cross_compiling:$ac_tool_warned in
6839 yes:)
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6841 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6842 ac_tool_warned=yes ;;
6843 esac
6844 STRIP=$ac_ct_STRIP
6846 else
6847 STRIP="$ac_cv_prog_STRIP"
6850 if test -n "$ac_tool_prefix"; then
6851 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6852 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6854 printf %s "checking for $ac_word... " >&6; }
6855 if test ${ac_cv_prog_RANLIB+y}
6856 then :
6857 printf %s "(cached) " >&6
6858 else $as_nop
6859 if test -n "$RANLIB"; then
6860 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6865 IFS=$as_save_IFS
6866 case $as_dir in #(((
6867 '') as_dir=./ ;;
6868 */) ;;
6869 *) as_dir=$as_dir/ ;;
6870 esac
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6875 break 2
6877 done
6878 done
6879 IFS=$as_save_IFS
6883 RANLIB=$ac_cv_prog_RANLIB
6884 if test -n "$RANLIB"; then
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6886 printf "%s\n" "$RANLIB" >&6; }
6887 else
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 printf "%s\n" "no" >&6; }
6894 if test -z "$ac_cv_prog_RANLIB"; then
6895 ac_ct_RANLIB=$RANLIB
6896 # Extract the first word of "ranlib", so it can be a program name with args.
6897 set dummy ranlib; ac_word=$2
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899 printf %s "checking for $ac_word... " >&6; }
6900 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6901 then :
6902 printf %s "(cached) " >&6
6903 else $as_nop
6904 if test -n "$ac_ct_RANLIB"; then
6905 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6906 else
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 for as_dir in $PATH
6910 IFS=$as_save_IFS
6911 case $as_dir in #(((
6912 '') as_dir=./ ;;
6913 */) ;;
6914 *) as_dir=$as_dir/ ;;
6915 esac
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6918 ac_cv_prog_ac_ct_RANLIB="ranlib"
6919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6920 break 2
6922 done
6923 done
6924 IFS=$as_save_IFS
6928 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6929 if test -n "$ac_ct_RANLIB"; then
6930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6931 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6932 else
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6934 printf "%s\n" "no" >&6; }
6937 if test "x$ac_ct_RANLIB" = x; then
6938 RANLIB=":"
6939 else
6940 case $cross_compiling:$ac_tool_warned in
6941 yes:)
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6943 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6944 ac_tool_warned=yes ;;
6945 esac
6946 RANLIB=$ac_ct_RANLIB
6948 else
6949 RANLIB="$ac_cv_prog_RANLIB"
6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6953 printf %s "checking whether ln -s works... " >&6; }
6954 LN_S=$as_ln_s
6955 if test "$LN_S" = "ln -s"; then
6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6957 printf "%s\n" "yes" >&6; }
6958 else
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6960 printf "%s\n" "no, using $LN_S" >&6; }
6963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6964 printf %s "checking for grep that handles long lines and -e... " >&6; }
6965 if test ${ac_cv_path_GREP+y}
6966 then :
6967 printf %s "(cached) " >&6
6968 else $as_nop
6969 if test -z "$GREP"; then
6970 ac_path_GREP_found=false
6971 # Loop through the user's path and test for each of PROGNAME-LIST
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6975 IFS=$as_save_IFS
6976 case $as_dir in #(((
6977 '') as_dir=./ ;;
6978 */) ;;
6979 *) as_dir=$as_dir/ ;;
6980 esac
6981 for ac_prog in grep ggrep
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6985 as_fn_executable_p "$ac_path_GREP" || continue
6986 # Check for GNU ac_path_GREP and select it if it is found.
6987 # Check for GNU $ac_path_GREP
6988 case `"$ac_path_GREP" --version 2>&1` in
6989 *GNU*)
6990 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6992 ac_count=0
6993 printf %s 0123456789 >"conftest.in"
6994 while :
6996 cat "conftest.in" "conftest.in" >"conftest.tmp"
6997 mv "conftest.tmp" "conftest.in"
6998 cp "conftest.in" "conftest.nl"
6999 printf "%s\n" 'GREP' >> "conftest.nl"
7000 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7001 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7002 as_fn_arith $ac_count + 1 && ac_count=$as_val
7003 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7004 # Best one so far, save it but keep looking for a better one
7005 ac_cv_path_GREP="$ac_path_GREP"
7006 ac_path_GREP_max=$ac_count
7008 # 10*(2^10) chars as input seems more than enough
7009 test $ac_count -gt 10 && break
7010 done
7011 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7012 esac
7014 $ac_path_GREP_found && break 3
7015 done
7016 done
7017 done
7018 IFS=$as_save_IFS
7019 if test -z "$ac_cv_path_GREP"; then
7020 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7022 else
7023 ac_cv_path_GREP=$GREP
7027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7028 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7029 GREP="$ac_cv_path_GREP"
7032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7033 printf %s "checking for egrep... " >&6; }
7034 if test ${ac_cv_path_EGREP+y}
7035 then :
7036 printf %s "(cached) " >&6
7037 else $as_nop
7038 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7039 then ac_cv_path_EGREP="$GREP -E"
7040 else
7041 if test -z "$EGREP"; then
7042 ac_path_EGREP_found=false
7043 # Loop through the user's path and test for each of PROGNAME-LIST
7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7047 IFS=$as_save_IFS
7048 case $as_dir in #(((
7049 '') as_dir=./ ;;
7050 */) ;;
7051 *) as_dir=$as_dir/ ;;
7052 esac
7053 for ac_prog in egrep
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7057 as_fn_executable_p "$ac_path_EGREP" || continue
7058 # Check for GNU ac_path_EGREP and select it if it is found.
7059 # Check for GNU $ac_path_EGREP
7060 case `"$ac_path_EGREP" --version 2>&1` in
7061 *GNU*)
7062 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7064 ac_count=0
7065 printf %s 0123456789 >"conftest.in"
7066 while :
7068 cat "conftest.in" "conftest.in" >"conftest.tmp"
7069 mv "conftest.tmp" "conftest.in"
7070 cp "conftest.in" "conftest.nl"
7071 printf "%s\n" 'EGREP' >> "conftest.nl"
7072 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7073 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7074 as_fn_arith $ac_count + 1 && ac_count=$as_val
7075 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7076 # Best one so far, save it but keep looking for a better one
7077 ac_cv_path_EGREP="$ac_path_EGREP"
7078 ac_path_EGREP_max=$ac_count
7080 # 10*(2^10) chars as input seems more than enough
7081 test $ac_count -gt 10 && break
7082 done
7083 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7084 esac
7086 $ac_path_EGREP_found && break 3
7087 done
7088 done
7089 done
7090 IFS=$as_save_IFS
7091 if test -z "$ac_cv_path_EGREP"; then
7092 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7094 else
7095 ac_cv_path_EGREP=$EGREP
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7101 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7102 EGREP="$ac_cv_path_EGREP"
7105 # Extract the first word of "ldconfig", so it can be a program name with args.
7106 set dummy ldconfig; ac_word=$2
7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7108 printf %s "checking for $ac_word... " >&6; }
7109 if test ${ac_cv_path_LDCONFIG+y}
7110 then :
7111 printf %s "(cached) " >&6
7112 else $as_nop
7113 case $LDCONFIG in
7114 [\\/]* | ?:[\\/]*)
7115 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119 for as_dir in /sbin /usr/sbin $PATH
7121 IFS=$as_save_IFS
7122 case $as_dir in #(((
7123 '') as_dir=./ ;;
7124 */) ;;
7125 *) as_dir=$as_dir/ ;;
7126 esac
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7129 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7131 break 2
7133 done
7134 done
7135 IFS=$as_save_IFS
7137 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7139 esac
7141 LDCONFIG=$ac_cv_path_LDCONFIG
7142 if test -n "$LDCONFIG"; then
7143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7144 printf "%s\n" "$LDCONFIG" >&6; }
7145 else
7146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147 printf "%s\n" "no" >&6; }
7151 for ac_prog in msgfmt
7153 # Extract the first word of "$ac_prog", so it can be a program name with args.
7154 set dummy $ac_prog; ac_word=$2
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7156 printf %s "checking for $ac_word... " >&6; }
7157 if test ${ac_cv_prog_MSGFMT+y}
7158 then :
7159 printf %s "(cached) " >&6
7160 else $as_nop
7161 if test -n "$MSGFMT"; then
7162 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7163 else
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 for as_dir in $PATH
7167 IFS=$as_save_IFS
7168 case $as_dir in #(((
7169 '') as_dir=./ ;;
7170 */) ;;
7171 *) as_dir=$as_dir/ ;;
7172 esac
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7175 ac_cv_prog_MSGFMT="$ac_prog"
7176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7177 break 2
7179 done
7180 done
7181 IFS=$as_save_IFS
7185 MSGFMT=$ac_cv_prog_MSGFMT
7186 if test -n "$MSGFMT"; then
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7188 printf "%s\n" "$MSGFMT" >&6; }
7189 else
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 printf "%s\n" "no" >&6; }
7195 test -n "$MSGFMT" && break
7196 done
7197 test -n "$MSGFMT" || MSGFMT="false"
7199 if test ${ac_tool_prefix+y}
7200 then :
7201 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7202 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204 printf %s "checking for $ac_word... " >&6; }
7205 if test ${ac_cv_prog_PKG_CONFIG+y}
7206 then :
7207 printf %s "(cached) " >&6
7208 else $as_nop
7209 if test -n "$PKG_CONFIG"; then
7210 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7211 else
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7213 for as_dir in $PATH
7215 IFS=$as_save_IFS
7216 case $as_dir in #(((
7217 '') as_dir=./ ;;
7218 */) ;;
7219 *) as_dir=$as_dir/ ;;
7220 esac
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7225 break 2
7227 done
7228 done
7229 IFS=$as_save_IFS
7233 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7234 if test -n "$PKG_CONFIG"; then
7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7236 printf "%s\n" "$PKG_CONFIG" >&6; }
7237 else
7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 printf "%s\n" "no" >&6; }
7244 if ${ac_cv_prog_PKG_CONFIG:+false} :
7245 then :
7246 if test "x$cross_compiling" = xyes
7247 then :
7249 else $as_nop
7250 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7251 # Extract the first word of "pkg-config", so it can be a program name with args.
7252 set dummy pkg-config; ac_word=$2
7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7254 printf %s "checking for $ac_word... " >&6; }
7255 if test ${ac_cv_prog_PKG_CONFIG+y}
7256 then :
7257 printf %s "(cached) " >&6
7258 else $as_nop
7259 if test -n "$PKG_CONFIG"; then
7260 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7261 else
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7263 for as_dir in $PATH
7265 IFS=$as_save_IFS
7266 case $as_dir in #(((
7267 '') as_dir=./ ;;
7268 */) ;;
7269 *) as_dir=$as_dir/ ;;
7270 esac
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7273 ac_cv_prog_PKG_CONFIG="pkg-config"
7274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7275 break 2
7277 done
7278 done
7279 IFS=$as_save_IFS
7283 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7284 if test -n "$PKG_CONFIG"; then
7285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7286 printf "%s\n" "$PKG_CONFIG" >&6; }
7287 else
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 printf "%s\n" "no" >&6; }
7294 else $as_nop
7295 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7298 if test "x$enable_maintainer_mode" != "xyes"
7299 then
7300 FONTFORGE=""
7301 RSVG=""
7302 CONVERT=""
7303 ICOTOOL=""
7304 else
7305 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7306 for ac_prog in fontforge
7308 # Extract the first word of "$ac_prog", so it can be a program name with args.
7309 set dummy $ac_prog; ac_word=$2
7310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 printf %s "checking for $ac_word... " >&6; }
7312 if test ${ac_cv_prog_FONTFORGE+y}
7313 then :
7314 printf %s "(cached) " >&6
7315 else $as_nop
7316 if test -n "$FONTFORGE"; then
7317 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7322 IFS=$as_save_IFS
7323 case $as_dir in #(((
7324 '') as_dir=./ ;;
7325 */) ;;
7326 *) as_dir=$as_dir/ ;;
7327 esac
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7330 ac_cv_prog_FONTFORGE="$ac_prog"
7331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7332 break 2
7334 done
7335 done
7336 IFS=$as_save_IFS
7340 FONTFORGE=$ac_cv_prog_FONTFORGE
7341 if test -n "$FONTFORGE"; then
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7343 printf "%s\n" "$FONTFORGE" >&6; }
7344 else
7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 printf "%s\n" "no" >&6; }
7350 test -n "$FONTFORGE" && break
7351 done
7352 test -n "$FONTFORGE" || FONTFORGE="false"
7354 for ac_prog in rsvg-convert rsvg
7356 # Extract the first word of "$ac_prog", so it can be a program name with args.
7357 set dummy $ac_prog; ac_word=$2
7358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 printf %s "checking for $ac_word... " >&6; }
7360 if test ${ac_cv_prog_RSVG+y}
7361 then :
7362 printf %s "(cached) " >&6
7363 else $as_nop
7364 if test -n "$RSVG"; then
7365 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7370 IFS=$as_save_IFS
7371 case $as_dir in #(((
7372 '') as_dir=./ ;;
7373 */) ;;
7374 *) as_dir=$as_dir/ ;;
7375 esac
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7378 ac_cv_prog_RSVG="$ac_prog"
7379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7380 break 2
7382 done
7383 done
7384 IFS=$as_save_IFS
7388 RSVG=$ac_cv_prog_RSVG
7389 if test -n "$RSVG"; then
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7391 printf "%s\n" "$RSVG" >&6; }
7392 else
7393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 printf "%s\n" "no" >&6; }
7398 test -n "$RSVG" && break
7399 done
7400 test -n "$RSVG" || RSVG="false"
7402 for ac_prog in convert
7404 # Extract the first word of "$ac_prog", so it can be a program name with args.
7405 set dummy $ac_prog; ac_word=$2
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 printf %s "checking for $ac_word... " >&6; }
7408 if test ${ac_cv_prog_CONVERT+y}
7409 then :
7410 printf %s "(cached) " >&6
7411 else $as_nop
7412 if test -n "$CONVERT"; then
7413 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7414 else
7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 for as_dir in $PATH
7418 IFS=$as_save_IFS
7419 case $as_dir in #(((
7420 '') as_dir=./ ;;
7421 */) ;;
7422 *) as_dir=$as_dir/ ;;
7423 esac
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7426 ac_cv_prog_CONVERT="$ac_prog"
7427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7428 break 2
7430 done
7431 done
7432 IFS=$as_save_IFS
7436 CONVERT=$ac_cv_prog_CONVERT
7437 if test -n "$CONVERT"; then
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7439 printf "%s\n" "$CONVERT" >&6; }
7440 else
7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 printf "%s\n" "no" >&6; }
7446 test -n "$CONVERT" && break
7447 done
7448 test -n "$CONVERT" || CONVERT="false"
7450 for ac_prog in icotool
7452 # Extract the first word of "$ac_prog", so it can be a program name with args.
7453 set dummy $ac_prog; ac_word=$2
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 printf %s "checking for $ac_word... " >&6; }
7456 if test ${ac_cv_prog_ICOTOOL+y}
7457 then :
7458 printf %s "(cached) " >&6
7459 else $as_nop
7460 if test -n "$ICOTOOL"; then
7461 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7462 else
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 for as_dir in $PATH
7466 IFS=$as_save_IFS
7467 case $as_dir in #(((
7468 '') as_dir=./ ;;
7469 */) ;;
7470 *) as_dir=$as_dir/ ;;
7471 esac
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_ICOTOOL="$ac_prog"
7475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7476 break 2
7478 done
7479 done
7480 IFS=$as_save_IFS
7484 ICOTOOL=$ac_cv_prog_ICOTOOL
7485 if test -n "$ICOTOOL"; then
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7487 printf "%s\n" "$ICOTOOL" >&6; }
7488 else
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 printf "%s\n" "no" >&6; }
7494 test -n "$ICOTOOL" && break
7495 done
7496 test -n "$ICOTOOL" || ICOTOOL="false"
7498 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7499 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7501 if test "$CONVERT" = false
7502 then
7503 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7504 else
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7506 printf %s "checking for recent enough imagemagick... " >&6; }
7507 convert_version=`convert --version | head -n1`
7508 if test "x$convert_version" != "x"
7509 then
7510 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7511 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7512 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7513 then
7514 CONVERT=false
7517 if test "$CONVERT" = false
7518 then
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7520 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7521 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7522 else
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7524 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7528 if test "$ICOTOOL" = false
7529 then
7530 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7531 else
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7533 printf %s "checking for recent enough icotool... " >&6; }
7534 icotool_version=`icotool --version | head -n1`
7535 if test "x$icotool_version" != "x"
7536 then
7537 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7538 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7539 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7540 then
7541 ICOTOOL=false
7542 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7545 if test "$ICOTOOL" = false
7546 then
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7548 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7549 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7550 else
7551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7552 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7556 with_gettext=yes
7557 with_gettextpo=yes
7559 enable_werror=yes
7562 test "x$with_gettext" != xno || MSGFMT=false
7563 if test "$MSGFMT" != "false"
7564 then
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7566 printf %s "checking whether msgfmt supports contexts... " >&6; }
7567 if test ${wine_cv_msgfmt_contexts+y}
7568 then :
7569 printf %s "(cached) " >&6
7570 else $as_nop
7571 cat >conftest.po <<EOF
7572 # comment
7573 msgctxt "ctxt"
7574 msgid "id"
7575 msgstr "str"
7577 if $MSGFMT -o /dev/null conftest.po 2>&5
7578 then
7579 wine_cv_msgfmt_contexts=yes
7580 else
7581 wine_cv_msgfmt_contexts=no
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7585 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7586 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7588 if test "$MSGFMT" = false
7589 then :
7590 case "x$with_gettext" in
7591 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7592 xno) ;;
7593 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7594 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7595 esac
7596 enable_po=${enable_po:-no}
7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7601 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7602 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7603 then :
7604 printf %s "(cached) " >&6
7605 else $as_nop
7606 ac_check_lib_save_LIBS=$LIBS
7607 LIBS="-li386 $LIBS"
7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609 /* end confdefs.h. */
7611 /* Override any GCC internal prototype to avoid an error.
7612 Use char because int might match the return type of a GCC
7613 builtin and then its argument prototype would still apply. */
7614 char i386_set_ldt ();
7616 main (void)
7618 return i386_set_ldt ();
7620 return 0;
7622 _ACEOF
7623 if ac_fn_c_try_link "$LINENO"
7624 then :
7625 ac_cv_lib_i386_i386_set_ldt=yes
7626 else $as_nop
7627 ac_cv_lib_i386_i386_set_ldt=no
7629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7630 conftest$ac_exeext conftest.$ac_ext
7631 LIBS=$ac_check_lib_save_LIBS
7633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7634 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7635 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7636 then :
7637 I386_LIBS="-li386"
7642 OPENGL_LIBS=""
7646 # Check whether --enable-largefile was given.
7647 if test ${enable_largefile+y}
7648 then :
7649 enableval=$enable_largefile;
7652 if test "$enable_largefile" != no; then
7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7655 printf %s "checking for special C compiler options needed for large files... " >&6; }
7656 if test ${ac_cv_sys_largefile_CC+y}
7657 then :
7658 printf %s "(cached) " >&6
7659 else $as_nop
7660 ac_cv_sys_largefile_CC=no
7661 if test "$GCC" != yes; then
7662 ac_save_CC=$CC
7663 while :; do
7664 # IRIX 6.2 and later do not support large files by default,
7665 # so use the C compiler's -n32 option if that helps.
7666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h. */
7668 #include <sys/types.h>
7669 /* Check that off_t can represent 2**63 - 1 correctly.
7670 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7671 since some C++ compilers masquerading as C compilers
7672 incorrectly reject 9223372036854775807. */
7673 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7674 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7675 && LARGE_OFF_T % 2147483647 == 1)
7676 ? 1 : -1];
7678 main (void)
7682 return 0;
7684 _ACEOF
7685 if ac_fn_c_try_compile "$LINENO"
7686 then :
7687 break
7689 rm -f core conftest.err conftest.$ac_objext conftest.beam
7690 CC="$CC -n32"
7691 if ac_fn_c_try_compile "$LINENO"
7692 then :
7693 ac_cv_sys_largefile_CC=' -n32'; break
7695 rm -f core conftest.err conftest.$ac_objext conftest.beam
7696 break
7697 done
7698 CC=$ac_save_CC
7699 rm -f conftest.$ac_ext
7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7703 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7704 if test "$ac_cv_sys_largefile_CC" != no; then
7705 CC=$CC$ac_cv_sys_largefile_CC
7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7709 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7710 if test ${ac_cv_sys_file_offset_bits+y}
7711 then :
7712 printf %s "(cached) " >&6
7713 else $as_nop
7714 while :; do
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7717 #include <sys/types.h>
7718 /* Check that off_t can represent 2**63 - 1 correctly.
7719 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7720 since some C++ compilers masquerading as C compilers
7721 incorrectly reject 9223372036854775807. */
7722 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7723 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7724 && LARGE_OFF_T % 2147483647 == 1)
7725 ? 1 : -1];
7727 main (void)
7731 return 0;
7733 _ACEOF
7734 if ac_fn_c_try_compile "$LINENO"
7735 then :
7736 ac_cv_sys_file_offset_bits=no; break
7738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740 /* end confdefs.h. */
7741 #define _FILE_OFFSET_BITS 64
7742 #include <sys/types.h>
7743 /* Check that off_t can represent 2**63 - 1 correctly.
7744 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7745 since some C++ compilers masquerading as C compilers
7746 incorrectly reject 9223372036854775807. */
7747 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7748 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7749 && LARGE_OFF_T % 2147483647 == 1)
7750 ? 1 : -1];
7752 main (void)
7756 return 0;
7758 _ACEOF
7759 if ac_fn_c_try_compile "$LINENO"
7760 then :
7761 ac_cv_sys_file_offset_bits=64; break
7763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7764 ac_cv_sys_file_offset_bits=unknown
7765 break
7766 done
7768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7769 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7770 case $ac_cv_sys_file_offset_bits in #(
7771 no | unknown) ;;
7773 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7775 esac
7776 rm -rf conftest*
7777 if test $ac_cv_sys_file_offset_bits = unknown; then
7778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7779 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7780 if test ${ac_cv_sys_large_files+y}
7781 then :
7782 printf %s "(cached) " >&6
7783 else $as_nop
7784 while :; do
7785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7786 /* end confdefs.h. */
7787 #include <sys/types.h>
7788 /* Check that off_t can represent 2**63 - 1 correctly.
7789 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7790 since some C++ compilers masquerading as C compilers
7791 incorrectly reject 9223372036854775807. */
7792 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7793 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7794 && LARGE_OFF_T % 2147483647 == 1)
7795 ? 1 : -1];
7797 main (void)
7801 return 0;
7803 _ACEOF
7804 if ac_fn_c_try_compile "$LINENO"
7805 then :
7806 ac_cv_sys_large_files=no; break
7808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7810 /* end confdefs.h. */
7811 #define _LARGE_FILES 1
7812 #include <sys/types.h>
7813 /* Check that off_t can represent 2**63 - 1 correctly.
7814 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7815 since some C++ compilers masquerading as C compilers
7816 incorrectly reject 9223372036854775807. */
7817 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7818 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7819 && LARGE_OFF_T % 2147483647 == 1)
7820 ? 1 : -1];
7822 main (void)
7826 return 0;
7828 _ACEOF
7829 if ac_fn_c_try_compile "$LINENO"
7830 then :
7831 ac_cv_sys_large_files=1; break
7833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7834 ac_cv_sys_large_files=unknown
7835 break
7836 done
7838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7839 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7840 case $ac_cv_sys_large_files in #(
7841 no | unknown) ;;
7843 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7845 esac
7846 rm -rf conftest*
7851 ac_header= ac_cache=
7852 for ac_item in $ac_header_c_list
7854 if test $ac_cache; then
7855 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7856 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7857 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7859 ac_header= ac_cache=
7860 elif test $ac_header; then
7861 ac_cache=$ac_item
7862 else
7863 ac_header=$ac_item
7865 done
7874 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7875 then :
7877 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_CL_cl_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_EGL_egl_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_arpa_inet_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_asm_types_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_asm_user_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_elf_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_float_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_gettext_po_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_libproc_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_link_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_filter_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_input_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_major_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_param_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_serial_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_linux_types_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_linux_wireless_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_lwp_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_mach_mach_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_machine_cpu_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_mntent_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_netdb_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_netinet_in_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_port_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_pwd_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sched_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_scsi_sg_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_stdint_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_attr_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_auxv_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_cdio_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_epoll_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_event_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_extattr_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_filio_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_ipc_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_link_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_modem_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_mtio_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_param_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_prctl_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_queue_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_random_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_resource_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_shm_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_signal_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_sockio_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_strtio_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_syscall_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_times_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_uio_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_user_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_utsname_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_sys_vnode_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_xattr_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_syscall_h" = xyes
8332 then :
8333 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_utime_h" = xyes
8338 then :
8339 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8344 then :
8345 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8350 then :
8351 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8355 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8356 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8357 then :
8359 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8363 if test $ac_cv_header_sys_mkdev_h = no; then
8364 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8365 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8366 then :
8368 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8374 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8375 if test ${ac_cv_header_stat_broken+y}
8376 then :
8377 printf %s "(cached) " >&6
8378 else $as_nop
8379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8381 #include <sys/types.h>
8382 #include <sys/stat.h>
8384 #if defined S_ISBLK && defined S_IFDIR
8385 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8386 #endif
8388 #if defined S_ISBLK && defined S_IFCHR
8389 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8390 #endif
8392 #if defined S_ISLNK && defined S_IFREG
8393 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8394 #endif
8396 #if defined S_ISSOCK && defined S_IFREG
8397 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8398 #endif
8400 _ACEOF
8401 if ac_fn_c_try_compile "$LINENO"
8402 then :
8403 ac_cv_header_stat_broken=no
8404 else $as_nop
8405 ac_cv_header_stat_broken=yes
8407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8410 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8411 if test $ac_cv_header_stat_broken = yes; then
8413 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8419 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8422 #endif
8424 if test "x$ac_cv_header_sys_conf_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8430 #ifdef HAVE_SYS_PARAM_H
8431 # include <sys/param.h>
8432 #endif
8434 if test "x$ac_cv_header_sys_mount_h" = xyes
8435 then :
8436 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8439 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8440 #ifdef HAVE_SYS_PARAM_H
8441 # include <sys/param.h>
8442 #endif
8444 if test "x$ac_cv_header_sys_statfs_h" = xyes
8445 then :
8446 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8449 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8450 #ifdef HAVE_SYS_PARAM_H
8451 # include <sys/param.h>
8452 #endif
8454 if test "x$ac_cv_header_sys_user_h" = xyes
8455 then :
8456 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8459 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8460 #ifdef HAVE_SYS_PARAM_H
8461 # include <sys/param.h>
8462 #endif
8464 if test "x$ac_cv_header_sys_vfs_h" = xyes
8465 then :
8466 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8471 saved_sysctl_h_CFLAGS=$CFLAGS
8472 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8473 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8474 #ifdef HAVE_SYS_PARAM_H
8475 # include <sys/param.h>
8476 #endif
8478 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8479 then :
8480 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8484 CFLAGS=$saved_sysctl_h_CFLAGS
8486 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8487 #include <sys/socket.h>
8488 #ifdef HAVE_SYS_SOCKETVAR_H
8489 # include <sys/socketvar.h>
8490 #endif
8491 #ifdef HAVE_NET_ROUTE_H
8492 # include <net/route.h>
8493 #endif
8494 #ifdef HAVE_NETINET_IN_H
8495 # include <netinet/in.h>
8496 #endif
8497 #ifdef HAVE_NETINET_IN_SYSTM_H
8498 # include <netinet/in_systm.h>
8499 #endif
8500 #ifdef HAVE_NET_IF_H
8501 # include <net/if.h>
8502 #endif
8503 #ifdef HAVE_NETINET_IP_H
8504 # include <netinet/ip.h>
8505 #endif
8507 if test "x$ac_cv_header_netinet_ip_h" = xyes
8508 then :
8509 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8512 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8513 #include <sys/socket.h>
8514 #ifdef HAVE_SYS_SOCKETVAR_H
8515 # include <sys/socketvar.h>
8516 #endif
8517 #ifdef HAVE_NET_ROUTE_H
8518 # include <net/route.h>
8519 #endif
8520 #ifdef HAVE_NETINET_IN_H
8521 # include <netinet/in.h>
8522 #endif
8523 #ifdef HAVE_NETINET_IN_SYSTM_H
8524 # include <netinet/in_systm.h>
8525 #endif
8526 #ifdef HAVE_NET_IF_H
8527 # include <net/if.h>
8528 #endif
8529 #ifdef HAVE_NETINET_IP_H
8530 # include <netinet/ip.h>
8531 #endif
8533 if test "x$ac_cv_header_net_if_h" = xyes
8534 then :
8535 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8538 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8539 #include <sys/socket.h>
8540 #ifdef HAVE_SYS_SOCKETVAR_H
8541 # include <sys/socketvar.h>
8542 #endif
8543 #ifdef HAVE_NET_ROUTE_H
8544 # include <net/route.h>
8545 #endif
8546 #ifdef HAVE_NETINET_IN_H
8547 # include <netinet/in.h>
8548 #endif
8549 #ifdef HAVE_NETINET_IN_SYSTM_H
8550 # include <netinet/in_systm.h>
8551 #endif
8552 #ifdef HAVE_NET_IF_H
8553 # include <net/if.h>
8554 #endif
8555 #ifdef HAVE_NETINET_IP_H
8556 # include <netinet/ip.h>
8557 #endif
8559 if test "x$ac_cv_header_net_if_arp_h" = xyes
8560 then :
8561 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8564 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8565 #include <sys/socket.h>
8566 #ifdef HAVE_SYS_SOCKETVAR_H
8567 # include <sys/socketvar.h>
8568 #endif
8569 #ifdef HAVE_NET_ROUTE_H
8570 # include <net/route.h>
8571 #endif
8572 #ifdef HAVE_NETINET_IN_H
8573 # include <netinet/in.h>
8574 #endif
8575 #ifdef HAVE_NETINET_IN_SYSTM_H
8576 # include <netinet/in_systm.h>
8577 #endif
8578 #ifdef HAVE_NET_IF_H
8579 # include <net/if.h>
8580 #endif
8581 #ifdef HAVE_NETINET_IP_H
8582 # include <netinet/ip.h>
8583 #endif
8585 if test "x$ac_cv_header_net_if_dl_h" = xyes
8586 then :
8587 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8590 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8591 #include <sys/socket.h>
8592 #ifdef HAVE_SYS_SOCKETVAR_H
8593 # include <sys/socketvar.h>
8594 #endif
8595 #ifdef HAVE_NET_ROUTE_H
8596 # include <net/route.h>
8597 #endif
8598 #ifdef HAVE_NETINET_IN_H
8599 # include <netinet/in.h>
8600 #endif
8601 #ifdef HAVE_NETINET_IN_SYSTM_H
8602 # include <netinet/in_systm.h>
8603 #endif
8604 #ifdef HAVE_NET_IF_H
8605 # include <net/if.h>
8606 #endif
8607 #ifdef HAVE_NETINET_IP_H
8608 # include <netinet/ip.h>
8609 #endif
8611 if test "x$ac_cv_header_net_if_types_h" = xyes
8612 then :
8613 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8616 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8617 #include <sys/socket.h>
8618 #ifdef HAVE_SYS_SOCKETVAR_H
8619 # include <sys/socketvar.h>
8620 #endif
8621 #ifdef HAVE_NET_ROUTE_H
8622 # include <net/route.h>
8623 #endif
8624 #ifdef HAVE_NETINET_IN_H
8625 # include <netinet/in.h>
8626 #endif
8627 #ifdef HAVE_NETINET_IN_SYSTM_H
8628 # include <netinet/in_systm.h>
8629 #endif
8630 #ifdef HAVE_NET_IF_H
8631 # include <net/if.h>
8632 #endif
8633 #ifdef HAVE_NETINET_IP_H
8634 # include <netinet/ip.h>
8635 #endif
8637 if test "x$ac_cv_header_net_route_h" = xyes
8638 then :
8639 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8642 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8643 #include <sys/socket.h>
8644 #ifdef HAVE_SYS_SOCKETVAR_H
8645 # include <sys/socketvar.h>
8646 #endif
8647 #ifdef HAVE_NET_ROUTE_H
8648 # include <net/route.h>
8649 #endif
8650 #ifdef HAVE_NETINET_IN_H
8651 # include <netinet/in.h>
8652 #endif
8653 #ifdef HAVE_NETINET_IN_SYSTM_H
8654 # include <netinet/in_systm.h>
8655 #endif
8656 #ifdef HAVE_NET_IF_H
8657 # include <net/if.h>
8658 #endif
8659 #ifdef HAVE_NETINET_IP_H
8660 # include <netinet/ip.h>
8661 #endif
8663 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8664 then :
8665 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8668 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8669 #include <sys/socket.h>
8670 #ifdef HAVE_SYS_SOCKETVAR_H
8671 # include <sys/socketvar.h>
8672 #endif
8673 #ifdef HAVE_NET_ROUTE_H
8674 # include <net/route.h>
8675 #endif
8676 #ifdef HAVE_NETINET_IN_H
8677 # include <netinet/in.h>
8678 #endif
8679 #ifdef HAVE_NETINET_IN_SYSTM_H
8680 # include <netinet/in_systm.h>
8681 #endif
8682 #ifdef HAVE_NET_IF_H
8683 # include <net/if.h>
8684 #endif
8685 #ifdef HAVE_NETINET_IP_H
8686 # include <netinet/ip.h>
8687 #endif
8689 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8690 then :
8691 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8694 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8695 #include <sys/socket.h>
8696 #ifdef HAVE_SYS_SOCKETVAR_H
8697 # include <sys/socketvar.h>
8698 #endif
8699 #ifdef HAVE_NET_ROUTE_H
8700 # include <net/route.h>
8701 #endif
8702 #ifdef HAVE_NETINET_IN_H
8703 # include <netinet/in.h>
8704 #endif
8705 #ifdef HAVE_NETINET_IN_SYSTM_H
8706 # include <netinet/in_systm.h>
8707 #endif
8708 #ifdef HAVE_NET_IF_H
8709 # include <net/if.h>
8710 #endif
8711 #ifdef HAVE_NETINET_IP_H
8712 # include <netinet/ip.h>
8713 #endif
8715 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8716 then :
8717 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8720 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8721 #include <sys/socket.h>
8722 #ifdef HAVE_SYS_SOCKETVAR_H
8723 # include <sys/socketvar.h>
8724 #endif
8725 #ifdef HAVE_NET_ROUTE_H
8726 # include <net/route.h>
8727 #endif
8728 #ifdef HAVE_NETINET_IN_H
8729 # include <netinet/in.h>
8730 #endif
8731 #ifdef HAVE_NETINET_IN_SYSTM_H
8732 # include <netinet/in_systm.h>
8733 #endif
8734 #ifdef HAVE_NET_IF_H
8735 # include <net/if.h>
8736 #endif
8737 #ifdef HAVE_NETINET_IP_H
8738 # include <netinet/ip.h>
8739 #endif
8741 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8742 then :
8743 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8746 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8747 #include <sys/socket.h>
8748 #ifdef HAVE_SYS_SOCKETVAR_H
8749 # include <sys/socketvar.h>
8750 #endif
8751 #ifdef HAVE_NET_ROUTE_H
8752 # include <net/route.h>
8753 #endif
8754 #ifdef HAVE_NETINET_IN_H
8755 # include <netinet/in.h>
8756 #endif
8757 #ifdef HAVE_NETINET_IN_SYSTM_H
8758 # include <netinet/in_systm.h>
8759 #endif
8760 #ifdef HAVE_NET_IF_H
8761 # include <net/if.h>
8762 #endif
8763 #ifdef HAVE_NETINET_IP_H
8764 # include <netinet/ip.h>
8765 #endif
8767 if test "x$ac_cv_header_netinet_udp_h" = xyes
8768 then :
8769 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8772 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8773 #include <sys/socket.h>
8774 #ifdef HAVE_SYS_SOCKETVAR_H
8775 # include <sys/socketvar.h>
8776 #endif
8777 #ifdef HAVE_NET_ROUTE_H
8778 # include <net/route.h>
8779 #endif
8780 #ifdef HAVE_NETINET_IN_H
8781 # include <netinet/in.h>
8782 #endif
8783 #ifdef HAVE_NETINET_IN_SYSTM_H
8784 # include <netinet/in_systm.h>
8785 #endif
8786 #ifdef HAVE_NET_IF_H
8787 # include <net/if.h>
8788 #endif
8789 #ifdef HAVE_NETINET_IP_H
8790 # include <netinet/ip.h>
8791 #endif
8793 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8794 then :
8795 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8798 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8799 #include <sys/socket.h>
8800 #ifdef HAVE_SYS_SOCKETVAR_H
8801 # include <sys/socketvar.h>
8802 #endif
8803 #ifdef HAVE_NET_ROUTE_H
8804 # include <net/route.h>
8805 #endif
8806 #ifdef HAVE_NETINET_IN_H
8807 # include <netinet/in.h>
8808 #endif
8809 #ifdef HAVE_NETINET_IN_SYSTM_H
8810 # include <netinet/in_systm.h>
8811 #endif
8812 #ifdef HAVE_NET_IF_H
8813 # include <net/if.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IP_H
8816 # include <netinet/ip.h>
8817 #endif
8819 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8820 then :
8821 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8824 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8825 #include <sys/socket.h>
8826 #ifdef HAVE_SYS_SOCKETVAR_H
8827 # include <sys/socketvar.h>
8828 #endif
8829 #ifdef HAVE_NET_ROUTE_H
8830 # include <net/route.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IN_H
8833 # include <netinet/in.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IN_SYSTM_H
8836 # include <netinet/in_systm.h>
8837 #endif
8838 #ifdef HAVE_NET_IF_H
8839 # include <net/if.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IP_H
8842 # include <netinet/ip.h>
8843 #endif
8845 if test "x$ac_cv_header_sys_un_h" = xyes
8846 then :
8847 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8852 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8853 #include <sys/socket.h>
8854 #ifdef HAVE_SYS_SOCKETVAR_H
8855 # include <sys/socketvar.h>
8856 #endif
8857 #ifdef HAVE_NETINET_IN_H
8858 # include <netinet/in.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IN_SYSTM_H
8861 # include <netinet/in_systm.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IP_H
8864 # include <netinet/ip.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IP_VAR_H
8867 # include <netinet/ip_var.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IP_ICMP_H
8870 # include <netinet/ip_icmp.h>
8871 #endif
8872 #ifdef HAVE_NETINET_UDP_H
8873 # include <netinet/udp.h>
8874 #endif
8875 #ifdef HAVE_NETINET_TCP_H
8876 # include <netinet/tcp.h>
8877 #endif
8879 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8880 then :
8881 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8884 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8885 #include <sys/socket.h>
8886 #ifdef HAVE_SYS_SOCKETVAR_H
8887 # include <sys/socketvar.h>
8888 #endif
8889 #ifdef HAVE_NETINET_IN_H
8890 # include <netinet/in.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IN_SYSTM_H
8893 # include <netinet/in_systm.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IP_H
8896 # include <netinet/ip.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IP_VAR_H
8899 # include <netinet/ip_var.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IP_ICMP_H
8902 # include <netinet/ip_icmp.h>
8903 #endif
8904 #ifdef HAVE_NETINET_UDP_H
8905 # include <netinet/udp.h>
8906 #endif
8907 #ifdef HAVE_NETINET_TCP_H
8908 # include <netinet/tcp.h>
8909 #endif
8911 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8912 then :
8913 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8916 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8917 #include <sys/socket.h>
8918 #ifdef HAVE_SYS_SOCKETVAR_H
8919 # include <sys/socketvar.h>
8920 #endif
8921 #ifdef HAVE_NETINET_IN_H
8922 # include <netinet/in.h>
8923 #endif
8924 #ifdef HAVE_NETINET_IN_SYSTM_H
8925 # include <netinet/in_systm.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IP_H
8928 # include <netinet/ip.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IP_VAR_H
8931 # include <netinet/ip_var.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IP_ICMP_H
8934 # include <netinet/ip_icmp.h>
8935 #endif
8936 #ifdef HAVE_NETINET_UDP_H
8937 # include <netinet/udp.h>
8938 #endif
8939 #ifdef HAVE_NETINET_TCP_H
8940 # include <netinet/tcp.h>
8941 #endif
8943 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8944 then :
8945 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8948 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8949 #include <sys/socket.h>
8950 #ifdef HAVE_SYS_SOCKETVAR_H
8951 # include <sys/socketvar.h>
8952 #endif
8953 #ifdef HAVE_NETINET_IN_H
8954 # include <netinet/in.h>
8955 #endif
8956 #ifdef HAVE_NETINET_IN_SYSTM_H
8957 # include <netinet/in_systm.h>
8958 #endif
8959 #ifdef HAVE_NETINET_IP_H
8960 # include <netinet/ip.h>
8961 #endif
8962 #ifdef HAVE_NETINET_IP_VAR_H
8963 # include <netinet/ip_var.h>
8964 #endif
8965 #ifdef HAVE_NETINET_IP_ICMP_H
8966 # include <netinet/ip_icmp.h>
8967 #endif
8968 #ifdef HAVE_NETINET_UDP_H
8969 # include <netinet/udp.h>
8970 #endif
8971 #ifdef HAVE_NETINET_TCP_H
8972 # include <netinet/tcp.h>
8973 #endif
8975 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8976 then :
8977 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8982 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8983 #include <sys/socket.h>
8984 #ifdef HAVE_ASM_TYPES_H
8985 # include <asm/types.h>
8986 #endif
8987 #ifdef HAVE_LINUX_TYPES_H
8988 # include <linux/types.h>
8989 #endif
8991 if test "x$ac_cv_header_linux_ipx_h" = xyes
8992 then :
8993 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8996 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8997 #include <sys/socket.h>
8998 #ifdef HAVE_ASM_TYPES_H
8999 # include <asm/types.h>
9000 #endif
9001 #ifdef HAVE_LINUX_TYPES_H
9002 # include <linux/types.h>
9003 #endif
9005 if test "x$ac_cv_header_linux_irda_h" = xyes
9006 then :
9007 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9010 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9011 #include <sys/socket.h>
9012 #ifdef HAVE_ASM_TYPES_H
9013 # include <asm/types.h>
9014 #endif
9015 #ifdef HAVE_LINUX_TYPES_H
9016 # include <linux/types.h>
9017 #endif
9019 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9020 then :
9021 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9026 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9027 #include <sys/socket.h>
9028 #ifdef HAVE_NETINET_IN_H
9029 # include <netinet/in.h>
9030 #endif
9031 #ifdef HAVE_ARPA_NAMESER_H
9032 # include <arpa/nameser.h>
9033 #endif
9035 if test "x$ac_cv_header_resolv_h" = xyes
9036 then :
9037 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9042 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9044 if test "x$ac_cv_header_ifaddrs_h" = xyes
9045 then :
9046 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9051 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9053 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9054 then :
9055 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9060 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9061 #ifdef HAVE_SYS_UCONTEXT_H
9062 #include <sys/ucontext.h>
9063 #endif
9065 if test "x$ac_cv_header_sys_thr_h" = xyes
9066 then :
9067 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9072 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9074 if test "x$ac_cv_header_pthread_np_h" = xyes
9075 then :
9076 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9082 #include <sys/types.h>
9083 #ifdef HAVE_ASM_TYPES_H
9084 #include <asm/types.h>
9085 #endif
9087 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9088 then :
9089 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9094 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9095 #include <sys/param.h>
9096 #endif
9097 #include <sys/socket.h>
9098 #ifdef HAVE_SYS_QUEUE_H
9099 #include <sys/queue.h>
9100 #endif
9102 if test "x$ac_cv_header_libprocstat_h" = xyes
9103 then :
9104 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9109 if test "x$ac_cv_header_sys_xattr_h" = xyes
9110 then
9111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9112 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9113 if test ${wine_cv_xattr_extra_args+y}
9114 then :
9115 printf %s "(cached) " >&6
9116 else $as_nop
9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9119 #include <sys/xattr.h>
9121 main (void)
9123 getxattr("", "", "", 0, 0, 0);
9125 return 0;
9127 _ACEOF
9128 if ac_fn_c_try_compile "$LINENO"
9129 then :
9130 wine_cv_xattr_extra_args=yes
9131 else $as_nop
9132 wine_cv_xattr_extra_args=no
9134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9137 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9138 test $wine_cv_xattr_extra_args != yes ||
9139 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9144 DLLFLAGS=""
9146 LDDLLFLAGS=""
9148 LDEXECFLAGS=""
9150 EXTRACFLAGS=""
9152 UNIXDLLFLAGS="-fPIC"
9154 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9156 TOP_INSTALL_LIB=""
9158 TOP_INSTALL_DEV=""
9160 WINELOADER_LDFLAGS=""
9162 WINEPRELOADER_LDFLAGS=""
9164 DLLEXT=".so"
9166 LIBEXT="so"
9167 # Extract the first word of "ldd", so it can be a program name with args.
9168 set dummy ldd; ac_word=$2
9169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170 printf %s "checking for $ac_word... " >&6; }
9171 if test ${ac_cv_path_LDD+y}
9172 then :
9173 printf %s "(cached) " >&6
9174 else $as_nop
9175 case $LDD in
9176 [\\/]* | ?:[\\/]*)
9177 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9181 as_dummy="/sbin:/usr/sbin:$PATH"
9182 for as_dir in $as_dummy
9184 IFS=$as_save_IFS
9185 case $as_dir in #(((
9186 '') as_dir=./ ;;
9187 */) ;;
9188 *) as_dir=$as_dir/ ;;
9189 esac
9190 for ac_exec_ext in '' $ac_executable_extensions; do
9191 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9192 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9194 break 2
9196 done
9197 done
9198 IFS=$as_save_IFS
9200 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9202 esac
9204 LDD=$ac_cv_path_LDD
9205 if test -n "$LDD"; then
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9207 printf "%s\n" "$LDD" >&6; }
9208 else
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9210 printf "%s\n" "no" >&6; }
9214 if test -n "$ac_tool_prefix"; then
9215 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9216 set dummy ${ac_tool_prefix}otool; ac_word=$2
9217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9218 printf %s "checking for $ac_word... " >&6; }
9219 if test ${ac_cv_prog_OTOOL+y}
9220 then :
9221 printf %s "(cached) " >&6
9222 else $as_nop
9223 if test -n "$OTOOL"; then
9224 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9225 else
9226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9227 for as_dir in $PATH
9229 IFS=$as_save_IFS
9230 case $as_dir in #(((
9231 '') as_dir=./ ;;
9232 */) ;;
9233 *) as_dir=$as_dir/ ;;
9234 esac
9235 for ac_exec_ext in '' $ac_executable_extensions; do
9236 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9237 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9239 break 2
9241 done
9242 done
9243 IFS=$as_save_IFS
9247 OTOOL=$ac_cv_prog_OTOOL
9248 if test -n "$OTOOL"; then
9249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9250 printf "%s\n" "$OTOOL" >&6; }
9251 else
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9253 printf "%s\n" "no" >&6; }
9258 if test -z "$ac_cv_prog_OTOOL"; then
9259 ac_ct_OTOOL=$OTOOL
9260 # Extract the first word of "otool", so it can be a program name with args.
9261 set dummy otool; ac_word=$2
9262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9263 printf %s "checking for $ac_word... " >&6; }
9264 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9265 then :
9266 printf %s "(cached) " >&6
9267 else $as_nop
9268 if test -n "$ac_ct_OTOOL"; then
9269 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9270 else
9271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9272 for as_dir in $PATH
9274 IFS=$as_save_IFS
9275 case $as_dir in #(((
9276 '') as_dir=./ ;;
9277 */) ;;
9278 *) as_dir=$as_dir/ ;;
9279 esac
9280 for ac_exec_ext in '' $ac_executable_extensions; do
9281 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9282 ac_cv_prog_ac_ct_OTOOL="otool"
9283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9284 break 2
9286 done
9287 done
9288 IFS=$as_save_IFS
9292 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9293 if test -n "$ac_ct_OTOOL"; then
9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9295 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9296 else
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 printf "%s\n" "no" >&6; }
9301 if test "x$ac_ct_OTOOL" = x; then
9302 OTOOL="otool"
9303 else
9304 case $cross_compiling:$ac_tool_warned in
9305 yes:)
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9307 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9308 ac_tool_warned=yes ;;
9309 esac
9310 OTOOL=$ac_ct_OTOOL
9312 else
9313 OTOOL="$ac_cv_prog_OTOOL"
9316 if test -n "$ac_tool_prefix"; then
9317 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9318 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9320 printf %s "checking for $ac_word... " >&6; }
9321 if test ${ac_cv_prog_READELF+y}
9322 then :
9323 printf %s "(cached) " >&6
9324 else $as_nop
9325 if test -n "$READELF"; then
9326 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9327 else
9328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9329 for as_dir in $PATH
9331 IFS=$as_save_IFS
9332 case $as_dir in #(((
9333 '') as_dir=./ ;;
9334 */) ;;
9335 *) as_dir=$as_dir/ ;;
9336 esac
9337 for ac_exec_ext in '' $ac_executable_extensions; do
9338 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9339 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9341 break 2
9343 done
9344 done
9345 IFS=$as_save_IFS
9349 READELF=$ac_cv_prog_READELF
9350 if test -n "$READELF"; then
9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9352 printf "%s\n" "$READELF" >&6; }
9353 else
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9355 printf "%s\n" "no" >&6; }
9360 if test -z "$ac_cv_prog_READELF"; then
9361 ac_ct_READELF=$READELF
9362 # Extract the first word of "readelf", so it can be a program name with args.
9363 set dummy readelf; ac_word=$2
9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9365 printf %s "checking for $ac_word... " >&6; }
9366 if test ${ac_cv_prog_ac_ct_READELF+y}
9367 then :
9368 printf %s "(cached) " >&6
9369 else $as_nop
9370 if test -n "$ac_ct_READELF"; then
9371 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9372 else
9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9374 for as_dir in $PATH
9376 IFS=$as_save_IFS
9377 case $as_dir in #(((
9378 '') as_dir=./ ;;
9379 */) ;;
9380 *) as_dir=$as_dir/ ;;
9381 esac
9382 for ac_exec_ext in '' $ac_executable_extensions; do
9383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9384 ac_cv_prog_ac_ct_READELF="readelf"
9385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9386 break 2
9388 done
9389 done
9390 IFS=$as_save_IFS
9394 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9395 if test -n "$ac_ct_READELF"; then
9396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9397 printf "%s\n" "$ac_ct_READELF" >&6; }
9398 else
9399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9400 printf "%s\n" "no" >&6; }
9403 if test "x$ac_ct_READELF" = x; then
9404 READELF="true"
9405 else
9406 case $cross_compiling:$ac_tool_warned in
9407 yes:)
9408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9409 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9410 ac_tool_warned=yes ;;
9411 esac
9412 READELF=$ac_ct_READELF
9414 else
9415 READELF="$ac_cv_prog_READELF"
9418 wine_rules="all:"
9419 SUBDIRS=""
9421 DISABLED_SUBDIRS=""
9423 CONFIGURE_TARGETS=""
9426 wine_fn_config_makefile ()
9428 as_fn_append SUBDIRS " \\$as_nl $1"
9429 eval enable=\$$2
9430 case "$enable" in
9431 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9432 *aarch64*|*arm*|*i386*|*x86_64*)
9433 if test -n "$PE_ARCHS"
9434 then
9435 for i in $PE_ARCHS
9437 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9438 done
9439 else
9440 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9441 fi;;
9442 esac
9445 wine_fn_config_symlink ()
9447 ac_links=$@
9448 as_fn_append wine_rules "
9449 $ac_links:
9450 @./config.status \$@"
9451 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9454 case $host_os in
9455 cygwin*|mingw32*)
9456 LIBEXT="dll"
9457 DLLEXT=""
9458 EXTRACFLAGS="-D__WINE_PE_BUILD"
9459 if test "x$HOST_ARCH" = xi386
9460 then :
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9462 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9463 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9464 then :
9465 printf %s "(cached) " >&6
9466 else $as_nop
9467 ac_wine_try_cflags_saved=$CFLAGS
9468 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 int main(int argc, char **argv) { return 0; }
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"
9474 then :
9475 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9476 else $as_nop
9477 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9480 conftest$ac_exeext conftest.$ac_ext
9481 CFLAGS=$ac_wine_try_cflags_saved
9483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9484 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9485 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9486 then :
9487 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9490 enable_loader=${enable_loader:-no}
9491 enable_server=${enable_server:-no}
9492 with_x=${with_x:-no}
9493 with_pthread=${with_pthread:-no}
9496 darwin*|macosx*)
9497 LIBEXT="dylib"
9498 DLLFLAGS="$DLLFLAGS -fPIC"
9499 LDDLLFLAGS="-fPIC"
9500 enable_winemac_drv=${enable_winemac_drv:-yes}
9501 CARBON_LIBS="-framework Carbon"
9503 COREFOUNDATION_LIBS="-framework CoreFoundation"
9505 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9507 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9509 METAL_LIBS="-framework Metal"
9511 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9513 CORESERVICES_LIBS="-framework CoreServices"
9515 APPKIT_LIBS="-framework AppKit"
9517 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9519 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9522 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9524 case $HOST_ARCH in
9525 i386|x86_64) wine_can_build_preloader=yes ;;
9526 *) wine_can_build_preloader=no ;;
9527 esac
9529 if test "$wine_can_build_preloader" = "yes"
9530 then
9531 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"
9532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9533 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9534 if test ${ac_cv_cflags__Wl__no_pie+y}
9535 then :
9536 printf %s "(cached) " >&6
9537 else $as_nop
9538 ac_wine_try_cflags_saved=$CFLAGS
9539 CFLAGS="$CFLAGS -Wl,-no_pie"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9542 int main(int argc, char **argv) { return 0; }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"
9545 then :
9546 ac_cv_cflags__Wl__no_pie=yes
9547 else $as_nop
9548 ac_cv_cflags__Wl__no_pie=no
9550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9551 conftest$ac_exeext conftest.$ac_ext
9552 CFLAGS=$ac_wine_try_cflags_saved
9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9555 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9556 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9557 then :
9558 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9560 case $HOST_ARCH in
9561 i386)
9562 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9564 x86_64)
9565 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9567 esac
9568 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9569 else
9570 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9573 if test "x$with_coreaudio" != "xno";
9574 then
9575 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9577 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9579 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9580 then
9581 OPENCL_LIBS="-framework OpenCL"
9583 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9587 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9588 ac_ext=m
9589 ac_cpp='$OBJCPP $CPPFLAGS'
9590 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9591 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9592 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
9599 if test -n "$ac_tool_prefix"; then
9600 for ac_prog in gcc objcc objc cc CC clang
9602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9605 printf %s "checking for $ac_word... " >&6; }
9606 if test ${ac_cv_prog_OBJC+y}
9607 then :
9608 printf %s "(cached) " >&6
9609 else $as_nop
9610 if test -n "$OBJC"; then
9611 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9612 else
9613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9614 for as_dir in $PATH
9616 IFS=$as_save_IFS
9617 case $as_dir in #(((
9618 '') as_dir=./ ;;
9619 */) ;;
9620 *) as_dir=$as_dir/ ;;
9621 esac
9622 for ac_exec_ext in '' $ac_executable_extensions; do
9623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9624 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9626 break 2
9628 done
9629 done
9630 IFS=$as_save_IFS
9634 OBJC=$ac_cv_prog_OBJC
9635 if test -n "$OBJC"; then
9636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9637 printf "%s\n" "$OBJC" >&6; }
9638 else
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9640 printf "%s\n" "no" >&6; }
9644 test -n "$OBJC" && break
9645 done
9647 if test -z "$OBJC"; then
9648 ac_ct_OBJC=$OBJC
9649 for ac_prog in gcc objcc objc cc CC clang
9651 # Extract the first word of "$ac_prog", so it can be a program name with args.
9652 set dummy $ac_prog; ac_word=$2
9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9654 printf %s "checking for $ac_word... " >&6; }
9655 if test ${ac_cv_prog_ac_ct_OBJC+y}
9656 then :
9657 printf %s "(cached) " >&6
9658 else $as_nop
9659 if test -n "$ac_ct_OBJC"; then
9660 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9661 else
9662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9663 for as_dir in $PATH
9665 IFS=$as_save_IFS
9666 case $as_dir in #(((
9667 '') as_dir=./ ;;
9668 */) ;;
9669 *) as_dir=$as_dir/ ;;
9670 esac
9671 for ac_exec_ext in '' $ac_executable_extensions; do
9672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9673 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9675 break 2
9677 done
9678 done
9679 IFS=$as_save_IFS
9683 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9684 if test -n "$ac_ct_OBJC"; then
9685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9686 printf "%s\n" "$ac_ct_OBJC" >&6; }
9687 else
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9689 printf "%s\n" "no" >&6; }
9693 test -n "$ac_ct_OBJC" && break
9694 done
9696 if test "x$ac_ct_OBJC" = x; then
9697 OBJC="gcc"
9698 else
9699 case $cross_compiling:$ac_tool_warned in
9700 yes:)
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9703 ac_tool_warned=yes ;;
9704 esac
9705 OBJC=$ac_ct_OBJC
9709 # Provide some information about the compiler.
9710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9711 set X $ac_compile
9712 ac_compiler=$2
9713 for ac_option in --version -v -V -qversion; do
9714 { { ac_try="$ac_compiler $ac_option >&5"
9715 case "(($ac_try" in
9716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9717 *) ac_try_echo=$ac_try;;
9718 esac
9719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9720 printf "%s\n" "$ac_try_echo"; } >&5
9721 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9722 ac_status=$?
9723 if test -s conftest.err; then
9724 sed '10a\
9725 ... rest of stderr output deleted ...
9726 10q' conftest.err >conftest.er1
9727 cat conftest.er1 >&5
9729 rm -f conftest.er1 conftest.err
9730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9731 test $ac_status = 0; }
9732 done
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9735 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9736 if test ${ac_cv_objc_compiler_gnu+y}
9737 then :
9738 printf %s "(cached) " >&6
9739 else $as_nop
9740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9741 /* end confdefs.h. */
9744 main (void)
9746 #ifndef __GNUC__
9747 choke me
9748 #endif
9751 return 0;
9753 _ACEOF
9754 if ac_fn_objc_try_compile "$LINENO"
9755 then :
9756 ac_compiler_gnu=yes
9757 else $as_nop
9758 ac_compiler_gnu=no
9760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9761 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9765 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9766 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9768 if test $ac_compiler_gnu = yes; then
9769 GOBJC=yes
9770 else
9771 GOBJC=
9773 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9774 ac_save_OBJCFLAGS=$OBJCFLAGS
9775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9776 printf %s "checking whether $OBJC accepts -g... " >&6; }
9777 if test ${ac_cv_prog_objc_g+y}
9778 then :
9779 printf %s "(cached) " >&6
9780 else $as_nop
9781 ac_save_objc_werror_flag=$ac_objc_werror_flag
9782 ac_objc_werror_flag=yes
9783 ac_cv_prog_objc_g=no
9784 OBJCFLAGS="-g"
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9789 main (void)
9793 return 0;
9795 _ACEOF
9796 if ac_fn_objc_try_compile "$LINENO"
9797 then :
9798 ac_cv_prog_objc_g=yes
9799 else $as_nop
9800 OBJCFLAGS=""
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9805 main (void)
9809 return 0;
9811 _ACEOF
9812 if ac_fn_objc_try_compile "$LINENO"
9813 then :
9815 else $as_nop
9816 ac_objc_werror_flag=$ac_save_objc_werror_flag
9817 OBJCFLAGS="-g"
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9822 main (void)
9826 return 0;
9828 _ACEOF
9829 if ac_fn_objc_try_compile "$LINENO"
9830 then :
9831 ac_cv_prog_objc_g=yes
9833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9838 ac_objc_werror_flag=$ac_save_objc_werror_flag
9840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9841 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9842 if test $ac_test_OBJCFLAGS; then
9843 OBJCFLAGS=$ac_save_OBJCFLAGS
9844 elif test $ac_cv_prog_objc_g = yes; then
9845 if test "$GOBJC" = yes; then
9846 OBJCFLAGS="-g -O2"
9847 else
9848 OBJCFLAGS="-g"
9850 else
9851 if test "$GOBJC" = yes; then
9852 OBJCFLAGS="-O2"
9853 else
9854 OBJCFLAGS=
9857 ac_ext=m
9858 ac_cpp='$OBJCPP $CPPFLAGS'
9859 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9860 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9861 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9866 #include <Metal/Metal.h>
9868 main (void)
9870 id<MTLDevice> device; device.registryID;
9872 return 0;
9874 _ACEOF
9875 if ac_fn_objc_try_compile "$LINENO"
9876 then :
9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9878 printf "%s\n" "yes" >&6; }
9880 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9882 else $as_nop
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9884 printf "%s\n" "no" >&6; }
9886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9887 ac_ext=c
9888 ac_cpp='$CPP $CPPFLAGS'
9889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9894 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9895 WINELOADER_DEPENDS="wine_info.plist"
9899 linux-android*)
9901 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9903 DLLFLAGS="$DLLFLAGS -fPIC"
9904 LDDLLFLAGS="-fPIC"
9905 LDEXECFLAGS="-Wl,-pie"
9906 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9908 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9909 if test ${ac_cv_cflags__Wl__z_defs+y}
9910 then :
9911 printf %s "(cached) " >&6
9912 else $as_nop
9913 ac_wine_try_cflags_saved=$CFLAGS
9914 CFLAGS="$CFLAGS -Wl,-z,defs"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 int main(int argc, char **argv) { return 0; }
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"
9920 then :
9921 ac_cv_cflags__Wl__z_defs=yes
9922 else $as_nop
9923 ac_cv_cflags__Wl__z_defs=no
9925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9926 conftest$ac_exeext conftest.$ac_ext
9927 CFLAGS=$ac_wine_try_cflags_saved
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9930 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9931 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9932 then :
9933 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9936 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9937 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9938 then :
9939 printf %s "(cached) " >&6
9940 else $as_nop
9941 ac_wine_try_cflags_saved=$CFLAGS
9942 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9945 int main(int argc, char **argv) { return 0; }
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"
9948 then :
9949 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9950 else $as_nop
9951 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9954 conftest$ac_exeext conftest.$ac_ext
9955 CFLAGS=$ac_wine_try_cflags_saved
9957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9958 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9959 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9960 then :
9961 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9963 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9966 printf %s "checking for -lEGL... " >&6; }
9967 if test ${ac_cv_lib_soname_EGL+y}
9968 then :
9969 printf %s "(cached) " >&6
9970 else $as_nop
9971 ac_check_soname_save_LIBS=$LIBS
9972 LIBS="-lEGL $LIBS"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9979 char eglGetProcAddress ();
9981 main (void)
9983 return eglGetProcAddress ();
9985 return 0;
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"
9989 then :
9990 case "$LIBEXT" in
9991 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9992 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'` ;;
9993 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9994 if ${ac_cv_lib_soname_EGL:+false} :
9995 then :
9996 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9997 fi ;;
9998 esac
9999 else $as_nop
10000 ac_cv_lib_soname_EGL=
10002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10003 conftest$ac_exeext conftest.$ac_ext
10004 LIBS=$ac_check_soname_save_LIBS
10006 if ${ac_cv_lib_soname_EGL:+false} :
10007 then :
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10009 printf "%s\n" "not found" >&6; }
10011 else $as_nop
10012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10013 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10015 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10020 printf %s "checking for -lGLESv2... " >&6; }
10021 if test ${ac_cv_lib_soname_GLESv2+y}
10022 then :
10023 printf %s "(cached) " >&6
10024 else $as_nop
10025 ac_check_soname_save_LIBS=$LIBS
10026 LIBS="-lGLESv2 $LIBS"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10033 char glFlush ();
10035 main (void)
10037 return glFlush ();
10039 return 0;
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"
10043 then :
10044 case "$LIBEXT" in
10045 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10046 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'` ;;
10047 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10048 if ${ac_cv_lib_soname_GLESv2:+false} :
10049 then :
10050 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10051 fi ;;
10052 esac
10053 else $as_nop
10054 ac_cv_lib_soname_GLESv2=
10056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10057 conftest$ac_exeext conftest.$ac_ext
10058 LIBS=$ac_check_soname_save_LIBS
10060 if ${ac_cv_lib_soname_GLESv2:+false} :
10061 then :
10062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10063 printf "%s\n" "not found" >&6; }
10065 else $as_nop
10066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10067 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10069 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10074 if test "x$exec_prefix" = xNONE
10075 then
10076 case $HOST_ARCH in
10077 i386) exec_prefix='${prefix}/x86' ;;
10078 x86_64) exec_prefix='${prefix}/x86_64' ;;
10079 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10080 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10081 esac
10087 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10089 test "$ac_cv_sys_file_offset_bits" = 64 &&
10090 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10092 if test $HOST_ARCH = i386
10093 then
10094 DLLFLAGS="$DLLFLAGS -fno-PIC"
10095 LDDLLFLAGS="-fno-PIC"
10096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10097 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10098 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10099 then :
10100 printf %s "(cached) " >&6
10101 else $as_nop
10102 ac_wine_try_cflags_saved=$CFLAGS
10103 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10106 int main(int argc, char **argv) { return 0; }
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"
10109 then :
10110 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10111 else $as_nop
10112 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10115 conftest$ac_exeext conftest.$ac_ext
10116 CFLAGS=$ac_wine_try_cflags_saved
10118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10119 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10120 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10121 then :
10122 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10124 else
10125 DLLFLAGS="$DLLFLAGS -fPIC"
10126 LDDLLFLAGS="-fPIC"
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10130 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10131 if test ${ac_cv_wl_z_defs+y}
10132 then :
10133 printf %s "(cached) " >&6
10134 else $as_nop
10135 ac_save_CFLAGS="$CFLAGS"
10136 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10140 _ACEOF
10141 if ac_fn_c_try_link "$LINENO"
10142 then :
10143 ac_cv_wl_z_defs=yes
10144 else $as_nop
10145 ac_cv_wl_z_defs=no
10147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10148 conftest$ac_exeext conftest.$ac_ext
10149 CFLAGS=$ac_save_CFLAGS
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10152 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10153 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10156 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10157 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10158 then :
10159 printf %s "(cached) " >&6
10160 else $as_nop
10161 ac_wine_try_cflags_saved=$CFLAGS
10162 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10165 int main(int argc, char **argv) { return 0; }
10166 _ACEOF
10167 if ac_fn_c_try_link "$LINENO"
10168 then :
10169 ac_cv_cflags__Wl___export_dynamic=yes
10170 else $as_nop
10171 ac_cv_cflags__Wl___export_dynamic=no
10173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10174 conftest$ac_exeext conftest.$ac_ext
10175 CFLAGS=$ac_wine_try_cflags_saved
10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10178 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10179 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10180 then :
10181 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10183 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10185 case $host_os in
10186 linux*)
10187 as_fn_append WINELOADER_LDFLAGS " -pie"
10188 case $HOST_ARCH in
10189 i386|arm)
10190 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10193 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10194 if test ${ac_cv_cflags__static_pie+y}
10195 then :
10196 printf %s "(cached) " >&6
10197 else $as_nop
10198 ac_wine_try_cflags_saved=$CFLAGS
10199 CFLAGS="$CFLAGS -static-pie"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 int main(int argc, char **argv) { return 0; }
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"
10205 then :
10206 ac_cv_cflags__static_pie=yes
10207 else $as_nop
10208 ac_cv_cflags__static_pie=no
10210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10215 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10216 if test "x$ac_cv_cflags__static_pie" = xyes
10217 then :
10218 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10219 else $as_nop
10220 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10223 esac
10226 case $HOST_ARCH in
10227 i386|arm)
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10229 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10230 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10231 then :
10232 printf %s "(cached) " >&6
10233 else $as_nop
10234 ac_wine_try_cflags_saved=$CFLAGS
10235 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10238 int main(int argc, char **argv) { return 0; }
10239 _ACEOF
10240 if ac_fn_c_try_link "$LINENO"
10241 then :
10242 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10243 else $as_nop
10244 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10247 conftest$ac_exeext conftest.$ac_ext
10248 CFLAGS=$ac_wine_try_cflags_saved
10250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10251 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10252 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10253 then :
10254 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10255 else $as_nop
10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10257 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10258 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10259 then :
10260 printf %s "(cached) " >&6
10261 else $as_nop
10262 ac_wine_try_cflags_saved=$CFLAGS
10263 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10266 int main(int argc, char **argv) { return 0; }
10267 _ACEOF
10268 if ac_fn_c_try_link "$LINENO"
10269 then :
10270 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10271 else $as_nop
10272 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10275 conftest$ac_exeext conftest.$ac_ext
10276 CFLAGS=$ac_wine_try_cflags_saved
10278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10279 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10280 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10281 then :
10282 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10287 as_fn_append WINELOADER_LDFLAGS " -pie"
10289 esac
10291 esac
10293 esac
10295 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10296 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10297 enable_winemac_drv=${enable_winemac_drv:-no}
10299 PE_ARCHS=""
10301 cross_archs=
10302 if test ${enable_archs+y}
10303 then :
10304 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10305 ac_save_IFS=$IFS
10306 IFS=' ,'
10307 set x $enable_archs
10308 IFS=$ac_save_IFS
10309 shift
10310 for arch
10312 case $arch in
10313 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10314 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10315 esac
10316 done
10317 else $as_nop
10318 if test "x$with_mingw" != xno
10319 then
10320 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10324 for wine_arch in $cross_archs
10326 case "x$with_mingw" in
10327 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10328 esac
10329 if eval \${${wine_arch}_CC:+false} :
10330 then :
10331 case $wine_arch in
10332 aarch64)
10333 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10335 # Extract the first word of "$ac_prog", so it can be a program name with args.
10336 set dummy $ac_prog; ac_word=$2
10337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10338 printf %s "checking for $ac_word... " >&6; }
10339 if test ${ac_cv_prog_aarch64_CC+y}
10340 then :
10341 printf %s "(cached) " >&6
10342 else $as_nop
10343 if test -n "$aarch64_CC"; then
10344 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10345 else
10346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10347 for as_dir in $PATH
10349 IFS=$as_save_IFS
10350 case $as_dir in #(((
10351 '') as_dir=./ ;;
10352 */) ;;
10353 *) as_dir=$as_dir/ ;;
10354 esac
10355 for ac_exec_ext in '' $ac_executable_extensions; do
10356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10357 ac_cv_prog_aarch64_CC="$ac_prog"
10358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10359 break 2
10361 done
10362 done
10363 IFS=$as_save_IFS
10367 aarch64_CC=$ac_cv_prog_aarch64_CC
10368 if test -n "$aarch64_CC"; then
10369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10370 printf "%s\n" "$aarch64_CC" >&6; }
10371 else
10372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10373 printf "%s\n" "no" >&6; }
10377 test -n "$aarch64_CC" && break
10378 done
10379 test -n "$aarch64_CC" || aarch64_CC="false"
10382 arm64ec)
10383 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10385 # Extract the first word of "$ac_prog", so it can be a program name with args.
10386 set dummy $ac_prog; ac_word=$2
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10388 printf %s "checking for $ac_word... " >&6; }
10389 if test ${ac_cv_prog_arm64ec_CC+y}
10390 then :
10391 printf %s "(cached) " >&6
10392 else $as_nop
10393 if test -n "$arm64ec_CC"; then
10394 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10395 else
10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10397 for as_dir in $PATH
10399 IFS=$as_save_IFS
10400 case $as_dir in #(((
10401 '') as_dir=./ ;;
10402 */) ;;
10403 *) as_dir=$as_dir/ ;;
10404 esac
10405 for ac_exec_ext in '' $ac_executable_extensions; do
10406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10407 ac_cv_prog_arm64ec_CC="$ac_prog"
10408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10409 break 2
10411 done
10412 done
10413 IFS=$as_save_IFS
10417 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10418 if test -n "$arm64ec_CC"; then
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10420 printf "%s\n" "$arm64ec_CC" >&6; }
10421 else
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10423 printf "%s\n" "no" >&6; }
10427 test -n "$arm64ec_CC" && break
10428 done
10429 test -n "$arm64ec_CC" || arm64ec_CC="false"
10432 arm)
10433 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10435 # Extract the first word of "$ac_prog", so it can be a program name with args.
10436 set dummy $ac_prog; ac_word=$2
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10438 printf %s "checking for $ac_word... " >&6; }
10439 if test ${ac_cv_prog_arm_CC+y}
10440 then :
10441 printf %s "(cached) " >&6
10442 else $as_nop
10443 if test -n "$arm_CC"; then
10444 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10445 else
10446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10447 for as_dir in $PATH
10449 IFS=$as_save_IFS
10450 case $as_dir in #(((
10451 '') as_dir=./ ;;
10452 */) ;;
10453 *) as_dir=$as_dir/ ;;
10454 esac
10455 for ac_exec_ext in '' $ac_executable_extensions; do
10456 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10457 ac_cv_prog_arm_CC="$ac_prog"
10458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10459 break 2
10461 done
10462 done
10463 IFS=$as_save_IFS
10467 arm_CC=$ac_cv_prog_arm_CC
10468 if test -n "$arm_CC"; then
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10470 printf "%s\n" "$arm_CC" >&6; }
10471 else
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 printf "%s\n" "no" >&6; }
10477 test -n "$arm_CC" && break
10478 done
10479 test -n "$arm_CC" || arm_CC="false"
10482 i386)
10483 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 "
10484 for ac_prog in $ac_prefix_list clang
10486 # Extract the first word of "$ac_prog", so it can be a program name with args.
10487 set dummy $ac_prog; ac_word=$2
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10489 printf %s "checking for $ac_word... " >&6; }
10490 if test ${ac_cv_prog_i386_CC+y}
10491 then :
10492 printf %s "(cached) " >&6
10493 else $as_nop
10494 if test -n "$i386_CC"; then
10495 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10496 else
10497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10498 for as_dir in $PATH
10500 IFS=$as_save_IFS
10501 case $as_dir in #(((
10502 '') as_dir=./ ;;
10503 */) ;;
10504 *) as_dir=$as_dir/ ;;
10505 esac
10506 for ac_exec_ext in '' $ac_executable_extensions; do
10507 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10508 ac_cv_prog_i386_CC="$ac_prog"
10509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10510 break 2
10512 done
10513 done
10514 IFS=$as_save_IFS
10518 i386_CC=$ac_cv_prog_i386_CC
10519 if test -n "$i386_CC"; then
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10521 printf "%s\n" "$i386_CC" >&6; }
10522 else
10523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10524 printf "%s\n" "no" >&6; }
10528 test -n "$i386_CC" && break
10529 done
10530 test -n "$i386_CC" || i386_CC="false"
10533 x86_64)
10534 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10535 for ac_prog in $ac_prefix_list clang
10537 # Extract the first word of "$ac_prog", so it can be a program name with args.
10538 set dummy $ac_prog; ac_word=$2
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10540 printf %s "checking for $ac_word... " >&6; }
10541 if test ${ac_cv_prog_x86_64_CC+y}
10542 then :
10543 printf %s "(cached) " >&6
10544 else $as_nop
10545 if test -n "$x86_64_CC"; then
10546 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10547 else
10548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10549 for as_dir in $PATH
10551 IFS=$as_save_IFS
10552 case $as_dir in #(((
10553 '') as_dir=./ ;;
10554 */) ;;
10555 *) as_dir=$as_dir/ ;;
10556 esac
10557 for ac_exec_ext in '' $ac_executable_extensions; do
10558 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10559 ac_cv_prog_x86_64_CC="$ac_prog"
10560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10561 break 2
10563 done
10564 done
10565 IFS=$as_save_IFS
10569 x86_64_CC=$ac_cv_prog_x86_64_CC
10570 if test -n "$x86_64_CC"; then
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10572 printf "%s\n" "$x86_64_CC" >&6; }
10573 else
10574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10575 printf "%s\n" "no" >&6; }
10579 test -n "$x86_64_CC" && break
10580 done
10581 test -n "$x86_64_CC" || x86_64_CC="false"
10584 esac
10587 saved_CC=$CC
10588 saved_CFLAGS=$CFLAGS
10589 saved_LDFLAGS=$LDFLAGS
10591 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10592 LDFLAGS=$CROSSLDFLAGS
10593 eval CC=\$${wine_arch}_CC
10594 eval ${wine_arch}_CFLAGS=\$CFLAGS
10595 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10596 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10598 target=""
10599 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10601 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10602 then :
10604 else $as_nop
10605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10606 printf %s "checking whether $CC works... " >&6; }
10607 if eval test \${$as_wine_cv_crosscc+y}
10608 then :
10609 printf %s "(cached) " >&6
10610 else $as_nop
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10615 main (void)
10619 return 0;
10621 _ACEOF
10622 if ac_fn_c_try_compile "$LINENO"
10623 then :
10624 eval "$as_wine_cv_crosscc=yes"
10625 else $as_nop
10626 eval "$as_wine_cv_crosscc=no"
10628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10630 eval ac_res=\$$as_wine_cv_crosscc
10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10632 printf "%s\n" "$ac_res" >&6; }
10634 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10635 then :
10636 set x $CC
10637 shift
10638 while test $# -ge 1
10640 case "$1" in
10641 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10642 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10643 esac
10644 shift
10645 done
10647 llvm_target=$target
10648 if test -z "$llvm_target"
10649 then
10650 case $wine_arch in
10651 i386) llvm_target=i686-windows ;;
10652 arm) llvm_target=armv7-windows ;;
10653 *) llvm_target=$wine_arch-windows ;;
10654 esac
10656 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10657 case $llvm_target in
10658 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10659 esac
10660 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10662 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10663 if eval test \${$as_ac_var+y}
10664 then :
10665 printf %s "(cached) " >&6
10666 else $as_nop
10667 ac_wine_try_cflags_saved=$CFLAGS
10668 ac_wine_try_cflags_saved_exeext=$ac_exeext
10669 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10670 ac_exeext=".exe"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10673 void *__os_arm64x_dispatch_ret = 0;
10674 int __cdecl mainCRTStartup(void) { return 0; }
10675 _ACEOF
10676 if ac_fn_c_try_link "$LINENO"
10677 then :
10678 eval "$as_ac_var=yes"
10679 else $as_nop
10680 eval "$as_ac_var=no"
10682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10683 conftest$ac_exeext conftest.$ac_ext
10684 CFLAGS=$ac_wine_try_cflags_saved
10685 ac_exeext=$ac_wine_try_cflags_saved_exeext
10687 eval ac_res=\$$as_ac_var
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10689 printf "%s\n" "$ac_res" >&6; }
10690 if eval test \"x\$"$as_ac_var"\" = x"yes"
10691 then :
10692 target=$llvm_target
10693 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10694 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10695 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10696 fi }
10697 eval "${wine_arch}_TARGET=\$target"
10701 if test -z "$target"
10702 then
10703 if test ${enable_archs+y}
10704 then :
10705 as_fn_error $? "MinGW $wine_arch compiler not found.
10706 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10708 CC=$saved_CC
10709 CFLAGS=$saved_CFLAGS
10710 LDFLAGS=$saved_LDFLAGS
10711 continue
10714 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10717 printf %s "checking for $CC option to enable C99 features... " >&6; }
10718 if eval test \${$as_wine_cv_crosscc_c99+y}
10719 then :
10720 printf %s "(cached) " >&6
10721 else $as_nop
10722 eval "$as_wine_cv_crosscc_c99=no"
10723 for arg in '' '-std=gnu99' '-D__STDC__'
10725 test -z "$arg" || CC="$CC $arg"
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10728 $ac_c_conftest_c99_program
10729 _ACEOF
10730 if ac_fn_c_try_compile "$LINENO"
10731 then :
10732 eval "$as_wine_cv_crosscc_c99=\$arg"
10733 else $as_nop
10734 eval "$as_wine_cv_crosscc_c99=no"
10736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10737 eval CC=\$${wine_arch}_CC
10738 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10739 then :
10741 else $as_nop
10742 break
10744 done
10747 eval res=\$$as_wine_cv_crosscc_c99
10749 case "x$res" in
10750 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10751 printf "%s\n" "none needed" >&6; } ;;
10752 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10753 printf "%s\n" "unsupported" >&6; }
10754 CC=$saved_CC
10755 CFLAGS=$saved_CFLAGS
10756 LDFLAGS=$saved_LDFLAGS
10757 if test ${enable_archs+y}
10758 then :
10759 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10760 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10762 continue
10764 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10765 printf "%s\n" "$res" >&6; }
10766 as_fn_append ${wine_arch}_CC " $res" ;;
10767 esac
10769 as_fn_append PE_ARCHS " $wine_arch"
10770 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10772 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10773 if eval test \${$as_ac_var+y}
10774 then :
10775 printf %s "(cached) " >&6
10776 else $as_nop
10777 ac_wine_try_cflags_saved=$CFLAGS
10778 ac_wine_try_cflags_saved_exeext=$ac_exeext
10779 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10780 ac_exeext=".exe"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10783 void *__os_arm64x_dispatch_ret = 0;
10784 int __cdecl mainCRTStartup(void) { return 0; }
10785 _ACEOF
10786 if ac_fn_c_try_link "$LINENO"
10787 then :
10788 eval "$as_ac_var=yes"
10789 else $as_nop
10790 eval "$as_ac_var=no"
10792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10793 conftest$ac_exeext conftest.$ac_ext
10794 CFLAGS=$ac_wine_try_cflags_saved
10795 ac_exeext=$ac_wine_try_cflags_saved_exeext
10797 eval ac_res=\$$as_ac_var
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10799 printf "%s\n" "$ac_res" >&6; }
10800 if eval test \"x\$"$as_ac_var"\" = x"yes"
10801 then :
10802 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10803 fi }
10804 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10806 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10807 if eval test \${$as_ac_var+y}
10808 then :
10809 printf %s "(cached) " >&6
10810 else $as_nop
10811 ac_wine_try_cflags_saved=$CFLAGS
10812 ac_wine_try_cflags_saved_exeext=$ac_exeext
10813 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10814 ac_exeext=".exe"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10817 void *__os_arm64x_dispatch_ret = 0;
10818 int __cdecl mainCRTStartup(void) { return 0; }
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"
10821 then :
10822 eval "$as_ac_var=yes"
10823 else $as_nop
10824 eval "$as_ac_var=no"
10826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10827 conftest$ac_exeext conftest.$ac_ext
10828 CFLAGS=$ac_wine_try_cflags_saved
10829 ac_exeext=$ac_wine_try_cflags_saved_exeext
10831 eval ac_res=\$$as_ac_var
10832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10833 printf "%s\n" "$ac_res" >&6; }
10834 if eval test \"x\$"$as_ac_var"\" = x"yes"
10835 then :
10836 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10837 fi }
10838 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10840 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10841 if eval test \${$as_ac_var+y}
10842 then :
10843 printf %s "(cached) " >&6
10844 else $as_nop
10845 ac_wine_try_cflags_saved=$CFLAGS
10846 ac_wine_try_cflags_saved_exeext=$ac_exeext
10847 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10848 ac_exeext=".exe"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851 void *__os_arm64x_dispatch_ret = 0;
10852 int __cdecl mainCRTStartup(void) { return 0; }
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"
10855 then :
10856 eval "$as_ac_var=yes"
10857 else $as_nop
10858 eval "$as_ac_var=no"
10860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10861 conftest$ac_exeext conftest.$ac_ext
10862 CFLAGS=$ac_wine_try_cflags_saved
10863 ac_exeext=$ac_wine_try_cflags_saved_exeext
10865 eval ac_res=\$$as_ac_var
10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10867 printf "%s\n" "$ac_res" >&6; }
10868 if eval test \"x\$"$as_ac_var"\" = x"yes"
10869 then :
10870 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10871 fi }
10872 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10874 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10875 if eval test \${$as_ac_var+y}
10876 then :
10877 printf %s "(cached) " >&6
10878 else $as_nop
10879 ac_wine_try_cflags_saved=$CFLAGS
10880 ac_wine_try_cflags_saved_exeext=$ac_exeext
10881 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10882 ac_exeext=".exe"
10883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10885 void *__os_arm64x_dispatch_ret = 0;
10886 int __cdecl mainCRTStartup(void) { return 0; }
10887 _ACEOF
10888 if ac_fn_c_try_link "$LINENO"
10889 then :
10890 eval "$as_ac_var=yes"
10891 else $as_nop
10892 eval "$as_ac_var=no"
10894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10895 conftest$ac_exeext conftest.$ac_ext
10896 CFLAGS=$ac_wine_try_cflags_saved
10897 ac_exeext=$ac_wine_try_cflags_saved_exeext
10899 eval ac_res=\$$as_ac_var
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10901 printf "%s\n" "$ac_res" >&6; }
10902 if eval test \"x\$"$as_ac_var"\" = x"yes"
10903 then :
10904 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10905 fi }
10906 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10908 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10909 if eval test \${$as_ac_var+y}
10910 then :
10911 printf %s "(cached) " >&6
10912 else $as_nop
10913 ac_wine_try_cflags_saved=$CFLAGS
10914 ac_wine_try_cflags_saved_exeext=$ac_exeext
10915 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10916 ac_exeext=".exe"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10919 void *__os_arm64x_dispatch_ret = 0;
10920 int __cdecl mainCRTStartup(void) { return 0; }
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"
10923 then :
10924 eval "$as_ac_var=yes"
10925 else $as_nop
10926 eval "$as_ac_var=no"
10928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10929 conftest$ac_exeext conftest.$ac_ext
10930 CFLAGS=$ac_wine_try_cflags_saved
10931 ac_exeext=$ac_wine_try_cflags_saved_exeext
10933 eval ac_res=\$$as_ac_var
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10935 printf "%s\n" "$ac_res" >&6; }
10936 if eval test \"x\$"$as_ac_var"\" = x"yes"
10937 then :
10938 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10939 fi }
10940 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10942 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10943 if eval test \${$as_ac_var+y}
10944 then :
10945 printf %s "(cached) " >&6
10946 else $as_nop
10947 ac_wine_try_cflags_saved=$CFLAGS
10948 ac_wine_try_cflags_saved_exeext=$ac_exeext
10949 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10950 ac_exeext=".exe"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10953 void *__os_arm64x_dispatch_ret = 0;
10954 int __cdecl mainCRTStartup(void) { return 0; }
10955 _ACEOF
10956 if ac_fn_c_try_link "$LINENO"
10957 then :
10958 eval "$as_ac_var=yes"
10959 else $as_nop
10960 eval "$as_ac_var=no"
10962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10963 conftest$ac_exeext conftest.$ac_ext
10964 CFLAGS=$ac_wine_try_cflags_saved
10965 ac_exeext=$ac_wine_try_cflags_saved_exeext
10967 eval ac_res=\$$as_ac_var
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10969 printf "%s\n" "$ac_res" >&6; }
10970 if eval test \"x\$"$as_ac_var"\" = x"yes"
10971 then :
10972 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10973 fi }
10974 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10976 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10977 if eval test \${$as_ac_var+y}
10978 then :
10979 printf %s "(cached) " >&6
10980 else $as_nop
10981 ac_wine_try_cflags_saved=$CFLAGS
10982 ac_wine_try_cflags_saved_exeext=$ac_exeext
10983 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10984 ac_exeext=".exe"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10987 void *__os_arm64x_dispatch_ret = 0;
10988 int __cdecl mainCRTStartup(void) { return 0; }
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"
10991 then :
10992 eval "$as_ac_var=yes"
10993 else $as_nop
10994 eval "$as_ac_var=no"
10996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10997 conftest$ac_exeext conftest.$ac_ext
10998 CFLAGS=$ac_wine_try_cflags_saved
10999 ac_exeext=$ac_wine_try_cflags_saved_exeext
11001 eval ac_res=\$$as_ac_var
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11003 printf "%s\n" "$ac_res" >&6; }
11004 if eval test \"x\$"$as_ac_var"\" = x"yes"
11005 then :
11006 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11007 fi }
11008 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11010 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11011 if eval test \${$as_ac_var+y}
11012 then :
11013 printf %s "(cached) " >&6
11014 else $as_nop
11015 ac_wine_try_cflags_saved=$CFLAGS
11016 ac_wine_try_cflags_saved_exeext=$ac_exeext
11017 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11018 ac_exeext=".exe"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11021 void *__os_arm64x_dispatch_ret = 0;
11022 int __cdecl mainCRTStartup(void) { return 0; }
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"
11025 then :
11026 eval "$as_ac_var=yes"
11027 else $as_nop
11028 eval "$as_ac_var=no"
11030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11031 conftest$ac_exeext conftest.$ac_ext
11032 CFLAGS=$ac_wine_try_cflags_saved
11033 ac_exeext=$ac_wine_try_cflags_saved_exeext
11035 eval ac_res=\$$as_ac_var
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11037 printf "%s\n" "$ac_res" >&6; }
11038 if eval test \"x\$"$as_ac_var"\" = x"yes"
11039 then :
11040 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11041 fi }
11042 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11044 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11045 if eval test \${$as_ac_var+y}
11046 then :
11047 printf %s "(cached) " >&6
11048 else $as_nop
11049 ac_wine_try_cflags_saved=$CFLAGS
11050 ac_wine_try_cflags_saved_exeext=$ac_exeext
11051 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11052 ac_exeext=".exe"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11055 void *__os_arm64x_dispatch_ret = 0;
11056 int __cdecl mainCRTStartup(void) { return 0; }
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"
11059 then :
11060 eval "$as_ac_var=yes"
11061 else $as_nop
11062 eval "$as_ac_var=no"
11064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11065 conftest$ac_exeext conftest.$ac_ext
11066 CFLAGS=$ac_wine_try_cflags_saved
11067 ac_exeext=$ac_wine_try_cflags_saved_exeext
11069 eval ac_res=\$$as_ac_var
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11071 printf "%s\n" "$ac_res" >&6; }
11072 if eval test \"x\$"$as_ac_var"\" = x"yes"
11073 then :
11074 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11075 fi }
11076 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11078 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11079 if eval test \${$as_ac_var+y}
11080 then :
11081 printf %s "(cached) " >&6
11082 else $as_nop
11083 ac_wine_try_cflags_saved=$CFLAGS
11084 ac_wine_try_cflags_saved_exeext=$ac_exeext
11085 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11086 ac_exeext=".exe"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11089 void *__os_arm64x_dispatch_ret = 0;
11090 int __cdecl mainCRTStartup(void) { return 0; }
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"
11093 then :
11094 eval "$as_ac_var=yes"
11095 else $as_nop
11096 eval "$as_ac_var=no"
11098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11099 conftest$ac_exeext conftest.$ac_ext
11100 CFLAGS=$ac_wine_try_cflags_saved
11101 ac_exeext=$ac_wine_try_cflags_saved_exeext
11103 eval ac_res=\$$as_ac_var
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11105 printf "%s\n" "$ac_res" >&6; }
11106 if eval test \"x\$"$as_ac_var"\" = x"yes"
11107 then :
11108 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11109 fi }
11110 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11112 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11113 if eval test \${$as_ac_var+y}
11114 then :
11115 printf %s "(cached) " >&6
11116 else $as_nop
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_exeext=$ac_exeext
11119 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11120 ac_exeext=".exe"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 void *__os_arm64x_dispatch_ret = 0;
11124 int __cdecl mainCRTStartup(void) { return 0; }
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"
11127 then :
11128 eval "$as_ac_var=yes"
11129 else $as_nop
11130 eval "$as_ac_var=no"
11132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133 conftest$ac_exeext conftest.$ac_ext
11134 CFLAGS=$ac_wine_try_cflags_saved
11135 ac_exeext=$ac_wine_try_cflags_saved_exeext
11137 eval ac_res=\$$as_ac_var
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11139 printf "%s\n" "$ac_res" >&6; }
11140 if eval test \"x\$"$as_ac_var"\" = x"yes"
11141 then :
11142 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11143 fi }
11144 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11146 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11147 if eval test \${$as_ac_var+y}
11148 then :
11149 printf %s "(cached) " >&6
11150 else $as_nop
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11154 ac_exeext=".exe"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 void *__os_arm64x_dispatch_ret = 0;
11158 int __cdecl mainCRTStartup(void) { return 0; }
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"
11161 then :
11162 eval "$as_ac_var=yes"
11163 else $as_nop
11164 eval "$as_ac_var=no"
11166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11167 conftest$ac_exeext conftest.$ac_ext
11168 CFLAGS=$ac_wine_try_cflags_saved
11169 ac_exeext=$ac_wine_try_cflags_saved_exeext
11171 eval ac_res=\$$as_ac_var
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11173 printf "%s\n" "$ac_res" >&6; }
11174 if eval test \"x\$"$as_ac_var"\" = x"yes"
11175 then :
11176 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11177 fi }
11178 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11180 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11181 if eval test \${$as_ac_var+y}
11182 then :
11183 printf %s "(cached) " >&6
11184 else $as_nop
11185 ac_wine_try_cflags_saved=$CFLAGS
11186 ac_wine_try_cflags_saved_exeext=$ac_exeext
11187 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11188 ac_exeext=".exe"
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11191 void *__os_arm64x_dispatch_ret = 0;
11192 int __cdecl mainCRTStartup(void) { return 0; }
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"
11195 then :
11196 eval "$as_ac_var=yes"
11197 else $as_nop
11198 eval "$as_ac_var=no"
11200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11201 conftest$ac_exeext conftest.$ac_ext
11202 CFLAGS=$ac_wine_try_cflags_saved
11203 ac_exeext=$ac_wine_try_cflags_saved_exeext
11205 eval ac_res=\$$as_ac_var
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11207 printf "%s\n" "$ac_res" >&6; }
11208 if eval test \"x\$"$as_ac_var"\" = x"yes"
11209 then :
11210 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11211 fi }
11212 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11214 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11215 if eval test \${$as_ac_var+y}
11216 then :
11217 printf %s "(cached) " >&6
11218 else $as_nop
11219 ac_wine_try_cflags_saved=$CFLAGS
11220 ac_wine_try_cflags_saved_exeext=$ac_exeext
11221 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11222 ac_exeext=".exe"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11225 void *__os_arm64x_dispatch_ret = 0;
11226 int __cdecl mainCRTStartup(void) { return 0; }
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"
11229 then :
11230 eval "$as_ac_var=yes"
11231 else $as_nop
11232 eval "$as_ac_var=no"
11234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11235 conftest$ac_exeext conftest.$ac_ext
11236 CFLAGS=$ac_wine_try_cflags_saved
11237 ac_exeext=$ac_wine_try_cflags_saved_exeext
11239 eval ac_res=\$$as_ac_var
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11241 printf "%s\n" "$ac_res" >&6; }
11242 if eval test \"x\$"$as_ac_var"\" = x"yes"
11243 then :
11244 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11245 fi }
11246 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11248 printf %s "checking whether $CC supports -Wvla... " >&6; }
11249 if eval test \${$as_ac_var+y}
11250 then :
11251 printf %s "(cached) " >&6
11252 else $as_nop
11253 ac_wine_try_cflags_saved=$CFLAGS
11254 ac_wine_try_cflags_saved_exeext=$ac_exeext
11255 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11256 ac_exeext=".exe"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 void *__os_arm64x_dispatch_ret = 0;
11260 int __cdecl mainCRTStartup(void) { return 0; }
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"
11263 then :
11264 eval "$as_ac_var=yes"
11265 else $as_nop
11266 eval "$as_ac_var=no"
11268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11269 conftest$ac_exeext conftest.$ac_ext
11270 CFLAGS=$ac_wine_try_cflags_saved
11271 ac_exeext=$ac_wine_try_cflags_saved_exeext
11273 eval ac_res=\$$as_ac_var
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11275 printf "%s\n" "$ac_res" >&6; }
11276 if eval test \"x\$"$as_ac_var"\" = x"yes"
11277 then :
11278 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11279 fi }
11280 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11282 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11283 if eval test \${$as_ac_var+y}
11284 then :
11285 printf %s "(cached) " >&6
11286 else $as_nop
11287 ac_wine_try_cflags_saved=$CFLAGS
11288 ac_wine_try_cflags_saved_exeext=$ac_exeext
11289 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11290 ac_exeext=".exe"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11293 void *__os_arm64x_dispatch_ret = 0;
11294 int __cdecl mainCRTStartup(void) { return 0; }
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"
11297 then :
11298 eval "$as_ac_var=yes"
11299 else $as_nop
11300 eval "$as_ac_var=no"
11302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11303 conftest$ac_exeext conftest.$ac_ext
11304 CFLAGS=$ac_wine_try_cflags_saved
11305 ac_exeext=$ac_wine_try_cflags_saved_exeext
11307 eval ac_res=\$$as_ac_var
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11309 printf "%s\n" "$ac_res" >&6; }
11310 if eval test \"x\$"$as_ac_var"\" = x"yes"
11311 then :
11312 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11313 fi }
11314 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11316 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11317 if eval test \${$as_ac_var+y}
11318 then :
11319 printf %s "(cached) " >&6
11320 else $as_nop
11321 ac_wine_try_cflags_saved=$CFLAGS
11322 ac_wine_try_cflags_saved_exeext=$ac_exeext
11323 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11324 ac_exeext=".exe"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327 void *__os_arm64x_dispatch_ret = 0;
11328 int __cdecl mainCRTStartup(void) { return 0; }
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"
11331 then :
11332 eval "$as_ac_var=yes"
11333 else $as_nop
11334 eval "$as_ac_var=no"
11336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11337 conftest$ac_exeext conftest.$ac_ext
11338 CFLAGS=$ac_wine_try_cflags_saved
11339 ac_exeext=$ac_wine_try_cflags_saved_exeext
11341 eval ac_res=\$$as_ac_var
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11343 printf "%s\n" "$ac_res" >&6; }
11344 if eval test \"x\$"$as_ac_var"\" = x"yes"
11345 then :
11346 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11347 fi }
11348 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11350 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11351 if eval test \${$as_ac_var+y}
11352 then :
11353 printf %s "(cached) " >&6
11354 else $as_nop
11355 ac_wine_try_cflags_saved=$CFLAGS
11356 ac_wine_try_cflags_saved_exeext=$ac_exeext
11357 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11358 ac_exeext=".exe"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361 void *__os_arm64x_dispatch_ret = 0;
11362 int __cdecl mainCRTStartup(void) { return 0; }
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"
11365 then :
11366 eval "$as_ac_var=yes"
11367 else $as_nop
11368 eval "$as_ac_var=no"
11370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11371 conftest$ac_exeext conftest.$ac_ext
11372 CFLAGS=$ac_wine_try_cflags_saved
11373 ac_exeext=$ac_wine_try_cflags_saved_exeext
11375 eval ac_res=\$$as_ac_var
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11377 printf "%s\n" "$ac_res" >&6; }
11378 if eval test \"x\$"$as_ac_var"\" = x"yes"
11379 then :
11380 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11381 fi }
11382 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11384 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11385 if eval test \${$as_ac_var+y}
11386 then :
11387 printf %s "(cached) " >&6
11388 else $as_nop
11389 ac_wine_try_cflags_saved=$CFLAGS
11390 ac_wine_try_cflags_saved_exeext=$ac_exeext
11391 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11392 ac_exeext=".exe"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 void *__os_arm64x_dispatch_ret = 0;
11396 int __cdecl mainCRTStartup(void) { return 0; }
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"
11399 then :
11400 eval "$as_ac_var=yes"
11401 else $as_nop
11402 eval "$as_ac_var=no"
11404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11405 conftest$ac_exeext conftest.$ac_ext
11406 CFLAGS=$ac_wine_try_cflags_saved
11407 ac_exeext=$ac_wine_try_cflags_saved_exeext
11409 eval ac_res=\$$as_ac_var
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11411 printf "%s\n" "$ac_res" >&6; }
11412 if eval test \"x\$"$as_ac_var"\" = x"yes"
11413 then :
11414 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11415 fi }
11417 case $wine_arch in
11418 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11420 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11421 if eval test \${$as_ac_var+y}
11422 then :
11423 printf %s "(cached) " >&6
11424 else $as_nop
11425 ac_wine_try_cflags_saved=$CFLAGS
11426 ac_wine_try_cflags_saved_exeext=$ac_exeext
11427 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11428 ac_exeext=".exe"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11431 void *__os_arm64x_dispatch_ret = 0;
11432 int __cdecl mainCRTStartup(void) { return 0; }
11433 _ACEOF
11434 if ac_fn_c_try_link "$LINENO"
11435 then :
11436 eval "$as_ac_var=yes"
11437 else $as_nop
11438 eval "$as_ac_var=no"
11440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11441 conftest$ac_exeext conftest.$ac_ext
11442 CFLAGS=$ac_wine_try_cflags_saved
11443 ac_exeext=$ac_wine_try_cflags_saved_exeext
11445 eval ac_res=\$$as_ac_var
11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11447 printf "%s\n" "$ac_res" >&6; }
11448 if eval test \"x\$"$as_ac_var"\" = x"yes"
11449 then :
11450 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11451 fi }
11452 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11454 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11455 if eval test \${$as_ac_var+y}
11456 then :
11457 printf %s "(cached) " >&6
11458 else $as_nop
11459 ac_wine_try_cflags_saved=$CFLAGS
11460 ac_wine_try_cflags_saved_exeext=$ac_exeext
11461 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11462 ac_exeext=".exe"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11465 void *__os_arm64x_dispatch_ret = 0;
11466 int __cdecl mainCRTStartup(void) { return 0; }
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"
11469 then :
11470 eval "$as_ac_var=yes"
11471 else $as_nop
11472 eval "$as_ac_var=no"
11474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11475 conftest$ac_exeext conftest.$ac_ext
11476 CFLAGS=$ac_wine_try_cflags_saved
11477 ac_exeext=$ac_wine_try_cflags_saved_exeext
11479 eval ac_res=\$$as_ac_var
11480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11481 printf "%s\n" "$ac_res" >&6; }
11482 if eval test \"x\$"$as_ac_var"\" = x"yes"
11483 then :
11484 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11485 fi } ;;
11486 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11488 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11489 if eval test \${$as_ac_var+y}
11490 then :
11491 printf %s "(cached) " >&6
11492 else $as_nop
11493 ac_wine_try_cflags_saved=$CFLAGS
11494 ac_wine_try_cflags_saved_exeext=$ac_exeext
11495 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11496 ac_exeext=".exe"
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11499 void *__os_arm64x_dispatch_ret = 0;
11500 int __cdecl mainCRTStartup(void) { return 0; }
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"
11503 then :
11504 eval "$as_ac_var=yes"
11505 else $as_nop
11506 eval "$as_ac_var=no"
11508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11509 conftest$ac_exeext conftest.$ac_ext
11510 CFLAGS=$ac_wine_try_cflags_saved
11511 ac_exeext=$ac_wine_try_cflags_saved_exeext
11513 eval ac_res=\$$as_ac_var
11514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11515 printf "%s\n" "$ac_res" >&6; }
11516 if eval test \"x\$"$as_ac_var"\" = x"yes"
11517 then :
11518 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11519 fi }
11520 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11522 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11523 if eval test \${$as_ac_var+y}
11524 then :
11525 printf %s "(cached) " >&6
11526 else $as_nop
11527 ac_wine_try_cflags_saved=$CFLAGS
11528 ac_wine_try_cflags_saved_exeext=$ac_exeext
11529 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11530 ac_exeext=".exe"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11533 void *__os_arm64x_dispatch_ret = 0;
11534 int __cdecl mainCRTStartup(void) { return 0; }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"
11537 then :
11538 eval "$as_ac_var=yes"
11539 else $as_nop
11540 eval "$as_ac_var=no"
11542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11543 conftest$ac_exeext conftest.$ac_ext
11544 CFLAGS=$ac_wine_try_cflags_saved
11545 ac_exeext=$ac_wine_try_cflags_saved_exeext
11547 eval ac_res=\$$as_ac_var
11548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11549 printf "%s\n" "$ac_res" >&6; }
11550 if eval test \"x\$"$as_ac_var"\" = x"yes"
11551 then :
11552 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11553 fi }
11554 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11556 printf %s "checking whether $CC supports -mcx16... " >&6; }
11557 if eval test \${$as_ac_var+y}
11558 then :
11559 printf %s "(cached) " >&6
11560 else $as_nop
11561 ac_wine_try_cflags_saved=$CFLAGS
11562 ac_wine_try_cflags_saved_exeext=$ac_exeext
11563 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11564 ac_exeext=".exe"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11567 void *__os_arm64x_dispatch_ret = 0;
11568 int __cdecl mainCRTStartup(void) { return 0; }
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"
11571 then :
11572 eval "$as_ac_var=yes"
11573 else $as_nop
11574 eval "$as_ac_var=no"
11576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11577 conftest$ac_exeext conftest.$ac_ext
11578 CFLAGS=$ac_wine_try_cflags_saved
11579 ac_exeext=$ac_wine_try_cflags_saved_exeext
11581 eval ac_res=\$$as_ac_var
11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11583 printf "%s\n" "$ac_res" >&6; }
11584 if eval test \"x\$"$as_ac_var"\" = x"yes"
11585 then :
11586 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11587 fi }
11588 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11590 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11591 if eval test \${$as_ac_var+y}
11592 then :
11593 printf %s "(cached) " >&6
11594 else $as_nop
11595 ac_wine_try_cflags_saved=$CFLAGS
11596 ac_wine_try_cflags_saved_exeext=$ac_exeext
11597 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11598 ac_exeext=".exe"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11601 void *__os_arm64x_dispatch_ret = 0;
11602 int __cdecl mainCRTStartup(void) { return 0; }
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"
11605 then :
11606 eval "$as_ac_var=yes"
11607 else $as_nop
11608 eval "$as_ac_var=no"
11610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11611 conftest$ac_exeext conftest.$ac_ext
11612 CFLAGS=$ac_wine_try_cflags_saved
11613 ac_exeext=$ac_wine_try_cflags_saved_exeext
11615 eval ac_res=\$$as_ac_var
11616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11617 printf "%s\n" "$ac_res" >&6; }
11618 if eval test \"x\$"$as_ac_var"\" = x"yes"
11619 then :
11620 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11621 fi } ;;
11622 esac
11624 wine_crossdebug=$CROSSDEBUG
11625 if test -z "$wine_crossdebug"
11626 then
11627 for ac_flag in $CFLAGS; do
11628 case $ac_flag in
11629 -gdwarf*) wine_crossdebug=dwarf ;;
11630 -gcodeview) wine_crossdebug=pdb ;;
11631 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11632 esac
11633 done
11636 ac_debug_format_seen=""
11637 for ac_flag in $CFLAGS; do
11638 case $ac_flag in
11639 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11640 esac
11641 done
11642 if test "x$ac_debug_format_seen" = x
11643 then
11644 case $wine_crossdebug in
11645 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11647 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11648 if eval test \${$as_ac_var+y}
11649 then :
11650 printf %s "(cached) " >&6
11651 else $as_nop
11652 ac_wine_try_cflags_saved=$CFLAGS
11653 ac_wine_try_cflags_saved_exeext=$ac_exeext
11654 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11655 ac_exeext=".exe"
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11658 void *__os_arm64x_dispatch_ret = 0;
11659 int __cdecl mainCRTStartup(void) { return 0; }
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"
11662 then :
11663 eval "$as_ac_var=yes"
11664 else $as_nop
11665 eval "$as_ac_var=no"
11667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11668 conftest$ac_exeext conftest.$ac_ext
11669 CFLAGS=$ac_wine_try_cflags_saved
11670 ac_exeext=$ac_wine_try_cflags_saved_exeext
11672 eval ac_res=\$$as_ac_var
11673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11674 printf "%s\n" "$ac_res" >&6; }
11675 if eval test \"x\$"$as_ac_var"\" = x"yes"
11676 then :
11677 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11678 fi } ;;
11679 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11681 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11682 if eval test \${$as_ac_var+y}
11683 then :
11684 printf %s "(cached) " >&6
11685 else $as_nop
11686 ac_wine_try_cflags_saved=$CFLAGS
11687 ac_wine_try_cflags_saved_exeext=$ac_exeext
11688 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11689 ac_exeext=".exe"
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11692 void *__os_arm64x_dispatch_ret = 0;
11693 int __cdecl mainCRTStartup(void) { return 0; }
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"
11696 then :
11697 eval "$as_ac_var=yes"
11698 else $as_nop
11699 eval "$as_ac_var=no"
11701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11702 conftest$ac_exeext conftest.$ac_ext
11703 CFLAGS=$ac_wine_try_cflags_saved
11704 ac_exeext=$ac_wine_try_cflags_saved_exeext
11706 eval ac_res=\$$as_ac_var
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11708 printf "%s\n" "$ac_res" >&6; }
11709 if eval test \"x\$"$as_ac_var"\" = x"yes"
11710 then :
11711 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11712 fi } ;;
11713 esac
11715 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11717 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11719 printf %s "checking whether $CC supports -Werror... " >&6; }
11720 if eval test \${$as_ac_var+y}
11721 then :
11722 printf %s "(cached) " >&6
11723 else $as_nop
11724 ac_wine_try_cflags_saved=$CFLAGS
11725 ac_wine_try_cflags_saved_exeext=$ac_exeext
11726 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11727 ac_exeext=".exe"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11730 void *__os_arm64x_dispatch_ret = 0;
11731 int __cdecl mainCRTStartup(void) { return 0; }
11732 _ACEOF
11733 if ac_fn_c_try_link "$LINENO"
11734 then :
11735 eval "$as_ac_var=yes"
11736 else $as_nop
11737 eval "$as_ac_var=no"
11739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11740 conftest$ac_exeext conftest.$ac_ext
11741 CFLAGS=$ac_wine_try_cflags_saved
11742 ac_exeext=$ac_wine_try_cflags_saved_exeext
11744 eval ac_res=\$$as_ac_var
11745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11746 printf "%s\n" "$ac_res" >&6; }
11747 if eval test \"x\$"$as_ac_var"\" = x"yes"
11748 then :
11749 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11750 fi }
11751 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11753 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11754 if eval test \${$as_ac_var+y}
11755 then :
11756 printf %s "(cached) " >&6
11757 else $as_nop
11758 ac_wine_try_cflags_saved=$CFLAGS
11759 ac_wine_try_cflags_saved_exeext=$ac_exeext
11760 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11761 ac_exeext=".exe"
11762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11764 void *__os_arm64x_dispatch_ret = 0;
11765 int __cdecl mainCRTStartup(void) { return 0; }
11766 _ACEOF
11767 if ac_fn_c_try_link "$LINENO"
11768 then :
11769 eval "$as_ac_var=yes"
11770 else $as_nop
11771 eval "$as_ac_var=no"
11773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11774 conftest$ac_exeext conftest.$ac_ext
11775 CFLAGS=$ac_wine_try_cflags_saved
11776 ac_exeext=$ac_wine_try_cflags_saved_exeext
11778 eval ac_res=\$$as_ac_var
11779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11780 printf "%s\n" "$ac_res" >&6; }
11781 if eval test \"x\$"$as_ac_var"\" = x"yes"
11782 then :
11783 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11784 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11785 fi }
11787 CC=$saved_CC
11788 CFLAGS=$saved_CFLAGS
11789 LDFLAGS=$saved_LDFLAGS
11790 done
11792 if test $HOST_ARCH = aarch64
11793 then
11794 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11795 DLLEXT=""
11799 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11800 then
11801 if test "x$HOST_ARCH" = xi386
11802 then :
11803 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11804 else $as_nop
11805 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11807 for ac_prog in $ac_prefix_list
11809 # Extract the first word of "$ac_prog", so it can be a program name with args.
11810 set dummy $ac_prog; ac_word=$2
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11812 printf %s "checking for $ac_word... " >&6; }
11813 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11814 then :
11815 printf %s "(cached) " >&6
11816 else $as_nop
11817 if test -n "$MINGW_PKG_CONFIG"; then
11818 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11819 else
11820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11821 for as_dir in $PATH
11823 IFS=$as_save_IFS
11824 case $as_dir in #(((
11825 '') as_dir=./ ;;
11826 */) ;;
11827 *) as_dir=$as_dir/ ;;
11828 esac
11829 for ac_exec_ext in '' $ac_executable_extensions; do
11830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11831 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11833 break 2
11835 done
11836 done
11837 IFS=$as_save_IFS
11841 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11842 if test -n "$MINGW_PKG_CONFIG"; then
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11844 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11845 else
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11847 printf "%s\n" "no" >&6; }
11851 test -n "$MINGW_PKG_CONFIG" && break
11852 done
11853 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11855 if ${FAUDIO_PE_CFLAGS:+false} :
11856 then :
11857 if test ${MINGW_PKG_CONFIG+y}
11858 then :
11859 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11862 if ${FAUDIO_PE_LIBS:+false} :
11863 then :
11864 if test ${MINGW_PKG_CONFIG+y}
11865 then :
11866 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11869 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11870 ac_save_CPPFLAGS=$CPPFLAGS
11871 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11873 printf %s "checking for MinGW FAudio.h... " >&6; }
11874 if test ${ac_cv_mingw_header_FAudio_h+y}
11875 then :
11876 printf %s "(cached) " >&6
11877 else $as_nop
11878 ac_wine_check_headers_saved_cc=$CC
11879 ac_wine_check_headers_saved_exeext=$ac_exeext
11880 eval CC=\$${wine_arch}_CC
11881 ac_exeext=".exe"
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 #include <FAudio.h>
11887 main (void)
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_compile "$LINENO"
11895 then :
11896 ac_cv_mingw_header_FAudio_h=yes
11897 else $as_nop
11898 ac_cv_mingw_header_FAudio_h=no
11900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11901 CC=$ac_wine_check_headers_saved_cc
11902 ac_exeext=$ac_wine_check_headers_saved_exeext
11904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11905 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11906 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11907 then :
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11909 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11910 if test ${ac_cv_mingw_lib_FAudio+y}
11911 then :
11912 printf %s "(cached) " >&6
11913 else $as_nop
11914 ac_wine_check_headers_saved_cc=$CC
11915 ac_wine_check_headers_saved_exeext=$ac_exeext
11916 ac_wine_check_headers_saved_libs=$LIBS
11917 eval CC=\$${wine_arch}_CC
11918 ac_exeext=".exe"
11919 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11923 /* Override any GCC internal prototype to avoid an error.
11924 Use char because int might match the return type of a GCC
11925 builtin and then its argument prototype would still apply. */
11926 char FAudio_CommitOperationSet ();
11928 main (void)
11930 return FAudio_CommitOperationSet ();
11932 return 0;
11934 _ACEOF
11935 if ac_fn_c_try_link "$LINENO"
11936 then :
11937 ac_cv_mingw_lib_FAudio=yes
11938 else $as_nop
11939 ac_cv_mingw_lib_FAudio=no
11941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11942 conftest$ac_exeext conftest.$ac_ext
11943 CC=$ac_wine_check_headers_saved_cc
11944 ac_exeext=$ac_wine_check_headers_saved_exeext
11945 LIBS=$ac_wine_check_headers_saved_libs
11947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11948 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11949 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11950 then :
11952 else $as_nop
11953 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11955 else $as_nop
11956 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11958 CPPFLAGS=$ac_save_CPPFLAGS
11960 if test "x$FAUDIO_PE_LIBS" = "x"
11961 then
11962 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11965 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
11966 then :
11967 if test ${MINGW_PKG_CONFIG+y}
11968 then :
11969 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
11972 if ${FLUIDSYNTH_PE_LIBS:+false} :
11973 then :
11974 if test ${MINGW_PKG_CONFIG+y}
11975 then :
11976 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
11979 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
11980 ac_save_CPPFLAGS=$CPPFLAGS
11981 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
11982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
11983 printf %s "checking for MinGW fluidsynth.h... " >&6; }
11984 if test ${ac_cv_mingw_header_fluidsynth_h+y}
11985 then :
11986 printf %s "(cached) " >&6
11987 else $as_nop
11988 ac_wine_check_headers_saved_cc=$CC
11989 ac_wine_check_headers_saved_exeext=$ac_exeext
11990 eval CC=\$${wine_arch}_CC
11991 ac_exeext=".exe"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 #include <fluidsynth.h>
11997 main (void)
12001 return 0;
12003 _ACEOF
12004 if ac_fn_c_try_compile "$LINENO"
12005 then :
12006 ac_cv_mingw_header_fluidsynth_h=yes
12007 else $as_nop
12008 ac_cv_mingw_header_fluidsynth_h=no
12010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12011 CC=$ac_wine_check_headers_saved_cc
12012 ac_exeext=$ac_wine_check_headers_saved_exeext
12014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12015 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12016 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12017 then :
12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12019 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12020 if test ${ac_cv_mingw_lib_fluidsynth+y}
12021 then :
12022 printf %s "(cached) " >&6
12023 else $as_nop
12024 ac_wine_check_headers_saved_cc=$CC
12025 ac_wine_check_headers_saved_exeext=$ac_exeext
12026 ac_wine_check_headers_saved_libs=$LIBS
12027 eval CC=\$${wine_arch}_CC
12028 ac_exeext=".exe"
12029 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12033 /* Override any GCC internal prototype to avoid an error.
12034 Use char because int might match the return type of a GCC
12035 builtin and then its argument prototype would still apply. */
12036 char new_fluid_synth ();
12038 main (void)
12040 return new_fluid_synth ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"
12046 then :
12047 ac_cv_mingw_lib_fluidsynth=yes
12048 else $as_nop
12049 ac_cv_mingw_lib_fluidsynth=no
12051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12052 conftest$ac_exeext conftest.$ac_ext
12053 CC=$ac_wine_check_headers_saved_cc
12054 ac_exeext=$ac_wine_check_headers_saved_exeext
12055 LIBS=$ac_wine_check_headers_saved_libs
12057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12058 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12059 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12060 then :
12062 else $as_nop
12063 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12065 else $as_nop
12066 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12068 CPPFLAGS=$ac_save_CPPFLAGS
12070 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12071 then
12072 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12075 if ${JPEG_PE_CFLAGS:+false} :
12076 then :
12077 if test ${MINGW_PKG_CONFIG+y}
12078 then :
12079 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12082 if ${JPEG_PE_LIBS:+false} :
12083 then :
12084 if test ${MINGW_PKG_CONFIG+y}
12085 then :
12086 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12090 ac_save_CPPFLAGS=$CPPFLAGS
12091 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12093 printf %s "checking for MinGW jpeglib.h... " >&6; }
12094 if test ${ac_cv_mingw_header_jpeglib_h+y}
12095 then :
12096 printf %s "(cached) " >&6
12097 else $as_nop
12098 ac_wine_check_headers_saved_cc=$CC
12099 ac_wine_check_headers_saved_exeext=$ac_exeext
12100 eval CC=\$${wine_arch}_CC
12101 ac_exeext=".exe"
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12104 #include <stddef.h>
12105 #include <stdio.h>
12106 #include <jpeglib.h>
12108 main (void)
12112 return 0;
12114 _ACEOF
12115 if ac_fn_c_try_compile "$LINENO"
12116 then :
12117 ac_cv_mingw_header_jpeglib_h=yes
12118 else $as_nop
12119 ac_cv_mingw_header_jpeglib_h=no
12121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12122 CC=$ac_wine_check_headers_saved_cc
12123 ac_exeext=$ac_wine_check_headers_saved_exeext
12125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12126 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12127 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12128 then :
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12130 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12131 if test ${ac_cv_mingw_lib_jpeg+y}
12132 then :
12133 printf %s "(cached) " >&6
12134 else $as_nop
12135 ac_wine_check_headers_saved_cc=$CC
12136 ac_wine_check_headers_saved_exeext=$ac_exeext
12137 ac_wine_check_headers_saved_libs=$LIBS
12138 eval CC=\$${wine_arch}_CC
12139 ac_exeext=".exe"
12140 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12144 /* Override any GCC internal prototype to avoid an error.
12145 Use char because int might match the return type of a GCC
12146 builtin and then its argument prototype would still apply. */
12147 char jpeg_start_decompress ();
12149 main (void)
12151 return jpeg_start_decompress ();
12153 return 0;
12155 _ACEOF
12156 if ac_fn_c_try_link "$LINENO"
12157 then :
12158 ac_cv_mingw_lib_jpeg=yes
12159 else $as_nop
12160 ac_cv_mingw_lib_jpeg=no
12162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12163 conftest$ac_exeext conftest.$ac_ext
12164 CC=$ac_wine_check_headers_saved_cc
12165 ac_exeext=$ac_wine_check_headers_saved_exeext
12166 LIBS=$ac_wine_check_headers_saved_libs
12168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12169 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12170 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12171 then :
12173 else $as_nop
12174 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12176 else $as_nop
12177 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12179 CPPFLAGS=$ac_save_CPPFLAGS
12181 if test "x$JPEG_PE_LIBS" = "x"
12182 then
12183 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12186 if ${LCMS2_PE_CFLAGS:+false} :
12187 then :
12188 if test ${MINGW_PKG_CONFIG+y}
12189 then :
12190 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12193 if ${LCMS2_PE_LIBS:+false} :
12194 then :
12195 if test ${MINGW_PKG_CONFIG+y}
12196 then :
12197 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12200 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12201 ac_save_CPPFLAGS=$CPPFLAGS
12202 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12204 printf %s "checking for MinGW lcms2.h... " >&6; }
12205 if test ${ac_cv_mingw_header_lcms2_h+y}
12206 then :
12207 printf %s "(cached) " >&6
12208 else $as_nop
12209 ac_wine_check_headers_saved_cc=$CC
12210 ac_wine_check_headers_saved_exeext=$ac_exeext
12211 eval CC=\$${wine_arch}_CC
12212 ac_exeext=".exe"
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12216 #include <lcms2.h>
12218 main (void)
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_compile "$LINENO"
12226 then :
12227 ac_cv_mingw_header_lcms2_h=yes
12228 else $as_nop
12229 ac_cv_mingw_header_lcms2_h=no
12231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12232 CC=$ac_wine_check_headers_saved_cc
12233 ac_exeext=$ac_wine_check_headers_saved_exeext
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12236 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12237 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12238 then :
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12240 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12241 if test ${ac_cv_mingw_lib_lcms2+y}
12242 then :
12243 printf %s "(cached) " >&6
12244 else $as_nop
12245 ac_wine_check_headers_saved_cc=$CC
12246 ac_wine_check_headers_saved_exeext=$ac_exeext
12247 ac_wine_check_headers_saved_libs=$LIBS
12248 eval CC=\$${wine_arch}_CC
12249 ac_exeext=".exe"
12250 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12254 /* Override any GCC internal prototype to avoid an error.
12255 Use char because int might match the return type of a GCC
12256 builtin and then its argument prototype would still apply. */
12257 char cmsOpenProfileFromFile ();
12259 main (void)
12261 return cmsOpenProfileFromFile ();
12263 return 0;
12265 _ACEOF
12266 if ac_fn_c_try_link "$LINENO"
12267 then :
12268 ac_cv_mingw_lib_lcms2=yes
12269 else $as_nop
12270 ac_cv_mingw_lib_lcms2=no
12272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12273 conftest$ac_exeext conftest.$ac_ext
12274 CC=$ac_wine_check_headers_saved_cc
12275 ac_exeext=$ac_wine_check_headers_saved_exeext
12276 LIBS=$ac_wine_check_headers_saved_libs
12278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12279 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12280 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12281 then :
12283 else $as_nop
12284 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12286 else $as_nop
12287 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12289 CPPFLAGS=$ac_save_CPPFLAGS
12291 if test "x$LCMS2_PE_LIBS" = "x"
12292 then
12293 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12296 if ${MPG123_PE_CFLAGS:+false} :
12297 then :
12298 if test ${MINGW_PKG_CONFIG+y}
12299 then :
12300 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12303 if ${MPG123_PE_LIBS:+false} :
12304 then :
12305 if test ${MINGW_PKG_CONFIG+y}
12306 then :
12307 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12310 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12311 ac_save_CPPFLAGS=$CPPFLAGS
12312 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12314 printf %s "checking for MinGW mpg123.h... " >&6; }
12315 if test ${ac_cv_mingw_header_mpg123_h+y}
12316 then :
12317 printf %s "(cached) " >&6
12318 else $as_nop
12319 ac_wine_check_headers_saved_cc=$CC
12320 ac_wine_check_headers_saved_exeext=$ac_exeext
12321 eval CC=\$${wine_arch}_CC
12322 ac_exeext=".exe"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 #include <mpg123.h>
12328 main (void)
12332 return 0;
12334 _ACEOF
12335 if ac_fn_c_try_compile "$LINENO"
12336 then :
12337 ac_cv_mingw_header_mpg123_h=yes
12338 else $as_nop
12339 ac_cv_mingw_header_mpg123_h=no
12341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12342 CC=$ac_wine_check_headers_saved_cc
12343 ac_exeext=$ac_wine_check_headers_saved_exeext
12345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12346 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12347 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12348 then :
12349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12350 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12351 if test ${ac_cv_mingw_lib_mpg123+y}
12352 then :
12353 printf %s "(cached) " >&6
12354 else $as_nop
12355 ac_wine_check_headers_saved_cc=$CC
12356 ac_wine_check_headers_saved_exeext=$ac_exeext
12357 ac_wine_check_headers_saved_libs=$LIBS
12358 eval CC=\$${wine_arch}_CC
12359 ac_exeext=".exe"
12360 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12367 char mpg123_feed ();
12369 main (void)
12371 return mpg123_feed ();
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_link "$LINENO"
12377 then :
12378 ac_cv_mingw_lib_mpg123=yes
12379 else $as_nop
12380 ac_cv_mingw_lib_mpg123=no
12382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12383 conftest$ac_exeext conftest.$ac_ext
12384 CC=$ac_wine_check_headers_saved_cc
12385 ac_exeext=$ac_wine_check_headers_saved_exeext
12386 LIBS=$ac_wine_check_headers_saved_libs
12388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12389 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12390 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12391 then :
12393 else $as_nop
12394 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12396 else $as_nop
12397 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12399 CPPFLAGS=$ac_save_CPPFLAGS
12401 if test "x$MPG123_PE_LIBS" = "x"
12402 then
12403 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12406 if ${PNG_PE_CFLAGS:+false} :
12407 then :
12408 if test ${MINGW_PKG_CONFIG+y}
12409 then :
12410 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12413 if ${PNG_PE_LIBS:+false} :
12414 then :
12415 if test ${MINGW_PKG_CONFIG+y}
12416 then :
12417 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12421 ac_save_CPPFLAGS=$CPPFLAGS
12422 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12424 printf %s "checking for MinGW png.h... " >&6; }
12425 if test ${ac_cv_mingw_header_png_h+y}
12426 then :
12427 printf %s "(cached) " >&6
12428 else $as_nop
12429 ac_wine_check_headers_saved_cc=$CC
12430 ac_wine_check_headers_saved_exeext=$ac_exeext
12431 eval CC=\$${wine_arch}_CC
12432 ac_exeext=".exe"
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12436 #include <png.h>
12438 main (void)
12442 return 0;
12444 _ACEOF
12445 if ac_fn_c_try_compile "$LINENO"
12446 then :
12447 ac_cv_mingw_header_png_h=yes
12448 else $as_nop
12449 ac_cv_mingw_header_png_h=no
12451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12452 CC=$ac_wine_check_headers_saved_cc
12453 ac_exeext=$ac_wine_check_headers_saved_exeext
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12456 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12457 if test "x$ac_cv_mingw_header_png_h" = xyes
12458 then :
12459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12460 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12461 if test ${ac_cv_mingw_lib_png+y}
12462 then :
12463 printf %s "(cached) " >&6
12464 else $as_nop
12465 ac_wine_check_headers_saved_cc=$CC
12466 ac_wine_check_headers_saved_exeext=$ac_exeext
12467 ac_wine_check_headers_saved_libs=$LIBS
12468 eval CC=\$${wine_arch}_CC
12469 ac_exeext=".exe"
12470 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 char png_create_read_struct ();
12479 main (void)
12481 return png_create_read_struct ();
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_link "$LINENO"
12487 then :
12488 ac_cv_mingw_lib_png=yes
12489 else $as_nop
12490 ac_cv_mingw_lib_png=no
12492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12493 conftest$ac_exeext conftest.$ac_ext
12494 CC=$ac_wine_check_headers_saved_cc
12495 ac_exeext=$ac_wine_check_headers_saved_exeext
12496 LIBS=$ac_wine_check_headers_saved_libs
12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12499 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12500 if test "x$ac_cv_mingw_lib_png" = xyes
12501 then :
12503 else $as_nop
12504 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12506 else $as_nop
12507 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12509 CPPFLAGS=$ac_save_CPPFLAGS
12511 if test "x$PNG_PE_LIBS" = "x"
12512 then
12513 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12516 if ${TIFF_PE_CFLAGS:+false} :
12517 then :
12518 if test ${MINGW_PKG_CONFIG+y}
12519 then :
12520 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12523 if ${TIFF_PE_LIBS:+false} :
12524 then :
12525 if test ${MINGW_PKG_CONFIG+y}
12526 then :
12527 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12531 ac_save_CPPFLAGS=$CPPFLAGS
12532 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12534 printf %s "checking for MinGW tiffio.h... " >&6; }
12535 if test ${ac_cv_mingw_header_tiffio_h+y}
12536 then :
12537 printf %s "(cached) " >&6
12538 else $as_nop
12539 ac_wine_check_headers_saved_cc=$CC
12540 ac_wine_check_headers_saved_exeext=$ac_exeext
12541 eval CC=\$${wine_arch}_CC
12542 ac_exeext=".exe"
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12546 #include <tiffio.h>
12548 main (void)
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_compile "$LINENO"
12556 then :
12557 ac_cv_mingw_header_tiffio_h=yes
12558 else $as_nop
12559 ac_cv_mingw_header_tiffio_h=no
12561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12562 CC=$ac_wine_check_headers_saved_cc
12563 ac_exeext=$ac_wine_check_headers_saved_exeext
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12566 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12567 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12568 then :
12569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12570 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12571 if test ${ac_cv_mingw_lib_tiff+y}
12572 then :
12573 printf %s "(cached) " >&6
12574 else $as_nop
12575 ac_wine_check_headers_saved_cc=$CC
12576 ac_wine_check_headers_saved_exeext=$ac_exeext
12577 ac_wine_check_headers_saved_libs=$LIBS
12578 eval CC=\$${wine_arch}_CC
12579 ac_exeext=".exe"
12580 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 /* Override any GCC internal prototype to avoid an error.
12585 Use char because int might match the return type of a GCC
12586 builtin and then its argument prototype would still apply. */
12587 char TIFFClientOpen ();
12589 main (void)
12591 return TIFFClientOpen ();
12593 return 0;
12595 _ACEOF
12596 if ac_fn_c_try_link "$LINENO"
12597 then :
12598 ac_cv_mingw_lib_tiff=yes
12599 else $as_nop
12600 ac_cv_mingw_lib_tiff=no
12602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12603 conftest$ac_exeext conftest.$ac_ext
12604 CC=$ac_wine_check_headers_saved_cc
12605 ac_exeext=$ac_wine_check_headers_saved_exeext
12606 LIBS=$ac_wine_check_headers_saved_libs
12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12609 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12610 if test "x$ac_cv_mingw_lib_tiff" = xyes
12611 then :
12613 else $as_nop
12614 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12616 else $as_nop
12617 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12619 CPPFLAGS=$ac_save_CPPFLAGS
12621 if test "x$TIFF_PE_LIBS" = "x"
12622 then
12623 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12626 if ${XML2_PE_CFLAGS:+false} :
12627 then :
12628 if test ${MINGW_PKG_CONFIG+y}
12629 then :
12630 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12633 if ${XML2_PE_LIBS:+false} :
12634 then :
12635 if test ${MINGW_PKG_CONFIG+y}
12636 then :
12637 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12640 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12641 ac_save_CPPFLAGS=$CPPFLAGS
12642 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12644 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12645 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12646 then :
12647 printf %s "(cached) " >&6
12648 else $as_nop
12649 ac_wine_check_headers_saved_cc=$CC
12650 ac_wine_check_headers_saved_exeext=$ac_exeext
12651 eval CC=\$${wine_arch}_CC
12652 ac_exeext=".exe"
12653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12656 #include <libxml/parser.h>
12658 main (void)
12662 return 0;
12664 _ACEOF
12665 if ac_fn_c_try_compile "$LINENO"
12666 then :
12667 ac_cv_mingw_header_libxml_parser_h=yes
12668 else $as_nop
12669 ac_cv_mingw_header_libxml_parser_h=no
12671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12672 CC=$ac_wine_check_headers_saved_cc
12673 ac_exeext=$ac_wine_check_headers_saved_exeext
12675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12676 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12677 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12678 then :
12681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12682 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12683 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12684 then :
12685 printf %s "(cached) " >&6
12686 else $as_nop
12687 ac_wine_check_headers_saved_cc=$CC
12688 ac_wine_check_headers_saved_exeext=$ac_exeext
12689 eval CC=\$${wine_arch}_CC
12690 ac_exeext=".exe"
12691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12694 #include <libxml/xmlsave.h>
12696 main (void)
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_compile "$LINENO"
12704 then :
12705 ac_cv_mingw_header_libxml_xmlsave_h=yes
12706 else $as_nop
12707 ac_cv_mingw_header_libxml_xmlsave_h=no
12709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12710 CC=$ac_wine_check_headers_saved_cc
12711 ac_exeext=$ac_wine_check_headers_saved_exeext
12713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12714 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12715 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12716 then :
12719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12720 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12721 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12722 then :
12723 printf %s "(cached) " >&6
12724 else $as_nop
12725 ac_wine_check_headers_saved_cc=$CC
12726 ac_wine_check_headers_saved_exeext=$ac_exeext
12727 eval CC=\$${wine_arch}_CC
12728 ac_exeext=".exe"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 #include <libxml/SAX2.h>
12734 main (void)
12738 return 0;
12740 _ACEOF
12741 if ac_fn_c_try_compile "$LINENO"
12742 then :
12743 ac_cv_mingw_header_libxml_SAX2_h=yes
12744 else $as_nop
12745 ac_cv_mingw_header_libxml_SAX2_h=no
12747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12748 CC=$ac_wine_check_headers_saved_cc
12749 ac_exeext=$ac_wine_check_headers_saved_exeext
12751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12752 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12753 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12754 then :
12757 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"
12758 then
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12760 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12761 if test ${ac_cv_mingw_lib_xml2+y}
12762 then :
12763 printf %s "(cached) " >&6
12764 else $as_nop
12765 ac_wine_check_headers_saved_cc=$CC
12766 ac_wine_check_headers_saved_exeext=$ac_exeext
12767 ac_wine_check_headers_saved_libs=$LIBS
12768 eval CC=\$${wine_arch}_CC
12769 ac_exeext=".exe"
12770 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 char xmlFirstElementChild ();
12779 main (void)
12781 return xmlFirstElementChild ();
12783 return 0;
12785 _ACEOF
12786 if ac_fn_c_try_link "$LINENO"
12787 then :
12788 ac_cv_mingw_lib_xml2=yes
12789 else $as_nop
12790 ac_cv_mingw_lib_xml2=no
12792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12793 conftest$ac_exeext conftest.$ac_ext
12794 CC=$ac_wine_check_headers_saved_cc
12795 ac_exeext=$ac_wine_check_headers_saved_exeext
12796 LIBS=$ac_wine_check_headers_saved_libs
12798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12799 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12800 if test "x$ac_cv_mingw_lib_xml2" = xyes
12801 then :
12803 else $as_nop
12804 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12806 else
12807 XML2_PE_CFLAGS=""
12808 XML2_PE_LIBS=""
12810 CPPFLAGS=$ac_save_CPPFLAGS
12812 if test "x$XML2_PE_LIBS" = "x"
12813 then
12814 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12817 if ${XSLT_PE_CFLAGS:+false} :
12818 then :
12819 if test ${MINGW_PKG_CONFIG+y}
12820 then :
12821 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12824 if ${XSLT_PE_LIBS:+false} :
12825 then :
12826 if test ${MINGW_PKG_CONFIG+y}
12827 then :
12828 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12831 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12832 ac_save_CPPFLAGS=$CPPFLAGS
12833 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12835 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12836 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12837 then :
12838 printf %s "(cached) " >&6
12839 else $as_nop
12840 ac_wine_check_headers_saved_cc=$CC
12841 ac_wine_check_headers_saved_exeext=$ac_exeext
12842 eval CC=\$${wine_arch}_CC
12843 ac_exeext=".exe"
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 #include <libxslt/pattern.h>
12849 main (void)
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_compile "$LINENO"
12857 then :
12858 ac_cv_mingw_header_libxslt_pattern_h=yes
12859 else $as_nop
12860 ac_cv_mingw_header_libxslt_pattern_h=no
12862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12863 CC=$ac_wine_check_headers_saved_cc
12864 ac_exeext=$ac_wine_check_headers_saved_exeext
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12867 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12868 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12869 then :
12872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12873 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12874 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12875 then :
12876 printf %s "(cached) " >&6
12877 else $as_nop
12878 ac_wine_check_headers_saved_cc=$CC
12879 ac_wine_check_headers_saved_exeext=$ac_exeext
12880 eval CC=\$${wine_arch}_CC
12881 ac_exeext=".exe"
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 #include <libxslt/transform.h>
12887 main (void)
12891 return 0;
12893 _ACEOF
12894 if ac_fn_c_try_compile "$LINENO"
12895 then :
12896 ac_cv_mingw_header_libxslt_transform_h=yes
12897 else $as_nop
12898 ac_cv_mingw_header_libxslt_transform_h=no
12900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12901 CC=$ac_wine_check_headers_saved_cc
12902 ac_exeext=$ac_wine_check_headers_saved_exeext
12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12905 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12906 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12907 then :
12910 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12911 then
12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12913 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12914 if test ${ac_cv_mingw_lib_xslt+y}
12915 then :
12916 printf %s "(cached) " >&6
12917 else $as_nop
12918 ac_wine_check_headers_saved_cc=$CC
12919 ac_wine_check_headers_saved_exeext=$ac_exeext
12920 ac_wine_check_headers_saved_libs=$LIBS
12921 eval CC=\$${wine_arch}_CC
12922 ac_exeext=".exe"
12923 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12930 char xsltCompilePattern ();
12932 main (void)
12934 return xsltCompilePattern ();
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"
12940 then :
12941 ac_cv_mingw_lib_xslt=yes
12942 else $as_nop
12943 ac_cv_mingw_lib_xslt=no
12945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12946 conftest$ac_exeext conftest.$ac_ext
12947 CC=$ac_wine_check_headers_saved_cc
12948 ac_exeext=$ac_wine_check_headers_saved_exeext
12949 LIBS=$ac_wine_check_headers_saved_libs
12951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12952 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12953 if test "x$ac_cv_mingw_lib_xslt" = xyes
12954 then :
12956 else $as_nop
12957 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12959 else
12960 XSLT_PE_CFLAGS=""
12961 XSLT_PE_LIBS=""
12963 CPPFLAGS=$ac_save_CPPFLAGS
12965 if test "x$XSLT_PE_LIBS" = "x"
12966 then
12967 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12970 if ${VKD3D_PE_CFLAGS:+false} :
12971 then :
12972 if test ${MINGW_PKG_CONFIG+y}
12973 then :
12974 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12977 if ${VKD3D_PE_LIBS:+false} :
12978 then :
12979 if test ${MINGW_PKG_CONFIG+y}
12980 then :
12981 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12984 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12985 ac_save_CPPFLAGS=$CPPFLAGS
12986 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12988 printf %s "checking for MinGW vkd3d.h... " >&6; }
12989 if test ${ac_cv_mingw_header_vkd3d_h+y}
12990 then :
12991 printf %s "(cached) " >&6
12992 else $as_nop
12993 ac_wine_check_headers_saved_cc=$CC
12994 ac_wine_check_headers_saved_exeext=$ac_exeext
12995 eval CC=\$${wine_arch}_CC
12996 ac_exeext=".exe"
12997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 #include <vkd3d.h>
13002 main (void)
13006 return 0;
13008 _ACEOF
13009 if ac_fn_c_try_compile "$LINENO"
13010 then :
13011 ac_cv_mingw_header_vkd3d_h=yes
13012 else $as_nop
13013 ac_cv_mingw_header_vkd3d_h=no
13015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13016 CC=$ac_wine_check_headers_saved_cc
13017 ac_exeext=$ac_wine_check_headers_saved_exeext
13019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13020 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13021 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13022 then :
13025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13026 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13027 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13028 then :
13029 printf %s "(cached) " >&6
13030 else $as_nop
13031 ac_wine_check_headers_saved_cc=$CC
13032 ac_wine_check_headers_saved_exeext=$ac_exeext
13033 eval CC=\$${wine_arch}_CC
13034 ac_exeext=".exe"
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13038 #include <vkd3d_shader.h>
13040 main (void)
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_compile "$LINENO"
13048 then :
13049 ac_cv_mingw_header_vkd3d_shader_h=yes
13050 else $as_nop
13051 ac_cv_mingw_header_vkd3d_shader_h=no
13053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13054 CC=$ac_wine_check_headers_saved_cc
13055 ac_exeext=$ac_wine_check_headers_saved_exeext
13057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13058 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13059 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13060 then :
13063 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13064 then
13065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13066 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13067 if test ${ac_cv_mingw_lib_vkd3d+y}
13068 then :
13069 printf %s "(cached) " >&6
13070 else $as_nop
13071 ac_wine_check_headers_saved_cc=$CC
13072 ac_wine_check_headers_saved_exeext=$ac_exeext
13073 ac_wine_check_headers_saved_libs=$LIBS
13074 eval CC=\$${wine_arch}_CC
13075 ac_exeext=".exe"
13076 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13078 /* end confdefs.h. */
13080 /* Override any GCC internal prototype to avoid an error.
13081 Use char because int might match the return type of a GCC
13082 builtin and then its argument prototype would still apply. */
13083 char vkd3d_set_log_callback ();
13085 main (void)
13087 return vkd3d_set_log_callback ();
13089 return 0;
13091 _ACEOF
13092 if ac_fn_c_try_link "$LINENO"
13093 then :
13094 ac_cv_mingw_lib_vkd3d=yes
13095 else $as_nop
13096 ac_cv_mingw_lib_vkd3d=no
13098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13099 conftest$ac_exeext conftest.$ac_ext
13100 CC=$ac_wine_check_headers_saved_cc
13101 ac_exeext=$ac_wine_check_headers_saved_exeext
13102 LIBS=$ac_wine_check_headers_saved_libs
13104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13105 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13106 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13107 then :
13109 else $as_nop
13112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13113 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13114 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13115 then :
13116 printf %s "(cached) " >&6
13117 else $as_nop
13118 ac_wine_check_headers_saved_cc=$CC
13119 ac_wine_check_headers_saved_exeext=$ac_exeext
13120 ac_wine_check_headers_saved_libs=$LIBS
13121 eval CC=\$${wine_arch}_CC
13122 ac_exeext=".exe"
13123 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13125 /* end confdefs.h. */
13127 /* Override any GCC internal prototype to avoid an error.
13128 Use char because int might match the return type of a GCC
13129 builtin and then its argument prototype would still apply. */
13130 char vkd3d_shader_serialize_dxbc ();
13132 main (void)
13134 return vkd3d_shader_serialize_dxbc ();
13136 return 0;
13138 _ACEOF
13139 if ac_fn_c_try_link "$LINENO"
13140 then :
13141 ac_cv_mingw_lib_vkd3d_shader=yes
13142 else $as_nop
13143 ac_cv_mingw_lib_vkd3d_shader=no
13145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13146 conftest$ac_exeext conftest.$ac_ext
13147 CC=$ac_wine_check_headers_saved_cc
13148 ac_exeext=$ac_wine_check_headers_saved_exeext
13149 LIBS=$ac_wine_check_headers_saved_libs
13151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13152 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13153 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13154 then :
13156 else $as_nop
13159 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13160 then
13161 VKD3D_PE_CFLAGS=""
13162 VKD3D_PE_LIBS=""
13164 else
13165 VKD3D_PE_CFLAGS=""
13166 VKD3D_PE_LIBS=""
13168 CPPFLAGS=$ac_save_CPPFLAGS
13170 if test "x$VKD3D_PE_LIBS" = "x"
13171 then
13172 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13175 if ${ZLIB_PE_CFLAGS:+false} :
13176 then :
13177 if test ${MINGW_PKG_CONFIG+y}
13178 then :
13179 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13182 if ${ZLIB_PE_LIBS:+false} :
13183 then :
13184 if test ${MINGW_PKG_CONFIG+y}
13185 then :
13186 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13189 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13190 ac_save_CPPFLAGS=$CPPFLAGS
13191 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13193 printf %s "checking for MinGW zlib.h... " >&6; }
13194 if test ${ac_cv_mingw_header_zlib_h+y}
13195 then :
13196 printf %s "(cached) " >&6
13197 else $as_nop
13198 ac_wine_check_headers_saved_cc=$CC
13199 ac_wine_check_headers_saved_exeext=$ac_exeext
13200 eval CC=\$${wine_arch}_CC
13201 ac_exeext=".exe"
13202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13203 /* end confdefs.h. */
13205 #include <zlib.h>
13207 main (void)
13211 return 0;
13213 _ACEOF
13214 if ac_fn_c_try_compile "$LINENO"
13215 then :
13216 ac_cv_mingw_header_zlib_h=yes
13217 else $as_nop
13218 ac_cv_mingw_header_zlib_h=no
13220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13221 CC=$ac_wine_check_headers_saved_cc
13222 ac_exeext=$ac_wine_check_headers_saved_exeext
13224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13225 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13226 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13227 then :
13228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13229 printf %s "checking for inflate in MinGW -lz... " >&6; }
13230 if test ${ac_cv_mingw_lib_z+y}
13231 then :
13232 printf %s "(cached) " >&6
13233 else $as_nop
13234 ac_wine_check_headers_saved_cc=$CC
13235 ac_wine_check_headers_saved_exeext=$ac_exeext
13236 ac_wine_check_headers_saved_libs=$LIBS
13237 eval CC=\$${wine_arch}_CC
13238 ac_exeext=".exe"
13239 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13243 /* Override any GCC internal prototype to avoid an error.
13244 Use char because int might match the return type of a GCC
13245 builtin and then its argument prototype would still apply. */
13246 char inflate ();
13248 main (void)
13250 return inflate ();
13252 return 0;
13254 _ACEOF
13255 if ac_fn_c_try_link "$LINENO"
13256 then :
13257 ac_cv_mingw_lib_z=yes
13258 else $as_nop
13259 ac_cv_mingw_lib_z=no
13261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13262 conftest$ac_exeext conftest.$ac_ext
13263 CC=$ac_wine_check_headers_saved_cc
13264 ac_exeext=$ac_wine_check_headers_saved_exeext
13265 LIBS=$ac_wine_check_headers_saved_libs
13267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13268 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13269 if test "x$ac_cv_mingw_lib_z" = xyes
13270 then :
13272 else $as_nop
13273 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13275 else $as_nop
13276 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13278 CPPFLAGS=$ac_save_CPPFLAGS
13280 if test "x$ZLIB_PE_LIBS" = "x"
13281 then
13282 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13286 if ${FAUDIO_PE_LIBS:+false} :
13287 then :
13288 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13289 if ${FAUDIO_PE_CFLAGS:+false} :
13290 then :
13291 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13292 else $as_nop
13293 enable_faudio=no
13295 else $as_nop
13296 enable_faudio=no
13298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13301 if ${FLUIDSYNTH_PE_LIBS:+false} :
13302 then :
13303 FLUIDSYNTH_PE_LIBS="fluidsynth"
13304 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13305 then :
13306 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13307 else $as_nop
13308 enable_fluidsynth=no
13310 else $as_nop
13311 enable_fluidsynth=no
13313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13316 if ${GSM_PE_LIBS:+false} :
13317 then :
13318 GSM_PE_LIBS=gsm
13319 if ${GSM_PE_CFLAGS:+false} :
13320 then :
13321 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13322 else $as_nop
13323 enable_gsm=no
13325 else $as_nop
13326 enable_gsm=no
13328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13331 if ${JPEG_PE_LIBS:+false} :
13332 then :
13333 JPEG_PE_LIBS=jpeg
13334 if ${JPEG_PE_CFLAGS:+false} :
13335 then :
13336 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13337 else $as_nop
13338 enable_jpeg=no
13340 else $as_nop
13341 enable_jpeg=no
13343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13346 if ${JXR_PE_LIBS:+false} :
13347 then :
13348 JXR_PE_LIBS=jxr
13349 if ${JXR_PE_CFLAGS:+false} :
13350 then :
13351 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13352 else $as_nop
13353 enable_jxr=no
13355 else $as_nop
13356 enable_jxr=no
13358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13361 if ${LCMS2_PE_LIBS:+false} :
13362 then :
13363 LCMS2_PE_LIBS=lcms2
13364 if ${LCMS2_PE_CFLAGS:+false} :
13365 then :
13366 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13367 else $as_nop
13368 enable_lcms2=no
13370 else $as_nop
13371 enable_lcms2=no
13373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13376 if ${LDAP_PE_LIBS:+false} :
13377 then :
13378 LDAP_PE_LIBS=ldap
13379 if ${LDAP_PE_CFLAGS:+false} :
13380 then :
13381 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13382 else $as_nop
13383 enable_ldap=no
13385 else $as_nop
13386 enable_ldap=no
13388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13391 if ${MPG123_PE_LIBS:+false} :
13392 then :
13393 MPG123_PE_LIBS=mpg123
13394 if ${MPG123_PE_CFLAGS:+false} :
13395 then :
13396 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13397 else $as_nop
13398 enable_mpg123=no
13400 else $as_nop
13401 enable_mpg123=no
13403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13406 if ${MUSL_PE_LIBS:+false} :
13407 then :
13408 MUSL_PE_LIBS=musl
13409 if ${MUSL_PE_CFLAGS:+false} :
13410 then :
13411 MUSL_PE_CFLAGS=
13412 else $as_nop
13413 enable_musl=no
13415 else $as_nop
13416 enable_musl=no
13418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13421 if ${PNG_PE_LIBS:+false} :
13422 then :
13423 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13424 if ${PNG_PE_CFLAGS:+false} :
13425 then :
13426 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13427 else $as_nop
13428 enable_png=no
13430 else $as_nop
13431 enable_png=no
13433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13436 if ${TIFF_PE_LIBS:+false} :
13437 then :
13438 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13439 if ${TIFF_PE_CFLAGS:+false} :
13440 then :
13441 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13442 else $as_nop
13443 enable_tiff=no
13445 else $as_nop
13446 enable_tiff=no
13448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13451 if ${VKD3D_PE_LIBS:+false} :
13452 then :
13453 VKD3D_PE_LIBS=vkd3d
13454 if ${VKD3D_PE_CFLAGS:+false} :
13455 then :
13456 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13457 else $as_nop
13458 enable_vkd3d=no
13460 else $as_nop
13461 enable_vkd3d=no
13463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13466 if ${XML2_PE_LIBS:+false} :
13467 then :
13468 XML2_PE_LIBS=xml2
13469 if ${XML2_PE_CFLAGS:+false} :
13470 then :
13471 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13472 else $as_nop
13473 enable_xml2=no
13475 else $as_nop
13476 enable_xml2=no
13478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13481 if ${XSLT_PE_LIBS:+false} :
13482 then :
13483 XSLT_PE_LIBS=xslt
13484 if ${XSLT_PE_CFLAGS:+false} :
13485 then :
13486 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13487 else $as_nop
13488 enable_xslt=no
13490 else $as_nop
13491 enable_xslt=no
13493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13496 if ${ZLIB_PE_LIBS:+false} :
13497 then :
13498 ZLIB_PE_LIBS=z
13499 if ${ZLIB_PE_CFLAGS:+false} :
13500 then :
13501 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13502 else $as_nop
13503 enable_zlib=no
13505 else $as_nop
13506 enable_zlib=no
13508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13511 if ${ZYDIS_PE_LIBS:+false} :
13512 then :
13513 ZYDIS_PE_LIBS=zydis
13514 if ${ZYDIS_PE_CFLAGS:+false} :
13515 then :
13516 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13517 else $as_nop
13518 enable_zydis=no
13520 else $as_nop
13521 enable_zydis=no
13523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13528 if test "x$with_pthread" = xno
13529 then :
13531 else $as_nop
13532 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13533 if test "x$ac_cv_func_pthread_create" = xyes
13534 then :
13536 else $as_nop
13537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13538 printf %s "checking for pthread_create in -lpthread... " >&6; }
13539 if test ${ac_cv_lib_pthread_pthread_create+y}
13540 then :
13541 printf %s "(cached) " >&6
13542 else $as_nop
13543 ac_check_lib_save_LIBS=$LIBS
13544 LIBS="-lpthread $LIBS"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13551 char pthread_create ();
13553 main (void)
13555 return pthread_create ();
13557 return 0;
13559 _ACEOF
13560 if ac_fn_c_try_link "$LINENO"
13561 then :
13562 ac_cv_lib_pthread_pthread_create=yes
13563 else $as_nop
13564 ac_cv_lib_pthread_pthread_create=no
13566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13567 conftest$ac_exeext conftest.$ac_ext
13568 LIBS=$ac_check_lib_save_LIBS
13570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13571 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13572 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13573 then :
13574 PTHREAD_LIBS="-lpthread"
13581 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13582 then :
13583 case "x$with_pthread" in
13584 xno) ;;
13585 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13586 Wine cannot support threads without libpthread.
13587 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13588 esac
13593 ac_ext=c
13594 ac_cpp='$CPP $CPPFLAGS'
13595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13599 printf %s "checking how to run the C preprocessor... " >&6; }
13600 # On Suns, sometimes $CPP names a directory.
13601 if test -n "$CPP" && test -d "$CPP"; then
13602 CPP=
13604 if test -z "$CPP"; then
13605 if test ${ac_cv_prog_CPP+y}
13606 then :
13607 printf %s "(cached) " >&6
13608 else $as_nop
13609 # Double quotes because $CC needs to be expanded
13610 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13612 ac_preproc_ok=false
13613 for ac_c_preproc_warn_flag in '' yes
13615 # Use a header file that comes with gcc, so configuring glibc
13616 # with a fresh cross-compiler works.
13617 # On the NeXT, cc -E runs the code through the compiler's parser,
13618 # not just through cpp. "Syntax error" is here to catch this case.
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 #include <limits.h>
13622 Syntax error
13623 _ACEOF
13624 if ac_fn_c_try_cpp "$LINENO"
13625 then :
13627 else $as_nop
13628 # Broken: fails on valid input.
13629 continue
13631 rm -f conftest.err conftest.i conftest.$ac_ext
13633 # OK, works on sane cases. Now check whether nonexistent headers
13634 # can be detected and how.
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 #include <ac_nonexistent.h>
13638 _ACEOF
13639 if ac_fn_c_try_cpp "$LINENO"
13640 then :
13641 # Broken: success on invalid input.
13642 continue
13643 else $as_nop
13644 # Passes both tests.
13645 ac_preproc_ok=:
13646 break
13648 rm -f conftest.err conftest.i conftest.$ac_ext
13650 done
13651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13652 rm -f conftest.i conftest.err conftest.$ac_ext
13653 if $ac_preproc_ok
13654 then :
13655 break
13658 done
13659 ac_cv_prog_CPP=$CPP
13662 CPP=$ac_cv_prog_CPP
13663 else
13664 ac_cv_prog_CPP=$CPP
13666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13667 printf "%s\n" "$CPP" >&6; }
13668 ac_preproc_ok=false
13669 for ac_c_preproc_warn_flag in '' yes
13671 # Use a header file that comes with gcc, so configuring glibc
13672 # with a fresh cross-compiler works.
13673 # On the NeXT, cc -E runs the code through the compiler's parser,
13674 # not just through cpp. "Syntax error" is here to catch this case.
13675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13677 #include <limits.h>
13678 Syntax error
13679 _ACEOF
13680 if ac_fn_c_try_cpp "$LINENO"
13681 then :
13683 else $as_nop
13684 # Broken: fails on valid input.
13685 continue
13687 rm -f conftest.err conftest.i conftest.$ac_ext
13689 # OK, works on sane cases. Now check whether nonexistent headers
13690 # can be detected and how.
13691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13693 #include <ac_nonexistent.h>
13694 _ACEOF
13695 if ac_fn_c_try_cpp "$LINENO"
13696 then :
13697 # Broken: success on invalid input.
13698 continue
13699 else $as_nop
13700 # Passes both tests.
13701 ac_preproc_ok=:
13702 break
13704 rm -f conftest.err conftest.i conftest.$ac_ext
13706 done
13707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13708 rm -f conftest.i conftest.err conftest.$ac_ext
13709 if $ac_preproc_ok
13710 then :
13712 else $as_nop
13713 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13714 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13715 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13716 See \`config.log' for more details" "$LINENO" 5; }
13719 ac_ext=c
13720 ac_cpp='$CPP $CPPFLAGS'
13721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13727 printf %s "checking for X... " >&6; }
13730 # Check whether --with-x was given.
13731 if test ${with_x+y}
13732 then :
13733 withval=$with_x;
13736 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13737 if test "x$with_x" = xno; then
13738 # The user explicitly disabled X.
13739 have_x=disabled
13740 else
13741 case $x_includes,$x_libraries in #(
13742 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13743 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13744 then :
13745 printf %s "(cached) " >&6
13746 else $as_nop
13747 # One or both of the vars are not set, and there is no cached value.
13748 ac_x_includes=no
13749 ac_x_libraries=no
13750 # Do we need to do anything special at all?
13751 ac_save_LIBS=$LIBS
13752 LIBS="-lX11 $LIBS"
13753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13755 #include <X11/Xlib.h>
13757 main (void)
13759 XrmInitialize ()
13761 return 0;
13763 _ACEOF
13764 if ac_fn_c_try_link "$LINENO"
13765 then :
13766 # We can compile and link X programs with no special options.
13767 ac_x_includes=
13768 ac_x_libraries=
13770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13771 conftest$ac_exeext conftest.$ac_ext
13772 LIBS="$ac_save_LIBS"
13773 # If that didn't work, only try xmkmf and file system searches
13774 # for native compilation.
13775 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13776 then :
13777 rm -f -r conftest.dir
13778 if mkdir conftest.dir; then
13779 cd conftest.dir
13780 cat >Imakefile <<'_ACEOF'
13781 incroot:
13782 @echo incroot='${INCROOT}'
13783 usrlibdir:
13784 @echo usrlibdir='${USRLIBDIR}'
13785 libdir:
13786 @echo libdir='${LIBDIR}'
13787 _ACEOF
13788 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13789 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13790 for ac_var in incroot usrlibdir libdir; do
13791 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13792 done
13793 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13794 for ac_extension in a so sl dylib la dll; do
13795 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13796 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13797 ac_im_usrlibdir=$ac_im_libdir; break
13799 done
13800 # Screen out bogus values from the imake configuration. They are
13801 # bogus both because they are the default anyway, and because
13802 # using them would break gcc on systems where it needs fixed includes.
13803 case $ac_im_incroot in
13804 /usr/include) ac_x_includes= ;;
13805 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13806 esac
13807 case $ac_im_usrlibdir in
13808 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13809 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13810 esac
13812 cd ..
13813 rm -f -r conftest.dir
13816 # Standard set of common directories for X headers.
13817 # Check X11 before X11Rn because it is often a symlink to the current release.
13818 ac_x_header_dirs='
13819 /usr/X11/include
13820 /usr/X11R7/include
13821 /usr/X11R6/include
13822 /usr/X11R5/include
13823 /usr/X11R4/include
13825 /usr/include/X11
13826 /usr/include/X11R7
13827 /usr/include/X11R6
13828 /usr/include/X11R5
13829 /usr/include/X11R4
13831 /usr/local/X11/include
13832 /usr/local/X11R7/include
13833 /usr/local/X11R6/include
13834 /usr/local/X11R5/include
13835 /usr/local/X11R4/include
13837 /usr/local/include/X11
13838 /usr/local/include/X11R7
13839 /usr/local/include/X11R6
13840 /usr/local/include/X11R5
13841 /usr/local/include/X11R4
13843 /opt/X11/include
13845 /usr/X386/include
13846 /usr/x386/include
13847 /usr/XFree86/include/X11
13849 /usr/include
13850 /usr/local/include
13851 /usr/unsupported/include
13852 /usr/athena/include
13853 /usr/local/x11r5/include
13854 /usr/lpp/Xamples/include
13856 /usr/openwin/include
13857 /usr/openwin/share/include'
13859 if test "$ac_x_includes" = no; then
13860 # Guess where to find include files, by looking for Xlib.h.
13861 # First, try using that file with no special directory specified.
13862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13863 /* end confdefs.h. */
13864 #include <X11/Xlib.h>
13865 _ACEOF
13866 if ac_fn_c_try_cpp "$LINENO"
13867 then :
13868 # We can compile using X headers with no special include directory.
13869 ac_x_includes=
13870 else $as_nop
13871 for ac_dir in $ac_x_header_dirs; do
13872 if test -r "$ac_dir/X11/Xlib.h"; then
13873 ac_x_includes=$ac_dir
13874 break
13876 done
13878 rm -f conftest.err conftest.i conftest.$ac_ext
13879 fi # $ac_x_includes = no
13881 if test "$ac_x_libraries" = no; then
13882 # Check for the libraries.
13883 # See if we find them without any special options.
13884 # Don't add to $LIBS permanently.
13885 ac_save_LIBS=$LIBS
13886 LIBS="-lX11 $LIBS"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 #include <X11/Xlib.h>
13891 main (void)
13893 XrmInitialize ()
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"
13899 then :
13900 LIBS=$ac_save_LIBS
13901 # We can link X programs with no special library path.
13902 ac_x_libraries=
13903 else $as_nop
13904 LIBS=$ac_save_LIBS
13905 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13907 # Don't even attempt the hair of trying to link an X program!
13908 for ac_extension in a so sl dylib la dll; do
13909 if test -r "$ac_dir/libX11.$ac_extension"; then
13910 ac_x_libraries=$ac_dir
13911 break 2
13913 done
13914 done
13916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13917 conftest$ac_exeext conftest.$ac_ext
13918 fi # $ac_x_libraries = no
13921 # Record the results.
13922 case $ac_x_includes,$ac_x_libraries in #(
13923 no,* | *,no | *\'*) :
13924 # Didn't find X, or a directory has "'" in its name.
13925 ac_cv_have_x="have_x=no" ;; #(
13926 *) :
13927 # Record where we found X for the cache.
13928 ac_cv_have_x="have_x=yes\
13929 ac_x_includes='$ac_x_includes'\
13930 ac_x_libraries='$ac_x_libraries'" ;;
13931 esac
13933 ;; #(
13934 *) have_x=yes;;
13935 esac
13936 eval "$ac_cv_have_x"
13937 fi # $with_x != no
13939 if test "$have_x" != yes; then
13940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13941 printf "%s\n" "$have_x" >&6; }
13942 no_x=yes
13943 else
13944 # If each of the values was on the command line, it overrides each guess.
13945 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13946 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13947 # Update the cache value to reflect the command line values.
13948 ac_cv_have_x="have_x=yes\
13949 ac_x_includes='$x_includes'\
13950 ac_x_libraries='$x_libraries'"
13951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13952 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13955 if test "$no_x" = yes; then
13956 # Not all programs may use this symbol, but it does not hurt to define it.
13958 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13960 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13961 else
13962 if test -n "$x_includes"; then
13963 X_CFLAGS="$X_CFLAGS -I$x_includes"
13966 # It would also be nice to do this for all -L options, not just this one.
13967 if test -n "$x_libraries"; then
13968 X_LIBS="$X_LIBS -L$x_libraries"
13969 # For Solaris; some versions of Sun CC require a space after -R and
13970 # others require no space. Words are not sufficient . . . .
13971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13972 printf %s "checking whether -R must be followed by a space... " >&6; }
13973 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13974 ac_xsave_c_werror_flag=$ac_c_werror_flag
13975 ac_c_werror_flag=yes
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13980 main (void)
13984 return 0;
13986 _ACEOF
13987 if ac_fn_c_try_link "$LINENO"
13988 then :
13989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13990 printf "%s\n" "no" >&6; }
13991 X_LIBS="$X_LIBS -R$x_libraries"
13992 else $as_nop
13993 LIBS="$ac_xsave_LIBS -R $x_libraries"
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13998 main (void)
14002 return 0;
14004 _ACEOF
14005 if ac_fn_c_try_link "$LINENO"
14006 then :
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14008 printf "%s\n" "yes" >&6; }
14009 X_LIBS="$X_LIBS -R $x_libraries"
14010 else $as_nop
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14012 printf "%s\n" "neither works" >&6; }
14014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14015 conftest$ac_exeext conftest.$ac_ext
14017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14018 conftest$ac_exeext conftest.$ac_ext
14019 ac_c_werror_flag=$ac_xsave_c_werror_flag
14020 LIBS=$ac_xsave_LIBS
14023 # Check for system-dependent libraries X programs must link with.
14024 # Do this before checking for the system-independent R6 libraries
14025 # (-lICE), since we may need -lsocket or whatever for X linking.
14027 if test "$ISC" = yes; then
14028 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14029 else
14030 # Martyn Johnson says this is needed for Ultrix, if the X
14031 # libraries were built with DECnet support. And Karl Berry says
14032 # the Alpha needs dnet_stub (dnet does not exist).
14033 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14037 /* Override any GCC internal prototype to avoid an error.
14038 Use char because int might match the return type of a GCC
14039 builtin and then its argument prototype would still apply. */
14040 char XOpenDisplay ();
14042 main (void)
14044 return XOpenDisplay ();
14046 return 0;
14048 _ACEOF
14049 if ac_fn_c_try_link "$LINENO"
14050 then :
14052 else $as_nop
14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14054 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14055 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14056 then :
14057 printf %s "(cached) " >&6
14058 else $as_nop
14059 ac_check_lib_save_LIBS=$LIBS
14060 LIBS="-ldnet $LIBS"
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14064 /* Override any GCC internal prototype to avoid an error.
14065 Use char because int might match the return type of a GCC
14066 builtin and then its argument prototype would still apply. */
14067 char dnet_ntoa ();
14069 main (void)
14071 return dnet_ntoa ();
14073 return 0;
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"
14077 then :
14078 ac_cv_lib_dnet_dnet_ntoa=yes
14079 else $as_nop
14080 ac_cv_lib_dnet_dnet_ntoa=no
14082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14083 conftest$ac_exeext conftest.$ac_ext
14084 LIBS=$ac_check_lib_save_LIBS
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14087 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14088 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14089 then :
14090 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14093 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14095 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14096 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14097 then :
14098 printf %s "(cached) " >&6
14099 else $as_nop
14100 ac_check_lib_save_LIBS=$LIBS
14101 LIBS="-ldnet_stub $LIBS"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14108 char dnet_ntoa ();
14110 main (void)
14112 return dnet_ntoa ();
14114 return 0;
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"
14118 then :
14119 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14120 else $as_nop
14121 ac_cv_lib_dnet_stub_dnet_ntoa=no
14123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14124 conftest$ac_exeext conftest.$ac_ext
14125 LIBS=$ac_check_lib_save_LIBS
14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14128 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14129 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14130 then :
14131 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS="$ac_xsave_LIBS"
14140 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14141 # to get the SysV transport functions.
14142 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14143 # needs -lnsl.
14144 # The nsl library prevents programs from opening the X display
14145 # on Irix 5.2, according to T.E. Dickey.
14146 # The functions gethostbyname, getservbyname, and inet_addr are
14147 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14148 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14149 if test "x$ac_cv_func_gethostbyname" = xyes
14150 then :
14154 if test $ac_cv_func_gethostbyname = no; then
14155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14156 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14157 if test ${ac_cv_lib_nsl_gethostbyname+y}
14158 then :
14159 printf %s "(cached) " >&6
14160 else $as_nop
14161 ac_check_lib_save_LIBS=$LIBS
14162 LIBS="-lnsl $LIBS"
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14166 /* Override any GCC internal prototype to avoid an error.
14167 Use char because int might match the return type of a GCC
14168 builtin and then its argument prototype would still apply. */
14169 char gethostbyname ();
14171 main (void)
14173 return gethostbyname ();
14175 return 0;
14177 _ACEOF
14178 if ac_fn_c_try_link "$LINENO"
14179 then :
14180 ac_cv_lib_nsl_gethostbyname=yes
14181 else $as_nop
14182 ac_cv_lib_nsl_gethostbyname=no
14184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14185 conftest$ac_exeext conftest.$ac_ext
14186 LIBS=$ac_check_lib_save_LIBS
14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14189 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14190 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14191 then :
14192 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14195 if test $ac_cv_lib_nsl_gethostbyname = no; then
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14197 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14198 if test ${ac_cv_lib_bsd_gethostbyname+y}
14199 then :
14200 printf %s "(cached) " >&6
14201 else $as_nop
14202 ac_check_lib_save_LIBS=$LIBS
14203 LIBS="-lbsd $LIBS"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14207 /* Override any GCC internal prototype to avoid an error.
14208 Use char because int might match the return type of a GCC
14209 builtin and then its argument prototype would still apply. */
14210 char gethostbyname ();
14212 main (void)
14214 return gethostbyname ();
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"
14220 then :
14221 ac_cv_lib_bsd_gethostbyname=yes
14222 else $as_nop
14223 ac_cv_lib_bsd_gethostbyname=no
14225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14226 conftest$ac_exeext conftest.$ac_ext
14227 LIBS=$ac_check_lib_save_LIBS
14229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14230 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14231 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14232 then :
14233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14239 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14240 # socket/setsockopt and other routines are undefined under SCO ODT
14241 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14242 # on later versions), says Simon Leinen: it contains gethostby*
14243 # variants that don't use the name server (or something). -lsocket
14244 # must be given before -lnsl if both are needed. We assume that
14245 # if connect needs -lnsl, so does gethostbyname.
14246 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14247 if test "x$ac_cv_func_connect" = xyes
14248 then :
14252 if test $ac_cv_func_connect = no; then
14253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14254 printf %s "checking for connect in -lsocket... " >&6; }
14255 if test ${ac_cv_lib_socket_connect+y}
14256 then :
14257 printf %s "(cached) " >&6
14258 else $as_nop
14259 ac_check_lib_save_LIBS=$LIBS
14260 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14264 /* Override any GCC internal prototype to avoid an error.
14265 Use char because int might match the return type of a GCC
14266 builtin and then its argument prototype would still apply. */
14267 char connect ();
14269 main (void)
14271 return connect ();
14273 return 0;
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"
14277 then :
14278 ac_cv_lib_socket_connect=yes
14279 else $as_nop
14280 ac_cv_lib_socket_connect=no
14282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14283 conftest$ac_exeext conftest.$ac_ext
14284 LIBS=$ac_check_lib_save_LIBS
14286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14287 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14288 if test "x$ac_cv_lib_socket_connect" = xyes
14289 then :
14290 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14295 # Guillermo Gomez says -lposix is necessary on A/UX.
14296 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14297 if test "x$ac_cv_func_remove" = xyes
14298 then :
14302 if test $ac_cv_func_remove = no; then
14303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14304 printf %s "checking for remove in -lposix... " >&6; }
14305 if test ${ac_cv_lib_posix_remove+y}
14306 then :
14307 printf %s "(cached) " >&6
14308 else $as_nop
14309 ac_check_lib_save_LIBS=$LIBS
14310 LIBS="-lposix $LIBS"
14311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14314 /* Override any GCC internal prototype to avoid an error.
14315 Use char because int might match the return type of a GCC
14316 builtin and then its argument prototype would still apply. */
14317 char remove ();
14319 main (void)
14321 return remove ();
14323 return 0;
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"
14327 then :
14328 ac_cv_lib_posix_remove=yes
14329 else $as_nop
14330 ac_cv_lib_posix_remove=no
14332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14333 conftest$ac_exeext conftest.$ac_ext
14334 LIBS=$ac_check_lib_save_LIBS
14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14337 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14338 if test "x$ac_cv_lib_posix_remove" = xyes
14339 then :
14340 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14345 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14346 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14347 if test "x$ac_cv_func_shmat" = xyes
14348 then :
14352 if test $ac_cv_func_shmat = no; then
14353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14354 printf %s "checking for shmat in -lipc... " >&6; }
14355 if test ${ac_cv_lib_ipc_shmat+y}
14356 then :
14357 printf %s "(cached) " >&6
14358 else $as_nop
14359 ac_check_lib_save_LIBS=$LIBS
14360 LIBS="-lipc $LIBS"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14364 /* Override any GCC internal prototype to avoid an error.
14365 Use char because int might match the return type of a GCC
14366 builtin and then its argument prototype would still apply. */
14367 char shmat ();
14369 main (void)
14371 return shmat ();
14373 return 0;
14375 _ACEOF
14376 if ac_fn_c_try_link "$LINENO"
14377 then :
14378 ac_cv_lib_ipc_shmat=yes
14379 else $as_nop
14380 ac_cv_lib_ipc_shmat=no
14382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14383 conftest$ac_exeext conftest.$ac_ext
14384 LIBS=$ac_check_lib_save_LIBS
14386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14387 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14388 if test "x$ac_cv_lib_ipc_shmat" = xyes
14389 then :
14390 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14396 # Check for libraries that X11R6 Xt/Xaw programs need.
14397 ac_save_LDFLAGS=$LDFLAGS
14398 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14399 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14400 # check for ICE first), but we must link in the order -lSM -lICE or
14401 # we get undefined symbols. So assume we have SM if we have ICE.
14402 # These have to be linked with before -lX11, unlike the other
14403 # libraries we check for below, so use a different variable.
14404 # John Interrante, Karl Berry
14405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14406 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14407 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14408 then :
14409 printf %s "(cached) " >&6
14410 else $as_nop
14411 ac_check_lib_save_LIBS=$LIBS
14412 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14416 /* Override any GCC internal prototype to avoid an error.
14417 Use char because int might match the return type of a GCC
14418 builtin and then its argument prototype would still apply. */
14419 char IceConnectionNumber ();
14421 main (void)
14423 return IceConnectionNumber ();
14425 return 0;
14427 _ACEOF
14428 if ac_fn_c_try_link "$LINENO"
14429 then :
14430 ac_cv_lib_ICE_IceConnectionNumber=yes
14431 else $as_nop
14432 ac_cv_lib_ICE_IceConnectionNumber=no
14434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14435 conftest$ac_exeext conftest.$ac_ext
14436 LIBS=$ac_check_lib_save_LIBS
14438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14439 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14440 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14441 then :
14442 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14445 LDFLAGS=$ac_save_LDFLAGS
14450 if test "$have_x" = "yes"
14451 then
14452 ac_save_CPPFLAGS="$CPPFLAGS"
14453 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14456 printf %s "checking for -lX11... " >&6; }
14457 if test ${ac_cv_lib_soname_X11+y}
14458 then :
14459 printf %s "(cached) " >&6
14460 else $as_nop
14461 ac_check_soname_save_LIBS=$LIBS
14462 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14466 /* Override any GCC internal prototype to avoid an error.
14467 Use char because int might match the return type of a GCC
14468 builtin and then its argument prototype would still apply. */
14469 char XCreateWindow ();
14471 main (void)
14473 return XCreateWindow ();
14475 return 0;
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"
14479 then :
14480 case "$LIBEXT" in
14481 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14482 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'` ;;
14483 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14484 if ${ac_cv_lib_soname_X11:+false} :
14485 then :
14486 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14487 fi ;;
14488 esac
14489 else $as_nop
14490 ac_cv_lib_soname_X11=
14492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14493 conftest$ac_exeext conftest.$ac_ext
14494 LIBS=$ac_check_soname_save_LIBS
14496 if ${ac_cv_lib_soname_X11:+false} :
14497 then :
14498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14499 printf "%s\n" "not found" >&6; }
14501 else $as_nop
14502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14503 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14505 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14510 printf %s "checking for -lXext... " >&6; }
14511 if test ${ac_cv_lib_soname_Xext+y}
14512 then :
14513 printf %s "(cached) " >&6
14514 else $as_nop
14515 ac_check_soname_save_LIBS=$LIBS
14516 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14520 /* Override any GCC internal prototype to avoid an error.
14521 Use char because int might match the return type of a GCC
14522 builtin and then its argument prototype would still apply. */
14523 char XextCreateExtension ();
14525 main (void)
14527 return XextCreateExtension ();
14529 return 0;
14531 _ACEOF
14532 if ac_fn_c_try_link "$LINENO"
14533 then :
14534 case "$LIBEXT" in
14535 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14536 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'` ;;
14537 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14538 if ${ac_cv_lib_soname_Xext:+false} :
14539 then :
14540 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14541 fi ;;
14542 esac
14543 else $as_nop
14544 ac_cv_lib_soname_Xext=
14546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14547 conftest$ac_exeext conftest.$ac_ext
14548 LIBS=$ac_check_soname_save_LIBS
14550 if ${ac_cv_lib_soname_Xext:+false} :
14551 then :
14552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14553 printf "%s\n" "not found" >&6; }
14555 else $as_nop
14556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14557 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14559 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14561 X_LIBS="$X_LIBS -lXext"
14563 X_LIBS="$X_LIBS -lX11"
14565 xlib_includes="#include <X11/Xlib.h>
14566 #include <X11/Xutil.h>"
14568 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14570 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14571 then :
14572 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14575 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14577 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14578 then :
14579 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14582 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14584 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14585 then :
14586 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14589 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14591 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14592 then :
14593 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14596 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14598 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14599 then :
14600 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14603 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14605 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14606 then :
14607 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14610 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14612 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14613 then :
14614 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14617 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14619 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14620 then :
14621 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14624 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14626 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14627 then :
14628 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14633 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14635 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14636 then :
14637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14638 printf %s "checking for -lXcursor... " >&6; }
14639 if test ${ac_cv_lib_soname_Xcursor+y}
14640 then :
14641 printf %s "(cached) " >&6
14642 else $as_nop
14643 ac_check_soname_save_LIBS=$LIBS
14644 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14648 /* Override any GCC internal prototype to avoid an error.
14649 Use char because int might match the return type of a GCC
14650 builtin and then its argument prototype would still apply. */
14651 char XcursorImageLoadCursor ();
14653 main (void)
14655 return XcursorImageLoadCursor ();
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"
14661 then :
14662 case "$LIBEXT" in
14663 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14664 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'` ;;
14665 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14666 if ${ac_cv_lib_soname_Xcursor:+false} :
14667 then :
14668 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14669 fi ;;
14670 esac
14671 else $as_nop
14672 ac_cv_lib_soname_Xcursor=
14674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_check_soname_save_LIBS
14678 if ${ac_cv_lib_soname_Xcursor:+false} :
14679 then :
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14681 printf "%s\n" "not found" >&6; }
14683 else $as_nop
14684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14685 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14687 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14693 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14694 then :
14695 case "x$with_xcursor" in
14696 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14697 xno) ;;
14698 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14699 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14700 esac
14704 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14706 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14707 then :
14708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14709 printf %s "checking for -lXi... " >&6; }
14710 if test ${ac_cv_lib_soname_Xi+y}
14711 then :
14712 printf %s "(cached) " >&6
14713 else $as_nop
14714 ac_check_soname_save_LIBS=$LIBS
14715 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14719 /* Override any GCC internal prototype to avoid an error.
14720 Use char because int might match the return type of a GCC
14721 builtin and then its argument prototype would still apply. */
14722 char XOpenDevice ();
14724 main (void)
14726 return XOpenDevice ();
14728 return 0;
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"
14732 then :
14733 case "$LIBEXT" in
14734 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14735 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'` ;;
14736 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14737 if ${ac_cv_lib_soname_Xi:+false} :
14738 then :
14739 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14740 fi ;;
14741 esac
14742 else $as_nop
14743 ac_cv_lib_soname_Xi=
14745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14746 conftest$ac_exeext conftest.$ac_ext
14747 LIBS=$ac_check_soname_save_LIBS
14749 if ${ac_cv_lib_soname_Xi:+false} :
14750 then :
14751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14752 printf "%s\n" "not found" >&6; }
14754 else $as_nop
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14756 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14758 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14764 if test "x$ac_cv_lib_soname_Xi" = "x"
14765 then :
14766 case "x$with_xinput" in
14767 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14768 xno) ;;
14769 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14770 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14771 esac
14775 if test "x$ac_cv_lib_soname_Xi" != x
14776 then
14777 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14778 then :
14779 case "x$with_xinput2" in
14780 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14781 xno) ;;
14782 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14783 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14784 esac
14789 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14790 then
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14792 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14793 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14794 then :
14795 printf %s "(cached) " >&6
14796 else $as_nop
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 char XShmQueryExtension ();
14807 main (void)
14809 return XShmQueryExtension ();
14811 return 0;
14813 _ACEOF
14814 if ac_fn_c_try_link "$LINENO"
14815 then :
14816 ac_cv_lib_Xext_XShmQueryExtension=yes
14817 else $as_nop
14818 ac_cv_lib_Xext_XShmQueryExtension=no
14820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_lib_save_LIBS
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14825 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14826 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14827 then :
14829 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14834 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14835 then :
14836 case "x$with_xshm" in
14837 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14838 xno) ;;
14839 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14840 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14841 esac
14845 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14846 then
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14848 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14849 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14850 then :
14851 printf %s "(cached) " >&6
14852 else $as_nop
14853 ac_check_lib_save_LIBS=$LIBS
14854 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14861 char XShapeQueryExtension ();
14863 main (void)
14865 return XShapeQueryExtension ();
14867 return 0;
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"
14871 then :
14872 ac_cv_lib_Xext_XShapeQueryExtension=yes
14873 else $as_nop
14874 ac_cv_lib_Xext_XShapeQueryExtension=no
14876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14877 conftest$ac_exeext conftest.$ac_ext
14878 LIBS=$ac_check_lib_save_LIBS
14880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14881 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14882 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14883 then :
14885 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14890 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14891 then :
14892 case "x$with_xshape" in
14893 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14894 xno) ;;
14895 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14896 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14897 esac
14901 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14902 then
14903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14904 printf %s "checking for -lXxf86vm... " >&6; }
14905 if test ${ac_cv_lib_soname_Xxf86vm+y}
14906 then :
14907 printf %s "(cached) " >&6
14908 else $as_nop
14909 ac_check_soname_save_LIBS=$LIBS
14910 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14914 /* Override any GCC internal prototype to avoid an error.
14915 Use char because int might match the return type of a GCC
14916 builtin and then its argument prototype would still apply. */
14917 char XF86VidModeQueryExtension ();
14919 main (void)
14921 return XF86VidModeQueryExtension ();
14923 return 0;
14925 _ACEOF
14926 if ac_fn_c_try_link "$LINENO"
14927 then :
14928 case "$LIBEXT" in
14929 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14930 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'` ;;
14931 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14932 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14933 then :
14934 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14935 fi ;;
14936 esac
14937 else $as_nop
14938 ac_cv_lib_soname_Xxf86vm=
14940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14941 conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_soname_save_LIBS
14944 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14945 then :
14946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14947 printf "%s\n" "not found" >&6; }
14949 else $as_nop
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14951 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14953 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14958 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14959 then :
14960 case "x$with_xxf86vm" in
14961 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14962 xno) ;;
14963 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14964 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14965 esac
14969 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14970 then
14971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14972 printf %s "checking for -lXrender... " >&6; }
14973 if test ${ac_cv_lib_soname_Xrender+y}
14974 then :
14975 printf %s "(cached) " >&6
14976 else $as_nop
14977 ac_check_soname_save_LIBS=$LIBS
14978 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14982 /* Override any GCC internal prototype to avoid an error.
14983 Use char because int might match the return type of a GCC
14984 builtin and then its argument prototype would still apply. */
14985 char XRenderQueryExtension ();
14987 main (void)
14989 return XRenderQueryExtension ();
14991 return 0;
14993 _ACEOF
14994 if ac_fn_c_try_link "$LINENO"
14995 then :
14996 case "$LIBEXT" in
14997 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14998 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'` ;;
14999 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15000 if ${ac_cv_lib_soname_Xrender:+false} :
15001 then :
15002 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15003 fi ;;
15004 esac
15005 else $as_nop
15006 ac_cv_lib_soname_Xrender=
15008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15009 conftest$ac_exeext conftest.$ac_ext
15010 LIBS=$ac_check_soname_save_LIBS
15012 if ${ac_cv_lib_soname_Xrender:+false} :
15013 then :
15014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15015 printf "%s\n" "not found" >&6; }
15017 else $as_nop
15018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15019 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15021 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15024 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15025 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15026 then :
15027 printf %s "(cached) " >&6
15028 else $as_nop
15029 ac_check_lib_save_LIBS=$LIBS
15030 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15034 /* Override any GCC internal prototype to avoid an error.
15035 Use char because int might match the return type of a GCC
15036 builtin and then its argument prototype would still apply. */
15037 char XRenderSetPictureTransform ();
15039 main (void)
15041 return XRenderSetPictureTransform ();
15043 return 0;
15045 _ACEOF
15046 if ac_fn_c_try_link "$LINENO"
15047 then :
15048 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15049 else $as_nop
15050 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15053 conftest$ac_exeext conftest.$ac_ext
15054 LIBS=$ac_check_lib_save_LIBS
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15057 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15058 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15059 then :
15061 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15066 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15067 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15068 then :
15069 printf %s "(cached) " >&6
15070 else $as_nop
15071 ac_check_lib_save_LIBS=$LIBS
15072 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15076 /* Override any GCC internal prototype to avoid an error.
15077 Use char because int might match the return type of a GCC
15078 builtin and then its argument prototype would still apply. */
15079 char XRenderCreateLinearGradient ();
15081 main (void)
15083 return XRenderCreateLinearGradient ();
15085 return 0;
15087 _ACEOF
15088 if ac_fn_c_try_link "$LINENO"
15089 then :
15090 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15091 else $as_nop
15092 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15095 conftest$ac_exeext conftest.$ac_ext
15096 LIBS=$ac_check_lib_save_LIBS
15098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15099 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15100 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15101 then :
15103 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15110 if test "x$ac_cv_lib_soname_Xrender" = "x"
15111 then :
15112 case "x$with_xrender" in
15113 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15114 xno) ;;
15115 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15116 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15117 esac
15121 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15122 then
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15125 #include <X11/Xlib.h>
15126 #include <X11/extensions/Xrandr.h>
15128 main (void)
15130 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_compile "$LINENO"
15136 then :
15137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15138 printf %s "checking for -lXrandr... " >&6; }
15139 if test ${ac_cv_lib_soname_Xrandr+y}
15140 then :
15141 printf %s "(cached) " >&6
15142 else $as_nop
15143 ac_check_soname_save_LIBS=$LIBS
15144 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15146 /* end confdefs.h. */
15148 /* Override any GCC internal prototype to avoid an error.
15149 Use char because int might match the return type of a GCC
15150 builtin and then its argument prototype would still apply. */
15151 char XRRQueryExtension ();
15153 main (void)
15155 return XRRQueryExtension ();
15157 return 0;
15159 _ACEOF
15160 if ac_fn_c_try_link "$LINENO"
15161 then :
15162 case "$LIBEXT" in
15163 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15164 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'` ;;
15165 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15166 if ${ac_cv_lib_soname_Xrandr:+false} :
15167 then :
15168 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15169 fi ;;
15170 esac
15171 else $as_nop
15172 ac_cv_lib_soname_Xrandr=
15174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15175 conftest$ac_exeext conftest.$ac_ext
15176 LIBS=$ac_check_soname_save_LIBS
15178 if ${ac_cv_lib_soname_Xrandr:+false} :
15179 then :
15180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15181 printf "%s\n" "not found" >&6; }
15183 else $as_nop
15184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15185 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15187 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15191 #include <X11/Xlib.h>
15192 #include <X11/extensions/Xrandr.h>
15194 main (void)
15196 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15198 return 0;
15200 _ACEOF
15201 if ac_fn_c_try_compile "$LINENO"
15202 then :
15204 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15206 else $as_nop
15207 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15214 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15215 then :
15216 case "x$with_xrandr" in
15217 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15218 xno) ;;
15219 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15220 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15221 esac
15225 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15226 then
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229 #include <X11/Xlib.h>
15230 #include <X11/extensions/Xfixes.h>
15232 main (void)
15234 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15236 return 0;
15238 _ACEOF
15239 if ac_fn_c_try_compile "$LINENO"
15240 then :
15241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15242 printf %s "checking for -lXfixes... " >&6; }
15243 if test ${ac_cv_lib_soname_Xfixes+y}
15244 then :
15245 printf %s "(cached) " >&6
15246 else $as_nop
15247 ac_check_soname_save_LIBS=$LIBS
15248 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15252 /* Override any GCC internal prototype to avoid an error.
15253 Use char because int might match the return type of a GCC
15254 builtin and then its argument prototype would still apply. */
15255 char XFixesQueryVersion ();
15257 main (void)
15259 return XFixesQueryVersion ();
15261 return 0;
15263 _ACEOF
15264 if ac_fn_c_try_link "$LINENO"
15265 then :
15266 case "$LIBEXT" in
15267 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15268 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'` ;;
15269 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15270 if ${ac_cv_lib_soname_Xfixes:+false} :
15271 then :
15272 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15273 fi ;;
15274 esac
15275 else $as_nop
15276 ac_cv_lib_soname_Xfixes=
15278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15279 conftest$ac_exeext conftest.$ac_ext
15280 LIBS=$ac_check_soname_save_LIBS
15282 if ${ac_cv_lib_soname_Xfixes:+false} :
15283 then :
15284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15285 printf "%s\n" "not found" >&6; }
15287 else $as_nop
15288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15289 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15291 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15298 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15299 then :
15300 case "x$with_xfixes" in
15301 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15302 xno) ;;
15303 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15304 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15305 esac
15309 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15310 then
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15313 #include <X11/Xlib.h>
15314 #include <X11/extensions/Xinerama.h>
15316 main (void)
15318 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15320 return 0;
15322 _ACEOF
15323 if ac_fn_c_try_compile "$LINENO"
15324 then :
15325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15326 printf %s "checking for -lXinerama... " >&6; }
15327 if test ${ac_cv_lib_soname_Xinerama+y}
15328 then :
15329 printf %s "(cached) " >&6
15330 else $as_nop
15331 ac_check_soname_save_LIBS=$LIBS
15332 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15339 char XineramaQueryScreens ();
15341 main (void)
15343 return XineramaQueryScreens ();
15345 return 0;
15347 _ACEOF
15348 if ac_fn_c_try_link "$LINENO"
15349 then :
15350 case "$LIBEXT" in
15351 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15352 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'` ;;
15353 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15354 if ${ac_cv_lib_soname_Xinerama:+false} :
15355 then :
15356 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15357 fi ;;
15358 esac
15359 else $as_nop
15360 ac_cv_lib_soname_Xinerama=
15362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15363 conftest$ac_exeext conftest.$ac_ext
15364 LIBS=$ac_check_soname_save_LIBS
15366 if ${ac_cv_lib_soname_Xinerama:+false} :
15367 then :
15368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15369 printf "%s\n" "not found" >&6; }
15371 else $as_nop
15372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15373 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15375 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15382 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15383 then :
15384 case "x$with_xinerama" in
15385 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15386 xno) ;;
15387 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15388 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15389 esac
15393 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15395 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15396 then :
15397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15398 printf %s "checking for -lXcomposite... " >&6; }
15399 if test ${ac_cv_lib_soname_Xcomposite+y}
15400 then :
15401 printf %s "(cached) " >&6
15402 else $as_nop
15403 ac_check_soname_save_LIBS=$LIBS
15404 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15411 char XCompositeRedirectWindow ();
15413 main (void)
15415 return XCompositeRedirectWindow ();
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"
15421 then :
15422 case "$LIBEXT" in
15423 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15424 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'` ;;
15425 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15426 if ${ac_cv_lib_soname_Xcomposite:+false} :
15427 then :
15428 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15429 fi ;;
15430 esac
15431 else $as_nop
15432 ac_cv_lib_soname_Xcomposite=
15434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15435 conftest$ac_exeext conftest.$ac_ext
15436 LIBS=$ac_check_soname_save_LIBS
15438 if ${ac_cv_lib_soname_Xcomposite:+false} :
15439 then :
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15441 printf "%s\n" "not found" >&6; }
15443 else $as_nop
15444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15445 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15447 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15453 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15454 then :
15455 case "x$with_xcomposite" in
15456 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15457 xno) ;;
15458 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15459 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15460 esac
15464 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15466 if test "x$ac_cv_member_XICCallback_callback" = xyes
15467 then :
15469 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15473 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15475 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15476 then :
15478 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15485 opengl_msg=""
15486 if test "x$with_opengl" != "xno"
15487 then
15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15489 printf %s "checking for -lGL... " >&6; }
15490 if test ${ac_cv_lib_soname_GL+y}
15491 then :
15492 printf %s "(cached) " >&6
15493 else $as_nop
15494 ac_check_soname_save_LIBS=$LIBS
15495 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15499 /* Override any GCC internal prototype to avoid an error.
15500 Use char because int might match the return type of a GCC
15501 builtin and then its argument prototype would still apply. */
15502 char glXCreateContext ();
15504 main (void)
15506 return glXCreateContext ();
15508 return 0;
15510 _ACEOF
15511 if ac_fn_c_try_link "$LINENO"
15512 then :
15513 case "$LIBEXT" in
15514 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15515 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'` ;;
15516 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15517 if ${ac_cv_lib_soname_GL:+false} :
15518 then :
15519 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15520 fi ;;
15521 esac
15522 else $as_nop
15523 ac_cv_lib_soname_GL=
15525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15526 conftest$ac_exeext conftest.$ac_ext
15527 LIBS=$ac_check_soname_save_LIBS
15529 if ${ac_cv_lib_soname_GL:+false} :
15530 then :
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15532 printf "%s\n" "not found" >&6; }
15533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15534 printf %s "checking for -lGL... " >&6; }
15535 if test ${ac_cv_lib_soname_GL+y}
15536 then :
15537 printf %s "(cached) " >&6
15538 else $as_nop
15539 ac_check_soname_save_LIBS=$LIBS
15540 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"
15541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15542 /* end confdefs.h. */
15544 /* Override any GCC internal prototype to avoid an error.
15545 Use char because int might match the return type of a GCC
15546 builtin and then its argument prototype would still apply. */
15547 char glXCreateContext ();
15549 main (void)
15551 return glXCreateContext ();
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"
15557 then :
15558 case "$LIBEXT" in
15559 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15560 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'` ;;
15561 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15562 if ${ac_cv_lib_soname_GL:+false} :
15563 then :
15564 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15565 fi ;;
15566 esac
15567 else $as_nop
15568 ac_cv_lib_soname_GL=
15570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15571 conftest$ac_exeext conftest.$ac_ext
15572 LIBS=$ac_check_soname_save_LIBS
15574 if ${ac_cv_lib_soname_GL:+false} :
15575 then :
15576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15577 printf "%s\n" "not found" >&6; }
15578 if test -f /usr/X11R6/lib/libGL.a
15579 then
15580 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15581 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15582 else
15583 opengl_msg="No OpenGL library found on this system."
15585 else $as_nop
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15587 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15589 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15591 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"
15593 else $as_nop
15594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15595 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15597 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15599 OPENGL_LIBS="-lGL"
15601 if test "x$with_osmesa" != "xno"
15602 then
15603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15604 printf %s "checking for -lOSMesa... " >&6; }
15605 if test ${ac_cv_lib_soname_OSMesa+y}
15606 then :
15607 printf %s "(cached) " >&6
15608 else $as_nop
15609 ac_check_soname_save_LIBS=$LIBS
15610 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15614 /* Override any GCC internal prototype to avoid an error.
15615 Use char because int might match the return type of a GCC
15616 builtin and then its argument prototype would still apply. */
15617 char OSMesaGetProcAddress ();
15619 main (void)
15621 return OSMesaGetProcAddress ();
15623 return 0;
15625 _ACEOF
15626 if ac_fn_c_try_link "$LINENO"
15627 then :
15628 case "$LIBEXT" in
15629 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15630 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'` ;;
15631 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15632 if ${ac_cv_lib_soname_OSMesa:+false} :
15633 then :
15634 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15635 fi ;;
15636 esac
15637 else $as_nop
15638 ac_cv_lib_soname_OSMesa=
15640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15641 conftest$ac_exeext conftest.$ac_ext
15642 LIBS=$ac_check_soname_save_LIBS
15644 if ${ac_cv_lib_soname_OSMesa:+false} :
15645 then :
15646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15647 printf "%s\n" "not found" >&6; }
15649 else $as_nop
15650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15651 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15653 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15657 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15658 then :
15659 case "x$with_osmesa" in
15660 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15661 xno) ;;
15662 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15663 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15664 esac
15669 if test -n "$opengl_msg"
15670 then :
15671 case "x$with_opengl" in
15672 x) as_fn_append wine_warnings "|$opengl_msg
15673 OpenGL and Direct3D won't be supported." ;;
15674 xno) ;;
15675 *) as_fn_error $? "$opengl_msg
15676 OpenGL and Direct3D won't be supported.
15677 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15678 esac
15682 CPPFLAGS="$ac_save_CPPFLAGS"
15683 else
15684 X_CFLAGS=""
15685 X_LIBS=""
15688 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15689 then
15690 if test "x$X_LIBS" = "x"
15691 then :
15692 case "x$with_x" in
15693 xno) ;;
15694 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15695 without X support, which probably isn't what you want. You will need
15696 to install ${notice_platform}development packages of Xlib at the very least.
15697 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15698 esac
15699 enable_winex11_drv=${enable_winex11_drv:-no}
15701 else
15702 if test "x$X_LIBS" = "x"
15703 then :
15704 case "x$with_x" in
15705 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15706 xno) ;;
15707 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15708 This is an error since --with-x was requested." "$LINENO" 5 ;;
15709 esac
15710 enable_winex11_drv=${enable_winex11_drv:-no}
15714 if test "x$with_wayland" != "xno"
15715 then
15716 rm -f conftest.err
15717 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15718 then :
15719 if test ${PKG_CONFIG+y}
15720 then :
15721 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15725 if ${WAYLAND_CLIENT_LIBS:+false} :
15726 then :
15727 if test ${PKG_CONFIG+y}
15728 then :
15729 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15736 if test -s conftest.err; then
15737 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15738 cat conftest.err >&5
15740 rm -f conftest.err
15741 ac_save_CPPFLAGS=$CPPFLAGS
15742 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15743 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15744 if test "x$ac_cv_header_wayland_client_h" = xyes
15745 then :
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15747 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15748 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15749 then :
15750 printf %s "(cached) " >&6
15751 else $as_nop
15752 ac_check_lib_save_LIBS=$LIBS
15753 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15757 /* Override any GCC internal prototype to avoid an error.
15758 Use char because int might match the return type of a GCC
15759 builtin and then its argument prototype would still apply. */
15760 char wl_display_connect ();
15762 main (void)
15764 return wl_display_connect ();
15766 return 0;
15768 _ACEOF
15769 if ac_fn_c_try_link "$LINENO"
15770 then :
15771 ac_cv_lib_wayland_client_wl_display_connect=yes
15772 else $as_nop
15773 ac_cv_lib_wayland_client_wl_display_connect=no
15775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15776 conftest$ac_exeext conftest.$ac_ext
15777 LIBS=$ac_check_lib_save_LIBS
15779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15780 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15781 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15782 then :
15783 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15784 set dummy wayland-scanner; ac_word=$2
15785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15786 printf %s "checking for $ac_word... " >&6; }
15787 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15788 then :
15789 printf %s "(cached) " >&6
15790 else $as_nop
15791 case $WAYLAND_SCANNER in
15792 [\\/]* | ?:[\\/]*)
15793 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15797 for as_dir in $PATH
15799 IFS=$as_save_IFS
15800 case $as_dir in #(((
15801 '') as_dir=./ ;;
15802 */) ;;
15803 *) as_dir=$as_dir/ ;;
15804 esac
15805 for ac_exec_ext in '' $ac_executable_extensions; do
15806 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15807 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15809 break 2
15811 done
15812 done
15813 IFS=$as_save_IFS
15815 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`"
15817 esac
15819 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15820 if test -n "$WAYLAND_SCANNER"; then
15821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15822 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15823 else
15824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15825 printf "%s\n" "no" >&6; }
15829 else $as_nop
15830 WAYLAND_CLIENT_LIBS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15837 rm -f conftest.err
15838 if ${XKBCOMMON_CFLAGS:+false} :
15839 then :
15840 if test ${PKG_CONFIG+y}
15841 then :
15842 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
15846 if ${XKBCOMMON_LIBS:+false} :
15847 then :
15848 if test ${PKG_CONFIG+y}
15849 then :
15850 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
15855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
15856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
15857 if test -s conftest.err; then
15858 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
15859 cat conftest.err >&5
15861 rm -f conftest.err
15862 ac_save_CPPFLAGS=$CPPFLAGS
15863 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
15864 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
15865 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
15866 then :
15867 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
15872 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
15873 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
15874 then :
15875 printf %s "(cached) " >&6
15876 else $as_nop
15877 ac_check_lib_save_LIBS=$LIBS
15878 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15882 /* Override any GCC internal prototype to avoid an error.
15883 Use char because int might match the return type of a GCC
15884 builtin and then its argument prototype would still apply. */
15885 char xkb_context_new ();
15887 main (void)
15889 return xkb_context_new ();
15891 return 0;
15893 _ACEOF
15894 if ac_fn_c_try_link "$LINENO"
15895 then :
15896 ac_cv_lib_xkbcommon_xkb_context_new=yes
15897 else $as_nop
15898 ac_cv_lib_xkbcommon_xkb_context_new=no
15900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15901 conftest$ac_exeext conftest.$ac_ext
15902 LIBS=$ac_check_lib_save_LIBS
15904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
15905 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
15906 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
15907 then :
15909 else $as_nop
15910 XKBCOMMON_LIBS=""
15913 CPPFLAGS=$ac_save_CPPFLAGS
15916 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o -z "$XKBCOMMON_LIBS" -o "$ac_cv_header_linux_input_h" = "no"
15917 then :
15918 case "x$with_wayland" in
15919 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15920 xno) ;;
15921 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15922 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15923 esac
15924 enable_winewayland_drv=${enable_winewayland_drv:-no}
15927 if test "$ac_cv_header_CL_cl_h" = "yes"
15928 then
15929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15930 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15931 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15932 then :
15933 printf %s "(cached) " >&6
15934 else $as_nop
15935 ac_check_lib_save_LIBS=$LIBS
15936 LIBS="-lOpenCL $LIBS"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15940 /* Override any GCC internal prototype to avoid an error.
15941 Use char because int might match the return type of a GCC
15942 builtin and then its argument prototype would still apply. */
15943 char clGetPlatformInfo ();
15945 main (void)
15947 return clGetPlatformInfo ();
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_link "$LINENO"
15953 then :
15954 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15955 else $as_nop
15956 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15959 conftest$ac_exeext conftest.$ac_ext
15960 LIBS=$ac_check_lib_save_LIBS
15962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15963 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15964 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15965 then :
15966 OPENCL_LIBS="-lOpenCL"
15971 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15972 then :
15973 case "x$with_opencl" in
15974 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15975 xno) ;;
15976 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15977 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15978 esac
15979 enable_opencl=${enable_opencl:-no}
15982 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15983 then
15984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15985 printf %s "checking for pcap_init in -lpcap... " >&6; }
15986 if test ${ac_cv_lib_pcap_pcap_init+y}
15987 then :
15988 printf %s "(cached) " >&6
15989 else $as_nop
15990 ac_check_lib_save_LIBS=$LIBS
15991 LIBS="-lpcap $LIBS"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 char pcap_init ();
16000 main (void)
16002 return pcap_init ();
16004 return 0;
16006 _ACEOF
16007 if ac_fn_c_try_link "$LINENO"
16008 then :
16009 ac_cv_lib_pcap_pcap_init=yes
16010 else $as_nop
16011 ac_cv_lib_pcap_pcap_init=no
16013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16014 conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_lib_save_LIBS
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16018 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16019 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16020 then :
16021 PCAP_LIBS="-lpcap"
16026 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16027 then :
16028 case "x$with_pcap" in
16029 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16030 xno) ;;
16031 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16032 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16033 esac
16034 enable_wpcap=${enable_wpcap:-no}
16037 if test "x$with_pcsclite" != "xno"
16038 then
16039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16040 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16041 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16042 then :
16043 printf %s "(cached) " >&6
16044 else $as_nop
16045 ac_check_lib_save_LIBS=$LIBS
16046 LIBS="-lpcsclite $LIBS"
16047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16048 /* end confdefs.h. */
16050 /* Override any GCC internal prototype to avoid an error.
16051 Use char because int might match the return type of a GCC
16052 builtin and then its argument prototype would still apply. */
16053 char SCardEstablishContext ();
16055 main (void)
16057 return SCardEstablishContext ();
16059 return 0;
16061 _ACEOF
16062 if ac_fn_c_try_link "$LINENO"
16063 then :
16064 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16065 else $as_nop
16066 ac_cv_lib_pcsclite_SCardEstablishContext=no
16068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16069 conftest$ac_exeext conftest.$ac_ext
16070 LIBS=$ac_check_lib_save_LIBS
16072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16073 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16074 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16075 then :
16076 PCSCLITE_LIBS="-lpcsclite"
16078 else $as_nop
16079 case $host_os in
16080 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16082 esac
16086 if test "x$PCSCLITE_LIBS" = x
16087 then :
16088 case "x$with_pcsclite" in
16089 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16090 xno) ;;
16091 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16092 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16093 esac
16094 enable_winscard=${enable_winscard:-no}
16097 if test "x$with_inotify" != "xno"
16098 then
16099 rm -f conftest.err
16100 if ${INOTIFY_CFLAGS:+false} :
16101 then :
16102 if test ${PKG_CONFIG+y}
16103 then :
16104 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16108 if ${INOTIFY_LIBS:+false} :
16109 then :
16110 if test ${PKG_CONFIG+y}
16111 then :
16112 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16119 if test -s conftest.err; then
16120 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16121 cat conftest.err >&5
16123 rm -f conftest.err
16124 ac_save_CPPFLAGS=$CPPFLAGS
16125 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16126 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16127 if test "x$ac_cv_header_sys_inotify_h" = xyes
16128 then :
16129 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16134 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16135 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16136 then :
16137 printf %s "(cached) " >&6
16138 else $as_nop
16139 ac_check_lib_save_LIBS=$LIBS
16140 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16142 /* end confdefs.h. */
16144 /* Override any GCC internal prototype to avoid an error.
16145 Use char because int might match the return type of a GCC
16146 builtin and then its argument prototype would still apply. */
16147 char inotify_add_watch ();
16149 main (void)
16151 return inotify_add_watch ();
16153 return 0;
16155 _ACEOF
16156 if ac_fn_c_try_link "$LINENO"
16157 then :
16158 ac_cv_lib_inotify_inotify_add_watch=yes
16159 else $as_nop
16160 ac_cv_lib_inotify_inotify_add_watch=no
16162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16163 conftest$ac_exeext conftest.$ac_ext
16164 LIBS=$ac_check_lib_save_LIBS
16166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16167 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16168 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16169 then :
16171 else $as_nop
16172 INOTIFY_LIBS=""
16175 CPPFLAGS=$ac_save_CPPFLAGS
16178 if test "$ac_cv_header_sys_inotify_h" != "yes"
16179 then :
16180 case "x$with_inotify" in
16181 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16182 xno) ;;
16183 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16184 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16185 esac
16189 if test "x$with_dbus" != "xno"
16190 then
16191 rm -f conftest.err
16192 if ${DBUS_CFLAGS:+false} :
16193 then :
16194 if test ${PKG_CONFIG+y}
16195 then :
16196 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16200 if ${DBUS_LIBS:+false} :
16201 then :
16202 if test ${PKG_CONFIG+y}
16203 then :
16204 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16211 if test -s conftest.err; then
16212 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16213 cat conftest.err >&5
16215 rm -f conftest.err
16216 ac_save_CPPFLAGS=$CPPFLAGS
16217 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16218 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16219 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16220 then :
16221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16222 printf %s "checking for -ldbus-1... " >&6; }
16223 if test ${ac_cv_lib_soname_dbus_1+y}
16224 then :
16225 printf %s "(cached) " >&6
16226 else $as_nop
16227 ac_check_soname_save_LIBS=$LIBS
16228 LIBS="-ldbus-1 $DBUS_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 dbus_connection_close ();
16237 main (void)
16239 return dbus_connection_close ();
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_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16248 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'` ;;
16249 *) 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'`
16250 if ${ac_cv_lib_soname_dbus_1:+false} :
16251 then :
16252 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16253 fi ;;
16254 esac
16255 else $as_nop
16256 ac_cv_lib_soname_dbus_1=
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_dbus_1:+false} :
16263 then :
16264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16265 printf "%s\n" "not found" >&6; }
16266 DBUS_CFLAGS=""
16267 else $as_nop
16268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16269 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16271 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16275 else $as_nop
16276 DBUS_CFLAGS=""
16279 CPPFLAGS=$ac_save_CPPFLAGS
16282 case $host_os in
16283 darwin*|macosx*) ;;
16284 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16285 then :
16286 case "x$with_dbus" in
16287 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16288 xno) ;;
16289 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16290 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16291 esac
16293 fi ;;
16294 esac
16296 if test "x$with_gnutls" != "xno"
16297 then
16298 rm -f conftest.err
16299 if ${GNUTLS_CFLAGS:+false} :
16300 then :
16301 if test ${PKG_CONFIG+y}
16302 then :
16303 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16307 if ${GNUTLS_LIBS:+false} :
16308 then :
16309 if test ${PKG_CONFIG+y}
16310 then :
16311 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16315 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16318 if test -s conftest.err; then
16319 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16320 cat conftest.err >&5
16322 rm -f conftest.err
16323 ac_save_CPPFLAGS=$CPPFLAGS
16324 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16325 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16326 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16327 then :
16328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 /* end confdefs.h. */
16330 #include <gnutls/gnutls.h>
16331 #include <gnutls/crypto.h>
16333 main (void)
16335 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16337 return 0;
16339 _ACEOF
16340 if ac_fn_c_try_compile "$LINENO"
16341 then :
16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16343 printf %s "checking for -lgnutls... " >&6; }
16344 if test ${ac_cv_lib_soname_gnutls+y}
16345 then :
16346 printf %s "(cached) " >&6
16347 else $as_nop
16348 ac_check_soname_save_LIBS=$LIBS
16349 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h. */
16353 /* Override any GCC internal prototype to avoid an error.
16354 Use char because int might match the return type of a GCC
16355 builtin and then its argument prototype would still apply. */
16356 char gnutls_global_init ();
16358 main (void)
16360 return gnutls_global_init ();
16362 return 0;
16364 _ACEOF
16365 if ac_fn_c_try_link "$LINENO"
16366 then :
16367 case "$LIBEXT" in
16368 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16369 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'` ;;
16370 *) 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'`
16371 if ${ac_cv_lib_soname_gnutls:+false} :
16372 then :
16373 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'`
16374 fi ;;
16375 esac
16376 else $as_nop
16377 ac_cv_lib_soname_gnutls=
16379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16380 conftest$ac_exeext conftest.$ac_ext
16381 LIBS=$ac_check_soname_save_LIBS
16383 if ${ac_cv_lib_soname_gnutls:+false} :
16384 then :
16385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16386 printf "%s\n" "not found" >&6; }
16387 GNUTLS_CFLAGS=""
16388 else $as_nop
16389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16390 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16392 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16396 ac_wine_check_funcs_save_LIBS="$LIBS"
16397 LIBS="$LIBS $GNUTLS_LIBS"
16399 for ac_func in gnutls_cipher_init
16400 do :
16401 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16402 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16403 then :
16404 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16406 else $as_nop
16407 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16410 done
16411 LIBS="$ac_wine_check_funcs_save_LIBS"
16413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16414 else $as_nop
16415 GNUTLS_CFLAGS=""
16418 CPPFLAGS=$ac_save_CPPFLAGS
16421 if test "x$ac_cv_lib_soname_gnutls" = "x"
16422 then :
16423 case "x$with_gnutls" in
16424 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16425 xno) ;;
16426 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16427 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16428 esac
16432 if test "x$with_sane" != "xno"
16433 then
16434 rm -f conftest.err
16435 if ${SANE_CFLAGS:+false} :
16436 then :
16437 if test ${PKG_CONFIG+y}
16438 then :
16439 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16442 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16443 if ${SANE_LIBS:+false} :
16444 then :
16445 if test ${PKG_CONFIG+y}
16446 then :
16447 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16450 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16454 if test -s conftest.err; then
16455 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16456 cat conftest.err >&5
16458 rm -f conftest.err
16459 ac_save_CPPFLAGS=$CPPFLAGS
16460 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16461 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16462 if test "x$ac_cv_header_sane_sane_h" = xyes
16463 then :
16464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16465 printf %s "checking for sane_init in -lsane... " >&6; }
16466 if test ${ac_cv_lib_sane_sane_init+y}
16467 then :
16468 printf %s "(cached) " >&6
16469 else $as_nop
16470 ac_check_lib_save_LIBS=$LIBS
16471 LIBS="-lsane $SANE_LIBS $LIBS"
16472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16473 /* end confdefs.h. */
16475 /* Override any GCC internal prototype to avoid an error.
16476 Use char because int might match the return type of a GCC
16477 builtin and then its argument prototype would still apply. */
16478 char sane_init ();
16480 main (void)
16482 return sane_init ();
16484 return 0;
16486 _ACEOF
16487 if ac_fn_c_try_link "$LINENO"
16488 then :
16489 ac_cv_lib_sane_sane_init=yes
16490 else $as_nop
16491 ac_cv_lib_sane_sane_init=no
16493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16494 conftest$ac_exeext conftest.$ac_ext
16495 LIBS=$ac_check_lib_save_LIBS
16497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16498 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16499 if test "x$ac_cv_lib_sane_sane_init" = xyes
16500 then :
16506 CPPFLAGS=$ac_save_CPPFLAGS
16509 if test "$ac_cv_lib_sane_sane_init" != "yes"
16510 then :
16511 case "x$with_sane" in
16512 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16513 xno) ;;
16514 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16515 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16516 esac
16517 enable_sane_ds=${enable_sane_ds:-no}
16520 if test "x$with_usb" != "xno"
16521 then
16522 rm -f conftest.err
16523 if ${USB_CFLAGS:+false} :
16524 then :
16525 if test ${PKG_CONFIG+y}
16526 then :
16527 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16531 if ${USB_LIBS:+false} :
16532 then :
16533 if test ${PKG_CONFIG+y}
16534 then :
16535 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16539 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16542 if test -s conftest.err; then
16543 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16544 cat conftest.err >&5
16546 rm -f conftest.err
16547 ac_save_CPPFLAGS=$CPPFLAGS
16548 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16549 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16550 if test "x$ac_cv_header_libusb_h" = xyes
16551 then :
16552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16553 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16554 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16555 then :
16556 printf %s "(cached) " >&6
16557 else $as_nop
16558 ac_check_lib_save_LIBS=$LIBS
16559 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h. */
16563 /* Override any GCC internal prototype to avoid an error.
16564 Use char because int might match the return type of a GCC
16565 builtin and then its argument prototype would still apply. */
16566 char libusb_interrupt_event_handler ();
16568 main (void)
16570 return libusb_interrupt_event_handler ();
16572 return 0;
16574 _ACEOF
16575 if ac_fn_c_try_link "$LINENO"
16576 then :
16577 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16578 else $as_nop
16579 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16582 conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_lib_save_LIBS
16585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16586 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16587 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16588 then :
16590 else $as_nop
16591 USB_LIBS=""
16594 else $as_nop
16595 USB_LIBS=""
16598 CPPFLAGS=$ac_save_CPPFLAGS
16601 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16602 then :
16603 case "x$with_usb" in
16604 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16605 xno) ;;
16606 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16607 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16608 esac
16609 enable_wineusb_sys=${enable_wineusb_sys:-no}
16612 if test "x$with_v4l2" != "xno"
16613 then
16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16615 printf %s "checking for -lv4l2... " >&6; }
16616 if test ${ac_cv_lib_soname_v4l2+y}
16617 then :
16618 printf %s "(cached) " >&6
16619 else $as_nop
16620 ac_check_soname_save_LIBS=$LIBS
16621 LIBS="-lv4l2 $LIBS"
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16625 /* Override any GCC internal prototype to avoid an error.
16626 Use char because int might match the return type of a GCC
16627 builtin and then its argument prototype would still apply. */
16628 char v4l2_open ();
16630 main (void)
16632 return v4l2_open ();
16634 return 0;
16636 _ACEOF
16637 if ac_fn_c_try_link "$LINENO"
16638 then :
16639 case "$LIBEXT" in
16640 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16641 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'` ;;
16642 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16643 if ${ac_cv_lib_soname_v4l2:+false} :
16644 then :
16645 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16646 fi ;;
16647 esac
16648 else $as_nop
16649 ac_cv_lib_soname_v4l2=
16651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16652 conftest$ac_exeext conftest.$ac_ext
16653 LIBS=$ac_check_soname_save_LIBS
16655 if ${ac_cv_lib_soname_v4l2:+false} :
16656 then :
16657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16658 printf "%s\n" "not found" >&6; }
16660 else $as_nop
16661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16662 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16664 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16669 if test "x$ac_cv_lib_soname_v4l2" = "x"
16670 then :
16671 case "x$with_v4l2" in
16672 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16673 xno) ;;
16674 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16675 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16676 esac
16680 if test "x$with_gphoto" != "xno"
16681 then
16682 rm -f conftest.err
16683 if ${GPHOTO2_CFLAGS:+false} :
16684 then :
16685 if test ${PKG_CONFIG+y}
16686 then :
16687 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16690 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16691 if ${GPHOTO2_LIBS:+false} :
16692 then :
16693 if test ${PKG_CONFIG+y}
16694 then :
16695 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16698 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16699 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16702 if test -s conftest.err; then
16703 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16704 cat conftest.err >&5
16706 rm -f conftest.err
16707 ac_save_CPPFLAGS=$CPPFLAGS
16708 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16709 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16710 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16711 then :
16712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16713 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16714 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16715 then :
16716 printf %s "(cached) " >&6
16717 else $as_nop
16718 ac_check_lib_save_LIBS=$LIBS
16719 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16723 /* Override any GCC internal prototype to avoid an error.
16724 Use char because int might match the return type of a GCC
16725 builtin and then its argument prototype would still apply. */
16726 char gp_camera_new ();
16728 main (void)
16730 return gp_camera_new ();
16732 return 0;
16734 _ACEOF
16735 if ac_fn_c_try_link "$LINENO"
16736 then :
16737 ac_cv_lib_gphoto2_gp_camera_new=yes
16738 else $as_nop
16739 ac_cv_lib_gphoto2_gp_camera_new=no
16741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16742 conftest$ac_exeext conftest.$ac_ext
16743 LIBS=$ac_check_lib_save_LIBS
16745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16746 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16747 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16748 then :
16754 CPPFLAGS=$ac_save_CPPFLAGS
16756 rm -f conftest.err
16757 if ${GPHOTO2_PORT_CFLAGS:+false} :
16758 then :
16759 if test ${PKG_CONFIG+y}
16760 then :
16761 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16764 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16765 if ${GPHOTO2_PORT_LIBS:+false} :
16766 then :
16767 if test ${PKG_CONFIG+y}
16768 then :
16769 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16772 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16773 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16776 if test -s conftest.err; then
16777 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16778 cat conftest.err >&5
16780 rm -f conftest.err
16781 ac_save_CPPFLAGS=$CPPFLAGS
16782 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16783 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16784 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16785 then :
16786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16787 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16788 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16789 then :
16790 printf %s "(cached) " >&6
16791 else $as_nop
16792 ac_check_lib_save_LIBS=$LIBS
16793 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h. */
16797 /* Override any GCC internal prototype to avoid an error.
16798 Use char because int might match the return type of a GCC
16799 builtin and then its argument prototype would still apply. */
16800 char gp_port_info_list_new ();
16802 main (void)
16804 return gp_port_info_list_new ();
16806 return 0;
16808 _ACEOF
16809 if ac_fn_c_try_link "$LINENO"
16810 then :
16811 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16812 else $as_nop
16813 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16816 conftest$ac_exeext conftest.$ac_ext
16817 LIBS=$ac_check_lib_save_LIBS
16819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16820 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16821 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16822 then :
16824 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16826 else $as_nop
16827 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16830 else $as_nop
16831 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16834 CPPFLAGS=$ac_save_CPPFLAGS
16837 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16838 then :
16839 case "x$with_gphoto" in
16840 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16841 xno) ;;
16842 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16843 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16844 esac
16845 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16847 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16848 then :
16849 case "x$with_gphoto" in
16850 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16851 xno) ;;
16852 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16853 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16854 esac
16859 if test "$ac_cv_header_resolv_h" = "yes"
16860 then
16861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16862 printf %s "checking for resolver library... " >&6; }
16863 if test ${ac_cv_have_resolv+y}
16864 then :
16865 printf %s "(cached) " >&6
16866 else $as_nop
16867 ac_save_LIBS="$LIBS"
16868 for lib in '' -lresolv
16870 LIBS="$lib $ac_save_LIBS"
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #ifdef HAVE_NETINET_IN_H
16874 #include <netinet/in.h>
16875 #endif
16876 #include <resolv.h>
16878 main (void)
16880 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16882 return 0;
16884 _ACEOF
16885 if ac_fn_c_try_link "$LINENO"
16886 then :
16887 ac_cv_have_resolv=${lib:-"none required"}
16888 else $as_nop
16889 ac_cv_have_resolv="not found"
16891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16892 conftest$ac_exeext conftest.$ac_ext
16893 test "x$ac_cv_have_resolv" = "xnot found" || break
16894 done
16895 LIBS="$ac_save_LIBS"
16897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16898 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16900 case "$ac_cv_have_resolv" in
16901 "not found") ;;
16902 "none required")
16904 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16907 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16909 RESOLV_LIBS=$ac_cv_have_resolv
16911 esac
16913 if test "x$ac_cv_have_resolv" != "xnot found"
16914 then
16915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16916 printf %s "checking for res_getservers... " >&6; }
16917 if test ${ac_cv_have_res_getservers+y}
16918 then :
16919 printf %s "(cached) " >&6
16920 else $as_nop
16921 ac_save_LIBS="$LIBS"
16922 LIBS="$RESOLV_LIBS $LIBS"
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16925 #include <resolv.h>
16927 main (void)
16929 res_getservers(NULL, NULL, 0);
16931 return 0;
16933 _ACEOF
16934 if ac_fn_c_try_link "$LINENO"
16935 then :
16936 ac_cv_have_res_getservers=yes
16937 else $as_nop
16938 ac_cv_have_res_getservers=no
16940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16941 conftest$ac_exeext conftest.$ac_ext
16942 LIBS="$ac_save_LIBS"
16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16945 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16946 if test "$ac_cv_have_res_getservers" = "yes"
16947 then
16949 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16955 if test "x$with_freetype" != "xno"
16956 then
16957 rm -f conftest.err
16958 if ${FREETYPE_CFLAGS:+false} :
16959 then :
16960 if test ${PKG_CONFIG+y}
16961 then :
16962 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16965 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16966 if ${FREETYPE_LIBS:+false} :
16967 then :
16968 if test ${PKG_CONFIG+y}
16969 then :
16970 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16973 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16974 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16977 if test -s conftest.err; then
16978 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16979 cat conftest.err >&5
16981 rm -f conftest.err
16982 ac_save_CPPFLAGS=$CPPFLAGS
16983 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16984 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16985 if test "x$ac_cv_header_ft2build_h" = xyes
16986 then :
16987 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16991 if test "$ac_cv_header_ft2build_h" = "yes"
16992 then
16993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16994 printf %s "checking for -lfreetype... " >&6; }
16995 if test ${ac_cv_lib_soname_freetype+y}
16996 then :
16997 printf %s "(cached) " >&6
16998 else $as_nop
16999 ac_check_soname_save_LIBS=$LIBS
17000 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17004 /* Override any GCC internal prototype to avoid an error.
17005 Use char because int might match the return type of a GCC
17006 builtin and then its argument prototype would still apply. */
17007 char FT_Init_FreeType ();
17009 main (void)
17011 return FT_Init_FreeType ();
17013 return 0;
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"
17017 then :
17018 case "$LIBEXT" in
17019 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17020 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'` ;;
17021 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17022 if ${ac_cv_lib_soname_freetype:+false} :
17023 then :
17024 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17025 fi ;;
17026 esac
17027 else $as_nop
17028 ac_cv_lib_soname_freetype=
17030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17031 conftest$ac_exeext conftest.$ac_ext
17032 LIBS=$ac_check_soname_save_LIBS
17034 if ${ac_cv_lib_soname_freetype:+false} :
17035 then :
17036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17037 printf "%s\n" "not found" >&6; }
17038 FREETYPE_LIBS=""
17039 else $as_nop
17040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17041 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17043 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17046 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17048 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17049 #include FT_MODULE_H
17051 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17052 then :
17054 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17060 else
17061 FREETYPE_CFLAGS=""
17062 FREETYPE_LIBS=""
17064 CPPFLAGS=$ac_save_CPPFLAGS
17067 if test "x$ac_cv_lib_soname_freetype" = x
17068 then :
17069 case "x$with_freetype" in
17070 xno) ;;
17071 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17072 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17073 esac
17074 enable_fonts=${enable_fonts:-no}
17077 ac_wine_check_funcs_save_LIBS="$LIBS"
17078 LIBS="$LIBS $PTHREAD_LIBS"
17079 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17080 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17081 then :
17082 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17086 LIBS="$ac_wine_check_funcs_save_LIBS"
17088 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17089 then
17090 if test "$ac_cv_header_gettext_po_h" = "yes"
17091 then
17092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17093 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17094 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17095 then :
17096 printf %s "(cached) " >&6
17097 else $as_nop
17098 ac_check_lib_save_LIBS=$LIBS
17099 LIBS="-lgettextpo $LIBS"
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h. */
17103 /* Override any GCC internal prototype to avoid an error.
17104 Use char because int might match the return type of a GCC
17105 builtin and then its argument prototype would still apply. */
17106 char po_message_msgctxt ();
17108 main (void)
17110 return po_message_msgctxt ();
17112 return 0;
17114 _ACEOF
17115 if ac_fn_c_try_link "$LINENO"
17116 then :
17117 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17118 else $as_nop
17119 ac_cv_lib_gettextpo_po_message_msgctxt=no
17121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17122 conftest$ac_exeext conftest.$ac_ext
17123 LIBS=$ac_check_lib_save_LIBS
17125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17126 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17127 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17128 then :
17130 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17132 GETTEXTPO_LIBS="-lgettextpo"
17137 if test "x$GETTEXTPO_LIBS" = "x"
17138 then :
17139 case "x$with_gettextpo" in
17140 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17141 xno) ;;
17142 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17143 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17144 esac
17147 if test "$srcdir" != .
17148 then :
17149 case "x$with_gettextpo" in
17150 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17151 xno) ;;
17152 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17153 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17154 esac
17159 if test "x$with_pulse" != "xno";
17160 then
17161 rm -f conftest.err
17162 if ${PULSE_CFLAGS:+false} :
17163 then :
17164 if test ${PKG_CONFIG+y}
17165 then :
17166 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17170 if ${PULSE_LIBS:+false} :
17171 then :
17172 if test ${PKG_CONFIG+y}
17173 then :
17174 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17181 if test -s conftest.err; then
17182 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17183 cat conftest.err >&5
17185 rm -f conftest.err
17186 ac_save_CPPFLAGS=$CPPFLAGS
17187 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17188 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17189 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17190 then :
17191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17192 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17193 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17194 then :
17195 printf %s "(cached) " >&6
17196 else $as_nop
17197 ac_check_lib_save_LIBS=$LIBS
17198 LIBS="-lpulse $PULSE_LIBS $LIBS"
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17202 /* Override any GCC internal prototype to avoid an error.
17203 Use char because int might match the return type of a GCC
17204 builtin and then its argument prototype would still apply. */
17205 char pa_stream_is_corked ();
17207 main (void)
17209 return pa_stream_is_corked ();
17211 return 0;
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"
17215 then :
17216 ac_cv_lib_pulse_pa_stream_is_corked=yes
17217 else $as_nop
17218 ac_cv_lib_pulse_pa_stream_is_corked=no
17220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17221 conftest$ac_exeext conftest.$ac_ext
17222 LIBS=$ac_check_lib_save_LIBS
17224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17225 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17226 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17227 then :
17229 else $as_nop
17230 PULSE_LIBS=""
17233 else $as_nop
17234 PULSE_LIBS=""
17237 CPPFLAGS=$ac_save_CPPFLAGS
17240 if test -z "$PULSE_LIBS"
17241 then :
17242 case "x$with_pulse" in
17243 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17244 xno) ;;
17245 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17246 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17247 esac
17248 enable_winepulse_drv=${enable_winepulse_drv:-no}
17251 if test "x$with_gstreamer" != "xno"
17252 then
17253 rm -f conftest.err
17254 if ${GSTREAMER_CFLAGS:+false} :
17255 then :
17256 if test ${PKG_CONFIG+y}
17257 then :
17258 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17262 if ${GSTREAMER_LIBS:+false} :
17263 then :
17264 if test ${PKG_CONFIG+y}
17265 then :
17266 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17271 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
17272 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
17273 if test -s conftest.err; then
17274 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17275 cat conftest.err >&5
17277 rm -f conftest.err
17278 ac_save_CPPFLAGS=$CPPFLAGS
17279 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17280 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17281 if test "x$ac_cv_header_gst_gst_h" = xyes
17282 then :
17283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17284 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #include <gst/gst.h>
17289 main (void)
17291 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17293 return 0;
17295 _ACEOF
17296 if ac_fn_c_try_compile "$LINENO"
17297 then :
17298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17299 printf "%s\n" "yes" >&6; }
17300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17301 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17302 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17303 then :
17304 printf %s "(cached) " >&6
17305 else $as_nop
17306 ac_check_lib_save_LIBS=$LIBS
17307 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17311 /* Override any GCC internal prototype to avoid an error.
17312 Use char because int might match the return type of a GCC
17313 builtin and then its argument prototype would still apply. */
17314 char gst_pad_new ();
17316 main (void)
17318 return gst_pad_new ();
17320 return 0;
17322 _ACEOF
17323 if ac_fn_c_try_link "$LINENO"
17324 then :
17325 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17326 else $as_nop
17327 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17330 conftest$ac_exeext conftest.$ac_ext
17331 LIBS=$ac_check_lib_save_LIBS
17333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17334 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17335 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17336 then :
17340 else $as_nop
17341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17342 printf "%s\n" "no" >&6; }
17343 ac_glib2_broken=yes
17344 enable_winegstreamer=${enable_winegstreamer:-no}
17345 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17350 CPPFLAGS=$ac_save_CPPFLAGS
17353 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17354 then :
17355 case "x$with_gstreamer" in
17356 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17357 xno) ;;
17358 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17359 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17360 esac
17361 enable_winegstreamer=${enable_winegstreamer:-no}
17364 ALSA_LIBS=""
17366 if test "x$with_alsa" != "xno"
17367 then
17368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17369 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17370 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17371 then :
17372 printf %s "(cached) " >&6
17373 else $as_nop
17374 ac_check_lib_save_LIBS=$LIBS
17375 LIBS="-lasound $LIBS"
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17379 /* Override any GCC internal prototype to avoid an error.
17380 Use char because int might match the return type of a GCC
17381 builtin and then its argument prototype would still apply. */
17382 char snd_pcm_hw_params_get_access_mask ();
17384 main (void)
17386 return snd_pcm_hw_params_get_access_mask ();
17388 return 0;
17390 _ACEOF
17391 if ac_fn_c_try_link "$LINENO"
17392 then :
17393 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17394 else $as_nop
17395 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17398 conftest$ac_exeext conftest.$ac_ext
17399 LIBS=$ac_check_lib_save_LIBS
17401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17402 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17403 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17404 then :
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17407 #include <alsa/asoundlib.h>
17409 main (void)
17411 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17413 return 0;
17415 _ACEOF
17416 if ac_fn_c_try_compile "$LINENO"
17417 then :
17418 ALSA_LIBS="-lasound"
17420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17424 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17426 if test "x$with_oss" != xno
17427 then
17428 ac_save_CPPFLAGS="$CPPFLAGS"
17429 if test -f /etc/oss.conf
17430 then
17431 . /etc/oss.conf
17433 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17434 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17435 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17436 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17437 then :
17438 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17440 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17441 then :
17443 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17445 OSS4_CFLAGS="$ac_oss_incl"
17447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17448 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17449 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17450 then :
17451 printf %s "(cached) " >&6
17452 else $as_nop
17453 ac_check_lib_save_LIBS=$LIBS
17454 LIBS="-lossaudio $LIBS"
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17458 /* Override any GCC internal prototype to avoid an error.
17459 Use char because int might match the return type of a GCC
17460 builtin and then its argument prototype would still apply. */
17461 char _oss_ioctl ();
17463 main (void)
17465 return _oss_ioctl ();
17467 return 0;
17469 _ACEOF
17470 if ac_fn_c_try_link "$LINENO"
17471 then :
17472 ac_cv_lib_ossaudio__oss_ioctl=yes
17473 else $as_nop
17474 ac_cv_lib_ossaudio__oss_ioctl=no
17476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17477 conftest$ac_exeext conftest.$ac_ext
17478 LIBS=$ac_check_lib_save_LIBS
17480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17481 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17482 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17483 then :
17484 OSS4_LIBS="-lossaudio"
17492 CPPFLAGS="$ac_save_CPPFLAGS"
17494 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17495 then :
17496 case "x$with_oss" in
17497 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17498 xno) ;;
17499 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17500 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17501 esac
17502 enable_wineoss_drv=${enable_wineoss_drv:-no}
17505 if test "x$with_udev" != "xno"
17506 then
17507 rm -f conftest.err
17508 if ${UDEV_CFLAGS:+false} :
17509 then :
17510 if test ${PKG_CONFIG+y}
17511 then :
17512 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17516 if ${UDEV_LIBS:+false} :
17517 then :
17518 if test ${PKG_CONFIG+y}
17519 then :
17520 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17524 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17527 if test -s conftest.err; then
17528 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17529 cat conftest.err >&5
17531 rm -f conftest.err
17532 ac_save_CPPFLAGS=$CPPFLAGS
17533 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17534 for ac_header in libudev.h
17535 do :
17536 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17537 if test "x$ac_cv_header_libudev_h" = xyes
17538 then :
17539 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17541 printf %s "checking for udev_new in -ludev... " >&6; }
17542 if test ${ac_cv_lib_udev_udev_new+y}
17543 then :
17544 printf %s "(cached) " >&6
17545 else $as_nop
17546 ac_check_lib_save_LIBS=$LIBS
17547 LIBS="-ludev $UDEV_LIBS $LIBS"
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17554 char udev_new ();
17556 main (void)
17558 return udev_new ();
17560 return 0;
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"
17564 then :
17565 ac_cv_lib_udev_udev_new=yes
17566 else $as_nop
17567 ac_cv_lib_udev_udev_new=no
17569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17570 conftest$ac_exeext conftest.$ac_ext
17571 LIBS=$ac_check_lib_save_LIBS
17573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17574 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17575 if test "x$ac_cv_lib_udev_udev_new" = xyes
17576 then :
17578 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17580 else $as_nop
17581 UDEV_LIBS=""
17584 else $as_nop
17585 UDEV_LIBS=""
17588 done
17589 CPPFLAGS=$ac_save_CPPFLAGS
17592 if test "x$UDEV_LIBS" = "x"
17593 then :
17594 case "x$with_udev" in
17595 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17596 xno) ;;
17597 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17598 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17599 esac
17603 if test "x$with_unwind" != xno
17604 then
17605 rm -f conftest.err
17606 if ${UNWIND_CFLAGS:+false} :
17607 then :
17608 if test ${PKG_CONFIG+y}
17609 then :
17610 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17614 if ${UNWIND_LIBS:+false} :
17615 then :
17616 if test ${PKG_CONFIG+y}
17617 then :
17618 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17622 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17625 if test -s conftest.err; then
17626 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17627 cat conftest.err >&5
17629 rm -f conftest.err
17630 ac_save_CPPFLAGS=$CPPFLAGS
17631 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17633 printf %s "checking for unw_step... " >&6; }
17634 if test ${wine_cv_have_unw_step+y}
17635 then :
17636 printf %s "(cached) " >&6
17637 else $as_nop
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #define UNW_LOCAL_ONLY
17641 #include <libunwind.h>
17643 main (void)
17645 unw_cursor_t cursor; unw_step( &cursor );
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_link "$LINENO"
17651 then :
17652 wine_cv_have_unw_step="yes"
17653 else $as_nop
17654 wine_cv_have_unw_step="no"
17656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17657 conftest$ac_exeext conftest.$ac_ext
17659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17660 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17661 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17662 then
17663 save_libs=$LIBS
17664 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17665 LIBS="$UNWIND_LIBS $LIBS"
17666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17667 printf %s "checking for unw_step in libunwind... " >&6; }
17668 if test ${wine_cv_have_libunwind_unw_step+y}
17669 then :
17670 printf %s "(cached) " >&6
17671 else $as_nop
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #define UNW_LOCAL_ONLY
17675 #include <libunwind.h>
17677 main (void)
17679 unw_cursor_t cursor; unw_step( &cursor );
17681 return 0;
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"
17685 then :
17686 wine_cv_have_libunwind_unw_step="yes"
17687 else $as_nop
17688 wine_cv_have_libunwind_unw_step="no"
17690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17691 conftest$ac_exeext conftest.$ac_ext
17693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17694 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17695 LIBS=$save_libs
17697 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17698 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17699 then
17701 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17704 CPPFLAGS=$ac_save_CPPFLAGS
17707 case $host in
17708 aarch64*|*-darwin*)
17709 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17710 then :
17711 case "x$with_unwind" in
17712 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17713 xno) ;;
17714 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17715 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17716 esac
17718 fi ;;
17719 esac
17721 if test "x$with_sdl" != "xno"
17722 then
17723 rm -f conftest.err
17724 if ${SDL2_CFLAGS:+false} :
17725 then :
17726 if test ${PKG_CONFIG+y}
17727 then :
17728 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17732 if ${SDL2_LIBS:+false} :
17733 then :
17734 if test ${PKG_CONFIG+y}
17735 then :
17736 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17740 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17743 if test -s conftest.err; then
17744 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17745 cat conftest.err >&5
17747 rm -f conftest.err
17748 ac_save_CPPFLAGS=$CPPFLAGS
17749 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17750 for ac_header in SDL.h
17751 do :
17752 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17753 if test "x$ac_cv_header_SDL_h" = xyes
17754 then :
17755 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17757 printf %s "checking for -lSDL2... " >&6; }
17758 if test ${ac_cv_lib_soname_SDL2+y}
17759 then :
17760 printf %s "(cached) " >&6
17761 else $as_nop
17762 ac_check_soname_save_LIBS=$LIBS
17763 LIBS="-lSDL2 $SDL2_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 SDL_Init ();
17772 main (void)
17774 return SDL_Init ();
17776 return 0;
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"
17780 then :
17781 case "$LIBEXT" in
17782 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17783 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'` ;;
17784 *) 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'`
17785 if ${ac_cv_lib_soname_SDL2:+false} :
17786 then :
17787 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17788 fi ;;
17789 esac
17790 else $as_nop
17791 ac_cv_lib_soname_SDL2=
17793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17794 conftest$ac_exeext conftest.$ac_ext
17795 LIBS=$ac_check_soname_save_LIBS
17797 if ${ac_cv_lib_soname_SDL2:+false} :
17798 then :
17799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17800 printf "%s\n" "not found" >&6; }
17802 else $as_nop
17803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17804 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17806 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17812 done
17813 CPPFLAGS=$ac_save_CPPFLAGS
17816 if test "x$ac_cv_lib_soname_SDL2" = "x"
17817 then :
17818 case "x$with_sdl" in
17819 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17820 xno) ;;
17821 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17822 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17823 esac
17827 if test "x$with_capi" != "xno"
17828 then
17829 rm -f conftest.err
17830 if ${CAPI20_CFLAGS:+false} :
17831 then :
17832 if test ${PKG_CONFIG+y}
17833 then :
17834 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17838 if ${CAPI20_LIBS:+false} :
17839 then :
17840 if test ${PKG_CONFIG+y}
17841 then :
17842 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17849 if test -s conftest.err; then
17850 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17851 cat conftest.err >&5
17853 rm -f conftest.err
17854 ac_save_CPPFLAGS=$CPPFLAGS
17855 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17856 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17858 if test "x$ac_cv_header_capi20_h" = xyes
17859 then :
17860 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17863 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17865 if test "x$ac_cv_header_linux_capi_h" = xyes
17866 then :
17867 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17871 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17872 then
17873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17874 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17875 if test ${ac_cv_lib_capi20_capi20_register+y}
17876 then :
17877 printf %s "(cached) " >&6
17878 else $as_nop
17879 ac_check_lib_save_LIBS=$LIBS
17880 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h. */
17884 /* Override any GCC internal prototype to avoid an error.
17885 Use char because int might match the return type of a GCC
17886 builtin and then its argument prototype would still apply. */
17887 char capi20_register ();
17889 main (void)
17891 return capi20_register ();
17893 return 0;
17895 _ACEOF
17896 if ac_fn_c_try_link "$LINENO"
17897 then :
17898 ac_cv_lib_capi20_capi20_register=yes
17899 else $as_nop
17900 ac_cv_lib_capi20_capi20_register=no
17902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17903 conftest$ac_exeext conftest.$ac_ext
17904 LIBS=$ac_check_lib_save_LIBS
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17907 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17908 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17909 then :
17911 else $as_nop
17912 CAPI20_LIBS=""
17916 CPPFLAGS=$ac_save_CPPFLAGS
17919 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17920 then :
17921 case "x$with_capi" in
17922 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17923 xno) ;;
17924 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17925 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17926 esac
17927 enable_capi2032=${enable_capi2032:-no}
17930 if test "x$with_cups" != "xno"
17931 then
17932 rm -f conftest.err
17933 if ${CUPS_CFLAGS:+false} :
17934 then :
17935 if test ${PKG_CONFIG+y}
17936 then :
17937 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17940 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17941 if ${CUPS_LIBS:+false} :
17942 then :
17943 if test ${PKG_CONFIG+y}
17944 then :
17945 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17948 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17949 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17952 if test -s conftest.err; then
17953 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17954 cat conftest.err >&5
17956 rm -f conftest.err
17957 ac_save_CPPFLAGS=$CPPFLAGS
17958 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17959 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17960 if test "x$ac_cv_header_cups_cups_h" = xyes
17961 then :
17962 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17965 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17966 if test "x$ac_cv_header_cups_ppd_h" = xyes
17967 then :
17968 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17972 if test "$ac_cv_header_cups_cups_h" = "yes"
17973 then
17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17975 printf %s "checking for -lcups... " >&6; }
17976 if test ${ac_cv_lib_soname_cups+y}
17977 then :
17978 printf %s "(cached) " >&6
17979 else $as_nop
17980 ac_check_soname_save_LIBS=$LIBS
17981 LIBS="-lcups $CUPS_LIBS $LIBS"
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17985 /* Override any GCC internal prototype to avoid an error.
17986 Use char because int might match the return type of a GCC
17987 builtin and then its argument prototype would still apply. */
17988 char cupsGetDefault ();
17990 main (void)
17992 return cupsGetDefault ();
17994 return 0;
17996 _ACEOF
17997 if ac_fn_c_try_link "$LINENO"
17998 then :
17999 case "$LIBEXT" in
18000 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18001 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'` ;;
18002 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18003 if ${ac_cv_lib_soname_cups:+false} :
18004 then :
18005 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18006 fi ;;
18007 esac
18008 else $as_nop
18009 ac_cv_lib_soname_cups=
18011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18012 conftest$ac_exeext conftest.$ac_ext
18013 LIBS=$ac_check_soname_save_LIBS
18015 if ${ac_cv_lib_soname_cups:+false} :
18016 then :
18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18018 printf "%s\n" "not found" >&6; }
18019 CUPS_LIBS=""
18020 else $as_nop
18021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18022 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18024 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18028 else
18029 CUPS_CFLAGS=""
18030 CUPS_LIBS=""
18032 CPPFLAGS=$ac_save_CPPFLAGS
18035 if test "x$ac_cv_lib_soname_cups" = "x"
18036 then :
18037 case "x$with_cups" in
18038 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18039 xno) ;;
18040 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18041 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18042 esac
18046 if test "x$with_fontconfig" != "xno"
18047 then
18048 rm -f conftest.err
18049 if ${FONTCONFIG_CFLAGS:+false} :
18050 then :
18051 if test ${PKG_CONFIG+y}
18052 then :
18053 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18056 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18057 if ${FONTCONFIG_LIBS:+false} :
18058 then :
18059 if test ${PKG_CONFIG+y}
18060 then :
18061 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18064 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18068 if test -s conftest.err; then
18069 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18070 cat conftest.err >&5
18072 rm -f conftest.err
18073 ac_save_CPPFLAGS=$CPPFLAGS
18074 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18075 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18076 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18077 then :
18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18079 printf %s "checking for -lfontconfig... " >&6; }
18080 if test ${ac_cv_lib_soname_fontconfig+y}
18081 then :
18082 printf %s "(cached) " >&6
18083 else $as_nop
18084 ac_check_soname_save_LIBS=$LIBS
18085 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18089 /* Override any GCC internal prototype to avoid an error.
18090 Use char because int might match the return type of a GCC
18091 builtin and then its argument prototype would still apply. */
18092 char FcInit ();
18094 main (void)
18096 return FcInit ();
18098 return 0;
18100 _ACEOF
18101 if ac_fn_c_try_link "$LINENO"
18102 then :
18103 case "$LIBEXT" in
18104 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18105 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'` ;;
18106 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18107 if ${ac_cv_lib_soname_fontconfig:+false} :
18108 then :
18109 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18110 fi ;;
18111 esac
18112 else $as_nop
18113 ac_cv_lib_soname_fontconfig=
18115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18116 conftest$ac_exeext conftest.$ac_ext
18117 LIBS=$ac_check_soname_save_LIBS
18119 if ${ac_cv_lib_soname_fontconfig:+false} :
18120 then :
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18122 printf "%s\n" "not found" >&6; }
18123 FONTCONFIG_CFLAGS=""
18124 else $as_nop
18125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18126 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18128 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18132 else $as_nop
18133 FONTCONFIG_CFLAGS=""
18136 CPPFLAGS=$ac_save_CPPFLAGS
18139 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18140 then :
18141 case "x$with_fontconfig" in
18142 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18143 xno) ;;
18144 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18145 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18146 esac
18150 if test "x$with_krb5" != "xno"
18151 then
18152 rm -f conftest.err
18153 if ${KRB5_CFLAGS:+false} :
18154 then :
18155 if test ${PKG_CONFIG+y}
18156 then :
18157 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18160 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18161 if ${KRB5_LIBS:+false} :
18162 then :
18163 if test ${PKG_CONFIG+y}
18164 then :
18165 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18168 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18172 if test -s conftest.err; then
18173 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18174 cat conftest.err >&5
18176 rm -f conftest.err
18177 ac_save_CPPFLAGS=$CPPFLAGS
18178 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18179 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18180 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18181 then :
18182 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18186 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18187 then
18188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18189 printf %s "checking for -lkrb5... " >&6; }
18190 if test ${ac_cv_lib_soname_krb5+y}
18191 then :
18192 printf %s "(cached) " >&6
18193 else $as_nop
18194 ac_check_soname_save_LIBS=$LIBS
18195 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18199 /* Override any GCC internal prototype to avoid an error.
18200 Use char because int might match the return type of a GCC
18201 builtin and then its argument prototype would still apply. */
18202 char krb5_is_config_principal ();
18204 main (void)
18206 return krb5_is_config_principal ();
18208 return 0;
18210 _ACEOF
18211 if ac_fn_c_try_link "$LINENO"
18212 then :
18213 case "$LIBEXT" in
18214 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18215 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'` ;;
18216 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18217 if ${ac_cv_lib_soname_krb5:+false} :
18218 then :
18219 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18220 fi ;;
18221 esac
18222 else $as_nop
18223 ac_cv_lib_soname_krb5=
18225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18226 conftest$ac_exeext conftest.$ac_ext
18227 LIBS=$ac_check_soname_save_LIBS
18229 if ${ac_cv_lib_soname_krb5:+false} :
18230 then :
18231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18232 printf "%s\n" "not found" >&6; }
18233 KRB5_CFLAGS=""
18234 else $as_nop
18235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18236 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18238 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18242 else
18243 KRB5_CFLAGS=""
18245 CPPFLAGS=$ac_save_CPPFLAGS
18248 if test "x$ac_cv_lib_soname_krb5" = "x"
18249 then :
18250 case "x$with_krb5" in
18251 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18252 xno) ;;
18253 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18254 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18255 esac
18258 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18260 if test "x$with_gssapi" != "xno"
18261 then
18262 rm -f conftest.err
18263 if ${GSSAPI_CFLAGS:+false} :
18264 then :
18265 if test ${PKG_CONFIG+y}
18266 then :
18267 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18270 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18271 if ${GSSAPI_LIBS:+false} :
18272 then :
18273 if test ${PKG_CONFIG+y}
18274 then :
18275 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18278 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18282 if test -s conftest.err; then
18283 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18284 cat conftest.err >&5
18286 rm -f conftest.err
18287 ac_save_CPPFLAGS=$CPPFLAGS
18288 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18289 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18290 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18291 then :
18292 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18295 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18296 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18297 then :
18298 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18302 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18303 then
18304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18305 printf %s "checking for -lgssapi_krb5... " >&6; }
18306 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18307 then :
18308 printf %s "(cached) " >&6
18309 else $as_nop
18310 ac_check_soname_save_LIBS=$LIBS
18311 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18315 /* Override any GCC internal prototype to avoid an error.
18316 Use char because int might match the return type of a GCC
18317 builtin and then its argument prototype would still apply. */
18318 char gss_init_sec_context ();
18320 main (void)
18322 return gss_init_sec_context ();
18324 return 0;
18326 _ACEOF
18327 if ac_fn_c_try_link "$LINENO"
18328 then :
18329 case "$LIBEXT" in
18330 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18331 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'` ;;
18332 *) 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'`
18333 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18334 then :
18335 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18336 fi ;;
18337 esac
18338 else $as_nop
18339 ac_cv_lib_soname_gssapi_krb5=
18341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18342 conftest$ac_exeext conftest.$ac_ext
18343 LIBS=$ac_check_soname_save_LIBS
18345 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18346 then :
18347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18348 printf "%s\n" "not found" >&6; }
18349 GSSAPI_CFLAGS=""
18350 else $as_nop
18351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18352 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18354 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18358 else
18359 GSSAPI_CFLAGS=""
18361 CPPFLAGS=$ac_save_CPPFLAGS
18364 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18365 then :
18366 case "x$with_gssapi" in
18367 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18368 xno) ;;
18369 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18370 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18371 esac
18375 if test "$ac_cv_header_libprocstat_h" = "yes"
18376 then
18377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18378 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18379 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18380 then :
18381 printf %s "(cached) " >&6
18382 else $as_nop
18383 ac_check_lib_save_LIBS=$LIBS
18384 LIBS="-lprocstat $LIBS"
18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18388 /* Override any GCC internal prototype to avoid an error.
18389 Use char because int might match the return type of a GCC
18390 builtin and then its argument prototype would still apply. */
18391 char procstat_open_sysctl ();
18393 main (void)
18395 return procstat_open_sysctl ();
18397 return 0;
18399 _ACEOF
18400 if ac_fn_c_try_link "$LINENO"
18401 then :
18402 ac_cv_lib_procstat_procstat_open_sysctl=yes
18403 else $as_nop
18404 ac_cv_lib_procstat_procstat_open_sysctl=no
18406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18407 conftest$ac_exeext conftest.$ac_ext
18408 LIBS=$ac_check_lib_save_LIBS
18410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18411 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18412 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18413 then :
18415 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18417 PROCSTAT_LIBS="-lprocstat"
18423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18424 printf %s "checking for -lodbc... " >&6; }
18425 if test ${ac_cv_lib_soname_odbc+y}
18426 then :
18427 printf %s "(cached) " >&6
18428 else $as_nop
18429 ac_check_soname_save_LIBS=$LIBS
18430 LIBS="-lodbc $LIBS"
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18434 /* Override any GCC internal prototype to avoid an error.
18435 Use char because int might match the return type of a GCC
18436 builtin and then its argument prototype would still apply. */
18437 char SQLConnect ();
18439 main (void)
18441 return SQLConnect ();
18443 return 0;
18445 _ACEOF
18446 if ac_fn_c_try_link "$LINENO"
18447 then :
18448 case "$LIBEXT" in
18449 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18450 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'` ;;
18451 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18452 if ${ac_cv_lib_soname_odbc:+false} :
18453 then :
18454 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18455 fi ;;
18456 esac
18457 else $as_nop
18458 ac_cv_lib_soname_odbc=
18460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18461 conftest$ac_exeext conftest.$ac_ext
18462 LIBS=$ac_check_soname_save_LIBS
18464 if ${ac_cv_lib_soname_odbc:+false} :
18465 then :
18466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18467 printf "%s\n" "not found" >&6; }
18468 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18470 else $as_nop
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18472 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18474 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18479 if test "x$with_netapi" != "xno"
18480 then
18481 rm -f conftest.err
18482 if ${NETAPI_CFLAGS:+false} :
18483 then :
18484 if test ${PKG_CONFIG+y}
18485 then :
18486 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18490 if ${NETAPI_LIBS:+false} :
18491 then :
18492 if test ${PKG_CONFIG+y}
18493 then :
18494 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18501 if test -s conftest.err; then
18502 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18503 cat conftest.err >&5
18505 rm -f conftest.err
18506 ac_save_CPPFLAGS=$CPPFLAGS
18507 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18509 printf %s "checking for -lnetapi... " >&6; }
18510 if test ${ac_cv_lib_soname_netapi+y}
18511 then :
18512 printf %s "(cached) " >&6
18513 else $as_nop
18514 ac_check_soname_save_LIBS=$LIBS
18515 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18519 /* Override any GCC internal prototype to avoid an error.
18520 Use char because int might match the return type of a GCC
18521 builtin and then its argument prototype would still apply. */
18522 char libnetapi_init ();
18524 main (void)
18526 return libnetapi_init ();
18528 return 0;
18530 _ACEOF
18531 if ac_fn_c_try_link "$LINENO"
18532 then :
18533 case "$LIBEXT" in
18534 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18535 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'` ;;
18536 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18537 if ${ac_cv_lib_soname_netapi:+false} :
18538 then :
18539 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18540 fi ;;
18541 esac
18542 else $as_nop
18543 ac_cv_lib_soname_netapi=
18545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18546 conftest$ac_exeext conftest.$ac_ext
18547 LIBS=$ac_check_soname_save_LIBS
18549 if ${ac_cv_lib_soname_netapi:+false} :
18550 then :
18551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18552 printf "%s\n" "not found" >&6; }
18553 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18555 else $as_nop
18556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18557 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18559 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18563 CPPFLAGS=$ac_save_CPPFLAGS
18566 if test "x$ac_cv_lib_soname_netapi" = "x"
18567 then :
18568 case "x$with_netapi" in
18569 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18570 xno) ;;
18571 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18572 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18573 esac
18574 enable_netapi=${enable_netapi:-no}
18578 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18579 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18580 then
18581 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18584 if test "x$with_vulkan" != "xno"
18585 then
18586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18587 printf %s "checking for -lvulkan... " >&6; }
18588 if test ${ac_cv_lib_soname_vulkan+y}
18589 then :
18590 printf %s "(cached) " >&6
18591 else $as_nop
18592 ac_check_soname_save_LIBS=$LIBS
18593 LIBS="-lvulkan $LIBS"
18594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18597 /* Override any GCC internal prototype to avoid an error.
18598 Use char because int might match the return type of a GCC
18599 builtin and then its argument prototype would still apply. */
18600 char vkGetInstanceProcAddr ();
18602 main (void)
18604 return vkGetInstanceProcAddr ();
18606 return 0;
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"
18610 then :
18611 case "$LIBEXT" in
18612 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18613 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'` ;;
18614 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18615 if ${ac_cv_lib_soname_vulkan:+false} :
18616 then :
18617 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18618 fi ;;
18619 esac
18620 else $as_nop
18621 ac_cv_lib_soname_vulkan=
18623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18624 conftest$ac_exeext conftest.$ac_ext
18625 LIBS=$ac_check_soname_save_LIBS
18627 if ${ac_cv_lib_soname_vulkan:+false} :
18628 then :
18629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18630 printf "%s\n" "not found" >&6; }
18632 else $as_nop
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18634 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18636 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18640 if test "x$ac_cv_lib_soname_vulkan" = "x"
18641 then
18642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18643 printf %s "checking for -lMoltenVK... " >&6; }
18644 if test ${ac_cv_lib_soname_MoltenVK+y}
18645 then :
18646 printf %s "(cached) " >&6
18647 else $as_nop
18648 ac_check_soname_save_LIBS=$LIBS
18649 LIBS="-lMoltenVK $LIBS"
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18653 /* Override any GCC internal prototype to avoid an error.
18654 Use char because int might match the return type of a GCC
18655 builtin and then its argument prototype would still apply. */
18656 char vkGetInstanceProcAddr ();
18658 main (void)
18660 return vkGetInstanceProcAddr ();
18662 return 0;
18664 _ACEOF
18665 if ac_fn_c_try_link "$LINENO"
18666 then :
18667 case "$LIBEXT" in
18668 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18669 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'` ;;
18670 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18671 if ${ac_cv_lib_soname_MoltenVK:+false} :
18672 then :
18673 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18674 fi ;;
18675 esac
18676 else $as_nop
18677 ac_cv_lib_soname_MoltenVK=
18679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18680 conftest$ac_exeext conftest.$ac_ext
18681 LIBS=$ac_check_soname_save_LIBS
18683 if ${ac_cv_lib_soname_MoltenVK:+false} :
18684 then :
18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18686 printf "%s\n" "not found" >&6; }
18688 else $as_nop
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18690 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18692 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18698 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18699 then :
18700 case "x$with_vulkan" in
18701 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18702 xno) ;;
18703 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18704 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18705 esac
18710 if test "x${GCC}" = "xyes"
18711 then
18712 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18714 saved_CFLAGS=$CFLAGS
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18716 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18717 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18718 then :
18719 printf %s "(cached) " >&6
18720 else $as_nop
18721 ac_wine_try_cflags_saved=$CFLAGS
18722 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 int main(int argc, char **argv) { return 0; }
18726 _ACEOF
18727 if ac_fn_c_try_link "$LINENO"
18728 then :
18729 ac_cv_cflags__Werror_unknown_warning_option=yes
18730 else $as_nop
18731 ac_cv_cflags__Werror_unknown_warning_option=no
18733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18734 conftest$ac_exeext conftest.$ac_ext
18735 CFLAGS=$ac_wine_try_cflags_saved
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18738 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18739 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18740 then :
18741 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18744 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18745 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18746 then :
18747 printf %s "(cached) " >&6
18748 else $as_nop
18749 ac_wine_try_cflags_saved=$CFLAGS
18750 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 int main(int argc, char **argv) { return 0; }
18754 _ACEOF
18755 if ac_fn_c_try_link "$LINENO"
18756 then :
18757 ac_cv_cflags__Werror_unused_command_line_argument=yes
18758 else $as_nop
18759 ac_cv_cflags__Werror_unused_command_line_argument=no
18761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18762 conftest$ac_exeext conftest.$ac_ext
18763 CFLAGS=$ac_wine_try_cflags_saved
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18766 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18767 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18768 then :
18769 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18772 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18773 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18774 then :
18775 printf %s "(cached) " >&6
18776 else $as_nop
18777 ac_wine_try_cflags_saved=$CFLAGS
18778 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 int main(int argc, char **argv) { return 0; }
18782 _ACEOF
18783 if ac_fn_c_try_link "$LINENO"
18784 then :
18785 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18786 else $as_nop
18787 ac_cv_cflags__Werror_ignored_optimization_argument=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18790 conftest$ac_exeext conftest.$ac_ext
18791 CFLAGS=$ac_wine_try_cflags_saved
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18794 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18795 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18796 then :
18797 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18800 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18801 if test ${ac_cv_cflags__fcf_protection_none+y}
18802 then :
18803 printf %s "(cached) " >&6
18804 else $as_nop
18805 ac_wine_try_cflags_saved=$CFLAGS
18806 CFLAGS="$CFLAGS -fcf-protection=none"
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 int main(int argc, char **argv) { return 0; }
18810 _ACEOF
18811 if ac_fn_c_try_link "$LINENO"
18812 then :
18813 ac_cv_cflags__fcf_protection_none=yes
18814 else $as_nop
18815 ac_cv_cflags__fcf_protection_none=no
18817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18818 conftest$ac_exeext conftest.$ac_ext
18819 CFLAGS=$ac_wine_try_cflags_saved
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18822 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18823 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18824 then :
18825 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
18828 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
18829 if test ${ac_cv_cflags__fvisibility_hidden+y}
18830 then :
18831 printf %s "(cached) " >&6
18832 else $as_nop
18833 ac_wine_try_cflags_saved=$CFLAGS
18834 CFLAGS="$CFLAGS -fvisibility=hidden"
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 int main(int argc, char **argv) { return 0; }
18838 _ACEOF
18839 if ac_fn_c_try_link "$LINENO"
18840 then :
18841 ac_cv_cflags__fvisibility_hidden=yes
18842 else $as_nop
18843 ac_cv_cflags__fvisibility_hidden=no
18845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18846 conftest$ac_exeext conftest.$ac_ext
18847 CFLAGS=$ac_wine_try_cflags_saved
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
18850 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
18851 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
18852 then :
18853 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18856 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18857 if test ${ac_cv_cflags__fno_stack_protector+y}
18858 then :
18859 printf %s "(cached) " >&6
18860 else $as_nop
18861 ac_wine_try_cflags_saved=$CFLAGS
18862 CFLAGS="$CFLAGS -fno-stack-protector"
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 int main(int argc, char **argv) { return 0; }
18866 _ACEOF
18867 if ac_fn_c_try_link "$LINENO"
18868 then :
18869 ac_cv_cflags__fno_stack_protector=yes
18870 else $as_nop
18871 ac_cv_cflags__fno_stack_protector=no
18873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18874 conftest$ac_exeext conftest.$ac_ext
18875 CFLAGS=$ac_wine_try_cflags_saved
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18878 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18879 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18880 then :
18881 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18884 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18885 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18886 then :
18887 printf %s "(cached) " >&6
18888 else $as_nop
18889 ac_wine_try_cflags_saved=$CFLAGS
18890 CFLAGS="$CFLAGS -fno-strict-aliasing"
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 int main(int argc, char **argv) { return 0; }
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"
18896 then :
18897 ac_cv_cflags__fno_strict_aliasing=yes
18898 else $as_nop
18899 ac_cv_cflags__fno_strict_aliasing=no
18901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18902 conftest$ac_exeext conftest.$ac_ext
18903 CFLAGS=$ac_wine_try_cflags_saved
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18906 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18907 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18908 then :
18909 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18912 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18913 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18914 then :
18915 printf %s "(cached) " >&6
18916 else $as_nop
18917 ac_wine_try_cflags_saved=$CFLAGS
18918 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18921 int main(int argc, char **argv) { return 0; }
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"
18924 then :
18925 ac_cv_cflags__Wdeclaration_after_statement=yes
18926 else $as_nop
18927 ac_cv_cflags__Wdeclaration_after_statement=no
18929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18930 conftest$ac_exeext conftest.$ac_ext
18931 CFLAGS=$ac_wine_try_cflags_saved
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18934 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18935 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18936 then :
18937 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18940 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18941 if test ${ac_cv_cflags__Wempty_body+y}
18942 then :
18943 printf %s "(cached) " >&6
18944 else $as_nop
18945 ac_wine_try_cflags_saved=$CFLAGS
18946 CFLAGS="$CFLAGS -Wempty-body"
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 int main(int argc, char **argv) { return 0; }
18950 _ACEOF
18951 if ac_fn_c_try_link "$LINENO"
18952 then :
18953 ac_cv_cflags__Wempty_body=yes
18954 else $as_nop
18955 ac_cv_cflags__Wempty_body=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18958 conftest$ac_exeext conftest.$ac_ext
18959 CFLAGS=$ac_wine_try_cflags_saved
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18962 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18963 if test "x$ac_cv_cflags__Wempty_body" = xyes
18964 then :
18965 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18968 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18969 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18970 then :
18971 printf %s "(cached) " >&6
18972 else $as_nop
18973 ac_wine_try_cflags_saved=$CFLAGS
18974 CFLAGS="$CFLAGS -Wignored-qualifiers"
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18977 int main(int argc, char **argv) { return 0; }
18978 _ACEOF
18979 if ac_fn_c_try_link "$LINENO"
18980 then :
18981 ac_cv_cflags__Wignored_qualifiers=yes
18982 else $as_nop
18983 ac_cv_cflags__Wignored_qualifiers=no
18985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18986 conftest$ac_exeext conftest.$ac_ext
18987 CFLAGS=$ac_wine_try_cflags_saved
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18990 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18991 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18992 then :
18993 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18996 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18997 if test ${ac_cv_cflags__Winit_self+y}
18998 then :
18999 printf %s "(cached) " >&6
19000 else $as_nop
19001 ac_wine_try_cflags_saved=$CFLAGS
19002 CFLAGS="$CFLAGS -Winit-self"
19003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19005 int main(int argc, char **argv) { return 0; }
19006 _ACEOF
19007 if ac_fn_c_try_link "$LINENO"
19008 then :
19009 ac_cv_cflags__Winit_self=yes
19010 else $as_nop
19011 ac_cv_cflags__Winit_self=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19014 conftest$ac_exeext conftest.$ac_ext
19015 CFLAGS=$ac_wine_try_cflags_saved
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19018 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19019 if test "x$ac_cv_cflags__Winit_self" = xyes
19020 then :
19021 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19024 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19025 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19026 then :
19027 printf %s "(cached) " >&6
19028 else $as_nop
19029 ac_wine_try_cflags_saved=$CFLAGS
19030 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033 int main(int argc, char **argv) { return 0; }
19034 _ACEOF
19035 if ac_fn_c_try_link "$LINENO"
19036 then :
19037 ac_cv_cflags__Wpacked_not_aligned=yes
19038 else $as_nop
19039 ac_cv_cflags__Wpacked_not_aligned=no
19041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19042 conftest$ac_exeext conftest.$ac_ext
19043 CFLAGS=$ac_wine_try_cflags_saved
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19046 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19047 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19048 then :
19049 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19052 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19053 if test ${ac_cv_cflags__Wpragma_pack+y}
19054 then :
19055 printf %s "(cached) " >&6
19056 else $as_nop
19057 ac_wine_try_cflags_saved=$CFLAGS
19058 CFLAGS="$CFLAGS -Wpragma-pack"
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 int main(int argc, char **argv) { return 0; }
19062 _ACEOF
19063 if ac_fn_c_try_link "$LINENO"
19064 then :
19065 ac_cv_cflags__Wpragma_pack=yes
19066 else $as_nop
19067 ac_cv_cflags__Wpragma_pack=no
19069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19070 conftest$ac_exeext conftest.$ac_ext
19071 CFLAGS=$ac_wine_try_cflags_saved
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19075 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19076 then :
19077 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19080 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19081 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19082 then :
19083 printf %s "(cached) " >&6
19084 else $as_nop
19085 ac_wine_try_cflags_saved=$CFLAGS
19086 CFLAGS="$CFLAGS -Wshift-overflow=2"
19087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19088 /* end confdefs.h. */
19089 int main(int argc, char **argv) { return 0; }
19090 _ACEOF
19091 if ac_fn_c_try_link "$LINENO"
19092 then :
19093 ac_cv_cflags__Wshift_overflow_2=yes
19094 else $as_nop
19095 ac_cv_cflags__Wshift_overflow_2=no
19097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19098 conftest$ac_exeext conftest.$ac_ext
19099 CFLAGS=$ac_wine_try_cflags_saved
19101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19102 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19103 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19104 then :
19105 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19108 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19109 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19110 then :
19111 printf %s "(cached) " >&6
19112 else $as_nop
19113 ac_wine_try_cflags_saved=$CFLAGS
19114 CFLAGS="$CFLAGS -Wstrict-prototypes"
19115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19117 int main(int argc, char **argv) { return 0; }
19118 _ACEOF
19119 if ac_fn_c_try_link "$LINENO"
19120 then :
19121 ac_cv_cflags__Wstrict_prototypes=yes
19122 else $as_nop
19123 ac_cv_cflags__Wstrict_prototypes=no
19125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19126 conftest$ac_exeext conftest.$ac_ext
19127 CFLAGS=$ac_wine_try_cflags_saved
19129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19130 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19131 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19132 then :
19133 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19136 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19137 if test ${ac_cv_cflags__Wtype_limits+y}
19138 then :
19139 printf %s "(cached) " >&6
19140 else $as_nop
19141 ac_wine_try_cflags_saved=$CFLAGS
19142 CFLAGS="$CFLAGS -Wtype-limits"
19143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19145 int main(int argc, char **argv) { return 0; }
19146 _ACEOF
19147 if ac_fn_c_try_link "$LINENO"
19148 then :
19149 ac_cv_cflags__Wtype_limits=yes
19150 else $as_nop
19151 ac_cv_cflags__Wtype_limits=no
19153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19154 conftest$ac_exeext conftest.$ac_ext
19155 CFLAGS=$ac_wine_try_cflags_saved
19157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19158 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19159 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19160 then :
19161 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19164 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19165 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19166 then :
19167 printf %s "(cached) " >&6
19168 else $as_nop
19169 ac_wine_try_cflags_saved=$CFLAGS
19170 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19173 int main(int argc, char **argv) { return 0; }
19174 _ACEOF
19175 if ac_fn_c_try_link "$LINENO"
19176 then :
19177 ac_cv_cflags__Wunused_but_set_parameter=yes
19178 else $as_nop
19179 ac_cv_cflags__Wunused_but_set_parameter=no
19181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19182 conftest$ac_exeext conftest.$ac_ext
19183 CFLAGS=$ac_wine_try_cflags_saved
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19186 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19187 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19188 then :
19189 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19192 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19193 if test ${ac_cv_cflags__Wvla+y}
19194 then :
19195 printf %s "(cached) " >&6
19196 else $as_nop
19197 ac_wine_try_cflags_saved=$CFLAGS
19198 CFLAGS="$CFLAGS -Wvla"
19199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19200 /* end confdefs.h. */
19201 int main(int argc, char **argv) { return 0; }
19202 _ACEOF
19203 if ac_fn_c_try_link "$LINENO"
19204 then :
19205 ac_cv_cflags__Wvla=yes
19206 else $as_nop
19207 ac_cv_cflags__Wvla=no
19209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19210 conftest$ac_exeext conftest.$ac_ext
19211 CFLAGS=$ac_wine_try_cflags_saved
19213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19214 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19215 if test "x$ac_cv_cflags__Wvla" = xyes
19216 then :
19217 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19220 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19221 if test ${ac_cv_cflags__Wwrite_strings+y}
19222 then :
19223 printf %s "(cached) " >&6
19224 else $as_nop
19225 ac_wine_try_cflags_saved=$CFLAGS
19226 CFLAGS="$CFLAGS -Wwrite-strings"
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19229 int main(int argc, char **argv) { return 0; }
19230 _ACEOF
19231 if ac_fn_c_try_link "$LINENO"
19232 then :
19233 ac_cv_cflags__Wwrite_strings=yes
19234 else $as_nop
19235 ac_cv_cflags__Wwrite_strings=no
19237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19238 conftest$ac_exeext conftest.$ac_ext
19239 CFLAGS=$ac_wine_try_cflags_saved
19241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19242 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19243 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19244 then :
19245 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19249 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19250 if test ${ac_cv_cflags__Wpointer_arith+y}
19251 then :
19252 printf %s "(cached) " >&6
19253 else $as_nop
19254 ac_wine_try_cflags_saved=$CFLAGS
19255 CFLAGS="$CFLAGS -Wpointer-arith"
19256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 int main(int argc, char **argv) { return 0; }
19259 _ACEOF
19260 if ac_fn_c_try_link "$LINENO"
19261 then :
19262 ac_cv_cflags__Wpointer_arith=yes
19263 else $as_nop
19264 ac_cv_cflags__Wpointer_arith=no
19266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19267 conftest$ac_exeext conftest.$ac_ext
19268 CFLAGS=$ac_wine_try_cflags_saved
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19271 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19272 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19273 then :
19274 saved_string_h_CFLAGS=$CFLAGS
19275 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19277 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19278 if test ${ac_cv_c_string_h_warnings+y}
19279 then :
19280 printf %s "(cached) " >&6
19281 else $as_nop
19282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19283 /* end confdefs.h. */
19284 #include <string.h>
19286 main (void)
19290 return 0;
19292 _ACEOF
19293 if ac_fn_c_try_compile "$LINENO"
19294 then :
19295 ac_cv_c_string_h_warnings=no
19296 else $as_nop
19297 ac_cv_c_string_h_warnings=yes
19299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19302 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19303 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19304 CFLAGS=$saved_string_h_CFLAGS
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19308 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19309 if test ${ac_cv_cflags__Wlogical_op+y}
19310 then :
19311 printf %s "(cached) " >&6
19312 else $as_nop
19313 ac_wine_try_cflags_saved=$CFLAGS
19314 CFLAGS="$CFLAGS -Wlogical-op"
19315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19317 int main(int argc, char **argv) { return 0; }
19318 _ACEOF
19319 if ac_fn_c_try_link "$LINENO"
19320 then :
19321 ac_cv_cflags__Wlogical_op=yes
19322 else $as_nop
19323 ac_cv_cflags__Wlogical_op=no
19325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19326 conftest$ac_exeext conftest.$ac_ext
19327 CFLAGS=$ac_wine_try_cflags_saved
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19330 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19331 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19332 then :
19333 saved_string_h_CFLAGS=$CFLAGS
19334 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19336 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19337 if test ${ac_cv_c_logicalop_noisy+y}
19338 then :
19339 printf %s "(cached) " >&6
19340 else $as_nop
19341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19342 /* end confdefs.h. */
19343 #include <string.h>
19344 char*f(const char *h,char n) {return strchr(h,n);}
19346 main (void)
19350 return 0;
19352 _ACEOF
19353 if ac_fn_c_try_compile "$LINENO"
19354 then :
19355 ac_cv_c_logicalop_noisy=no
19356 else $as_nop
19357 ac_cv_c_logicalop_noisy=yes
19359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19362 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19363 CFLAGS=$saved_string_h_CFLAGS
19364 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19368 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19369 if test ${wine_cv_64bit_compare_swap+y}
19370 then :
19371 printf %s "(cached) " >&6
19372 else $as_nop
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19376 #error no
19377 #endif
19379 main (void)
19383 return 0;
19385 _ACEOF
19386 if ac_fn_c_try_compile "$LINENO"
19387 then :
19388 wine_cv_64bit_compare_swap="none needed"
19389 else $as_nop
19390 case $HOST_ARCH in
19391 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19392 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19393 *) wine_cv_64bit_compare_swap="unknown" ;;
19394 esac
19395 if test "x$wine_cv_64bit_compare_swap" != xunknown
19396 then
19397 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19401 #error no
19402 #endif
19404 main (void)
19408 return 0;
19410 _ACEOF
19411 if ac_fn_c_try_compile "$LINENO"
19412 then :
19414 else $as_nop
19415 wine_cv_64bit_compare_swap="unknown"
19417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19418 CFLAGS=$saved_CFLAGS
19421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19424 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19425 case "$wine_cv_64bit_compare_swap" in
19426 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19427 "none needed") ;;
19428 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19429 esac
19431 ac_debug_format_seen=""
19432 for ac_flag in $CFLAGS; do
19433 case $ac_flag in
19434 -gdwarf*) ac_debug_format_seen=yes ;;
19435 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19436 esac
19437 done
19438 if test "x$ac_debug_format_seen" = xdefault
19439 then
19440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19441 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19442 if test ${ac_cv_cflags__gdwarf_4+y}
19443 then :
19444 printf %s "(cached) " >&6
19445 else $as_nop
19446 ac_wine_try_cflags_saved=$CFLAGS
19447 CFLAGS="$CFLAGS -gdwarf-4"
19448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19450 int main(int argc, char **argv) { return 0; }
19451 _ACEOF
19452 if ac_fn_c_try_link "$LINENO"
19453 then :
19454 ac_cv_cflags__gdwarf_4=yes
19455 else $as_nop
19456 ac_cv_cflags__gdwarf_4=no
19458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19459 conftest$ac_exeext conftest.$ac_ext
19460 CFLAGS=$ac_wine_try_cflags_saved
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19463 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19464 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19465 then :
19466 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19470 MSVCRTFLAGS=""
19472 case $host_os in
19473 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19474 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19475 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19476 then :
19477 printf %s "(cached) " >&6
19478 else $as_nop
19479 ac_wine_try_cflags_saved=$CFLAGS
19480 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 int main(int argc, char **argv) { return 0; }
19484 _ACEOF
19485 if ac_fn_c_try_link "$LINENO"
19486 then :
19487 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19488 else $as_nop
19489 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19492 conftest$ac_exeext conftest.$ac_ext
19493 CFLAGS=$ac_wine_try_cflags_saved
19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19496 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19497 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19498 then :
19499 DELAYLOADFLAG="-Wl,-delayload,"
19501 fi ;;
19502 *) MSVCRTFLAGS="-D_WIN32"
19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19504 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19505 if test ${ac_cv_cflags__fno_builtin+y}
19506 then :
19507 printf %s "(cached) " >&6
19508 else $as_nop
19509 ac_wine_try_cflags_saved=$CFLAGS
19510 CFLAGS="$CFLAGS -fno-builtin"
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19513 int main(int argc, char **argv) { return 0; }
19514 _ACEOF
19515 if ac_fn_c_try_link "$LINENO"
19516 then :
19517 ac_cv_cflags__fno_builtin=yes
19518 else $as_nop
19519 ac_cv_cflags__fno_builtin=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19522 conftest$ac_exeext conftest.$ac_ext
19523 CFLAGS=$ac_wine_try_cflags_saved
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19526 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19527 if test "x$ac_cv_cflags__fno_builtin" = xyes
19528 then :
19529 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19532 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19533 if test ${ac_cv_cflags__fshort_wchar+y}
19534 then :
19535 printf %s "(cached) " >&6
19536 else $as_nop
19537 ac_wine_try_cflags_saved=$CFLAGS
19538 CFLAGS="$CFLAGS -fshort-wchar"
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19541 int main(int argc, char **argv) { return 0; }
19542 _ACEOF
19543 if ac_fn_c_try_link "$LINENO"
19544 then :
19545 ac_cv_cflags__fshort_wchar=yes
19546 else $as_nop
19547 ac_cv_cflags__fshort_wchar=no
19549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19550 conftest$ac_exeext conftest.$ac_ext
19551 CFLAGS=$ac_wine_try_cflags_saved
19553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19554 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19555 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19556 then :
19557 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19560 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19561 if test ${ac_cv_cflags__Wno_format+y}
19562 then :
19563 printf %s "(cached) " >&6
19564 else $as_nop
19565 ac_wine_try_cflags_saved=$CFLAGS
19566 CFLAGS="$CFLAGS -Wno-format"
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 int main(int argc, char **argv) { return 0; }
19570 _ACEOF
19571 if ac_fn_c_try_link "$LINENO"
19572 then :
19573 ac_cv_cflags__Wno_format=yes
19574 else $as_nop
19575 ac_cv_cflags__Wno_format=no
19577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19578 conftest$ac_exeext conftest.$ac_ext
19579 CFLAGS=$ac_wine_try_cflags_saved
19581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19582 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19583 if test "x$ac_cv_cflags__Wno_format" = xyes
19584 then :
19585 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19586 fi ;;
19587 esac
19589 case $HOST_ARCH in
19590 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19591 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19592 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19593 then :
19594 printf %s "(cached) " >&6
19595 else $as_nop
19596 ac_wine_try_cflags_saved=$CFLAGS
19597 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600 int main(int argc, char **argv) { return 0; }
19601 _ACEOF
19602 if ac_fn_c_try_link "$LINENO"
19603 then :
19604 ac_cv_cflags__fno_omit_frame_pointer=yes
19605 else $as_nop
19606 ac_cv_cflags__fno_omit_frame_pointer=no
19608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19609 conftest$ac_exeext conftest.$ac_ext
19610 CFLAGS=$ac_wine_try_cflags_saved
19612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19613 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19614 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19615 then :
19616 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19617 fi ;;
19618 x86_64)
19619 case $host_os in
19620 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19621 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19622 if test ${ac_cv_cflags__Wno_format+y}
19623 then :
19624 printf %s "(cached) " >&6
19625 else $as_nop
19626 ac_wine_try_cflags_saved=$CFLAGS
19627 CFLAGS="$CFLAGS -Wno-format"
19628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19629 /* end confdefs.h. */
19630 int main(int argc, char **argv) { return 0; }
19631 _ACEOF
19632 if ac_fn_c_try_link "$LINENO"
19633 then :
19634 ac_cv_cflags__Wno_format=yes
19635 else $as_nop
19636 ac_cv_cflags__Wno_format=no
19638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19639 conftest$ac_exeext conftest.$ac_ext
19640 CFLAGS=$ac_wine_try_cflags_saved
19642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19643 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19644 if test "x$ac_cv_cflags__Wno_format" = xyes
19645 then :
19646 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19647 fi ;;
19648 *) if test -z "$PE_ARCHS"
19649 then
19650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19651 printf %s "checking for working -mabi=ms... " >&6; }
19652 if test ${ac_cv_mabi_ms+y}
19653 then :
19654 printf %s "(cached) " >&6
19655 else $as_nop
19656 CFLAGS="$CFLAGS -mabi=ms"
19657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19658 /* end confdefs.h. */
19659 #include <stdarg.h>
19660 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19662 main (void)
19666 return 0;
19668 _ACEOF
19669 if ac_fn_c_try_compile "$LINENO"
19670 then :
19671 ac_cv_mabi_ms=yes
19672 else $as_nop
19673 ac_cv_mabi_ms=no
19675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19676 CFLAGS=$saved_CFLAGS
19678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19679 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19680 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
19682 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19683 esac ;;
19684 arm)
19685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19686 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19687 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19688 then :
19689 printf %s "(cached) " >&6
19690 else $as_nop
19691 ac_wine_try_cflags_saved=$CFLAGS
19692 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h. */
19695 int main(int argc, char **argv) { return 0; }
19696 _ACEOF
19697 if ac_fn_c_try_link "$LINENO"
19698 then :
19699 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19700 else $as_nop
19701 ac_cv_cflags__Wincompatible_function_pointer_types=no
19703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19704 conftest$ac_exeext conftest.$ac_ext
19705 CFLAGS=$ac_wine_try_cflags_saved
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19708 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19709 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19710 then :
19711 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19712 fi ;;
19713 esac
19715 CFLAGS=$saved_CFLAGS
19717 if test "x$enable_werror" = "xyes"
19718 then
19719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19720 printf %s "checking whether the compiler supports -Werror... " >&6; }
19721 if test ${ac_cv_cflags__Werror+y}
19722 then :
19723 printf %s "(cached) " >&6
19724 else $as_nop
19725 ac_wine_try_cflags_saved=$CFLAGS
19726 CFLAGS="$CFLAGS -Werror"
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19729 int main(int argc, char **argv) { return 0; }
19730 _ACEOF
19731 if ac_fn_c_try_link "$LINENO"
19732 then :
19733 ac_cv_cflags__Werror=yes
19734 else $as_nop
19735 ac_cv_cflags__Werror=no
19737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19738 conftest$ac_exeext conftest.$ac_ext
19739 CFLAGS=$ac_wine_try_cflags_saved
19741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19742 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19743 if test "x$ac_cv_cflags__Werror" = xyes
19744 then :
19745 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19748 if test "x$enable_build_id" = "xyes"
19749 then
19750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19751 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19752 if test ${ac_cv_cflags__Wl___build_id+y}
19753 then :
19754 printf %s "(cached) " >&6
19755 else $as_nop
19756 ac_wine_try_cflags_saved=$CFLAGS
19757 CFLAGS="$CFLAGS -Wl,--build-id"
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760 int main(int argc, char **argv) { return 0; }
19761 _ACEOF
19762 if ac_fn_c_try_link "$LINENO"
19763 then :
19764 ac_cv_cflags__Wl___build_id=yes
19765 else $as_nop
19766 ac_cv_cflags__Wl___build_id=no
19768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19769 conftest$ac_exeext conftest.$ac_ext
19770 CFLAGS=$ac_wine_try_cflags_saved
19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19773 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19774 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19775 then :
19776 CFLAGS="$CFLAGS -Wl,--build-id"
19777 LDFLAGS="$LDFLAGS -Wl,--build-id"
19783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19784 printf %s "checking for the need to disable Fortify... " >&6; }
19785 if test ${ac_cv_c_fortify_enabled+y}
19786 then :
19787 printf %s "(cached) " >&6
19788 else $as_nop
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791 #include <string.h>
19793 main (void)
19795 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19796 #error Fortify enabled
19797 #endif
19799 return 0;
19801 _ACEOF
19802 if ac_fn_c_try_compile "$LINENO"
19803 then :
19804 ac_cv_c_fortify_enabled=no
19805 else $as_nop
19806 ac_cv_c_fortify_enabled=yes
19808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19811 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19812 if test "$ac_cv_c_fortify_enabled" = yes
19813 then
19814 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19819 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19820 if test ${ac_cv_c_cfi_support+y}
19821 then :
19822 printf %s "(cached) " >&6
19823 else $as_nop
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19826 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19828 main (void)
19832 return 0;
19834 _ACEOF
19835 if ac_fn_c_try_compile "$LINENO"
19836 then :
19837 ac_cv_c_cfi_support="yes"
19838 else $as_nop
19839 ac_cv_c_cfi_support="no"
19841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19844 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19845 if test "$ac_cv_c_cfi_support" = "yes"
19846 then
19847 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19848 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19849 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19850 elif test $HOST_ARCH = x86_64
19851 then
19852 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19856 case "$HOST_ARCH,$PE_ARCHS" in
19857 x86_64,*i386*) wine_binary="wine" ;;
19858 x86_64,*) wine_binary="wine64" ;;
19859 *) wine_binary="wine" ;;
19860 esac
19861 WINELOADER_PROGRAMS="$wine_binary"
19864 case $host_os in
19865 linux*)
19866 if test $HOST_ARCH != unknown
19867 then
19868 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19869 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19872 darwin*|macosx*)
19873 if test "$wine_can_build_preloader" = "yes"
19874 then
19875 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19876 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19879 esac
19882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19883 printf %s "checking for library containing dlopen... " >&6; }
19884 if test ${ac_cv_search_dlopen+y}
19885 then :
19886 printf %s "(cached) " >&6
19887 else $as_nop
19888 ac_func_search_save_LIBS=$LIBS
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19892 /* Override any GCC internal prototype to avoid an error.
19893 Use char because int might match the return type of a GCC
19894 builtin and then its argument prototype would still apply. */
19895 char dlopen ();
19897 main (void)
19899 return dlopen ();
19901 return 0;
19903 _ACEOF
19904 for ac_lib in '' dl
19906 if test -z "$ac_lib"; then
19907 ac_res="none required"
19908 else
19909 ac_res=-l$ac_lib
19910 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19912 if ac_fn_c_try_link "$LINENO"
19913 then :
19914 ac_cv_search_dlopen=$ac_res
19916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19917 conftest$ac_exeext
19918 if test ${ac_cv_search_dlopen+y}
19919 then :
19920 break
19922 done
19923 if test ${ac_cv_search_dlopen+y}
19924 then :
19926 else $as_nop
19927 ac_cv_search_dlopen=no
19929 rm conftest.$ac_ext
19930 LIBS=$ac_func_search_save_LIBS
19932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19933 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19934 ac_res=$ac_cv_search_dlopen
19935 if test "$ac_res" != no
19936 then :
19937 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19943 printf %s "checking for library containing gethostbyname... " >&6; }
19944 if test ${ac_cv_search_gethostbyname+y}
19945 then :
19946 printf %s "(cached) " >&6
19947 else $as_nop
19948 ac_func_search_save_LIBS=$LIBS
19949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19950 /* end confdefs.h. */
19952 /* Override any GCC internal prototype to avoid an error.
19953 Use char because int might match the return type of a GCC
19954 builtin and then its argument prototype would still apply. */
19955 char gethostbyname ();
19957 main (void)
19959 return gethostbyname ();
19961 return 0;
19963 _ACEOF
19964 for ac_lib in '' nsl
19966 if test -z "$ac_lib"; then
19967 ac_res="none required"
19968 else
19969 ac_res=-l$ac_lib
19970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19972 if ac_fn_c_try_link "$LINENO"
19973 then :
19974 ac_cv_search_gethostbyname=$ac_res
19976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19977 conftest$ac_exeext
19978 if test ${ac_cv_search_gethostbyname+y}
19979 then :
19980 break
19982 done
19983 if test ${ac_cv_search_gethostbyname+y}
19984 then :
19986 else $as_nop
19987 ac_cv_search_gethostbyname=no
19989 rm conftest.$ac_ext
19990 LIBS=$ac_func_search_save_LIBS
19992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19993 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19994 ac_res=$ac_cv_search_gethostbyname
19995 if test "$ac_res" != no
19996 then :
19997 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20003 printf %s "checking for library containing connect... " >&6; }
20004 if test ${ac_cv_search_connect+y}
20005 then :
20006 printf %s "(cached) " >&6
20007 else $as_nop
20008 ac_func_search_save_LIBS=$LIBS
20009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h. */
20012 /* Override any GCC internal prototype to avoid an error.
20013 Use char because int might match the return type of a GCC
20014 builtin and then its argument prototype would still apply. */
20015 char connect ();
20017 main (void)
20019 return connect ();
20021 return 0;
20023 _ACEOF
20024 for ac_lib in '' socket
20026 if test -z "$ac_lib"; then
20027 ac_res="none required"
20028 else
20029 ac_res=-l$ac_lib
20030 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20032 if ac_fn_c_try_link "$LINENO"
20033 then :
20034 ac_cv_search_connect=$ac_res
20036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20037 conftest$ac_exeext
20038 if test ${ac_cv_search_connect+y}
20039 then :
20040 break
20042 done
20043 if test ${ac_cv_search_connect+y}
20044 then :
20046 else $as_nop
20047 ac_cv_search_connect=no
20049 rm conftest.$ac_ext
20050 LIBS=$ac_func_search_save_LIBS
20052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20053 printf "%s\n" "$ac_cv_search_connect" >&6; }
20054 ac_res=$ac_cv_search_connect
20055 if test "$ac_res" != no
20056 then :
20057 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20063 printf %s "checking for library containing inet_aton... " >&6; }
20064 if test ${ac_cv_search_inet_aton+y}
20065 then :
20066 printf %s "(cached) " >&6
20067 else $as_nop
20068 ac_func_search_save_LIBS=$LIBS
20069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h. */
20072 /* Override any GCC internal prototype to avoid an error.
20073 Use char because int might match the return type of a GCC
20074 builtin and then its argument prototype would still apply. */
20075 char inet_aton ();
20077 main (void)
20079 return inet_aton ();
20081 return 0;
20083 _ACEOF
20084 for ac_lib in '' resolv
20086 if test -z "$ac_lib"; then
20087 ac_res="none required"
20088 else
20089 ac_res=-l$ac_lib
20090 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20092 if ac_fn_c_try_link "$LINENO"
20093 then :
20094 ac_cv_search_inet_aton=$ac_res
20096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20097 conftest$ac_exeext
20098 if test ${ac_cv_search_inet_aton+y}
20099 then :
20100 break
20102 done
20103 if test ${ac_cv_search_inet_aton+y}
20104 then :
20106 else $as_nop
20107 ac_cv_search_inet_aton=no
20109 rm conftest.$ac_ext
20110 LIBS=$ac_func_search_save_LIBS
20112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20113 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20114 ac_res=$ac_cv_search_inet_aton
20115 if test "$ac_res" != no
20116 then :
20117 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20122 ac_save_CFLAGS="$CFLAGS"
20123 CFLAGS="$CFLAGS $BUILTINFLAG"
20124 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20125 if test "x$ac_cv_func_dladdr1" = xyes
20126 then :
20127 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20130 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20131 if test "x$ac_cv_func_dlinfo" = xyes
20132 then :
20133 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20136 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20137 if test "x$ac_cv_func_epoll_create" = xyes
20138 then :
20139 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20142 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20143 if test "x$ac_cv_func_fstatfs" = xyes
20144 then :
20145 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20148 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20149 if test "x$ac_cv_func_futimens" = xyes
20150 then :
20151 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20154 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20155 if test "x$ac_cv_func_futimes" = xyes
20156 then :
20157 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20160 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20161 if test "x$ac_cv_func_futimesat" = xyes
20162 then :
20163 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20166 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20167 if test "x$ac_cv_func_getaddrinfo" = xyes
20168 then :
20169 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20172 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20173 if test "x$ac_cv_func_getattrlist" = xyes
20174 then :
20175 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20178 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20179 if test "x$ac_cv_func_getauxval" = xyes
20180 then :
20181 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20184 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20185 if test "x$ac_cv_func_getifaddrs" = xyes
20186 then :
20187 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20190 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20191 if test "x$ac_cv_func_getrandom" = xyes
20192 then :
20193 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20196 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20197 if test "x$ac_cv_func_kqueue" = xyes
20198 then :
20199 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20202 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20203 if test "x$ac_cv_func_mach_continuous_time" = xyes
20204 then :
20205 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20208 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20209 if test "x$ac_cv_func_pipe2" = xyes
20210 then :
20211 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20214 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20215 if test "x$ac_cv_func_port_create" = xyes
20216 then :
20217 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20220 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20221 if test "x$ac_cv_func_posix_fadvise" = xyes
20222 then :
20223 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20226 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20227 if test "x$ac_cv_func_posix_fallocate" = xyes
20228 then :
20229 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20232 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20233 if test "x$ac_cv_func_prctl" = xyes
20234 then :
20235 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20238 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20239 if test "x$ac_cv_func_proc_pidinfo" = xyes
20240 then :
20241 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20244 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20245 if test "x$ac_cv_func_sched_yield" = xyes
20246 then :
20247 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20250 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20251 if test "x$ac_cv_func_setproctitle" = xyes
20252 then :
20253 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20256 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20257 if test "x$ac_cv_func_setprogname" = xyes
20258 then :
20259 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20262 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20263 if test "x$ac_cv_func_sigprocmask" = xyes
20264 then :
20265 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20268 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20269 if test "x$ac_cv_func_sysinfo" = xyes
20270 then :
20271 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20274 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20275 if test "x$ac_cv_func_tcdrain" = xyes
20276 then :
20277 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20280 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20281 if test "x$ac_cv_func_thr_kill2" = xyes
20282 then :
20283 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20287 CFLAGS="$ac_save_CFLAGS"
20289 case $host_os in
20290 darwin*|macosx*) ;;
20291 *) ac_save_LIBS=$LIBS
20292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20293 printf %s "checking for library containing clock_gettime... " >&6; }
20294 if test ${ac_cv_search_clock_gettime+y}
20295 then :
20296 printf %s "(cached) " >&6
20297 else $as_nop
20298 ac_func_search_save_LIBS=$LIBS
20299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20300 /* end confdefs.h. */
20302 /* Override any GCC internal prototype to avoid an error.
20303 Use char because int might match the return type of a GCC
20304 builtin and then its argument prototype would still apply. */
20305 char clock_gettime ();
20307 main (void)
20309 return clock_gettime ();
20311 return 0;
20313 _ACEOF
20314 for ac_lib in '' rt
20316 if test -z "$ac_lib"; then
20317 ac_res="none required"
20318 else
20319 ac_res=-l$ac_lib
20320 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20322 if ac_fn_c_try_link "$LINENO"
20323 then :
20324 ac_cv_search_clock_gettime=$ac_res
20326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20327 conftest$ac_exeext
20328 if test ${ac_cv_search_clock_gettime+y}
20329 then :
20330 break
20332 done
20333 if test ${ac_cv_search_clock_gettime+y}
20334 then :
20336 else $as_nop
20337 ac_cv_search_clock_gettime=no
20339 rm conftest.$ac_ext
20340 LIBS=$ac_func_search_save_LIBS
20342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20343 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20344 ac_res=$ac_cv_search_clock_gettime
20345 if test "$ac_res" != no
20346 then :
20347 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20349 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20351 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20355 LIBS=$ac_save_LIBS
20357 esac
20359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20360 printf %s "checking for sched_setaffinity... " >&6; }
20361 if test ${wine_cv_have_sched_setaffinity+y}
20362 then :
20363 printf %s "(cached) " >&6
20364 else $as_nop
20365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20366 /* end confdefs.h. */
20367 #include <sched.h>
20369 main (void)
20371 sched_setaffinity(0, 0, 0);
20373 return 0;
20375 _ACEOF
20376 if ac_fn_c_try_link "$LINENO"
20377 then :
20378 wine_cv_have_sched_setaffinity=yes
20379 else $as_nop
20380 wine_cv_have_sched_setaffinity=no
20382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20383 conftest$ac_exeext conftest.$ac_ext
20385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20386 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20387 if test "$wine_cv_have_sched_setaffinity" = "yes"
20388 then
20390 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20396 printf %s "checking for inline... " >&6; }
20397 if test ${ac_cv_c_inline+y}
20398 then :
20399 printf %s "(cached) " >&6
20400 else $as_nop
20401 ac_cv_c_inline=no
20402 for ac_kw in inline __inline__ __inline; do
20403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20404 /* end confdefs.h. */
20405 #ifndef __cplusplus
20406 typedef int foo_t;
20407 static $ac_kw foo_t static_foo (void) {return 0; }
20408 $ac_kw foo_t foo (void) {return 0; }
20409 #endif
20411 _ACEOF
20412 if ac_fn_c_try_compile "$LINENO"
20413 then :
20414 ac_cv_c_inline=$ac_kw
20416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20417 test "$ac_cv_c_inline" != no && break
20418 done
20421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20422 printf "%s\n" "$ac_cv_c_inline" >&6; }
20424 case $ac_cv_c_inline in
20425 inline | yes) ;;
20427 case $ac_cv_c_inline in
20428 no) ac_val=;;
20429 *) ac_val=$ac_cv_c_inline;;
20430 esac
20431 cat >>confdefs.h <<_ACEOF
20432 #ifndef __cplusplus
20433 #define inline $ac_val
20434 #endif
20435 _ACEOF
20437 esac
20439 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20441 if test "x$ac_cv_type_request_sense" = xyes
20442 then :
20444 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20450 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20451 #include <sys/socket.h>
20452 #ifdef HAVE_SYS_SOCKETVAR_H
20453 #include <sys/socketvar.h>
20454 #endif
20455 #ifdef HAVE_NET_ROUTE_H
20456 #include <net/route.h>
20457 #endif
20458 #ifdef HAVE_NETINET_IN_H
20459 #include <netinet/in.h>
20460 #endif
20461 #ifdef HAVE_NETINET_IN_SYSTM_H
20462 #include <netinet/in_systm.h>
20463 #endif
20464 #ifdef HAVE_NETINET_IP_H
20465 #include <netinet/ip.h>
20466 #endif
20467 #ifdef HAVE_NETINET_IN_PCB_H
20468 #include <netinet/in_pcb.h>
20469 #endif
20471 if test "x$ac_cv_type_struct_xinpgen" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20481 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20482 if test ${wine_cv_linux_gethostbyname_r_6+y}
20483 then :
20484 printf %s "(cached) " >&6
20485 else $as_nop
20486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20487 /* end confdefs.h. */
20488 #include <netdb.h>
20490 main (void)
20493 char *name=0;
20494 struct hostent he;
20495 struct hostent *result;
20496 char *buf=0;
20497 int bufsize=0;
20498 int errnr;
20499 char *addr=0;
20500 int addrlen=0;
20501 int addrtype=0;
20502 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20503 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20506 return 0;
20508 _ACEOF
20509 if ac_fn_c_try_link "$LINENO"
20510 then :
20511 wine_cv_linux_gethostbyname_r_6=yes
20512 else $as_nop
20513 wine_cv_linux_gethostbyname_r_6=no
20516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20517 conftest$ac_exeext conftest.$ac_ext
20520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20521 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20522 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20523 then
20525 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20529 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20530 #include <sys/socket.h>
20531 #ifdef HAVE_SYS_UN_H
20532 # include <sys/un.h>
20533 #endif
20535 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20536 then :
20538 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20542 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20543 #include <sys/socket.h>
20544 #ifdef HAVE_SYS_UN_H
20545 # include <sys/un.h>
20546 #endif
20548 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20549 then :
20551 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20557 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20558 #ifdef HAVE_SCSI_SG_H
20559 #include <scsi/sg.h>
20560 #endif
20562 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20563 then :
20565 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20569 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>
20570 #ifdef HAVE_SCSI_SG_H
20571 #include <scsi/sg.h>
20572 #endif
20574 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20575 then :
20577 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20583 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20585 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20586 then :
20588 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20594 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20595 #ifdef HAVE_SYS_MTIO_H
20596 #include <sys/mtio.h>
20597 #endif
20599 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20606 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20607 #ifdef HAVE_SYS_MTIO_H
20608 #include <sys/mtio.h>
20609 #endif
20611 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20612 then :
20614 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20618 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20619 #ifdef HAVE_SYS_MTIO_H
20620 #include <sys/mtio.h>
20621 #endif
20623 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20624 then :
20626 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20632 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20633 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20634 then :
20636 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20640 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20641 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20642 then :
20644 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20648 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20649 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20656 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20657 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20658 then :
20660 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20664 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20665 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20666 then :
20668 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20672 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20673 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20674 then :
20676 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20680 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20681 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20682 then :
20684 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20688 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20689 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20690 then :
20692 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20696 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20697 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20698 then :
20700 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20705 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20706 then :
20708 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20712 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20713 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20714 then :
20716 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20722 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>
20723 #ifdef HAVE_NETINET_IN_H
20724 #include <netinet/in.h>
20725 #endif
20727 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20728 then :
20730 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20736 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
20737 #include <resolv.h>
20738 #endif
20740 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20741 then :
20743 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20749 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20750 #include <netinet/in.h>
20751 #endif
20753 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20754 then :
20756 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20762 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20763 #ifdef HAVE_SYS_SOCKETVAR_H
20764 #include <sys/socketvar.h>
20765 #endif
20766 #ifdef HAVE_NETINET_IN_H
20767 #include <netinet/in.h>
20768 #endif
20769 #ifdef HAVE_NETINET_IP_VAR_H
20770 #include <netinet/ip_var.h>
20771 #endif
20773 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20774 then :
20776 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20782 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
20783 #include <netinet/ip_var.h>
20784 #endif
20786 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20787 then :
20789 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20795 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20796 #ifdef HAVE_SYS_SOCKETVAR_H
20797 #include <sys/socketvar.h>
20798 #endif
20799 #ifdef HAVE_NETINET_IN_H
20800 #include <netinet/in.h>
20801 #endif
20802 #ifdef HAVE_NETINET6_IP6_VAR_H
20803 #include <netinet6/ip6_var.h>
20804 #endif
20806 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20807 then :
20809 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20815 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20816 #ifdef HAVE_SYS_SOCKETVAR_H
20817 #include <sys/socketvar.h>
20818 #endif
20819 #ifdef HAVE_NETINET_IN_H
20820 #include <netinet/in.h>
20821 #endif
20822 #ifdef HAVE_NETINET_IP_H
20823 #include <netinet/ip.h>
20824 #endif
20825 #ifdef HAVE_NETINET_IP_ICMP_H
20826 #include <netinet/ip_icmp.h>
20827 #endif
20828 #ifdef HAVE_NETINET_ICMP_VAR_H
20829 #include <netinet/icmp_var.h>
20830 #endif
20832 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20833 then :
20835 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20841 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20842 #ifdef HAVE_SYS_SOCKETVAR_H
20843 #include <sys/socketvar.h>
20844 #endif
20845 #ifdef HAVE_NETINET_IN_H
20846 #include <netinet/in.h>
20847 #endif
20848 #ifdef HAVE_NETINET_ICMP6_H
20849 #include <netinet/icmp6.h>
20850 #endif
20852 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20853 then :
20855 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20861 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20862 #ifdef HAVE_SYS_SOCKETVAR_H
20863 #include <sys/socketvar.h>
20864 #endif
20865 #ifdef HAVE_NETINET_IN_H
20866 #include <netinet/in.h>
20867 #endif
20868 #ifdef HAVE_NETINET_TCP_H
20869 #include <netinet/tcp.h>
20870 #endif
20871 #ifdef HAVE_NETINET_TCP_VAR_H
20872 #include <netinet/tcp_var.h>
20873 #endif
20875 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20876 then :
20878 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20884 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
20885 #include <netinet/tcp_var.h>
20886 #endif
20888 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20889 then :
20891 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20897 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20898 #ifdef HAVE_NETINET_IN_H
20899 #include <netinet/in.h>
20900 #endif
20901 #ifdef HAVE_NETINET_IP_VAR_H
20902 #include <netinet/ip_var.h>
20903 #endif
20904 #ifdef HAVE_NETINET_UDP_H
20905 #include <netinet/udp.h>
20906 #endif
20907 #ifdef HAVE_NETINET_UDP_VAR_H
20908 #include <netinet/udp_var.h>
20909 #endif
20911 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20912 then :
20914 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20920 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20921 #ifdef HAVE_NET_IF_H
20922 # include <net/if.h>
20923 #endif
20925 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20926 then :
20928 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20934 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20935 # include <sys/sysinfo.h>
20936 #endif
20938 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20939 then :
20941 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20945 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20946 # include <sys/sysinfo.h>
20947 #endif
20949 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20950 then :
20952 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20958 LIBS="$ac_save_LIBS"
20960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20961 printf %s "checking for __builtin_popcount... " >&6; }
20962 if test ${ac_cv_have___builtin_popcount+y}
20963 then :
20964 printf %s "(cached) " >&6
20965 else $as_nop
20966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20970 main (void)
20972 return __builtin_popcount(1)
20974 return 0;
20976 _ACEOF
20977 if ac_fn_c_try_link "$LINENO"
20978 then :
20979 ac_cv_have___builtin_popcount="yes"
20980 else $as_nop
20981 ac_cv_have___builtin_popcount="no"
20983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20984 conftest$ac_exeext conftest.$ac_ext
20986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20987 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20988 if test "$ac_cv_have___builtin_popcount" = "yes"
20989 then
20991 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20996 printf %s "checking for __clear_cache... " >&6; }
20997 if test ${ac_cv_have___clear_cache+y}
20998 then :
20999 printf %s "(cached) " >&6
21000 else $as_nop
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21005 main (void)
21007 __clear_cache((void*)0, (void*)0); return 0;
21009 return 0;
21011 _ACEOF
21012 if ac_fn_c_try_link "$LINENO"
21013 then :
21014 ac_cv_have___clear_cache="yes"
21015 else $as_nop
21016 ac_cv_have___clear_cache="no"
21018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21019 conftest$ac_exeext conftest.$ac_ext
21021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21022 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21023 if test "$ac_cv_have___clear_cache" = "yes"
21024 then
21026 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21031 case $host_cpu in
21032 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21033 printf %s "checking whether we need to define __i386__... " >&6; }
21034 if test ${ac_cv_cpp_def___i386__+y}
21035 then :
21036 printf %s "(cached) " >&6
21037 else $as_nop
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #ifndef __i386__
21042 #endif
21043 _ACEOF
21044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21045 $EGREP "yes" >/dev/null 2>&1
21046 then :
21047 ac_cv_cpp_def___i386__=yes
21048 else $as_nop
21049 ac_cv_cpp_def___i386__=no
21051 rm -rf conftest*
21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21055 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21056 if test "x$ac_cv_cpp_def___i386__" = xyes
21057 then :
21058 CFLAGS="$CFLAGS -D__i386__"
21059 LINTFLAGS="$LINTFLAGS -D__i386__"
21060 fi ;;
21061 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21062 printf %s "checking whether we need to define __x86_64__... " >&6; }
21063 if test ${ac_cv_cpp_def___x86_64__+y}
21064 then :
21065 printf %s "(cached) " >&6
21066 else $as_nop
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21069 #ifndef __x86_64__
21071 #endif
21072 _ACEOF
21073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21074 $EGREP "yes" >/dev/null 2>&1
21075 then :
21076 ac_cv_cpp_def___x86_64__=yes
21077 else $as_nop
21078 ac_cv_cpp_def___x86_64__=no
21080 rm -rf conftest*
21083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21084 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21085 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21086 then :
21087 CFLAGS="$CFLAGS -D__x86_64__"
21088 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21089 fi ;;
21090 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21091 printf %s "checking whether we need to define __sparc64__... " >&6; }
21092 if test ${ac_cv_cpp_def___sparc64__+y}
21093 then :
21094 printf %s "(cached) " >&6
21095 else $as_nop
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #ifndef __sparc64__
21100 #endif
21101 _ACEOF
21102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21103 $EGREP "yes" >/dev/null 2>&1
21104 then :
21105 ac_cv_cpp_def___sparc64__=yes
21106 else $as_nop
21107 ac_cv_cpp_def___sparc64__=no
21109 rm -rf conftest*
21112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21113 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21114 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21115 then :
21116 CFLAGS="$CFLAGS -D__sparc64__"
21117 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21118 fi ;;
21119 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21120 printf %s "checking whether we need to define __sparc__... " >&6; }
21121 if test ${ac_cv_cpp_def___sparc__+y}
21122 then :
21123 printf %s "(cached) " >&6
21124 else $as_nop
21125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21126 /* end confdefs.h. */
21127 #ifndef __sparc__
21129 #endif
21130 _ACEOF
21131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21132 $EGREP "yes" >/dev/null 2>&1
21133 then :
21134 ac_cv_cpp_def___sparc__=yes
21135 else $as_nop
21136 ac_cv_cpp_def___sparc__=no
21138 rm -rf conftest*
21141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21142 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21143 if test "x$ac_cv_cpp_def___sparc__" = xyes
21144 then :
21145 CFLAGS="$CFLAGS -D__sparc__"
21146 LINTFLAGS="$LINTFLAGS -D__sparc__"
21147 fi ;;
21148 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21149 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21150 if test ${ac_cv_cpp_def___powerpc64__+y}
21151 then :
21152 printf %s "(cached) " >&6
21153 else $as_nop
21154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21155 /* end confdefs.h. */
21156 #ifndef __powerpc64__
21158 #endif
21159 _ACEOF
21160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21161 $EGREP "yes" >/dev/null 2>&1
21162 then :
21163 ac_cv_cpp_def___powerpc64__=yes
21164 else $as_nop
21165 ac_cv_cpp_def___powerpc64__=no
21167 rm -rf conftest*
21170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21171 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21172 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21173 then :
21174 CFLAGS="$CFLAGS -D__powerpc64__"
21175 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21176 fi ;;
21177 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21178 printf %s "checking whether we need to define __powerpc__... " >&6; }
21179 if test ${ac_cv_cpp_def___powerpc__+y}
21180 then :
21181 printf %s "(cached) " >&6
21182 else $as_nop
21183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21185 #ifndef __powerpc__
21187 #endif
21188 _ACEOF
21189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21190 $EGREP "yes" >/dev/null 2>&1
21191 then :
21192 ac_cv_cpp_def___powerpc__=yes
21193 else $as_nop
21194 ac_cv_cpp_def___powerpc__=no
21196 rm -rf conftest*
21199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21200 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21201 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21202 then :
21203 CFLAGS="$CFLAGS -D__powerpc__"
21204 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21205 fi ;;
21206 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21207 printf %s "checking whether we need to define __aarch64__... " >&6; }
21208 if test ${ac_cv_cpp_def___aarch64__+y}
21209 then :
21210 printf %s "(cached) " >&6
21211 else $as_nop
21212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213 /* end confdefs.h. */
21214 #ifndef __aarch64__
21216 #endif
21217 _ACEOF
21218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21219 $EGREP "yes" >/dev/null 2>&1
21220 then :
21221 ac_cv_cpp_def___aarch64__=yes
21222 else $as_nop
21223 ac_cv_cpp_def___aarch64__=no
21225 rm -rf conftest*
21228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21229 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21230 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21231 then :
21232 CFLAGS="$CFLAGS -D__aarch64__"
21233 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21234 fi ;;
21235 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21236 printf %s "checking whether we need to define __arm__... " >&6; }
21237 if test ${ac_cv_cpp_def___arm__+y}
21238 then :
21239 printf %s "(cached) " >&6
21240 else $as_nop
21241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21242 /* end confdefs.h. */
21243 #ifndef __arm__
21245 #endif
21246 _ACEOF
21247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21248 $EGREP "yes" >/dev/null 2>&1
21249 then :
21250 ac_cv_cpp_def___arm__=yes
21251 else $as_nop
21252 ac_cv_cpp_def___arm__=no
21254 rm -rf conftest*
21257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21258 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21259 if test "x$ac_cv_cpp_def___arm__" = xyes
21260 then :
21261 CFLAGS="$CFLAGS -D__arm__"
21262 LINTFLAGS="$LINTFLAGS -D__arm__"
21263 fi ;;
21264 esac
21266 case $host_vendor in
21267 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21268 printf %s "checking whether we need to define __sun__... " >&6; }
21269 if test ${ac_cv_cpp_def___sun__+y}
21270 then :
21271 printf %s "(cached) " >&6
21272 else $as_nop
21273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21274 /* end confdefs.h. */
21275 #ifndef __sun__
21277 #endif
21278 _ACEOF
21279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21280 $EGREP "yes" >/dev/null 2>&1
21281 then :
21282 ac_cv_cpp_def___sun__=yes
21283 else $as_nop
21284 ac_cv_cpp_def___sun__=no
21286 rm -rf conftest*
21289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21290 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21291 if test "x$ac_cv_cpp_def___sun__" = xyes
21292 then :
21293 CFLAGS="$CFLAGS -D__sun__"
21294 LINTFLAGS="$LINTFLAGS -D__sun__"
21295 fi ;;
21296 esac
21302 ac_config_commands="$ac_config_commands include/stamp-h"
21304 printf %s "creating Makefile rules..." >&6
21306 makedep_flags=""
21307 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21309 wine_srcdir=
21310 test "$srcdir" = . || wine_srcdir="$srcdir/"
21312 ac_config_links="$ac_config_links wine:tools/winewrapper"
21313 wine_fn_config_symlink wine
21314 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21315 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21316 wine_fn_config_symlink wine64
21319 wine_fn_config_makefile dlls/acledit enable_acledit
21320 wine_fn_config_makefile dlls/aclui enable_aclui
21321 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21322 wine_fn_config_makefile dlls/activeds enable_activeds
21323 wine_fn_config_makefile dlls/activeds/tests enable_tests
21324 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21325 wine_fn_config_makefile dlls/adsldp enable_adsldp
21326 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21327 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21328 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21329 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21330 wine_fn_config_makefile dlls/advpack enable_advpack
21331 wine_fn_config_makefile dlls/advpack/tests enable_tests
21332 wine_fn_config_makefile dlls/amsi enable_amsi
21333 wine_fn_config_makefile dlls/amstream enable_amstream
21334 wine_fn_config_makefile dlls/amstream/tests enable_tests
21335 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21336 wine_fn_config_makefile dlls/apphelp enable_apphelp
21337 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21338 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21339 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21340 wine_fn_config_makefile dlls/atl enable_atl
21341 wine_fn_config_makefile dlls/atl/tests enable_tests
21342 wine_fn_config_makefile dlls/atl100 enable_atl100
21343 wine_fn_config_makefile dlls/atl100/tests enable_tests
21344 wine_fn_config_makefile dlls/atl110 enable_atl110
21345 wine_fn_config_makefile dlls/atl110/tests enable_tests
21346 wine_fn_config_makefile dlls/atl80 enable_atl80
21347 wine_fn_config_makefile dlls/atl80/tests enable_tests
21348 wine_fn_config_makefile dlls/atl90 enable_atl90
21349 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21350 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21351 wine_fn_config_makefile dlls/atmlib enable_atmlib
21352 wine_fn_config_makefile dlls/authz enable_authz
21353 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21354 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21355 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21356 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21357 wine_fn_config_makefile dlls/avrt enable_avrt
21358 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21359 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21360 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21361 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21362 wine_fn_config_makefile dlls/browseui enable_browseui
21363 wine_fn_config_makefile dlls/browseui/tests enable_tests
21364 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21365 wine_fn_config_makefile dlls/cabinet enable_cabinet
21366 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21367 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21368 wine_fn_config_makefile dlls/cards enable_cards
21369 wine_fn_config_makefile dlls/cdosys enable_cdosys
21370 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21371 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21372 wine_fn_config_makefile dlls/clusapi enable_clusapi
21373 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21374 wine_fn_config_makefile dlls/combase enable_combase
21375 wine_fn_config_makefile dlls/combase/tests enable_tests
21376 wine_fn_config_makefile dlls/comcat enable_comcat
21377 wine_fn_config_makefile dlls/comcat/tests enable_tests
21378 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21379 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21380 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21381 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21382 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21383 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21384 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21385 wine_fn_config_makefile dlls/compstui enable_compstui
21386 wine_fn_config_makefile dlls/compstui/tests enable_tests
21387 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21388 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21389 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21390 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21391 wine_fn_config_makefile dlls/connect enable_connect
21392 wine_fn_config_makefile dlls/credui enable_credui
21393 wine_fn_config_makefile dlls/credui/tests enable_tests
21394 wine_fn_config_makefile dlls/crtdll enable_crtdll
21395 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21396 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21397 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21398 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21399 wine_fn_config_makefile dlls/cryptext enable_cryptext
21400 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21401 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21402 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21403 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21404 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21405 wine_fn_config_makefile dlls/cryptui enable_cryptui
21406 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21407 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21408 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21409 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21410 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21411 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21412 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21413 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21414 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21415 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21416 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21417 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21418 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21419 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21420 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21421 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21422 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21423 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21424 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21425 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21426 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21427 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21428 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21429 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21430 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21431 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21432 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21433 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21434 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21435 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21436 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21437 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21438 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21439 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21440 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21441 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21442 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21443 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21444 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21445 wine_fn_config_makefile dlls/d3dim enable_d3dim
21446 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21447 wine_fn_config_makefile dlls/d3drm enable_d3drm
21448 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21449 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21450 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21451 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21452 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21453 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21454 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21455 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21456 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21457 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21458 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21459 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21460 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21461 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21462 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21463 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21464 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21465 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21466 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21467 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21468 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21469 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21470 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21471 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21472 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21473 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21474 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21475 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21476 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21477 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21478 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21479 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21480 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21481 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21482 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21483 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21484 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21485 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21486 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21487 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21488 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21489 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21490 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21491 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21492 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21493 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21494 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21495 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21496 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21497 wine_fn_config_makefile dlls/davclnt enable_davclnt
21498 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21499 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21500 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21501 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21502 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21503 wine_fn_config_makefile dlls/dcomp enable_dcomp
21504 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21505 wine_fn_config_makefile dlls/ddraw enable_ddraw
21506 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21507 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21508 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21509 wine_fn_config_makefile dlls/devenum enable_devenum
21510 wine_fn_config_makefile dlls/devenum/tests enable_tests
21511 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21512 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21513 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21514 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21515 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21516 wine_fn_config_makefile dlls/difxapi enable_difxapi
21517 wine_fn_config_makefile dlls/dinput enable_dinput
21518 wine_fn_config_makefile dlls/dinput/tests enable_tests
21519 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21520 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21521 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21522 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21523 wine_fn_config_makefile dlls/dispex enable_dispex
21524 wine_fn_config_makefile dlls/dispex/tests enable_tests
21525 wine_fn_config_makefile dlls/display.drv16 enable_win16
21526 wine_fn_config_makefile dlls/dmband enable_dmband
21527 wine_fn_config_makefile dlls/dmband/tests enable_tests
21528 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21529 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21530 wine_fn_config_makefile dlls/dmime enable_dmime
21531 wine_fn_config_makefile dlls/dmime/tests enable_tests
21532 wine_fn_config_makefile dlls/dmloader enable_dmloader
21533 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21534 wine_fn_config_makefile dlls/dmscript enable_dmscript
21535 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21536 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21537 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21538 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21539 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21540 wine_fn_config_makefile dlls/dmusic enable_dmusic
21541 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21542 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21543 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21544 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21545 wine_fn_config_makefile dlls/dplay enable_dplay
21546 wine_fn_config_makefile dlls/dplayx enable_dplayx
21547 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21548 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21549 wine_fn_config_makefile dlls/dpnet enable_dpnet
21550 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21551 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21552 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21553 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21554 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21555 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21556 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21557 wine_fn_config_makefile dlls/drmclien enable_drmclien
21558 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21559 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21560 wine_fn_config_makefile dlls/dsound enable_dsound
21561 wine_fn_config_makefile dlls/dsound/tests enable_tests
21562 wine_fn_config_makefile dlls/dsquery enable_dsquery
21563 wine_fn_config_makefile dlls/dssenh enable_dssenh
21564 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21565 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21566 wine_fn_config_makefile dlls/dswave enable_dswave
21567 wine_fn_config_makefile dlls/dswave/tests enable_tests
21568 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21569 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21570 wine_fn_config_makefile dlls/dwrite enable_dwrite
21571 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21572 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21573 wine_fn_config_makefile dlls/dxcore enable_dxcore
21574 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21575 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21576 wine_fn_config_makefile dlls/dxgi enable_dxgi
21577 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21578 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21579 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21580 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21581 wine_fn_config_makefile dlls/esent enable_esent
21582 wine_fn_config_makefile dlls/evr enable_evr
21583 wine_fn_config_makefile dlls/evr/tests enable_tests
21584 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21585 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21586 wine_fn_config_makefile dlls/faultrep enable_faultrep
21587 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21588 wine_fn_config_makefile dlls/feclient enable_feclient
21589 wine_fn_config_makefile dlls/fltlib enable_fltlib
21590 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21591 wine_fn_config_makefile dlls/fntcache enable_fntcache
21592 wine_fn_config_makefile dlls/fontsub enable_fontsub
21593 wine_fn_config_makefile dlls/fusion enable_fusion
21594 wine_fn_config_makefile dlls/fusion/tests enable_tests
21595 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21596 wine_fn_config_makefile dlls/gameux enable_gameux
21597 wine_fn_config_makefile dlls/gameux/tests enable_tests
21598 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21599 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21600 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21601 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21602 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21603 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21604 wine_fn_config_makefile dlls/geolocation enable_geolocation
21605 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21606 wine_fn_config_makefile dlls/glu32 enable_glu32
21607 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21608 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21609 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21610 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21611 wine_fn_config_makefile dlls/hal enable_hal
21612 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21613 wine_fn_config_makefile dlls/hid enable_hid
21614 wine_fn_config_makefile dlls/hid/tests enable_tests
21615 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21616 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21617 wine_fn_config_makefile dlls/hlink enable_hlink
21618 wine_fn_config_makefile dlls/hlink/tests enable_tests
21619 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21620 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21621 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21622 wine_fn_config_makefile dlls/http.sys enable_http_sys
21623 wine_fn_config_makefile dlls/httpapi enable_httpapi
21624 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21625 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21626 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21627 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21628 wine_fn_config_makefile dlls/iccvid enable_iccvid
21629 wine_fn_config_makefile dlls/icmp enable_icmp
21630 wine_fn_config_makefile dlls/ieframe enable_ieframe
21631 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21632 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21633 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21634 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21635 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21636 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21637 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21638 wine_fn_config_makefile dlls/imm32 enable_imm32
21639 wine_fn_config_makefile dlls/imm32/tests enable_tests
21640 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21641 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21642 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21643 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21644 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21645 wine_fn_config_makefile dlls/infosoft enable_infosoft
21646 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21647 wine_fn_config_makefile dlls/initpki enable_initpki
21648 wine_fn_config_makefile dlls/inkobj enable_inkobj
21649 wine_fn_config_makefile dlls/inseng enable_inseng
21650 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21651 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21652 wine_fn_config_makefile dlls/iprop enable_iprop
21653 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21654 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21655 wine_fn_config_makefile dlls/itircl enable_itircl
21656 wine_fn_config_makefile dlls/itss enable_itss
21657 wine_fn_config_makefile dlls/itss/tests enable_tests
21658 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21659 wine_fn_config_makefile dlls/jscript enable_jscript
21660 wine_fn_config_makefile dlls/jscript/tests enable_tests
21661 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21662 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21663 wine_fn_config_makefile dlls/kerberos enable_kerberos
21664 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21665 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21666 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21667 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21668 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21669 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21670 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21671 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21672 wine_fn_config_makefile dlls/ksuser enable_ksuser
21673 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21674 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21675 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21676 wine_fn_config_makefile dlls/loadperf enable_loadperf
21677 wine_fn_config_makefile dlls/localspl enable_localspl
21678 wine_fn_config_makefile dlls/localspl/tests enable_tests
21679 wine_fn_config_makefile dlls/localui enable_localui
21680 wine_fn_config_makefile dlls/localui/tests enable_tests
21681 wine_fn_config_makefile dlls/lz32 enable_lz32
21682 wine_fn_config_makefile dlls/lz32/tests enable_tests
21683 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21684 wine_fn_config_makefile dlls/magnification enable_magnification
21685 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21686 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21687 wine_fn_config_makefile dlls/mapistub enable_mapistub
21688 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21689 wine_fn_config_makefile dlls/mcicda enable_mcicda
21690 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21691 wine_fn_config_makefile dlls/mciseq enable_mciseq
21692 wine_fn_config_makefile dlls/mciwave enable_mciwave
21693 wine_fn_config_makefile dlls/mf enable_mf
21694 wine_fn_config_makefile dlls/mf/tests enable_tests
21695 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21696 wine_fn_config_makefile dlls/mferror enable_mferror
21697 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21698 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21699 wine_fn_config_makefile dlls/mfplat enable_mfplat
21700 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21701 wine_fn_config_makefile dlls/mfplay enable_mfplay
21702 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21703 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21704 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21705 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21706 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21707 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21708 wine_fn_config_makefile dlls/midimap enable_midimap
21709 wine_fn_config_makefile dlls/mlang enable_mlang
21710 wine_fn_config_makefile dlls/mlang/tests enable_tests
21711 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21712 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21713 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21714 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21715 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21716 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21717 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21718 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21719 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21720 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21721 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21722 wine_fn_config_makefile dlls/mpr enable_mpr
21723 wine_fn_config_makefile dlls/mpr/tests enable_tests
21724 wine_fn_config_makefile dlls/mprapi enable_mprapi
21725 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21726 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21727 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21728 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21729 wine_fn_config_makefile dlls/msado15 enable_msado15
21730 wine_fn_config_makefile dlls/msado15/tests enable_tests
21731 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21732 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21733 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21734 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21735 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21736 wine_fn_config_makefile dlls/mscms enable_mscms
21737 wine_fn_config_makefile dlls/mscms/tests enable_tests
21738 wine_fn_config_makefile dlls/mscoree enable_mscoree
21739 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21740 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21741 wine_fn_config_makefile dlls/msctf enable_msctf
21742 wine_fn_config_makefile dlls/msctf/tests enable_tests
21743 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21744 wine_fn_config_makefile dlls/msctfp enable_msctfp
21745 wine_fn_config_makefile dlls/msdaps enable_msdaps
21746 wine_fn_config_makefile dlls/msdasql enable_msdasql
21747 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21748 wine_fn_config_makefile dlls/msdelta enable_msdelta
21749 wine_fn_config_makefile dlls/msdmo enable_msdmo
21750 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21751 wine_fn_config_makefile dlls/msdrm enable_msdrm
21752 wine_fn_config_makefile dlls/msftedit enable_msftedit
21753 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21754 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21755 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21756 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21757 wine_fn_config_makefile dlls/mshtml enable_mshtml
21758 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21759 wine_fn_config_makefile dlls/msi enable_msi
21760 wine_fn_config_makefile dlls/msi/tests enable_tests
21761 wine_fn_config_makefile dlls/msident enable_msident
21762 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21763 wine_fn_config_makefile dlls/msimsg enable_msimsg
21764 wine_fn_config_makefile dlls/msimtf enable_msimtf
21765 wine_fn_config_makefile dlls/msisip enable_msisip
21766 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21767 wine_fn_config_makefile dlls/msls31 enable_msls31
21768 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21769 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21770 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21771 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21772 wine_fn_config_makefile dlls/msports enable_msports
21773 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21774 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21775 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21776 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21777 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21778 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21779 wine_fn_config_makefile dlls/mstask enable_mstask
21780 wine_fn_config_makefile dlls/mstask/tests enable_tests
21781 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
21782 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21783 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21784 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21785 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21786 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21787 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21788 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21789 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21790 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21791 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21792 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21793 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21794 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21795 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21796 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21797 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21798 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21799 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21800 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21801 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21802 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21803 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21804 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21805 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21806 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21807 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21808 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21809 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21810 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21811 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21812 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21813 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21814 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21815 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21816 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21817 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21818 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21819 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21820 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21821 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21822 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21823 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21824 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21825 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21826 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21827 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21828 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21829 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21830 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21831 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21832 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21833 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21834 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21835 wine_fn_config_makefile dlls/mswsock enable_mswsock
21836 wine_fn_config_makefile dlls/msxml enable_msxml
21837 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21838 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21839 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21840 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21841 wine_fn_config_makefile dlls/msxml4/tests enable_tests
21842 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21843 wine_fn_config_makefile dlls/msxml6/tests enable_tests
21844 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21845 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21846 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21847 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21848 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21849 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21850 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21851 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21852 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21853 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21854 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21855 wine_fn_config_makefile dlls/netprofm enable_netprofm
21856 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21857 wine_fn_config_makefile dlls/netutils enable_netutils
21858 wine_fn_config_makefile dlls/newdev enable_newdev
21859 wine_fn_config_makefile dlls/ninput enable_ninput
21860 wine_fn_config_makefile dlls/ninput/tests enable_tests
21861 wine_fn_config_makefile dlls/normaliz enable_normaliz
21862 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21863 wine_fn_config_makefile dlls/npptools enable_npptools
21864 wine_fn_config_makefile dlls/nsi enable_nsi
21865 wine_fn_config_makefile dlls/nsi/tests enable_tests
21866 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21867 wine_fn_config_makefile dlls/ntdll enable_ntdll
21868 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21869 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21870 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21871 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21872 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21873 wine_fn_config_makefile dlls/ntprint enable_ntprint
21874 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21875 wine_fn_config_makefile dlls/objsel enable_objsel
21876 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21877 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21878 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21879 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21880 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21881 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21882 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21883 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21884 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21885 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21886 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21887 wine_fn_config_makefile dlls/ole32 enable_ole32
21888 wine_fn_config_makefile dlls/ole32/tests enable_tests
21889 wine_fn_config_makefile dlls/oleacc enable_oleacc
21890 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21891 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21892 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21893 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21894 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21895 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21896 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21897 wine_fn_config_makefile dlls/oledlg enable_oledlg
21898 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21899 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21900 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21901 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21902 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21903 wine_fn_config_makefile dlls/opcservices enable_opcservices
21904 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21905 wine_fn_config_makefile dlls/opencl enable_opencl
21906 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21907 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21908 wine_fn_config_makefile dlls/packager enable_packager
21909 wine_fn_config_makefile dlls/packager/tests enable_tests
21910 wine_fn_config_makefile dlls/pdh enable_pdh
21911 wine_fn_config_makefile dlls/pdh/tests enable_tests
21912 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21913 wine_fn_config_makefile dlls/pidgen enable_pidgen
21914 wine_fn_config_makefile dlls/powrprof enable_powrprof
21915 wine_fn_config_makefile dlls/printui enable_printui
21916 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21917 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21918 wine_fn_config_makefile dlls/propsys enable_propsys
21919 wine_fn_config_makefile dlls/propsys/tests enable_tests
21920 wine_fn_config_makefile dlls/psapi enable_psapi
21921 wine_fn_config_makefile dlls/psapi/tests enable_tests
21922 wine_fn_config_makefile dlls/pstorec enable_pstorec
21923 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21924 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21925 wine_fn_config_makefile dlls/qasf enable_qasf
21926 wine_fn_config_makefile dlls/qasf/tests enable_tests
21927 wine_fn_config_makefile dlls/qcap enable_qcap
21928 wine_fn_config_makefile dlls/qcap/tests enable_tests
21929 wine_fn_config_makefile dlls/qdvd enable_qdvd
21930 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21931 wine_fn_config_makefile dlls/qedit enable_qedit
21932 wine_fn_config_makefile dlls/qedit/tests enable_tests
21933 wine_fn_config_makefile dlls/qmgr enable_qmgr
21934 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21935 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21936 wine_fn_config_makefile dlls/quartz enable_quartz
21937 wine_fn_config_makefile dlls/quartz/tests enable_tests
21938 wine_fn_config_makefile dlls/query enable_query
21939 wine_fn_config_makefile dlls/qwave enable_qwave
21940 wine_fn_config_makefile dlls/qwave/tests enable_tests
21941 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21942 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21943 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21944 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21945 wine_fn_config_makefile dlls/regapi enable_regapi
21946 wine_fn_config_makefile dlls/resutils enable_resutils
21947 wine_fn_config_makefile dlls/riched20 enable_riched20
21948 wine_fn_config_makefile dlls/riched20/tests enable_tests
21949 wine_fn_config_makefile dlls/riched32 enable_riched32
21950 wine_fn_config_makefile dlls/riched32/tests enable_tests
21951 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21952 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21953 wine_fn_config_makefile dlls/rsabase enable_rsabase
21954 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21955 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21956 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21957 wine_fn_config_makefile dlls/rtutils enable_rtutils
21958 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21959 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21960 wine_fn_config_makefile dlls/samlib enable_samlib
21961 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21962 wine_fn_config_makefile dlls/sapi enable_sapi
21963 wine_fn_config_makefile dlls/sapi/tests enable_tests
21964 wine_fn_config_makefile dlls/sas enable_sas
21965 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21966 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21967 wine_fn_config_makefile dlls/sccbase enable_sccbase
21968 wine_fn_config_makefile dlls/schannel enable_schannel
21969 wine_fn_config_makefile dlls/schannel/tests enable_tests
21970 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21971 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21972 wine_fn_config_makefile dlls/scrobj enable_scrobj
21973 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21974 wine_fn_config_makefile dlls/scrrun enable_scrrun
21975 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21976 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21977 wine_fn_config_makefile dlls/sechost enable_sechost
21978 wine_fn_config_makefile dlls/secur32 enable_secur32
21979 wine_fn_config_makefile dlls/secur32/tests enable_tests
21980 wine_fn_config_makefile dlls/security enable_security
21981 wine_fn_config_makefile dlls/sensapi enable_sensapi
21982 wine_fn_config_makefile dlls/serialui enable_serialui
21983 wine_fn_config_makefile dlls/serialui/tests enable_tests
21984 wine_fn_config_makefile dlls/setupapi enable_setupapi
21985 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21986 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21987 wine_fn_config_makefile dlls/sfc enable_sfc
21988 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21989 wine_fn_config_makefile dlls/shcore enable_shcore
21990 wine_fn_config_makefile dlls/shcore/tests enable_tests
21991 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21992 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21993 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21994 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21995 wine_fn_config_makefile dlls/shell32 enable_shell32
21996 wine_fn_config_makefile dlls/shell32/tests enable_tests
21997 wine_fn_config_makefile dlls/shfolder enable_shfolder
21998 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21999 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22000 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22001 wine_fn_config_makefile dlls/slc enable_slc
22002 wine_fn_config_makefile dlls/slc/tests enable_tests
22003 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22004 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22005 wine_fn_config_makefile dlls/softpub enable_softpub
22006 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22007 wine_fn_config_makefile dlls/spoolss enable_spoolss
22008 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22009 wine_fn_config_makefile dlls/sppc enable_sppc
22010 wine_fn_config_makefile dlls/srclient enable_srclient
22011 wine_fn_config_makefile dlls/srvcli enable_srvcli
22012 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22013 wine_fn_config_makefile dlls/sspicli enable_sspicli
22014 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22015 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22016 wine_fn_config_makefile dlls/sti enable_sti
22017 wine_fn_config_makefile dlls/sti/tests enable_tests
22018 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22019 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22020 wine_fn_config_makefile dlls/strmdll enable_strmdll
22021 wine_fn_config_makefile dlls/svrapi enable_svrapi
22022 wine_fn_config_makefile dlls/sxs enable_sxs
22023 wine_fn_config_makefile dlls/sxs/tests enable_tests
22024 wine_fn_config_makefile dlls/system.drv16 enable_win16
22025 wine_fn_config_makefile dlls/t2embed enable_t2embed
22026 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22027 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22028 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22029 wine_fn_config_makefile dlls/taskschd enable_taskschd
22030 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22031 wine_fn_config_makefile dlls/tbs enable_tbs
22032 wine_fn_config_makefile dlls/tdh enable_tdh
22033 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22034 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22035 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22036 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22037 wine_fn_config_makefile dlls/traffic enable_traffic
22038 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22039 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22040 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22041 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22042 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22043 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22044 wine_fn_config_makefile dlls/tzres enable_tzres
22045 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22046 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22047 wine_fn_config_makefile dlls/uianimation enable_uianimation
22048 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22049 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22050 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22051 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22052 wine_fn_config_makefile dlls/unicows enable_unicows
22053 wine_fn_config_makefile dlls/updspapi enable_updspapi
22054 wine_fn_config_makefile dlls/url enable_url
22055 wine_fn_config_makefile dlls/urlmon enable_urlmon
22056 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22057 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22058 wine_fn_config_makefile dlls/user.exe16 enable_win16
22059 wine_fn_config_makefile dlls/user32 enable_user32
22060 wine_fn_config_makefile dlls/user32/tests enable_tests
22061 wine_fn_config_makefile dlls/userenv enable_userenv
22062 wine_fn_config_makefile dlls/userenv/tests enable_tests
22063 wine_fn_config_makefile dlls/usp10 enable_usp10
22064 wine_fn_config_makefile dlls/usp10/tests enable_tests
22065 wine_fn_config_makefile dlls/utildll enable_utildll
22066 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22067 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22068 wine_fn_config_makefile dlls/vbscript enable_vbscript
22069 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22070 wine_fn_config_makefile dlls/vcomp enable_vcomp
22071 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22072 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22073 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22074 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22075 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22076 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22077 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22078 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22079 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22080 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22081 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22082 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22083 wine_fn_config_makefile dlls/version enable_version
22084 wine_fn_config_makefile dlls/version/tests enable_tests
22085 wine_fn_config_makefile dlls/vga enable_vga
22086 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22087 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22088 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22089 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22090 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22091 wine_fn_config_makefile dlls/vssapi enable_vssapi
22092 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22093 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22094 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22095 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22096 wine_fn_config_makefile dlls/w32skrnl enable_win16
22097 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22098 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22099 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22100 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22101 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22102 wine_fn_config_makefile dlls/wdscore enable_wdscore
22103 wine_fn_config_makefile dlls/webservices enable_webservices
22104 wine_fn_config_makefile dlls/webservices/tests enable_tests
22105 wine_fn_config_makefile dlls/websocket enable_websocket
22106 wine_fn_config_makefile dlls/wer enable_wer
22107 wine_fn_config_makefile dlls/wer/tests enable_tests
22108 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22109 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22110 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22111 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22112 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22113 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22114 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22115 wine_fn_config_makefile dlls/win32u enable_win32u
22116 wine_fn_config_makefile dlls/win32u/tests enable_tests
22117 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22118 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22119 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22120 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22121 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22122 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22123 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22124 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22125 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22126 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22127 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22128 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22129 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22130 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22131 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22132 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22133 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22134 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22135 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22136 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22137 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22138 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22139 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22140 wine_fn_config_makefile dlls/windows.media enable_windows_media
22141 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22142 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22143 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22144 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22145 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22146 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22147 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22148 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22149 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22150 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22151 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22152 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22153 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22154 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22155 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22156 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22157 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22158 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22159 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22160 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22161 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22162 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22163 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22164 wine_fn_config_makefile dlls/wined3d enable_wined3d
22165 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22166 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22167 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22168 wine_fn_config_makefile dlls/winemapi enable_winemapi
22169 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22170 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22171 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22172 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22173 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22174 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22175 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22176 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22177 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22178 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22179 wine_fn_config_makefile dlls/wing32 enable_wing32
22180 wine_fn_config_makefile dlls/winhttp enable_winhttp
22181 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22182 wine_fn_config_makefile dlls/wininet enable_wininet
22183 wine_fn_config_makefile dlls/wininet/tests enable_tests
22184 wine_fn_config_makefile dlls/winmm enable_winmm
22185 wine_fn_config_makefile dlls/winmm/tests enable_tests
22186 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22187 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22188 wine_fn_config_makefile dlls/winprint enable_winprint
22189 wine_fn_config_makefile dlls/winscard enable_winscard
22190 wine_fn_config_makefile dlls/winscard/tests enable_tests
22191 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22192 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22193 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22194 wine_fn_config_makefile dlls/winsta enable_winsta
22195 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22196 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22197 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22198 wine_fn_config_makefile dlls/wintrust enable_wintrust
22199 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22200 wine_fn_config_makefile dlls/wintypes enable_wintypes
22201 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22202 wine_fn_config_makefile dlls/winusb enable_winusb
22203 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22204 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22205 wine_fn_config_makefile dlls/wlanui enable_wlanui
22206 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22207 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22208 wine_fn_config_makefile dlls/wldp enable_wldp
22209 wine_fn_config_makefile dlls/wldp/tests enable_tests
22210 wine_fn_config_makefile dlls/wmasf enable_wmasf
22211 wine_fn_config_makefile dlls/wmi enable_wmi
22212 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22213 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22214 wine_fn_config_makefile dlls/wmp enable_wmp
22215 wine_fn_config_makefile dlls/wmp/tests enable_tests
22216 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22217 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22218 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22219 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22220 wine_fn_config_makefile dlls/wofutil enable_wofutil
22221 wine_fn_config_makefile dlls/wow32 enable_win16
22222 wine_fn_config_makefile dlls/wow64 enable_wow64
22223 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22224 wine_fn_config_makefile dlls/wow64win enable_wow64win
22225 wine_fn_config_makefile dlls/wpc enable_wpc
22226 wine_fn_config_makefile dlls/wpc/tests enable_tests
22227 wine_fn_config_makefile dlls/wpcap enable_wpcap
22228 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22229 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22230 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22231 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22232 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22233 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22234 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22235 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22236 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22237 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22238 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22239 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22240 wine_fn_config_makefile dlls/wuapi enable_wuapi
22241 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22242 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22243 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22244 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22245 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22246 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22247 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22248 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22249 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22250 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22251 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22252 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22253 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22254 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22255 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22256 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22257 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22258 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22259 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22260 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22261 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22262 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22263 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22264 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22265 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22266 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22267 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22268 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22269 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22270 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22271 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22272 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22273 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22274 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22275 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22276 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22277 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22278 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22279 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22280 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22281 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22282 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22283 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22284 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22285 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22286 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22287 wine_fn_config_makefile dlls/xmllite enable_xmllite
22288 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22289 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22290 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22291 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22292 wine_fn_config_makefile fonts enable_fonts
22293 wine_fn_config_makefile include enable_include
22294 wine_fn_config_makefile libs/adsiid enable_adsiid
22295 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22296 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22297 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22298 wine_fn_config_makefile libs/dxguid enable_dxguid
22299 wine_fn_config_makefile libs/faudio enable_faudio
22300 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22301 wine_fn_config_makefile libs/gsm enable_gsm
22302 wine_fn_config_makefile libs/jpeg enable_jpeg
22303 wine_fn_config_makefile libs/jxr enable_jxr
22304 wine_fn_config_makefile libs/lcms2 enable_lcms2
22305 wine_fn_config_makefile libs/ldap enable_ldap
22306 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22307 wine_fn_config_makefile libs/mpg123 enable_mpg123
22308 wine_fn_config_makefile libs/musl enable_musl
22309 wine_fn_config_makefile libs/png enable_png
22310 wine_fn_config_makefile libs/strmbase enable_strmbase
22311 wine_fn_config_makefile libs/strmiids enable_strmiids
22312 wine_fn_config_makefile libs/tiff enable_tiff
22313 wine_fn_config_makefile libs/uuid enable_uuid
22314 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22315 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22316 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22317 wine_fn_config_makefile libs/xml2 enable_xml2
22318 wine_fn_config_makefile libs/xslt enable_xslt
22319 wine_fn_config_makefile libs/zlib enable_zlib
22320 wine_fn_config_makefile libs/zydis enable_zydis
22321 wine_fn_config_makefile loader enable_loader
22322 wine_fn_config_makefile nls enable_nls
22323 wine_fn_config_makefile po enable_po
22324 wine_fn_config_makefile programs/arp enable_arp
22325 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22326 wine_fn_config_makefile programs/attrib enable_attrib
22327 wine_fn_config_makefile programs/cabarc enable_cabarc
22328 wine_fn_config_makefile programs/cacls enable_cacls
22329 wine_fn_config_makefile programs/certutil enable_certutil
22330 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22331 wine_fn_config_makefile programs/clock enable_clock
22332 wine_fn_config_makefile programs/cmd enable_cmd
22333 wine_fn_config_makefile programs/cmd/tests enable_tests
22334 wine_fn_config_makefile programs/conhost enable_conhost
22335 wine_fn_config_makefile programs/conhost/tests enable_tests
22336 wine_fn_config_makefile programs/control enable_control
22337 wine_fn_config_makefile programs/cscript enable_cscript
22338 wine_fn_config_makefile programs/dism enable_dism
22339 wine_fn_config_makefile programs/dllhost enable_dllhost
22340 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22341 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22342 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22343 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22344 wine_fn_config_makefile programs/eject enable_eject
22345 wine_fn_config_makefile programs/expand enable_expand
22346 wine_fn_config_makefile programs/explorer enable_explorer
22347 wine_fn_config_makefile programs/explorer/tests enable_tests
22348 wine_fn_config_makefile programs/extrac32 enable_extrac32
22349 wine_fn_config_makefile programs/fc enable_fc
22350 wine_fn_config_makefile programs/find enable_find
22351 wine_fn_config_makefile programs/find/tests enable_tests
22352 wine_fn_config_makefile programs/findstr enable_findstr
22353 wine_fn_config_makefile programs/findstr/tests enable_tests
22354 wine_fn_config_makefile programs/fsutil enable_fsutil
22355 wine_fn_config_makefile programs/fsutil/tests enable_tests
22356 wine_fn_config_makefile programs/hh enable_hh
22357 wine_fn_config_makefile programs/hostname enable_hostname
22358 wine_fn_config_makefile programs/icacls enable_icacls
22359 wine_fn_config_makefile programs/icinfo enable_icinfo
22360 wine_fn_config_makefile programs/iexplore enable_iexplore
22361 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22362 wine_fn_config_makefile programs/klist enable_klist
22363 wine_fn_config_makefile programs/lodctr enable_lodctr
22364 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22365 wine_fn_config_makefile programs/mshta enable_mshta
22366 wine_fn_config_makefile programs/msidb enable_msidb
22367 wine_fn_config_makefile programs/msiexec enable_msiexec
22368 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22369 wine_fn_config_makefile programs/net enable_net
22370 wine_fn_config_makefile programs/netsh enable_netsh
22371 wine_fn_config_makefile programs/netstat enable_netstat
22372 wine_fn_config_makefile programs/ngen enable_ngen
22373 wine_fn_config_makefile programs/notepad enable_notepad
22374 wine_fn_config_makefile programs/oleview enable_oleview
22375 wine_fn_config_makefile programs/ping enable_ping
22376 wine_fn_config_makefile programs/plugplay enable_plugplay
22377 wine_fn_config_makefile programs/pnputil enable_pnputil
22378 wine_fn_config_makefile programs/powershell enable_powershell
22379 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22380 wine_fn_config_makefile programs/progman enable_progman
22381 wine_fn_config_makefile programs/reg enable_reg
22382 wine_fn_config_makefile programs/reg/tests enable_tests
22383 wine_fn_config_makefile programs/regasm enable_regasm
22384 wine_fn_config_makefile programs/regedit enable_regedit
22385 wine_fn_config_makefile programs/regedit/tests enable_tests
22386 wine_fn_config_makefile programs/regini enable_regini
22387 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22388 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22389 wine_fn_config_makefile programs/robocopy enable_robocopy
22390 wine_fn_config_makefile programs/rpcss enable_rpcss
22391 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22392 wine_fn_config_makefile programs/rundll32 enable_rundll32
22393 wine_fn_config_makefile programs/sc enable_sc
22394 wine_fn_config_makefile programs/sc/tests enable_tests
22395 wine_fn_config_makefile programs/schtasks enable_schtasks
22396 wine_fn_config_makefile programs/schtasks/tests enable_tests
22397 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22398 wine_fn_config_makefile programs/secedit enable_secedit
22399 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22400 wine_fn_config_makefile programs/services enable_services
22401 wine_fn_config_makefile programs/services/tests enable_tests
22402 wine_fn_config_makefile programs/setx enable_setx
22403 wine_fn_config_makefile programs/shutdown enable_shutdown
22404 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22405 wine_fn_config_makefile programs/start enable_start
22406 wine_fn_config_makefile programs/subst enable_subst
22407 wine_fn_config_makefile programs/svchost enable_svchost
22408 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22409 wine_fn_config_makefile programs/taskkill enable_taskkill
22410 wine_fn_config_makefile programs/tasklist enable_tasklist
22411 wine_fn_config_makefile programs/tasklist/tests enable_tests
22412 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22413 wine_fn_config_makefile programs/termsv enable_termsv
22414 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22415 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22416 wine_fn_config_makefile programs/view enable_view
22417 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22418 wine_fn_config_makefile programs/where enable_where
22419 wine_fn_config_makefile programs/whoami enable_whoami
22420 wine_fn_config_makefile programs/wineboot enable_wineboot
22421 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22422 wine_fn_config_makefile programs/winecfg enable_winecfg
22423 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22424 wine_fn_config_makefile programs/winedbg enable_winedbg
22425 wine_fn_config_makefile programs/winedevice enable_winedevice
22426 wine_fn_config_makefile programs/winefile enable_winefile
22427 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22428 wine_fn_config_makefile programs/winemine enable_winemine
22429 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22430 wine_fn_config_makefile programs/winepath enable_winepath
22431 wine_fn_config_makefile programs/winetest enable_winetest
22432 wine_fn_config_makefile programs/winevdm enable_win16
22433 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22434 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22435 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22436 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22437 wine_fn_config_makefile programs/winver enable_winver
22438 wine_fn_config_makefile programs/wmic enable_wmic
22439 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22440 wine_fn_config_makefile programs/wordpad enable_wordpad
22441 wine_fn_config_makefile programs/write enable_write
22442 wine_fn_config_makefile programs/wscript enable_wscript
22443 wine_fn_config_makefile programs/wscript/tests enable_tests
22444 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22445 wine_fn_config_makefile programs/wusa enable_wusa
22446 wine_fn_config_makefile programs/xcopy enable_xcopy
22447 wine_fn_config_makefile programs/xcopy/tests enable_tests
22448 wine_fn_config_makefile server enable_server
22449 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22450 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22451 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22452 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22453 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22454 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22455 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22456 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22457 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22460 as_fn_append CONFIGURE_TARGETS " TAGS"
22461 as_fn_append CONFIGURE_TARGETS " tags"
22462 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22463 as_fn_append CONFIGURE_TARGETS " config.log"
22464 as_fn_append CONFIGURE_TARGETS " config.status"
22465 as_fn_append CONFIGURE_TARGETS " include/config.h"
22466 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22467 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22469 if test "x$enable_tools" != xno
22470 then
22471 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22472 ac_config_commands="$ac_config_commands tools/makedep"
22476 ac_config_commands="$ac_config_commands Makefile"
22480 SHELL=/bin/sh
22483 as_fn_append wine_rules "
22484 all: wine
22485 @echo \"Wine build complete.\"
22486 .INIT: Makefile
22487 .MAKEFILEDEPS:
22488 all: Makefile
22489 Makefile: config.status \$(MAKEDEP)
22490 @./config.status Makefile
22491 depend: \$(MAKEDEP)
22492 \$(MAKEDEP)$makedep_flags"
22495 as_fn_append wine_rules "
22496 config.status: ${wine_srcdir}configure
22497 @./config.status --recheck
22498 include/config.h: include/stamp-h
22499 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22500 @./config.status include/config.h include/stamp-h"
22502 if test "x$enable_maintainer_mode" = xyes
22503 then
22504 as_fn_append wine_rules "
22505 configure: configure.ac aclocal.m4
22506 autoconf --warnings=all
22507 include/config.h.in: include/stamp-h.in
22508 include/stamp-h.in: configure.ac aclocal.m4
22509 autoheader --warnings=all
22510 @echo timestamp > \$@"
22513 if test "x$enable_tools" != xno
22514 then
22515 as_fn_append wine_rules "
22516 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22517 @./config.status tools/makedep
22518 Makefile: tools/makedep$ac_exeext"
22519 else
22520 as_fn_append wine_rules "
22521 \$(MAKEDEP):
22522 @echo \"You need to run make in $toolsdir first\" && false"
22526 if test -n "$with_wine64"
22527 then
22528 case "$with_wine64" in
22529 /*) reldir="" ;;
22530 *) reldir="../" ;;
22531 esac
22532 rm -f fonts server 2>/dev/null
22533 as_fn_append wine_rules "
22534 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22535 loader/wine64 loader/wine64-preloader:
22536 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22537 $with_wine64/loader/wine:
22538 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22539 $with_wine64/loader/wine-preloader:
22540 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22541 clean::
22542 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22543 else
22544 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22545 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22546 fonts \
22547 loader/wine.inf \
22548 nls \
22549 programs/msidb/msidb \
22550 programs/msiexec/msiexec \
22551 programs/notepad/notepad \
22552 programs/regedit/regedit \
22553 programs/regsvr32/regsvr32 \
22554 programs/wineboot/wineboot \
22555 programs/winecfg/winecfg \
22556 programs/wineconsole/wineconsole \
22557 programs/winedbg/winedbg \
22558 programs/winefile/winefile \
22559 programs/winemine/winemine \
22560 programs/winepath/winepath \
22561 server/wineserver"
22563 case $host_os in
22564 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22565 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22566 esac
22570 as_fn_append wine_rules "
22571 distclean:: clean
22572 rm -rf autom4te.cache
22573 maintainer-clean::
22574 rm -f configure include/config.h.in"
22577 as_fn_append wine_rules "
22578 dlls/ntdll/unix/version.c: dummy
22579 @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)
22580 programs/winetest/build.rc: dummy
22581 @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)
22582 programs/winetest/build.nfo:
22583 @-\$(CC) -v 2>\$@
22584 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
22585 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22586 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22589 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22591 as_fn_append wine_rules "
22592 TAGS etags:
22593 rm -f TAGS
22594 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22595 tags ctags:
22596 rm -f tags
22597 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22598 dummy:
22599 .PHONY: depend dummy install-manpages"
22601 printf "%s\n" " done" >&6
22602 cat >confcache <<\_ACEOF
22603 # This file is a shell script that caches the results of configure
22604 # tests run on this system so they can be shared between configure
22605 # scripts and configure runs, see configure's option --config-cache.
22606 # It is not useful on other systems. If it contains results you don't
22607 # want to keep, you may remove or edit it.
22609 # config.status only pays attention to the cache file if you give it
22610 # the --recheck option to rerun configure.
22612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22614 # following values.
22616 _ACEOF
22618 # The following way of writing the cache mishandles newlines in values,
22619 # but we know of no workaround that is simple, portable, and efficient.
22620 # So, we kill variables containing newlines.
22621 # Ultrix sh set writes to stderr and can't be redirected directly,
22622 # and sets the high bit in the cache file unless we assign to the vars.
22624 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22625 eval ac_val=\$$ac_var
22626 case $ac_val in #(
22627 *${as_nl}*)
22628 case $ac_var in #(
22629 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22630 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22631 esac
22632 case $ac_var in #(
22633 _ | IFS | as_nl) ;; #(
22634 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22635 *) { eval $ac_var=; unset $ac_var;} ;;
22636 esac ;;
22637 esac
22638 done
22640 (set) 2>&1 |
22641 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22642 *${as_nl}ac_space=\ *)
22643 # `set' does not quote correctly, so add quotes: double-quote
22644 # substitution turns \\\\ into \\, and sed turns \\ into \.
22645 sed -n \
22646 "s/'/'\\\\''/g;
22647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22648 ;; #(
22650 # `set' quotes correctly as required by POSIX, so do not add quotes.
22651 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22653 esac |
22654 sort
22656 sed '
22657 /^ac_cv_env_/b end
22658 t clear
22659 :clear
22660 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22661 t end
22662 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22663 :end' >>confcache
22664 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22665 if test -w "$cache_file"; then
22666 if test "x$cache_file" != "x/dev/null"; then
22667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22668 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22669 if test ! -f "$cache_file" || test -h "$cache_file"; then
22670 cat confcache >"$cache_file"
22671 else
22672 case $cache_file in #(
22673 */* | ?:*)
22674 mv -f confcache "$cache_file"$$ &&
22675 mv -f "$cache_file"$$ "$cache_file" ;; #(
22677 mv -f confcache "$cache_file" ;;
22678 esac
22681 else
22682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22683 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22686 rm -f confcache
22688 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22689 # Let make expand exec_prefix.
22690 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22692 DEFS=-DHAVE_CONFIG_H
22694 ac_libobjs=
22695 ac_ltlibobjs=
22697 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22698 # 1. Remove the extension, and $U if already installed.
22699 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22700 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22701 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22702 # will be set to the directory where LIBOBJS objects are built.
22703 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22704 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22705 done
22706 LIBOBJS=$ac_libobjs
22708 LTLIBOBJS=$ac_ltlibobjs
22712 : "${CONFIG_STATUS=./config.status}"
22713 ac_write_fail=0
22714 ac_clean_files_save=$ac_clean_files
22715 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22717 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22718 as_write_fail=0
22719 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22720 #! $SHELL
22721 # Generated by $as_me.
22722 # Run this file to recreate the current configuration.
22723 # Compiler output produced by configure, useful for debugging
22724 # configure, is in config.log if it exists.
22726 debug=false
22727 ac_cs_recheck=false
22728 ac_cs_silent=false
22730 SHELL=\${CONFIG_SHELL-$SHELL}
22731 export SHELL
22732 _ASEOF
22733 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22734 ## -------------------- ##
22735 ## M4sh Initialization. ##
22736 ## -------------------- ##
22738 # Be more Bourne compatible
22739 DUALCASE=1; export DUALCASE # for MKS sh
22740 as_nop=:
22741 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22742 then :
22743 emulate sh
22744 NULLCMD=:
22745 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22746 # is contrary to our usage. Disable this feature.
22747 alias -g '${1+"$@"}'='"$@"'
22748 setopt NO_GLOB_SUBST
22749 else $as_nop
22750 case `(set -o) 2>/dev/null` in #(
22751 *posix*) :
22752 set -o posix ;; #(
22753 *) :
22755 esac
22760 # Reset variables that may have inherited troublesome values from
22761 # the environment.
22763 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22764 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22765 # side effect of setting IFS to empty, thus disabling word splitting.)
22766 # Quoting is to prevent editors from complaining about space-tab.
22767 as_nl='
22769 export as_nl
22770 IFS=" "" $as_nl"
22772 PS1='$ '
22773 PS2='> '
22774 PS4='+ '
22776 # Ensure predictable behavior from utilities with locale-dependent output.
22777 LC_ALL=C
22778 export LC_ALL
22779 LANGUAGE=C
22780 export LANGUAGE
22782 # We cannot yet rely on "unset" to work, but we need these variables
22783 # to be unset--not just set to an empty or harmless value--now, to
22784 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22785 # also avoids known problems related to "unset" and subshell syntax
22786 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22787 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22788 do eval test \${$as_var+y} \
22789 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22790 done
22792 # Ensure that fds 0, 1, and 2 are open.
22793 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22794 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22795 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22797 # The user is always right.
22798 if ${PATH_SEPARATOR+false} :; then
22799 PATH_SEPARATOR=:
22800 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22801 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22802 PATH_SEPARATOR=';'
22807 # Find who we are. Look in the path if we contain no directory separator.
22808 as_myself=
22809 case $0 in #((
22810 *[\\/]* ) as_myself=$0 ;;
22811 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22812 for as_dir in $PATH
22814 IFS=$as_save_IFS
22815 case $as_dir in #(((
22816 '') as_dir=./ ;;
22817 */) ;;
22818 *) as_dir=$as_dir/ ;;
22819 esac
22820 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22821 done
22822 IFS=$as_save_IFS
22825 esac
22826 # We did not find ourselves, most probably we were run as `sh COMMAND'
22827 # in which case we are not to be found in the path.
22828 if test "x$as_myself" = x; then
22829 as_myself=$0
22831 if test ! -f "$as_myself"; then
22832 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22833 exit 1
22838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22839 # ----------------------------------------
22840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22842 # script with STATUS, using 1 if that was 0.
22843 as_fn_error ()
22845 as_status=$1; test $as_status -eq 0 && as_status=1
22846 if test "$4"; then
22847 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22850 printf "%s\n" "$as_me: error: $2" >&2
22851 as_fn_exit $as_status
22852 } # as_fn_error
22856 # as_fn_set_status STATUS
22857 # -----------------------
22858 # Set $? to STATUS, without forking.
22859 as_fn_set_status ()
22861 return $1
22862 } # as_fn_set_status
22864 # as_fn_exit STATUS
22865 # -----------------
22866 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22867 as_fn_exit ()
22869 set +e
22870 as_fn_set_status $1
22871 exit $1
22872 } # as_fn_exit
22874 # as_fn_unset VAR
22875 # ---------------
22876 # Portably unset VAR.
22877 as_fn_unset ()
22879 { eval $1=; unset $1;}
22881 as_unset=as_fn_unset
22883 # as_fn_append VAR VALUE
22884 # ----------------------
22885 # Append the text in VALUE to the end of the definition contained in VAR. Take
22886 # advantage of any shell optimizations that allow amortized linear growth over
22887 # repeated appends, instead of the typical quadratic growth present in naive
22888 # implementations.
22889 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22890 then :
22891 eval 'as_fn_append ()
22893 eval $1+=\$2
22895 else $as_nop
22896 as_fn_append ()
22898 eval $1=\$$1\$2
22900 fi # as_fn_append
22902 # as_fn_arith ARG...
22903 # ------------------
22904 # Perform arithmetic evaluation on the ARGs, and store the result in the
22905 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22906 # must be portable across $(()) and expr.
22907 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22908 then :
22909 eval 'as_fn_arith ()
22911 as_val=$(( $* ))
22913 else $as_nop
22914 as_fn_arith ()
22916 as_val=`expr "$@" || test $? -eq 1`
22918 fi # as_fn_arith
22921 if expr a : '\(a\)' >/dev/null 2>&1 &&
22922 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22923 as_expr=expr
22924 else
22925 as_expr=false
22928 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22929 as_basename=basename
22930 else
22931 as_basename=false
22934 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22935 as_dirname=dirname
22936 else
22937 as_dirname=false
22940 as_me=`$as_basename -- "$0" ||
22941 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22942 X"$0" : 'X\(//\)$' \| \
22943 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22944 printf "%s\n" X/"$0" |
22945 sed '/^.*\/\([^/][^/]*\)\/*$/{
22946 s//\1/
22949 /^X\/\(\/\/\)$/{
22950 s//\1/
22953 /^X\/\(\/\).*/{
22954 s//\1/
22957 s/.*/./; q'`
22959 # Avoid depending upon Character Ranges.
22960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22963 as_cr_digits='0123456789'
22964 as_cr_alnum=$as_cr_Letters$as_cr_digits
22967 # Determine whether it's possible to make 'echo' print without a newline.
22968 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22969 # for compatibility with existing Makefiles.
22970 ECHO_C= ECHO_N= ECHO_T=
22971 case `echo -n x` in #(((((
22972 -n*)
22973 case `echo 'xy\c'` in
22974 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22975 xy) ECHO_C='\c';;
22976 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22977 ECHO_T=' ';;
22978 esac;;
22980 ECHO_N='-n';;
22981 esac
22983 # For backward compatibility with old third-party macros, we provide
22984 # the shell variables $as_echo and $as_echo_n. New code should use
22985 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22986 as_echo='printf %s\n'
22987 as_echo_n='printf %s'
22989 rm -f conf$$ conf$$.exe conf$$.file
22990 if test -d conf$$.dir; then
22991 rm -f conf$$.dir/conf$$.file
22992 else
22993 rm -f conf$$.dir
22994 mkdir conf$$.dir 2>/dev/null
22996 if (echo >conf$$.file) 2>/dev/null; then
22997 if ln -s conf$$.file conf$$ 2>/dev/null; then
22998 as_ln_s='ln -s'
22999 # ... but there are two gotchas:
23000 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23001 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23002 # In both cases, we have to default to `cp -pR'.
23003 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23004 as_ln_s='cp -pR'
23005 elif ln conf$$.file conf$$ 2>/dev/null; then
23006 as_ln_s=ln
23007 else
23008 as_ln_s='cp -pR'
23010 else
23011 as_ln_s='cp -pR'
23013 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23014 rmdir conf$$.dir 2>/dev/null
23017 # as_fn_mkdir_p
23018 # -------------
23019 # Create "$as_dir" as a directory, including parents if necessary.
23020 as_fn_mkdir_p ()
23023 case $as_dir in #(
23024 -*) as_dir=./$as_dir;;
23025 esac
23026 test -d "$as_dir" || eval $as_mkdir_p || {
23027 as_dirs=
23028 while :; do
23029 case $as_dir in #(
23030 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23031 *) as_qdir=$as_dir;;
23032 esac
23033 as_dirs="'$as_qdir' $as_dirs"
23034 as_dir=`$as_dirname -- "$as_dir" ||
23035 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23036 X"$as_dir" : 'X\(//\)[^/]' \| \
23037 X"$as_dir" : 'X\(//\)$' \| \
23038 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23039 printf "%s\n" X"$as_dir" |
23040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23041 s//\1/
23044 /^X\(\/\/\)[^/].*/{
23045 s//\1/
23048 /^X\(\/\/\)$/{
23049 s//\1/
23052 /^X\(\/\).*/{
23053 s//\1/
23056 s/.*/./; q'`
23057 test -d "$as_dir" && break
23058 done
23059 test -z "$as_dirs" || eval "mkdir $as_dirs"
23060 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23063 } # as_fn_mkdir_p
23064 if mkdir -p . 2>/dev/null; then
23065 as_mkdir_p='mkdir -p "$as_dir"'
23066 else
23067 test -d ./-p && rmdir ./-p
23068 as_mkdir_p=false
23072 # as_fn_executable_p FILE
23073 # -----------------------
23074 # Test if FILE is an executable regular file.
23075 as_fn_executable_p ()
23077 test -f "$1" && test -x "$1"
23078 } # as_fn_executable_p
23079 as_test_x='test -x'
23080 as_executable_p=as_fn_executable_p
23082 # Sed expression to map a string onto a valid CPP name.
23083 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23085 # Sed expression to map a string onto a valid variable name.
23086 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23089 exec 6>&1
23090 ## ----------------------------------- ##
23091 ## Main body of $CONFIG_STATUS script. ##
23092 ## ----------------------------------- ##
23093 _ASEOF
23094 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23097 # Save the log message, to keep $0 and so on meaningful, and to
23098 # report actual input values of CONFIG_FILES etc. instead of their
23099 # values after options handling.
23100 ac_log="
23101 This file was extended by Wine $as_me 8.20, which was
23102 generated by GNU Autoconf 2.71. Invocation command line was
23104 CONFIG_FILES = $CONFIG_FILES
23105 CONFIG_HEADERS = $CONFIG_HEADERS
23106 CONFIG_LINKS = $CONFIG_LINKS
23107 CONFIG_COMMANDS = $CONFIG_COMMANDS
23108 $ $0 $@
23110 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23113 _ACEOF
23116 case $ac_config_headers in *"
23117 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23118 esac
23121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23122 # Files that config.status was made for.
23123 config_headers="$ac_config_headers"
23124 config_links="$ac_config_links"
23125 config_commands="$ac_config_commands"
23127 _ACEOF
23129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23130 ac_cs_usage="\
23131 \`$as_me' instantiates files and other configuration actions
23132 from templates according to the current configuration. Unless the files
23133 and actions are specified as TAGs, all are instantiated by default.
23135 Usage: $0 [OPTION]... [TAG]...
23137 -h, --help print this help, then exit
23138 -V, --version print version number and configuration settings, then exit
23139 --config print configuration, then exit
23140 -q, --quiet, --silent
23141 do not print progress messages
23142 -d, --debug don't remove temporary files
23143 --recheck update $as_me by reconfiguring in the same conditions
23144 --header=FILE[:TEMPLATE]
23145 instantiate the configuration header FILE
23147 Configuration headers:
23148 $config_headers
23150 Configuration links:
23151 $config_links
23153 Configuration commands:
23154 $config_commands
23156 Report bugs to <wine-devel@winehq.org>.
23157 Wine home page: <https://www.winehq.org>."
23159 _ACEOF
23160 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23161 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23163 ac_cs_config='$ac_cs_config_escaped'
23164 ac_cs_version="\\
23165 Wine config.status 8.20
23166 configured by $0, generated by GNU Autoconf 2.71,
23167 with options \\"\$ac_cs_config\\"
23169 Copyright (C) 2021 Free Software Foundation, Inc.
23170 This config.status script is free software; the Free Software Foundation
23171 gives unlimited permission to copy, distribute and modify it."
23173 ac_pwd='$ac_pwd'
23174 srcdir='$srcdir'
23175 test -n "\$AWK" || AWK=awk
23176 _ACEOF
23178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23179 # The default lists apply if the user does not specify any file.
23180 ac_need_defaults=:
23181 while test $# != 0
23183 case $1 in
23184 --*=?*)
23185 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23186 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23187 ac_shift=:
23189 --*=)
23190 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23191 ac_optarg=
23192 ac_shift=:
23195 ac_option=$1
23196 ac_optarg=$2
23197 ac_shift=shift
23199 esac
23201 case $ac_option in
23202 # Handling of the options.
23203 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23204 ac_cs_recheck=: ;;
23205 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23206 printf "%s\n" "$ac_cs_version"; exit ;;
23207 --config | --confi | --conf | --con | --co | --c )
23208 printf "%s\n" "$ac_cs_config"; exit ;;
23209 --debug | --debu | --deb | --de | --d | -d )
23210 debug=: ;;
23211 --header | --heade | --head | --hea )
23212 $ac_shift
23213 case $ac_optarg in
23214 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23215 esac
23216 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23217 ac_need_defaults=false;;
23218 --he | --h)
23219 # Conflict between --help and --header
23220 as_fn_error $? "ambiguous option: \`$1'
23221 Try \`$0 --help' for more information.";;
23222 --help | --hel | -h )
23223 printf "%s\n" "$ac_cs_usage"; exit ;;
23224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23225 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23226 ac_cs_silent=: ;;
23228 # This is an error.
23229 -*) as_fn_error $? "unrecognized option: \`$1'
23230 Try \`$0 --help' for more information." ;;
23232 *) as_fn_append ac_config_targets " $1"
23233 ac_need_defaults=false ;;
23235 esac
23236 shift
23237 done
23239 ac_configure_extra_args=
23241 if $ac_cs_silent; then
23242 exec 6>/dev/null
23243 ac_configure_extra_args="$ac_configure_extra_args --silent"
23246 _ACEOF
23247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23248 if \$ac_cs_recheck; then
23249 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23250 shift
23251 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23252 CONFIG_SHELL='$SHELL'
23253 export CONFIG_SHELL
23254 exec "\$@"
23257 _ACEOF
23258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23259 exec 5>>config.log
23261 echo
23262 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23263 ## Running $as_me. ##
23264 _ASBOX
23265 printf "%s\n" "$ac_log"
23266 } >&5
23268 _ACEOF
23269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23271 # INIT-COMMANDS
23273 wine_fn_output_makedep ()
23275 as_dir=tools; as_fn_mkdir_p
23276 $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
23278 wine_fn_output_makefile ()
23280 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23281 # This Makefile understands the following targets:
23283 # all (default): build wine
23284 # clean: remove all intermediate files
23285 # distclean: also remove all files created by configure
23286 # test: run tests
23287 # testclean: clean test results to force running all tests again
23288 # install-lib: install libraries needed to run applications
23289 # install-dev: install development environment
23290 # install: install everything
23291 # uninstall: uninstall everything
23292 # ctags: create a tags file for vim and others.
23293 # etags: create a TAGS file for Emacs.
23295 SHELL = $SHELL
23296 PATH_SEPARATOR = $PATH_SEPARATOR
23297 PACKAGE_NAME = $PACKAGE_NAME
23298 PACKAGE_TARNAME = $PACKAGE_TARNAME
23299 PACKAGE_VERSION = $PACKAGE_VERSION
23300 PACKAGE_STRING = $PACKAGE_STRING
23301 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23302 PACKAGE_URL = $PACKAGE_URL
23303 exec_prefix = $exec_prefix
23304 prefix = $prefix
23305 program_transform_name = $program_transform_name
23306 bindir = $bindir
23307 sbindir = $sbindir
23308 libexecdir = $libexecdir
23309 datarootdir = $datarootdir
23310 datadir = $datadir
23311 sysconfdir = $sysconfdir
23312 sharedstatedir = $sharedstatedir
23313 localstatedir = $localstatedir
23314 runstatedir = $runstatedir
23315 includedir = $includedir
23316 oldincludedir = $oldincludedir
23317 docdir = $docdir
23318 infodir = $infodir
23319 htmldir = $htmldir
23320 dvidir = $dvidir
23321 pdfdir = $pdfdir
23322 psdir = $psdir
23323 libdir = $libdir
23324 localedir = $localedir
23325 mandir = $mandir
23326 DEFS = $DEFS
23327 ECHO_C = $ECHO_C
23328 ECHO_N = $ECHO_N
23329 ECHO_T = $ECHO_T
23330 LIBS = $LIBS
23331 build_alias = $build_alias
23332 host_alias = $host_alias
23333 target_alias = $target_alias
23334 system_dllpath = $system_dllpath
23335 build = $build
23336 build_cpu = $build_cpu
23337 build_vendor = $build_vendor
23338 build_os = $build_os
23339 host = $host
23340 host_cpu = $host_cpu
23341 host_vendor = $host_vendor
23342 host_os = $host_os
23343 dlldir = $dlldir
23344 fontdir = $fontdir
23345 nlsdir = $nlsdir
23346 srcdir = $srcdir
23347 SET_MAKE = $SET_MAKE
23348 CC = $CC
23349 CFLAGS = $CFLAGS
23350 LDFLAGS = $LDFLAGS
23351 CPPFLAGS = $CPPFLAGS
23352 ac_ct_CC = $ac_ct_CC
23353 EXEEXT = $EXEEXT
23354 OBJEXT = $OBJEXT
23355 CXX = $CXX
23356 CXXFLAGS = $CXXFLAGS
23357 ac_ct_CXX = $ac_ct_CXX
23358 CPPBIN = $CPPBIN
23359 LD = $LD
23360 TARGETFLAGS = $TARGETFLAGS
23361 toolsext = $toolsext
23362 HOST_ARCH = $HOST_ARCH
23363 aarch64_CC = $aarch64_CC
23364 aarch64_CFLAGS = $aarch64_CFLAGS
23365 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23366 aarch64_LDFLAGS = $aarch64_LDFLAGS
23367 aarch64_DEBUG = $aarch64_DEBUG
23368 aarch64_TARGET = $aarch64_TARGET
23369 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23370 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23371 arm_CC = $arm_CC
23372 arm_CFLAGS = $arm_CFLAGS
23373 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23374 arm_LDFLAGS = $arm_LDFLAGS
23375 arm_DEBUG = $arm_DEBUG
23376 arm_TARGET = $arm_TARGET
23377 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23378 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23379 arm64ec_CC = $arm64ec_CC
23380 arm64ec_CFLAGS = $arm64ec_CFLAGS
23381 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23382 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23383 arm64ec_DEBUG = $arm64ec_DEBUG
23384 arm64ec_TARGET = $arm64ec_TARGET
23385 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23386 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23387 i386_CC = $i386_CC
23388 i386_CFLAGS = $i386_CFLAGS
23389 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23390 i386_LDFLAGS = $i386_LDFLAGS
23391 i386_DEBUG = $i386_DEBUG
23392 i386_TARGET = $i386_TARGET
23393 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23394 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23395 x86_64_CC = $x86_64_CC
23396 x86_64_CFLAGS = $x86_64_CFLAGS
23397 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23398 x86_64_LDFLAGS = $x86_64_LDFLAGS
23399 x86_64_DEBUG = $x86_64_DEBUG
23400 x86_64_TARGET = $x86_64_TARGET
23401 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23402 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23403 toolsdir = $toolsdir
23404 MAKEDEP = $MAKEDEP
23405 RUNTESTFLAGS = $RUNTESTFLAGS
23406 SED_CMD = $SED_CMD
23407 FLEX = $FLEX
23408 BISON = $BISON
23409 AR = $AR
23410 ac_ct_AR = $ac_ct_AR
23411 STRIP = $STRIP
23412 RANLIB = $RANLIB
23413 LN_S = $LN_S
23414 GREP = $GREP
23415 EGREP = $EGREP
23416 LDCONFIG = $LDCONFIG
23417 MSGFMT = $MSGFMT
23418 PKG_CONFIG = $PKG_CONFIG
23419 FONTFORGE = $FONTFORGE
23420 RSVG = $RSVG
23421 CONVERT = $CONVERT
23422 ICOTOOL = $ICOTOOL
23423 I386_LIBS = $I386_LIBS
23424 OPENGL_LIBS = $OPENGL_LIBS
23425 DLLFLAGS = $DLLFLAGS
23426 LDDLLFLAGS = $LDDLLFLAGS
23427 LDEXECFLAGS = $LDEXECFLAGS
23428 EXTRACFLAGS = $EXTRACFLAGS
23429 UNIXDLLFLAGS = $UNIXDLLFLAGS
23430 UNIXLDFLAGS = $UNIXLDFLAGS
23431 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23432 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23433 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23434 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23435 DLLEXT = $DLLEXT
23436 LDD = $LDD
23437 OTOOL = $OTOOL
23438 READELF = $READELF
23439 SUBDIRS = $SUBDIRS
23440 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23441 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23442 CARBON_LIBS = $CARBON_LIBS
23443 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23444 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23445 IOKIT_LIBS = $IOKIT_LIBS
23446 METAL_LIBS = $METAL_LIBS
23447 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23448 CORESERVICES_LIBS = $CORESERVICES_LIBS
23449 APPKIT_LIBS = $APPKIT_LIBS
23450 SECURITY_LIBS = $SECURITY_LIBS
23451 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23452 COREAUDIO_LIBS = $COREAUDIO_LIBS
23453 OPENCL_LIBS = $OPENCL_LIBS
23454 OBJC = $OBJC
23455 OBJCFLAGS = $OBJCFLAGS
23456 ac_ct_OBJC = $ac_ct_OBJC
23457 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23458 PE_ARCHS = $PE_ARCHS
23459 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23460 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23461 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23462 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23463 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23464 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23465 GSM_PE_LIBS = $GSM_PE_LIBS
23466 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23467 JPEG_PE_LIBS = $JPEG_PE_LIBS
23468 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23469 JXR_PE_LIBS = $JXR_PE_LIBS
23470 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23471 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23472 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23473 LDAP_PE_LIBS = $LDAP_PE_LIBS
23474 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23475 MPG123_PE_LIBS = $MPG123_PE_LIBS
23476 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23477 MUSL_PE_LIBS = $MUSL_PE_LIBS
23478 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23479 PNG_PE_LIBS = $PNG_PE_LIBS
23480 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23481 TIFF_PE_LIBS = $TIFF_PE_LIBS
23482 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23483 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23484 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23485 XML2_PE_LIBS = $XML2_PE_LIBS
23486 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23487 XSLT_PE_LIBS = $XSLT_PE_LIBS
23488 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23489 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23490 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23491 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23492 PTHREAD_LIBS = $PTHREAD_LIBS
23493 XMKMF = $XMKMF
23494 CPP = $CPP
23495 X_CFLAGS = $X_CFLAGS
23496 X_PRE_LIBS = $X_PRE_LIBS
23497 X_LIBS = $X_LIBS
23498 X_EXTRA_LIBS = $X_EXTRA_LIBS
23499 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23500 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23501 WAYLAND_SCANNER = $WAYLAND_SCANNER
23502 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
23503 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
23504 PCAP_LIBS = $PCAP_LIBS
23505 PCSCLITE_LIBS = $PCSCLITE_LIBS
23506 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23507 INOTIFY_LIBS = $INOTIFY_LIBS
23508 DBUS_CFLAGS = $DBUS_CFLAGS
23509 DBUS_LIBS = $DBUS_LIBS
23510 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23511 GNUTLS_LIBS = $GNUTLS_LIBS
23512 SANE_CFLAGS = $SANE_CFLAGS
23513 SANE_LIBS = $SANE_LIBS
23514 USB_CFLAGS = $USB_CFLAGS
23515 USB_LIBS = $USB_LIBS
23516 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23517 GPHOTO2_LIBS = $GPHOTO2_LIBS
23518 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23519 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23520 RESOLV_LIBS = $RESOLV_LIBS
23521 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23522 FREETYPE_LIBS = $FREETYPE_LIBS
23523 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23524 PULSE_CFLAGS = $PULSE_CFLAGS
23525 PULSE_LIBS = $PULSE_LIBS
23526 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23527 GSTREAMER_LIBS = $GSTREAMER_LIBS
23528 ALSA_LIBS = $ALSA_LIBS
23529 OSS4_CFLAGS = $OSS4_CFLAGS
23530 OSS4_LIBS = $OSS4_LIBS
23531 UDEV_CFLAGS = $UDEV_CFLAGS
23532 UDEV_LIBS = $UDEV_LIBS
23533 UNWIND_CFLAGS = $UNWIND_CFLAGS
23534 UNWIND_LIBS = $UNWIND_LIBS
23535 SDL2_CFLAGS = $SDL2_CFLAGS
23536 SDL2_LIBS = $SDL2_LIBS
23537 CAPI20_CFLAGS = $CAPI20_CFLAGS
23538 CAPI20_LIBS = $CAPI20_LIBS
23539 CUPS_CFLAGS = $CUPS_CFLAGS
23540 CUPS_LIBS = $CUPS_LIBS
23541 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23542 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23543 KRB5_CFLAGS = $KRB5_CFLAGS
23544 KRB5_LIBS = $KRB5_LIBS
23545 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23546 GSSAPI_LIBS = $GSSAPI_LIBS
23547 PROCSTAT_LIBS = $PROCSTAT_LIBS
23548 NETAPI_CFLAGS = $NETAPI_CFLAGS
23549 NETAPI_LIBS = $NETAPI_LIBS
23550 MSVCRTFLAGS = $MSVCRTFLAGS
23551 DELAYLOADFLAG = $DELAYLOADFLAG
23552 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23553 RT_LIBS = $RT_LIBS
23554 TAGSFLAGS = $TAGSFLAGS
23555 LIBOBJS = $LIBOBJS
23556 LTLIBOBJS = $LTLIBOBJS
23557 $SET_MAKE
23558 $wine_rules
23559 _WINE_EOF
23560 as_fn_error $? "could not create Makefile" "$LINENO" 5
23563 _ACEOF
23565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23567 # Handling of arguments.
23568 for ac_config_target in $ac_config_targets
23570 case $ac_config_target in
23571 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23572 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23573 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23574 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23575 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23576 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23578 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23579 esac
23580 done
23583 # If the user did not use the arguments to specify the items to instantiate,
23584 # then the envvar interface is used. Set only those that are not.
23585 # We use the long form for the default assignment because of an extremely
23586 # bizarre bug on SunOS 4.1.3.
23587 if $ac_need_defaults; then
23588 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23589 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23590 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23593 # Have a temporary directory for convenience. Make it in the build tree
23594 # simply because there is no reason against having it here, and in addition,
23595 # creating and moving files from /tmp can sometimes cause problems.
23596 # Hook for its removal unless debugging.
23597 # Note that there is a small window in which the directory will not be cleaned:
23598 # after its creation but before its name has been assigned to `$tmp'.
23599 $debug ||
23601 tmp= ac_tmp=
23602 trap 'exit_status=$?
23603 : "${ac_tmp:=$tmp}"
23604 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23606 trap 'as_fn_exit 1' 1 2 13 15
23608 # Create a (secure) tmp directory for tmp files.
23611 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23612 test -d "$tmp"
23613 } ||
23615 tmp=./conf$$-$RANDOM
23616 (umask 077 && mkdir "$tmp")
23617 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23618 ac_tmp=$tmp
23620 # Set up the scripts for CONFIG_HEADERS section.
23621 # No need to generate them if there are no CONFIG_HEADERS.
23622 # This happens for instance with `./config.status Makefile'.
23623 if test -n "$CONFIG_HEADERS"; then
23624 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23625 BEGIN {
23626 _ACEOF
23628 # Transform confdefs.h into an awk script `defines.awk', embedded as
23629 # here-document in config.status, that substitutes the proper values into
23630 # config.h.in to produce config.h.
23632 # Create a delimiter string that does not exist in confdefs.h, to ease
23633 # handling of long lines.
23634 ac_delim='%!_!# '
23635 for ac_last_try in false false :; do
23636 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23637 if test -z "$ac_tt"; then
23638 break
23639 elif $ac_last_try; then
23640 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23641 else
23642 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23644 done
23646 # For the awk script, D is an array of macro values keyed by name,
23647 # likewise P contains macro parameters if any. Preserve backslash
23648 # newline sequences.
23650 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23651 sed -n '
23652 s/.\{148\}/&'"$ac_delim"'/g
23653 t rset
23654 :rset
23655 s/^[ ]*#[ ]*define[ ][ ]*/ /
23656 t def
23658 :def
23659 s/\\$//
23660 t bsnl
23661 s/["\\]/\\&/g
23662 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23663 D["\1"]=" \3"/p
23664 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23666 :bsnl
23667 s/["\\]/\\&/g
23668 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23669 D["\1"]=" \3\\\\\\n"\\/p
23670 t cont
23671 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23672 t cont
23674 :cont
23676 s/.\{148\}/&'"$ac_delim"'/g
23677 t clear
23678 :clear
23679 s/\\$//
23680 t bsnlc
23681 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23683 :bsnlc
23684 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23685 b cont
23686 ' <confdefs.h | sed '
23687 s/'"$ac_delim"'/"\\\
23688 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23691 for (key in D) D_is_set[key] = 1
23692 FS = "\a"
23694 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23695 line = \$ 0
23696 split(line, arg, " ")
23697 if (arg[1] == "#") {
23698 defundef = arg[2]
23699 mac1 = arg[3]
23700 } else {
23701 defundef = substr(arg[1], 2)
23702 mac1 = arg[2]
23704 split(mac1, mac2, "(") #)
23705 macro = mac2[1]
23706 prefix = substr(line, 1, index(line, defundef) - 1)
23707 if (D_is_set[macro]) {
23708 # Preserve the white space surrounding the "#".
23709 print prefix "define", macro P[macro] D[macro]
23710 next
23711 } else {
23712 # Replace #undef with comments. This is necessary, for example,
23713 # in the case of _POSIX_SOURCE, which is predefined and required
23714 # on some systems where configure will not decide to define it.
23715 if (defundef == "undef") {
23716 print "/*", prefix defundef, macro, "*/"
23717 next
23721 { print }
23722 _ACAWK
23723 _ACEOF
23724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23725 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23726 fi # test -n "$CONFIG_HEADERS"
23729 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23730 shift
23731 for ac_tag
23733 case $ac_tag in
23734 :[FHLC]) ac_mode=$ac_tag; continue;;
23735 esac
23736 case $ac_mode$ac_tag in
23737 :[FHL]*:*);;
23738 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23739 :[FH]-) ac_tag=-:-;;
23740 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23741 esac
23742 ac_save_IFS=$IFS
23743 IFS=:
23744 set x $ac_tag
23745 IFS=$ac_save_IFS
23746 shift
23747 ac_file=$1
23748 shift
23750 case $ac_mode in
23751 :L) ac_source=$1;;
23752 :[FH])
23753 ac_file_inputs=
23754 for ac_f
23756 case $ac_f in
23757 -) ac_f="$ac_tmp/stdin";;
23758 *) # Look for the file first in the build tree, then in the source tree
23759 # (if the path is not absolute). The absolute path cannot be DOS-style,
23760 # because $ac_f cannot contain `:'.
23761 test -f "$ac_f" ||
23762 case $ac_f in
23763 [\\/$]*) false;;
23764 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23765 esac ||
23766 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23767 esac
23768 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23769 as_fn_append ac_file_inputs " '$ac_f'"
23770 done
23772 # Let's still pretend it is `configure' which instantiates (i.e., don't
23773 # use $as_me), people would be surprised to read:
23774 # /* config.h. Generated by config.status. */
23775 configure_input='Generated from '`
23776 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23777 `' by configure.'
23778 if test x"$ac_file" != x-; then
23779 configure_input="$ac_file. $configure_input"
23780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23781 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23783 # Neutralize special characters interpreted by sed in replacement strings.
23784 case $configure_input in #(
23785 *\&* | *\|* | *\\* )
23786 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23787 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23788 *) ac_sed_conf_input=$configure_input;;
23789 esac
23791 case $ac_tag in
23792 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23794 esac
23796 esac
23798 ac_dir=`$as_dirname -- "$ac_file" ||
23799 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23800 X"$ac_file" : 'X\(//\)[^/]' \| \
23801 X"$ac_file" : 'X\(//\)$' \| \
23802 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23803 printf "%s\n" X"$ac_file" |
23804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23805 s//\1/
23808 /^X\(\/\/\)[^/].*/{
23809 s//\1/
23812 /^X\(\/\/\)$/{
23813 s//\1/
23816 /^X\(\/\).*/{
23817 s//\1/
23820 s/.*/./; q'`
23821 as_dir="$ac_dir"; as_fn_mkdir_p
23822 ac_builddir=.
23824 case "$ac_dir" in
23825 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23827 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23828 # A ".." for each directory in $ac_dir_suffix.
23829 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23830 case $ac_top_builddir_sub in
23831 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23832 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23833 esac ;;
23834 esac
23835 ac_abs_top_builddir=$ac_pwd
23836 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23837 # for backward compatibility:
23838 ac_top_builddir=$ac_top_build_prefix
23840 case $srcdir in
23841 .) # We are building in place.
23842 ac_srcdir=.
23843 ac_top_srcdir=$ac_top_builddir_sub
23844 ac_abs_top_srcdir=$ac_pwd ;;
23845 [\\/]* | ?:[\\/]* ) # Absolute name.
23846 ac_srcdir=$srcdir$ac_dir_suffix;
23847 ac_top_srcdir=$srcdir
23848 ac_abs_top_srcdir=$srcdir ;;
23849 *) # Relative name.
23850 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23851 ac_top_srcdir=$ac_top_build_prefix$srcdir
23852 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23853 esac
23854 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23857 case $ac_mode in
23861 # CONFIG_HEADER
23863 if test x"$ac_file" != x-; then
23865 printf "%s\n" "/* $configure_input */" >&1 \
23866 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23867 } >"$ac_tmp/config.h" \
23868 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23869 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23871 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23872 else
23873 rm -f "$ac_file"
23874 mv "$ac_tmp/config.h" "$ac_file" \
23875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23877 else
23878 printf "%s\n" "/* $configure_input */" >&1 \
23879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23880 || as_fn_error $? "could not create -" "$LINENO" 5
23885 # CONFIG_LINK
23888 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23890 else
23891 # Prefer the file from the source tree if names are identical.
23892 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23893 ac_source=$srcdir/$ac_source
23896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23897 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23899 if test ! -r "$ac_source"; then
23900 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23902 rm -f "$ac_file"
23904 # Try a relative symlink, then a hard link, then a copy.
23905 case $ac_source in
23906 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23907 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23908 esac
23909 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23910 ln "$ac_source" "$ac_file" 2>/dev/null ||
23911 cp -p "$ac_source" "$ac_file" ||
23912 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23915 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23916 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23918 esac
23921 case $ac_file$ac_mode in
23922 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23923 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23924 "Makefile":C) wine_fn_output_makefile Makefile ;;
23926 esac
23927 done # for ac_tag
23930 as_fn_exit 0
23931 _ACEOF
23932 ac_clean_files=$ac_clean_files_save
23934 test $ac_write_fail = 0 ||
23935 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23938 # configure is writing to config.log, and then calls config.status.
23939 # config.status does its own redirection, appending to config.log.
23940 # Unfortunately, on DOS this fails, as config.log is still kept open
23941 # by configure, so config.status won't be able to write to it; its
23942 # output is simply discarded. So we exec the FD to /dev/null,
23943 # effectively closing config.log, so it can be properly (re)opened and
23944 # appended to by config.status. When coming back to configure, we
23945 # need to make the FD available again.
23946 if test "$no_create" != yes; then
23947 ac_cs_success=:
23948 ac_config_status_args=
23949 test "$silent" = yes &&
23950 ac_config_status_args="$ac_config_status_args --quiet"
23951 exec 5>/dev/null
23952 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23953 exec 5>>config.log
23954 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23955 # would make configure fail if this is the last instruction.
23956 $ac_cs_success || as_fn_exit 1
23958 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23960 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23964 if test "$no_create" = "yes"
23965 then
23966 exit 0
23969 ac_save_IFS="$IFS"
23970 if test "x$wine_notices" != x; then
23971 echo >&6
23972 IFS="|"
23973 for msg in $wine_notices; do
23974 IFS="$ac_save_IFS"
23975 if ${msg:+false} :
23976 then :
23978 else $as_nop
23979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23980 printf "%s\n" "$as_me: $msg" >&6;}
23982 done
23984 IFS="|"
23985 for msg in $wine_warnings; do
23986 IFS="$ac_save_IFS"
23987 if ${msg:+false} :
23988 then :
23990 else $as_nop
23991 echo >&2
23992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23993 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23995 done
23996 IFS="$ac_save_IFS"
23998 printf "%s\n" "
23999 $as_me: Finished. Do '${ac_make}' to compile Wine.
24000 " >&6