windows.storage.applicationdata: Implement IApplicationDataStatics::get_Current().
[wine.git] / configure
blobcbcc88d6626aab3d67b113ee16cf77638f475816
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.17.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.17'
615 PACKAGE_STRING='Wine 8.17'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_appxdeploymentclient
978 enable_atl
979 enable_atl100
980 enable_atl110
981 enable_atl80
982 enable_atl90
983 enable_atlthunk
984 enable_atmlib
985 enable_authz
986 enable_avicap32
987 enable_avifil32
988 enable_avrt
989 enable_bcrypt
990 enable_bcryptprimitives
991 enable_bluetoothapis
992 enable_browseui
993 enable_bthprops_cpl
994 enable_cabinet
995 enable_capi2032
996 enable_cards
997 enable_cdosys
998 enable_cfgmgr32
999 enable_clusapi
1000 enable_cng_sys
1001 enable_combase
1002 enable_comcat
1003 enable_comctl32
1004 enable_comdlg32
1005 enable_compstui
1006 enable_comsvcs
1007 enable_concrt140
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptowinrt
1017 enable_cryptsp
1018 enable_cryptui
1019 enable_ctapi32
1020 enable_ctl3d32
1021 enable_d2d1
1022 enable_d3d10
1023 enable_d3d10_1
1024 enable_d3d10core
1025 enable_d3d11
1026 enable_d3d12
1027 enable_d3d12core
1028 enable_d3d8
1029 enable_d3d8thk
1030 enable_d3d9
1031 enable_d3dcompiler_33
1032 enable_d3dcompiler_34
1033 enable_d3dcompiler_35
1034 enable_d3dcompiler_36
1035 enable_d3dcompiler_37
1036 enable_d3dcompiler_38
1037 enable_d3dcompiler_39
1038 enable_d3dcompiler_40
1039 enable_d3dcompiler_41
1040 enable_d3dcompiler_42
1041 enable_d3dcompiler_43
1042 enable_d3dcompiler_46
1043 enable_d3dcompiler_47
1044 enable_d3dim
1045 enable_d3dim700
1046 enable_d3drm
1047 enable_d3dx10_33
1048 enable_d3dx10_34
1049 enable_d3dx10_35
1050 enable_d3dx10_36
1051 enable_d3dx10_37
1052 enable_d3dx10_38
1053 enable_d3dx10_39
1054 enable_d3dx10_40
1055 enable_d3dx10_41
1056 enable_d3dx10_42
1057 enable_d3dx10_43
1058 enable_d3dx11_42
1059 enable_d3dx11_43
1060 enable_d3dx9_24
1061 enable_d3dx9_25
1062 enable_d3dx9_26
1063 enable_d3dx9_27
1064 enable_d3dx9_28
1065 enable_d3dx9_29
1066 enable_d3dx9_30
1067 enable_d3dx9_31
1068 enable_d3dx9_32
1069 enable_d3dx9_33
1070 enable_d3dx9_34
1071 enable_d3dx9_35
1072 enable_d3dx9_36
1073 enable_d3dx9_37
1074 enable_d3dx9_38
1075 enable_d3dx9_39
1076 enable_d3dx9_40
1077 enable_d3dx9_41
1078 enable_d3dx9_42
1079 enable_d3dx9_43
1080 enable_d3dxof
1081 enable_davclnt
1082 enable_dbgeng
1083 enable_dbghelp
1084 enable_dciman32
1085 enable_dcomp
1086 enable_ddraw
1087 enable_ddrawex
1088 enable_devenum
1089 enable_dhcpcsvc
1090 enable_dhcpcsvc6
1091 enable_dhtmled_ocx
1092 enable_diasymreader
1093 enable_difxapi
1094 enable_dinput
1095 enable_dinput8
1096 enable_directmanipulation
1097 enable_dispex
1098 enable_dmband
1099 enable_dmcompos
1100 enable_dmime
1101 enable_dmloader
1102 enable_dmscript
1103 enable_dmstyle
1104 enable_dmsynth
1105 enable_dmusic
1106 enable_dmusic32
1107 enable_dnsapi
1108 enable_dplay
1109 enable_dplayx
1110 enable_dpnaddr
1111 enable_dpnet
1112 enable_dpnhpast
1113 enable_dpnhupnp
1114 enable_dpnlobby
1115 enable_dpvoice
1116 enable_dpwsockx
1117 enable_drmclien
1118 enable_dsdmo
1119 enable_dsound
1120 enable_dsquery
1121 enable_dssenh
1122 enable_dsuiext
1123 enable_dswave
1124 enable_dwmapi
1125 enable_dwrite
1126 enable_dx8vb
1127 enable_dxcore
1128 enable_dxdiagn
1129 enable_dxgi
1130 enable_dxtrans
1131 enable_dxva2
1132 enable_esent
1133 enable_evr
1134 enable_explorerframe
1135 enable_faultrep
1136 enable_feclient
1137 enable_fltlib
1138 enable_fltmgr_sys
1139 enable_fntcache
1140 enable_fontsub
1141 enable_fusion
1142 enable_fwpuclnt
1143 enable_gameux
1144 enable_gamingtcui
1145 enable_gdi32
1146 enable_gdiplus
1147 enable_geolocation
1148 enable_glu32
1149 enable_gphoto2_ds
1150 enable_gpkcsp
1151 enable_graphicscapture
1152 enable_hal
1153 enable_hhctrl_ocx
1154 enable_hid
1155 enable_hidclass_sys
1156 enable_hidparse_sys
1157 enable_hlink
1158 enable_hnetcfg
1159 enable_hrtfapo
1160 enable_http_sys
1161 enable_httpapi
1162 enable_hvsimanagementapi
1163 enable_ia2comproxy
1164 enable_iccvid
1165 enable_icmp
1166 enable_ieframe
1167 enable_ieproxy
1168 enable_imaadp32_acm
1169 enable_imagehlp
1170 enable_imm32
1171 enable_inetcomm
1172 enable_inetcpl_cpl
1173 enable_inetmib1
1174 enable_infosoft
1175 enable_initpki
1176 enable_inkobj
1177 enable_inseng
1178 enable_iphlpapi
1179 enable_iprop
1180 enable_ir50_32
1181 enable_irprops_cpl
1182 enable_itircl
1183 enable_itss
1184 enable_joy_cpl
1185 enable_jscript
1186 enable_jsproxy
1187 enable_kerberos
1188 enable_kernel32
1189 enable_kernelbase
1190 enable_ksecdd_sys
1191 enable_ksproxy_ax
1192 enable_ksuser
1193 enable_ktmw32
1194 enable_l3codeca_acm
1195 enable_light_msstyles
1196 enable_loadperf
1197 enable_localspl
1198 enable_localui
1199 enable_lz32
1200 enable_magnification
1201 enable_mapi32
1202 enable_mapistub
1203 enable_mciavi32
1204 enable_mcicda
1205 enable_mciqtz32
1206 enable_mciseq
1207 enable_mciwave
1208 enable_mf
1209 enable_mf3216
1210 enable_mferror
1211 enable_mfmediaengine
1212 enable_mfplat
1213 enable_mfplay
1214 enable_mfreadwrite
1215 enable_mfsrcsnk
1216 enable_mgmtapi
1217 enable_midimap
1218 enable_mlang
1219 enable_mmcndmgr
1220 enable_mmdevapi
1221 enable_mountmgr_sys
1222 enable_mp3dmod
1223 enable_mpr
1224 enable_mprapi
1225 enable_msacm32_drv
1226 enable_msacm32
1227 enable_msado15
1228 enable_msadp32_acm
1229 enable_msasn1
1230 enable_msauddecmft
1231 enable_mscat32
1232 enable_mscms
1233 enable_mscoree
1234 enable_mscorwks
1235 enable_msctf
1236 enable_msctfmonitor
1237 enable_msctfp
1238 enable_msdaps
1239 enable_msdasql
1240 enable_msdelta
1241 enable_msdmo
1242 enable_msdrm
1243 enable_msftedit
1244 enable_msg711_acm
1245 enable_msgsm32_acm
1246 enable_mshtml_tlb
1247 enable_mshtml
1248 enable_msi
1249 enable_msident
1250 enable_msimg32
1251 enable_msimsg
1252 enable_msimtf
1253 enable_msisip
1254 enable_msisys_ocx
1255 enable_msls31
1256 enable_msmpeg2vdec
1257 enable_msnet32
1258 enable_mspatcha
1259 enable_msports
1260 enable_msrle32
1261 enable_msscript_ocx
1262 enable_mssign32
1263 enable_mssip32
1264 enable_mstask
1265 enable_msv1_0
1266 enable_msvcirt
1267 enable_msvcm80
1268 enable_msvcm90
1269 enable_msvcp100
1270 enable_msvcp110
1271 enable_msvcp120
1272 enable_msvcp120_app
1273 enable_msvcp140
1274 enable_msvcp140_1
1275 enable_msvcp140_2
1276 enable_msvcp140_atomic_wait
1277 enable_msvcp140_codecvt_ids
1278 enable_msvcp60
1279 enable_msvcp70
1280 enable_msvcp71
1281 enable_msvcp80
1282 enable_msvcp90
1283 enable_msvcp_win
1284 enable_msvcr100
1285 enable_msvcr110
1286 enable_msvcr120
1287 enable_msvcr120_app
1288 enable_msvcr70
1289 enable_msvcr71
1290 enable_msvcr80
1291 enable_msvcr90
1292 enable_msvcrt
1293 enable_msvcrt20
1294 enable_msvcrt40
1295 enable_msvcrtd
1296 enable_msvfw32
1297 enable_msvidc32
1298 enable_mswsock
1299 enable_msxml
1300 enable_msxml2
1301 enable_msxml3
1302 enable_msxml4
1303 enable_msxml6
1304 enable_mtxdm
1305 enable_ncrypt
1306 enable_nddeapi
1307 enable_ndis_sys
1308 enable_netapi32
1309 enable_netcfgx
1310 enable_netio_sys
1311 enable_netprofm
1312 enable_netutils
1313 enable_newdev
1314 enable_ninput
1315 enable_normaliz
1316 enable_npmshtml
1317 enable_npptools
1318 enable_nsi
1319 enable_nsiproxy_sys
1320 enable_ntdll
1321 enable_ntdsapi
1322 enable_ntoskrnl_exe
1323 enable_ntprint
1324 enable_objsel
1325 enable_odbc32
1326 enable_odbcbcp
1327 enable_odbccp32
1328 enable_odbccu32
1329 enable_ole32
1330 enable_oleacc
1331 enable_oleaut32
1332 enable_olecli32
1333 enable_oledb32
1334 enable_oledlg
1335 enable_olepro32
1336 enable_olesvr32
1337 enable_olethk32
1338 enable_opcservices
1339 enable_opencl
1340 enable_opengl32
1341 enable_packager
1342 enable_pdh
1343 enable_photometadatahandler
1344 enable_pidgen
1345 enable_powrprof
1346 enable_printui
1347 enable_prntvpt
1348 enable_propsys
1349 enable_psapi
1350 enable_pstorec
1351 enable_pwrshplugin
1352 enable_qasf
1353 enable_qcap
1354 enable_qdvd
1355 enable_qedit
1356 enable_qmgr
1357 enable_qmgrprxy
1358 enable_quartz
1359 enable_query
1360 enable_qwave
1361 enable_rasapi32
1362 enable_rasdlg
1363 enable_regapi
1364 enable_resutils
1365 enable_riched20
1366 enable_riched32
1367 enable_rpcrt4
1368 enable_rsabase
1369 enable_rsaenh
1370 enable_rstrtmgr
1371 enable_rtutils
1372 enable_rtworkq
1373 enable_samlib
1374 enable_sane_ds
1375 enable_sapi
1376 enable_sas
1377 enable_scarddlg
1378 enable_scardsvr
1379 enable_sccbase
1380 enable_schannel
1381 enable_schedsvc
1382 enable_scrobj
1383 enable_scrrun
1384 enable_scsiport_sys
1385 enable_sechost
1386 enable_secur32
1387 enable_security
1388 enable_sensapi
1389 enable_serialui
1390 enable_setupapi
1391 enable_sfc
1392 enable_sfc_os
1393 enable_shcore
1394 enable_shdoclc
1395 enable_shdocvw
1396 enable_shell32
1397 enable_shfolder
1398 enable_shlwapi
1399 enable_slbcsp
1400 enable_slc
1401 enable_snmpapi
1402 enable_softpub
1403 enable_spoolss
1404 enable_sppc
1405 enable_srclient
1406 enable_srvcli
1407 enable_srvsvc
1408 enable_sspicli
1409 enable_stdole2_tlb
1410 enable_stdole32_tlb
1411 enable_sti
1412 enable_strmdll
1413 enable_svrapi
1414 enable_sxs
1415 enable_t2embed
1416 enable_tapi32
1417 enable_taskschd
1418 enable_tbs
1419 enable_tdh
1420 enable_tdi_sys
1421 enable_threadpoolwinrt
1422 enable_traffic
1423 enable_twain_32
1424 enable_twinapi_appcore
1425 enable_tzres
1426 enable_ucrtbase
1427 enable_uianimation
1428 enable_uiautomationcore
1429 enable_uiribbon
1430 enable_unicows
1431 enable_updspapi
1432 enable_url
1433 enable_urlmon
1434 enable_usbd_sys
1435 enable_user32
1436 enable_userenv
1437 enable_usp10
1438 enable_utildll
1439 enable_uxtheme
1440 enable_vbscript
1441 enable_vcomp
1442 enable_vcomp100
1443 enable_vcomp110
1444 enable_vcomp120
1445 enable_vcomp140
1446 enable_vcomp90
1447 enable_vcruntime140
1448 enable_vcruntime140_1
1449 enable_vdmdbg
1450 enable_version
1451 enable_vga
1452 enable_virtdisk
1453 enable_vssapi
1454 enable_vulkan_1
1455 enable_wbemdisp
1456 enable_wbemprox
1457 enable_wdscore
1458 enable_webservices
1459 enable_websocket
1460 enable_wer
1461 enable_wevtapi
1462 enable_wevtsvc
1463 enable_wiaservc
1464 enable_wimgapi
1465 enable_win32u
1466 enable_windows_applicationmodel
1467 enable_windows_devices_bluetooth
1468 enable_windows_devices_enumeration
1469 enable_windows_devices_usb
1470 enable_windows_gaming_input
1471 enable_windows_gaming_ui_gamebar
1472 enable_windows_globalization
1473 enable_windows_media_devices
1474 enable_windows_media_speech
1475 enable_windows_media
1476 enable_windows_networking_hostname
1477 enable_windows_networking
1478 enable_windows_perception_stub
1479 enable_windows_storage_applicationdata
1480 enable_windows_system_profile_systemmanufacturers
1481 enable_windows_ui
1482 enable_windowscodecs
1483 enable_windowscodecsext
1484 enable_winealsa_drv
1485 enable_wineandroid_drv
1486 enable_winebus_sys
1487 enable_winecoreaudio_drv
1488 enable_winecrt0
1489 enable_wined3d
1490 enable_winegstreamer
1491 enable_winehid_sys
1492 enable_winemac_drv
1493 enable_winemapi
1494 enable_wineoss_drv
1495 enable_wineps_drv
1496 enable_winepulse_drv
1497 enable_wineusb_sys
1498 enable_winevulkan
1499 enable_winewayland_drv
1500 enable_winex11_drv
1501 enable_winexinput_sys
1502 enable_wing32
1503 enable_winhttp
1504 enable_wininet
1505 enable_winmm
1506 enable_winnls32
1507 enable_winprint
1508 enable_winscard
1509 enable_winspool_drv
1510 enable_winsta
1511 enable_wintab32
1512 enable_wintrust
1513 enable_wintypes
1514 enable_winusb
1515 enable_wlanapi
1516 enable_wlanui
1517 enable_wldap32
1518 enable_wldp
1519 enable_wmasf
1520 enable_wmi
1521 enable_wmiutils
1522 enable_wmp
1523 enable_wmphoto
1524 enable_wmvcore
1525 enable_wnaspi32
1526 enable_wofutil
1527 enable_wow64
1528 enable_wow64cpu
1529 enable_wow64win
1530 enable_wpc
1531 enable_wpcap
1532 enable_ws2_32
1533 enable_wsdapi
1534 enable_wshom_ocx
1535 enable_wsnmp32
1536 enable_wsock32
1537 enable_wtsapi32
1538 enable_wuapi
1539 enable_wuaueng
1540 enable_x3daudio1_0
1541 enable_x3daudio1_1
1542 enable_x3daudio1_2
1543 enable_x3daudio1_3
1544 enable_x3daudio1_4
1545 enable_x3daudio1_5
1546 enable_x3daudio1_6
1547 enable_x3daudio1_7
1548 enable_xactengine2_0
1549 enable_xactengine2_4
1550 enable_xactengine2_7
1551 enable_xactengine2_9
1552 enable_xactengine3_0
1553 enable_xactengine3_1
1554 enable_xactengine3_2
1555 enable_xactengine3_3
1556 enable_xactengine3_4
1557 enable_xactengine3_5
1558 enable_xactengine3_6
1559 enable_xactengine3_7
1560 enable_xapofx1_1
1561 enable_xapofx1_2
1562 enable_xapofx1_3
1563 enable_xapofx1_4
1564 enable_xapofx1_5
1565 enable_xaudio2_0
1566 enable_xaudio2_1
1567 enable_xaudio2_2
1568 enable_xaudio2_3
1569 enable_xaudio2_4
1570 enable_xaudio2_5
1571 enable_xaudio2_6
1572 enable_xaudio2_7
1573 enable_xaudio2_8
1574 enable_xaudio2_9
1575 enable_xinput1_1
1576 enable_xinput1_2
1577 enable_xinput1_3
1578 enable_xinput1_4
1579 enable_xinput9_1_0
1580 enable_xinputuap
1581 enable_xmllite
1582 enable_xolehlp
1583 enable_xpsprint
1584 enable_xpssvcs
1585 enable_fonts
1586 enable_include
1587 enable_adsiid
1588 enable_dmoguids
1589 enable_dxerr8
1590 enable_dxerr9
1591 enable_dxguid
1592 enable_faudio
1593 enable_gsm
1594 enable_jpeg
1595 enable_jxr
1596 enable_lcms2
1597 enable_ldap
1598 enable_mfuuid
1599 enable_mpg123
1600 enable_musl
1601 enable_png
1602 enable_strmbase
1603 enable_strmiids
1604 enable_tiff
1605 enable_uuid
1606 enable_vkd3d
1607 enable_wbemuuid
1608 enable_wmcodecdspuuid
1609 enable_xml2
1610 enable_xslt
1611 enable_zlib
1612 enable_zydis
1613 enable_loader
1614 enable_nls
1615 enable_po
1616 enable_arp
1617 enable_aspnet_regiis
1618 enable_attrib
1619 enable_cabarc
1620 enable_cacls
1621 enable_certutil
1622 enable_chcp_com
1623 enable_clock
1624 enable_cmd
1625 enable_conhost
1626 enable_control
1627 enable_cscript
1628 enable_dism
1629 enable_dllhost
1630 enable_dplaysvr
1631 enable_dpnsvr
1632 enable_dpvsetup
1633 enable_dxdiag
1634 enable_eject
1635 enable_expand
1636 enable_explorer
1637 enable_extrac32
1638 enable_fc
1639 enable_find
1640 enable_findstr
1641 enable_fsutil
1642 enable_hh
1643 enable_hostname
1644 enable_icacls
1645 enable_icinfo
1646 enable_iexplore
1647 enable_ipconfig
1648 enable_klist
1649 enable_lodctr
1650 enable_mofcomp
1651 enable_mshta
1652 enable_msidb
1653 enable_msiexec
1654 enable_msinfo32
1655 enable_net
1656 enable_netsh
1657 enable_netstat
1658 enable_ngen
1659 enable_notepad
1660 enable_oleview
1661 enable_ping
1662 enable_plugplay
1663 enable_pnputil
1664 enable_powershell
1665 enable_presentationfontcache
1666 enable_progman
1667 enable_reg
1668 enable_regasm
1669 enable_regedit
1670 enable_regini
1671 enable_regsvcs
1672 enable_regsvr32
1673 enable_robocopy
1674 enable_rpcss
1675 enable_rundll32
1676 enable_sc
1677 enable_schtasks
1678 enable_sdbinst
1679 enable_secedit
1680 enable_servicemodelreg
1681 enable_services
1682 enable_setx
1683 enable_shutdown
1684 enable_spoolsv
1685 enable_start
1686 enable_subst
1687 enable_svchost
1688 enable_systeminfo
1689 enable_taskkill
1690 enable_tasklist
1691 enable_taskmgr
1692 enable_termsv
1693 enable_uninstaller
1694 enable_unlodctr
1695 enable_view
1696 enable_wevtutil
1697 enable_where
1698 enable_whoami
1699 enable_wineboot
1700 enable_winebrowser
1701 enable_winecfg
1702 enable_wineconsole
1703 enable_winedbg
1704 enable_winedevice
1705 enable_winefile
1706 enable_winemenubuilder
1707 enable_winemine
1708 enable_winemsibuilder
1709 enable_winepath
1710 enable_winetest
1711 enable_winhlp32
1712 enable_winmgmt
1713 enable_winver
1714 enable_wmic
1715 enable_wmplayer
1716 enable_wordpad
1717 enable_write
1718 enable_wscript
1719 enable_wuauserv
1720 enable_wusa
1721 enable_xcopy
1722 enable_server
1723 enable_tools
1724 enable_sfnt2fon
1725 enable_widl
1726 enable_winebuild
1727 enable_winedump
1728 enable_winegcc
1729 enable_winemaker
1730 enable_wmc
1731 enable_wrc
1733 ac_precious_vars='build_alias
1734 host_alias
1735 target_alias
1737 CFLAGS
1738 LDFLAGS
1739 LIBS
1740 CPPFLAGS
1742 CXXFLAGS
1744 OBJC
1745 OBJCFLAGS
1746 FAUDIO_PE_CFLAGS
1747 FAUDIO_PE_LIBS
1748 GSM_PE_CFLAGS
1749 GSM_PE_LIBS
1750 JPEG_PE_CFLAGS
1751 JPEG_PE_LIBS
1752 JXR_PE_CFLAGS
1753 JXR_PE_LIBS
1754 LCMS2_PE_CFLAGS
1755 LCMS2_PE_LIBS
1756 LDAP_PE_CFLAGS
1757 LDAP_PE_LIBS
1758 MPG123_PE_CFLAGS
1759 MPG123_PE_LIBS
1760 MUSL_PE_CFLAGS
1761 MUSL_PE_LIBS
1762 PNG_PE_CFLAGS
1763 PNG_PE_LIBS
1764 TIFF_PE_CFLAGS
1765 TIFF_PE_LIBS
1766 VKD3D_PE_CFLAGS
1767 VKD3D_PE_LIBS
1768 XML2_PE_CFLAGS
1769 XML2_PE_LIBS
1770 XSLT_PE_CFLAGS
1771 XSLT_PE_LIBS
1772 ZLIB_PE_CFLAGS
1773 ZLIB_PE_LIBS
1774 ZYDIS_PE_CFLAGS
1775 ZYDIS_PE_LIBS
1776 XMKMF
1778 WAYLAND_CLIENT_CFLAGS
1779 WAYLAND_CLIENT_LIBS
1780 INOTIFY_CFLAGS
1781 INOTIFY_LIBS
1782 DBUS_CFLAGS
1783 DBUS_LIBS
1784 GNUTLS_CFLAGS
1785 GNUTLS_LIBS
1786 SANE_CFLAGS
1787 SANE_LIBS
1788 USB_CFLAGS
1789 USB_LIBS
1790 GPHOTO2_CFLAGS
1791 GPHOTO2_LIBS
1792 GPHOTO2_PORT_CFLAGS
1793 GPHOTO2_PORT_LIBS
1794 FREETYPE_CFLAGS
1795 FREETYPE_LIBS
1796 PULSE_CFLAGS
1797 PULSE_LIBS
1798 GSTREAMER_CFLAGS
1799 GSTREAMER_LIBS
1800 UDEV_CFLAGS
1801 UDEV_LIBS
1802 UNWIND_CFLAGS
1803 UNWIND_LIBS
1804 SDL2_CFLAGS
1805 SDL2_LIBS
1806 CAPI20_CFLAGS
1807 CAPI20_LIBS
1808 CUPS_CFLAGS
1809 CUPS_LIBS
1810 FONTCONFIG_CFLAGS
1811 FONTCONFIG_LIBS
1812 KRB5_CFLAGS
1813 KRB5_LIBS
1814 GSSAPI_CFLAGS
1815 GSSAPI_LIBS
1816 NETAPI_CFLAGS
1817 NETAPI_LIBS'
1820 # Initialize some variables set by options.
1821 ac_init_help=
1822 ac_init_version=false
1823 ac_unrecognized_opts=
1824 ac_unrecognized_sep=
1825 # The variables have the same names as the options, with
1826 # dashes changed to underlines.
1827 cache_file=/dev/null
1828 exec_prefix=NONE
1829 no_create=
1830 no_recursion=
1831 prefix=NONE
1832 program_prefix=NONE
1833 program_suffix=NONE
1834 program_transform_name=s,x,x,
1835 silent=
1836 site=
1837 srcdir=
1838 verbose=
1839 x_includes=NONE
1840 x_libraries=NONE
1842 # Installation directory options.
1843 # These are left unexpanded so users can "make install exec_prefix=/foo"
1844 # and all the variables that are supposed to be based on exec_prefix
1845 # by default will actually change.
1846 # Use braces instead of parens because sh, perl, etc. also accept them.
1847 # (The list follows the same order as the GNU Coding Standards.)
1848 bindir='${exec_prefix}/bin'
1849 sbindir='${exec_prefix}/sbin'
1850 libexecdir='${exec_prefix}/libexec'
1851 datarootdir='${prefix}/share'
1852 datadir='${datarootdir}'
1853 sysconfdir='${prefix}/etc'
1854 sharedstatedir='${prefix}/com'
1855 localstatedir='${prefix}/var'
1856 runstatedir='${localstatedir}/run'
1857 includedir='${prefix}/include'
1858 oldincludedir='/usr/include'
1859 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1860 infodir='${datarootdir}/info'
1861 htmldir='${docdir}'
1862 dvidir='${docdir}'
1863 pdfdir='${docdir}'
1864 psdir='${docdir}'
1865 libdir='${exec_prefix}/lib'
1866 localedir='${datarootdir}/locale'
1867 mandir='${datarootdir}/man'
1869 ac_prev=
1870 ac_dashdash=
1871 for ac_option
1873 # If the previous option needs an argument, assign it.
1874 if test -n "$ac_prev"; then
1875 eval $ac_prev=\$ac_option
1876 ac_prev=
1877 continue
1880 case $ac_option in
1881 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1882 *=) ac_optarg= ;;
1883 *) ac_optarg=yes ;;
1884 esac
1886 case $ac_dashdash$ac_option in
1888 ac_dashdash=yes ;;
1890 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1891 ac_prev=bindir ;;
1892 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1893 bindir=$ac_optarg ;;
1895 -build | --build | --buil | --bui | --bu)
1896 ac_prev=build_alias ;;
1897 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1898 build_alias=$ac_optarg ;;
1900 -cache-file | --cache-file | --cache-fil | --cache-fi \
1901 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1902 ac_prev=cache_file ;;
1903 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1904 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1905 cache_file=$ac_optarg ;;
1907 --config-cache | -C)
1908 cache_file=config.cache ;;
1910 -datadir | --datadir | --datadi | --datad)
1911 ac_prev=datadir ;;
1912 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1913 datadir=$ac_optarg ;;
1915 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1916 | --dataroo | --dataro | --datar)
1917 ac_prev=datarootdir ;;
1918 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1919 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1920 datarootdir=$ac_optarg ;;
1922 -disable-* | --disable-*)
1923 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1924 # Reject names that are not valid shell variable names.
1925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1926 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1927 ac_useropt_orig=$ac_useropt
1928 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1929 case $ac_user_opts in
1931 "enable_$ac_useropt"
1932 "*) ;;
1933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1934 ac_unrecognized_sep=', ';;
1935 esac
1936 eval enable_$ac_useropt=no ;;
1938 -docdir | --docdir | --docdi | --doc | --do)
1939 ac_prev=docdir ;;
1940 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1941 docdir=$ac_optarg ;;
1943 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1944 ac_prev=dvidir ;;
1945 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1946 dvidir=$ac_optarg ;;
1948 -enable-* | --enable-*)
1949 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1950 # Reject names that are not valid shell variable names.
1951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1952 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1953 ac_useropt_orig=$ac_useropt
1954 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1955 case $ac_user_opts in
1957 "enable_$ac_useropt"
1958 "*) ;;
1959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1960 ac_unrecognized_sep=', ';;
1961 esac
1962 eval enable_$ac_useropt=\$ac_optarg ;;
1964 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1965 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1966 | --exec | --exe | --ex)
1967 ac_prev=exec_prefix ;;
1968 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1969 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1970 | --exec=* | --exe=* | --ex=*)
1971 exec_prefix=$ac_optarg ;;
1973 -gas | --gas | --ga | --g)
1974 # Obsolete; use --with-gas.
1975 with_gas=yes ;;
1977 -help | --help | --hel | --he | -h)
1978 ac_init_help=long ;;
1979 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1980 ac_init_help=recursive ;;
1981 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1982 ac_init_help=short ;;
1984 -host | --host | --hos | --ho)
1985 ac_prev=host_alias ;;
1986 -host=* | --host=* | --hos=* | --ho=*)
1987 host_alias=$ac_optarg ;;
1989 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1990 ac_prev=htmldir ;;
1991 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1992 | --ht=*)
1993 htmldir=$ac_optarg ;;
1995 -includedir | --includedir | --includedi | --included | --include \
1996 | --includ | --inclu | --incl | --inc)
1997 ac_prev=includedir ;;
1998 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1999 | --includ=* | --inclu=* | --incl=* | --inc=*)
2000 includedir=$ac_optarg ;;
2002 -infodir | --infodir | --infodi | --infod | --info | --inf)
2003 ac_prev=infodir ;;
2004 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2005 infodir=$ac_optarg ;;
2007 -libdir | --libdir | --libdi | --libd)
2008 ac_prev=libdir ;;
2009 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2010 libdir=$ac_optarg ;;
2012 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2013 | --libexe | --libex | --libe)
2014 ac_prev=libexecdir ;;
2015 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2016 | --libexe=* | --libex=* | --libe=*)
2017 libexecdir=$ac_optarg ;;
2019 -localedir | --localedir | --localedi | --localed | --locale)
2020 ac_prev=localedir ;;
2021 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2022 localedir=$ac_optarg ;;
2024 -localstatedir | --localstatedir | --localstatedi | --localstated \
2025 | --localstate | --localstat | --localsta | --localst | --locals)
2026 ac_prev=localstatedir ;;
2027 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2028 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2029 localstatedir=$ac_optarg ;;
2031 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2032 ac_prev=mandir ;;
2033 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2034 mandir=$ac_optarg ;;
2036 -nfp | --nfp | --nf)
2037 # Obsolete; use --without-fp.
2038 with_fp=no ;;
2040 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2041 | --no-cr | --no-c | -n)
2042 no_create=yes ;;
2044 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2045 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2046 no_recursion=yes ;;
2048 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2049 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2050 | --oldin | --oldi | --old | --ol | --o)
2051 ac_prev=oldincludedir ;;
2052 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2053 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2054 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2055 oldincludedir=$ac_optarg ;;
2057 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2058 ac_prev=prefix ;;
2059 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2060 prefix=$ac_optarg ;;
2062 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2063 | --program-pre | --program-pr | --program-p)
2064 ac_prev=program_prefix ;;
2065 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2066 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2067 program_prefix=$ac_optarg ;;
2069 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2070 | --program-suf | --program-su | --program-s)
2071 ac_prev=program_suffix ;;
2072 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2073 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2074 program_suffix=$ac_optarg ;;
2076 -program-transform-name | --program-transform-name \
2077 | --program-transform-nam | --program-transform-na \
2078 | --program-transform-n | --program-transform- \
2079 | --program-transform | --program-transfor \
2080 | --program-transfo | --program-transf \
2081 | --program-trans | --program-tran \
2082 | --progr-tra | --program-tr | --program-t)
2083 ac_prev=program_transform_name ;;
2084 -program-transform-name=* | --program-transform-name=* \
2085 | --program-transform-nam=* | --program-transform-na=* \
2086 | --program-transform-n=* | --program-transform-=* \
2087 | --program-transform=* | --program-transfor=* \
2088 | --program-transfo=* | --program-transf=* \
2089 | --program-trans=* | --program-tran=* \
2090 | --progr-tra=* | --program-tr=* | --program-t=*)
2091 program_transform_name=$ac_optarg ;;
2093 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2094 ac_prev=pdfdir ;;
2095 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2096 pdfdir=$ac_optarg ;;
2098 -psdir | --psdir | --psdi | --psd | --ps)
2099 ac_prev=psdir ;;
2100 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2101 psdir=$ac_optarg ;;
2103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104 | -silent | --silent | --silen | --sile | --sil)
2105 silent=yes ;;
2107 -runstatedir | --runstatedir | --runstatedi | --runstated \
2108 | --runstate | --runstat | --runsta | --runst | --runs \
2109 | --run | --ru | --r)
2110 ac_prev=runstatedir ;;
2111 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2112 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2113 | --run=* | --ru=* | --r=*)
2114 runstatedir=$ac_optarg ;;
2116 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2117 ac_prev=sbindir ;;
2118 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2119 | --sbi=* | --sb=*)
2120 sbindir=$ac_optarg ;;
2122 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2123 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2124 | --sharedst | --shareds | --shared | --share | --shar \
2125 | --sha | --sh)
2126 ac_prev=sharedstatedir ;;
2127 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2128 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2129 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2130 | --sha=* | --sh=*)
2131 sharedstatedir=$ac_optarg ;;
2133 -site | --site | --sit)
2134 ac_prev=site ;;
2135 -site=* | --site=* | --sit=*)
2136 site=$ac_optarg ;;
2138 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2139 ac_prev=srcdir ;;
2140 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2141 srcdir=$ac_optarg ;;
2143 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2144 | --syscon | --sysco | --sysc | --sys | --sy)
2145 ac_prev=sysconfdir ;;
2146 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2147 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2148 sysconfdir=$ac_optarg ;;
2150 -target | --target | --targe | --targ | --tar | --ta | --t)
2151 ac_prev=target_alias ;;
2152 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2153 target_alias=$ac_optarg ;;
2155 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2156 verbose=yes ;;
2158 -version | --version | --versio | --versi | --vers | -V)
2159 ac_init_version=: ;;
2161 -with-* | --with-*)
2162 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2163 # Reject names that are not valid shell variable names.
2164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2165 as_fn_error $? "invalid package name: \`$ac_useropt'"
2166 ac_useropt_orig=$ac_useropt
2167 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2168 case $ac_user_opts in
2170 "with_$ac_useropt"
2171 "*) ;;
2172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2173 ac_unrecognized_sep=', ';;
2174 esac
2175 eval with_$ac_useropt=\$ac_optarg ;;
2177 -without-* | --without-*)
2178 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2179 # Reject names that are not valid shell variable names.
2180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2181 as_fn_error $? "invalid package name: \`$ac_useropt'"
2182 ac_useropt_orig=$ac_useropt
2183 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2184 case $ac_user_opts in
2186 "with_$ac_useropt"
2187 "*) ;;
2188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2189 ac_unrecognized_sep=', ';;
2190 esac
2191 eval with_$ac_useropt=no ;;
2193 --x)
2194 # Obsolete; use --with-x.
2195 with_x=yes ;;
2197 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2198 | --x-incl | --x-inc | --x-in | --x-i)
2199 ac_prev=x_includes ;;
2200 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2201 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2202 x_includes=$ac_optarg ;;
2204 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2205 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2206 ac_prev=x_libraries ;;
2207 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2208 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2209 x_libraries=$ac_optarg ;;
2211 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2212 Try \`$0 --help' for more information"
2215 *=*)
2216 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2217 # Reject names that are not valid shell variable names.
2218 case $ac_envvar in #(
2219 '' | [0-9]* | *[!_$as_cr_alnum]* )
2220 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2221 esac
2222 eval $ac_envvar=\$ac_optarg
2223 export $ac_envvar ;;
2226 # FIXME: should be removed in autoconf 3.0.
2227 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2228 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2229 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2230 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2233 esac
2234 done
2236 if test -n "$ac_prev"; then
2237 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2238 as_fn_error $? "missing argument to $ac_option"
2241 if test -n "$ac_unrecognized_opts"; then
2242 case $enable_option_checking in
2243 no) ;;
2244 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2245 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2246 esac
2249 # Check all directory arguments for consistency.
2250 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2251 datadir sysconfdir sharedstatedir localstatedir includedir \
2252 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2253 libdir localedir mandir runstatedir
2255 eval ac_val=\$$ac_var
2256 # Remove trailing slashes.
2257 case $ac_val in
2258 */ )
2259 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2260 eval $ac_var=\$ac_val;;
2261 esac
2262 # Be sure to have absolute directory names.
2263 case $ac_val in
2264 [\\/$]* | ?:[\\/]* ) continue;;
2265 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2266 esac
2267 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2268 done
2270 # There might be people who depend on the old broken behavior: `$host'
2271 # used to hold the argument of --host etc.
2272 # FIXME: To remove some day.
2273 build=$build_alias
2274 host=$host_alias
2275 target=$target_alias
2277 # FIXME: To remove some day.
2278 if test "x$host_alias" != x; then
2279 if test "x$build_alias" = x; then
2280 cross_compiling=maybe
2281 elif test "x$build_alias" != "x$host_alias"; then
2282 cross_compiling=yes
2286 ac_tool_prefix=
2287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2289 test "$silent" = yes && exec 6>/dev/null
2292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2293 ac_ls_di=`ls -di .` &&
2294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2295 as_fn_error $? "working directory cannot be determined"
2296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2297 as_fn_error $? "pwd does not report name of working directory"
2300 # Find the source files, if location was not specified.
2301 if test -z "$srcdir"; then
2302 ac_srcdir_defaulted=yes
2303 # Try the directory containing this script, then the parent directory.
2304 ac_confdir=`$as_dirname -- "$as_myself" ||
2305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2306 X"$as_myself" : 'X\(//\)[^/]' \| \
2307 X"$as_myself" : 'X\(//\)$' \| \
2308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2309 printf "%s\n" X"$as_myself" |
2310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2311 s//\1/
2314 /^X\(\/\/\)[^/].*/{
2315 s//\1/
2318 /^X\(\/\/\)$/{
2319 s//\1/
2322 /^X\(\/\).*/{
2323 s//\1/
2326 s/.*/./; q'`
2327 srcdir=$ac_confdir
2328 if test ! -r "$srcdir/$ac_unique_file"; then
2329 srcdir=..
2331 else
2332 ac_srcdir_defaulted=no
2334 if test ! -r "$srcdir/$ac_unique_file"; then
2335 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2336 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2339 ac_abs_confdir=`(
2340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2341 pwd)`
2342 # When building in place, set srcdir=.
2343 if test "$ac_abs_confdir" = "$ac_pwd"; then
2344 srcdir=.
2346 # Remove unnecessary trailing slashes from srcdir.
2347 # Double slashes in file names in object file debugging info
2348 # mess up M-x gdb in Emacs.
2349 case $srcdir in
2350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2351 esac
2352 for ac_var in $ac_precious_vars; do
2353 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2354 eval ac_env_${ac_var}_value=\$${ac_var}
2355 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2356 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2357 done
2360 # Report the --help message.
2362 if test "$ac_init_help" = "long"; then
2363 # Omit some internal or obsolete options to make the list less imposing.
2364 # This message is too long to be a string in the A/UX 3.1 sh.
2365 cat <<_ACEOF
2366 \`configure' configures Wine 8.17 to adapt to many kinds of systems.
2368 Usage: $0 [OPTION]... [VAR=VALUE]...
2370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2371 VAR=VALUE. See below for descriptions of some of the useful variables.
2373 Defaults for the options are specified in brackets.
2375 Configuration:
2376 -h, --help display this help and exit
2377 --help=short display options specific to this package
2378 --help=recursive display the short help of all the included packages
2379 -V, --version display version information and exit
2380 -q, --quiet, --silent do not print \`checking ...' messages
2381 --cache-file=FILE cache test results in FILE [disabled]
2382 -C, --config-cache alias for \`--cache-file=config.cache'
2383 -n, --no-create do not create output files
2384 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2386 Installation directories:
2387 --prefix=PREFIX install architecture-independent files in PREFIX
2388 [$ac_default_prefix]
2389 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2390 [PREFIX]
2392 By default, \`make install' will install all the files in
2393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2395 for instance \`--prefix=\$HOME'.
2397 For better control, use the options below.
2399 Fine tuning of the installation directories:
2400 --bindir=DIR user executables [EPREFIX/bin]
2401 --sbindir=DIR system admin executables [EPREFIX/sbin]
2402 --libexecdir=DIR program executables [EPREFIX/libexec]
2403 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2404 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2405 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2406 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2407 --libdir=DIR object code libraries [EPREFIX/lib]
2408 --includedir=DIR C header files [PREFIX/include]
2409 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2410 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2411 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2412 --infodir=DIR info documentation [DATAROOTDIR/info]
2413 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2414 --mandir=DIR man documentation [DATAROOTDIR/man]
2415 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2416 --htmldir=DIR html documentation [DOCDIR]
2417 --dvidir=DIR dvi documentation [DOCDIR]
2418 --pdfdir=DIR pdf documentation [DOCDIR]
2419 --psdir=DIR ps documentation [DOCDIR]
2420 _ACEOF
2422 cat <<\_ACEOF
2424 X features:
2425 --x-includes=DIR X include files are in DIR
2426 --x-libraries=DIR X library files are in DIR
2428 System types:
2429 --build=BUILD configure for building on BUILD [guessed]
2430 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2431 _ACEOF
2434 if test -n "$ac_init_help"; then
2435 case $ac_init_help in
2436 short | recursive ) echo "Configuration of Wine 8.17:";;
2437 esac
2438 cat <<\_ACEOF
2440 Optional Features:
2441 --disable-option-checking ignore unrecognized --enable/--with options
2442 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2443 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2444 --enable-archs={i386,x86_64,arm,aarch64}
2445 enable multiple architectures for PE compilation
2446 --disable-win16 do not include Win16 support
2447 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2448 binaries)
2449 --disable-tests do not build the regression tests
2450 --enable-build-id include .buildid section in output objects
2451 --enable-maintainer-mode
2452 enable maintainer-specific build rules
2453 --enable-silent-rules use silent build rules (override: "make V=1")
2454 --enable-werror treat compilation warnings as errors
2455 --disable-largefile omit support for large files
2457 Optional Packages:
2458 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2459 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2460 --without-alsa do not use the Alsa sound support
2461 --without-capi do not use CAPI (ISDN support)
2462 --without-coreaudio do not use the CoreAudio sound support
2463 --without-cups do not use CUPS
2464 --without-dbus do not use DBus (dynamic device support)
2465 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2466 --without-fontconfig do not use fontconfig
2467 --without-freetype do not use the FreeType library
2468 --without-gettext do not use gettext
2469 --with-gettextpo use the GetTextPO library to rebuild po files
2470 --without-gphoto do not use gphoto (Digital Camera support)
2471 --without-gnutls do not use GnuTLS (schannel support)
2472 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2473 --without-gstreamer do not use GStreamer (codecs support)
2474 --without-inotify do not use inotify (filesystem change notifications)
2475 --without-krb5 do not use krb5 (Kerberos)
2476 --without-mingw do not use the MinGW cross-compiler
2477 --without-netapi do not use the Samba NetAPI library
2478 --without-opencl do not use OpenCL
2479 --without-opengl do not use OpenGL
2480 --without-osmesa do not use the OSMesa library
2481 --without-oss do not use the OSS sound support
2482 --without-pcap do not use the Packet Capture library
2483 --without-pcsclite do not use PCSC lite
2484 --without-pthread do not use the pthread library
2485 --without-pulse do not use PulseAudio sound support
2486 --without-sane do not use SANE (scanner support)
2487 --without-sdl do not use SDL
2488 --without-udev do not use udev (plug and play support)
2489 --without-unwind do not use the libunwind library (exception
2490 handling)
2491 --without-usb do not use the libusb library
2492 --without-v4l2 do not use v4l2 (video capture)
2493 --without-vulkan do not use Vulkan
2494 --without-wayland do not build the Wayland driver
2495 --without-xcomposite do not use the Xcomposite extension
2496 --without-xcursor do not use the Xcursor extension
2497 --without-xfixes do not use Xfixes for clipboard change notifications
2498 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2499 --without-xinput do not use the Xinput extension
2500 --without-xinput2 do not use the Xinput 2 extension
2501 --without-xrandr do not use Xrandr (multi-monitor support)
2502 --without-xrender do not use the Xrender extension
2503 --without-xshape do not use the Xshape extension
2504 --without-xshm do not use XShm (shared memory extension)
2505 --without-xxf86vm do not use XFree video mode extension
2506 --with-system-dllpath=PATH
2507 load external PE dependencies from colon-separated
2508 path PATH
2509 --with-wine-tools=DIR use Wine tools from directory DIR
2510 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2511 --with-x use the X Window System
2513 Some influential environment variables:
2514 CC C compiler command
2515 CFLAGS C compiler flags
2516 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2517 nonstandard directory <lib dir>
2518 LIBS libraries to pass to the linker, e.g. -l<library>
2519 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2520 you have headers in a nonstandard directory <include dir>
2521 CXX C++ compiler command
2522 CXXFLAGS C++ compiler flags
2523 OBJC Objective C compiler command
2524 OBJCFLAGS Objective C compiler flags
2525 FAUDIO_PE_CFLAGS
2526 C compiler flags for the PE faudio, overriding the bundled
2527 version
2528 FAUDIO_PE_LIBS
2529 Linker flags for the PE faudio, overriding the bundled version
2530 GSM_PE_CFLAGS
2531 C compiler flags for the PE gsm, overriding the bundled version
2532 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2533 JPEG_PE_CFLAGS
2534 C compiler flags for the PE jpeg, overriding the bundled version
2535 JPEG_PE_LIBS
2536 Linker flags for the PE jpeg, overriding the bundled version
2537 JXR_PE_CFLAGS
2538 C compiler flags for the PE jxr, overriding the bundled version
2539 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2540 LCMS2_PE_CFLAGS
2541 C compiler flags for the PE lcms2, overriding the bundled
2542 version
2543 LCMS2_PE_LIBS
2544 Linker flags for the PE lcms2, overriding the bundled version
2545 LDAP_PE_CFLAGS
2546 C compiler flags for the PE ldap, overriding the bundled version
2547 LDAP_PE_LIBS
2548 Linker flags for the PE ldap, overriding the bundled version
2549 MPG123_PE_CFLAGS
2550 C compiler flags for the PE mpg123, overriding the bundled
2551 version
2552 MPG123_PE_LIBS
2553 Linker flags for the PE mpg123, overriding the bundled version
2554 MUSL_PE_CFLAGS
2555 C compiler flags for the PE musl, overriding the bundled version
2556 MUSL_PE_LIBS
2557 Linker flags for the PE musl, overriding the bundled version
2558 PNG_PE_CFLAGS
2559 C compiler flags for the PE png, overriding the bundled version
2560 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2561 TIFF_PE_CFLAGS
2562 C compiler flags for the PE tiff, overriding the bundled version
2563 TIFF_PE_LIBS
2564 Linker flags for the PE tiff, overriding the bundled version
2565 VKD3D_PE_CFLAGS
2566 C compiler flags for the PE vkd3d, overriding the bundled
2567 version
2568 VKD3D_PE_LIBS
2569 Linker flags for the PE vkd3d, overriding the bundled version
2570 XML2_PE_CFLAGS
2571 C compiler flags for the PE xml2, overriding the bundled version
2572 XML2_PE_LIBS
2573 Linker flags for the PE xml2, overriding the bundled version
2574 XSLT_PE_CFLAGS
2575 C compiler flags for the PE xslt, overriding the bundled version
2576 XSLT_PE_LIBS
2577 Linker flags for the PE xslt, overriding the bundled version
2578 ZLIB_PE_CFLAGS
2579 C compiler flags for the PE zlib, overriding the bundled version
2580 ZLIB_PE_LIBS
2581 Linker flags for the PE zlib, overriding the bundled version
2582 ZYDIS_PE_CFLAGS
2583 C compiler flags for the PE zydis, overriding the bundled
2584 version
2585 ZYDIS_PE_LIBS
2586 Linker flags for the PE zydis, overriding the bundled version
2587 XMKMF Path to xmkmf, Makefile generator for X Window System
2588 CPP C preprocessor
2589 WAYLAND_CLIENT_CFLAGS
2590 C compiler flags for wayland-client, overriding pkg-config
2591 WAYLAND_CLIENT_LIBS
2592 Linker flags for wayland-client, overriding pkg-config
2593 INOTIFY_CFLAGS
2594 C compiler flags for libinotify, overriding pkg-config
2595 INOTIFY_LIBS
2596 Linker flags for libinotify, overriding pkg-config
2597 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2598 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2599 GNUTLS_CFLAGS
2600 C compiler flags for gnutls, overriding pkg-config
2601 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2602 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2603 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2604 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2605 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2606 GPHOTO2_CFLAGS
2607 C compiler flags for libgphoto2, overriding pkg-config
2608 GPHOTO2_LIBS
2609 Linker flags for libgphoto2, overriding pkg-config
2610 GPHOTO2_PORT_CFLAGS
2611 C compiler flags for libgphoto2_port, overriding pkg-config
2612 GPHOTO2_PORT_LIBS
2613 Linker flags for libgphoto2_port, overriding pkg-config
2614 FREETYPE_CFLAGS
2615 C compiler flags for freetype2, overriding pkg-config
2616 FREETYPE_LIBS
2617 Linker flags for freetype2, overriding pkg-config
2618 PULSE_CFLAGS
2619 C compiler flags for libpulse, overriding pkg-config
2620 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2621 GSTREAMER_CFLAGS
2622 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2623 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2624 GSTREAMER_LIBS
2625 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2626 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2627 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2628 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2629 UNWIND_CFLAGS
2630 C compiler flags for libunwind, overriding pkg-config
2631 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2632 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2633 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2634 CAPI20_CFLAGS
2635 C compiler flags for capi20, overriding pkg-config
2636 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2637 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2638 CUPS_LIBS Linker flags for cups, overriding pkg-config
2639 FONTCONFIG_CFLAGS
2640 C compiler flags for fontconfig, overriding pkg-config
2641 FONTCONFIG_LIBS
2642 Linker flags for fontconfig, overriding pkg-config
2643 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2644 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2645 GSSAPI_CFLAGS
2646 C compiler flags for krb5-gssapi, overriding pkg-config
2647 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2648 NETAPI_CFLAGS
2649 C compiler flags for netapi, overriding pkg-config
2650 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2652 Use these variables to override the choices made by `configure' or to help
2653 it to find libraries and programs with nonstandard names/locations.
2655 Report bugs to <wine-devel@winehq.org>.
2656 Wine home page: <https://www.winehq.org>.
2657 _ACEOF
2658 ac_status=$?
2661 if test "$ac_init_help" = "recursive"; then
2662 # If there are subdirs, report their specific --help.
2663 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2664 test -d "$ac_dir" ||
2665 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2666 continue
2667 ac_builddir=.
2669 case "$ac_dir" in
2670 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2672 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2673 # A ".." for each directory in $ac_dir_suffix.
2674 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2675 case $ac_top_builddir_sub in
2676 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2677 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2678 esac ;;
2679 esac
2680 ac_abs_top_builddir=$ac_pwd
2681 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2682 # for backward compatibility:
2683 ac_top_builddir=$ac_top_build_prefix
2685 case $srcdir in
2686 .) # We are building in place.
2687 ac_srcdir=.
2688 ac_top_srcdir=$ac_top_builddir_sub
2689 ac_abs_top_srcdir=$ac_pwd ;;
2690 [\\/]* | ?:[\\/]* ) # Absolute name.
2691 ac_srcdir=$srcdir$ac_dir_suffix;
2692 ac_top_srcdir=$srcdir
2693 ac_abs_top_srcdir=$srcdir ;;
2694 *) # Relative name.
2695 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2696 ac_top_srcdir=$ac_top_build_prefix$srcdir
2697 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2698 esac
2699 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2701 cd "$ac_dir" || { ac_status=$?; continue; }
2702 # Check for configure.gnu first; this name is used for a wrapper for
2703 # Metaconfig's "Configure" on case-insensitive file systems.
2704 if test -f "$ac_srcdir/configure.gnu"; then
2705 echo &&
2706 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2707 elif test -f "$ac_srcdir/configure"; then
2708 echo &&
2709 $SHELL "$ac_srcdir/configure" --help=recursive
2710 else
2711 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2712 fi || ac_status=$?
2713 cd "$ac_pwd" || { ac_status=$?; break; }
2714 done
2717 test -n "$ac_init_help" && exit $ac_status
2718 if $ac_init_version; then
2719 cat <<\_ACEOF
2720 Wine configure 8.17
2721 generated by GNU Autoconf 2.71
2723 Copyright (C) 2021 Free Software Foundation, Inc.
2724 This configure script is free software; the Free Software Foundation
2725 gives unlimited permission to copy, distribute and modify it.
2726 _ACEOF
2727 exit
2730 ## ------------------------ ##
2731 ## Autoconf initialization. ##
2732 ## ------------------------ ##
2734 # ac_fn_c_try_compile LINENO
2735 # --------------------------
2736 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2737 ac_fn_c_try_compile ()
2739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2740 rm -f conftest.$ac_objext conftest.beam
2741 if { { ac_try="$ac_compile"
2742 case "(($ac_try" in
2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744 *) ac_try_echo=$ac_try;;
2745 esac
2746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2747 printf "%s\n" "$ac_try_echo"; } >&5
2748 (eval "$ac_compile") 2>conftest.err
2749 ac_status=$?
2750 if test -s conftest.err; then
2751 grep -v '^ *+' conftest.err >conftest.er1
2752 cat conftest.er1 >&5
2753 mv -f conftest.er1 conftest.err
2755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; } && {
2757 test -z "$ac_c_werror_flag" ||
2758 test ! -s conftest.err
2759 } && test -s conftest.$ac_objext
2760 then :
2761 ac_retval=0
2762 else $as_nop
2763 printf "%s\n" "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 ac_retval=1
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 as_fn_set_status $ac_retval
2771 } # ac_fn_c_try_compile
2773 # ac_fn_cxx_try_compile LINENO
2774 # ----------------------------
2775 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2776 ac_fn_cxx_try_compile ()
2778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2779 rm -f conftest.$ac_objext conftest.beam
2780 if { { ac_try="$ac_compile"
2781 case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2784 esac
2785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2786 printf "%s\n" "$ac_try_echo"; } >&5
2787 (eval "$ac_compile") 2>conftest.err
2788 ac_status=$?
2789 if test -s conftest.err; then
2790 grep -v '^ *+' conftest.err >conftest.er1
2791 cat conftest.er1 >&5
2792 mv -f conftest.er1 conftest.err
2794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; } && {
2796 test -z "$ac_cxx_werror_flag" ||
2797 test ! -s conftest.err
2798 } && test -s conftest.$ac_objext
2799 then :
2800 ac_retval=0
2801 else $as_nop
2802 printf "%s\n" "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_retval=1
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_cxx_try_compile
2812 # ac_fn_c_try_link LINENO
2813 # -----------------------
2814 # Try to link conftest.$ac_ext, and return whether this succeeded.
2815 ac_fn_c_try_link ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2819 if { { ac_try="$ac_link"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 printf "%s\n" "$ac_try_echo"; } >&5
2826 (eval "$ac_link") 2>conftest.err
2827 ac_status=$?
2828 if test -s conftest.err; then
2829 grep -v '^ *+' conftest.err >conftest.er1
2830 cat conftest.er1 >&5
2831 mv -f conftest.er1 conftest.err
2833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } && {
2835 test -z "$ac_c_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest$ac_exeext && {
2838 test "$cross_compiling" = yes ||
2839 test -x conftest$ac_exeext
2841 then :
2842 ac_retval=0
2843 else $as_nop
2844 printf "%s\n" "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2847 ac_retval=1
2849 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2850 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2851 # interfere with the next link command; also delete a directory that is
2852 # left behind by Apple's compiler. We do this before executing the actions.
2853 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 as_fn_set_status $ac_retval
2857 } # ac_fn_c_try_link
2859 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2860 # -------------------------------------------------------
2861 # Tests whether HEADER exists and can be compiled using the include files in
2862 # INCLUDES, setting the cache variable VAR accordingly.
2863 ac_fn_c_check_header_compile ()
2865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2867 printf %s "checking for $2... " >&6; }
2868 if eval test \${$3+y}
2869 then :
2870 printf %s "(cached) " >&6
2871 else $as_nop
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2875 #include <$2>
2876 _ACEOF
2877 if ac_fn_c_try_compile "$LINENO"
2878 then :
2879 eval "$3=yes"
2880 else $as_nop
2881 eval "$3=no"
2883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2885 eval ac_res=\$$3
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2887 printf "%s\n" "$ac_res" >&6; }
2888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2890 } # ac_fn_c_check_header_compile
2892 # ac_fn_objc_try_compile LINENO
2893 # -----------------------------
2894 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2895 ac_fn_objc_try_compile ()
2897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2898 rm -f conftest.$ac_objext conftest.beam
2899 if { { ac_try="$ac_compile"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 printf "%s\n" "$ac_try_echo"; } >&5
2906 (eval "$ac_compile") 2>conftest.err
2907 ac_status=$?
2908 if test -s conftest.err; then
2909 grep -v '^ *+' conftest.err >conftest.er1
2910 cat conftest.er1 >&5
2911 mv -f conftest.er1 conftest.err
2913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2914 test $ac_status = 0; } && {
2915 test -z "$ac_objc_werror_flag" ||
2916 test ! -s conftest.err
2917 } && test -s conftest.$ac_objext
2918 then :
2919 ac_retval=0
2920 else $as_nop
2921 printf "%s\n" "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.$ac_ext >&5
2924 ac_retval=1
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2927 as_fn_set_status $ac_retval
2929 } # ac_fn_objc_try_compile
2931 # ac_fn_c_check_func LINENO FUNC VAR
2932 # ----------------------------------
2933 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2934 ac_fn_c_check_func ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2938 printf %s "checking for $2... " >&6; }
2939 if eval test \${$3+y}
2940 then :
2941 printf %s "(cached) " >&6
2942 else $as_nop
2943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2944 /* end confdefs.h. */
2945 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2947 #define $2 innocuous_$2
2949 /* System header to define __stub macros and hopefully few prototypes,
2950 which can conflict with char $2 (); below. */
2952 #include <limits.h>
2953 #undef $2
2955 /* Override any GCC internal prototype to avoid an error.
2956 Use char because int might match the return type of a GCC
2957 builtin and then its argument prototype would still apply. */
2958 #ifdef __cplusplus
2959 extern "C"
2960 #endif
2961 char $2 ();
2962 /* The GNU C library defines this for functions which it implements
2963 to always fail with ENOSYS. Some functions are actually named
2964 something starting with __ and the normal name is an alias. */
2965 #if defined __stub_$2 || defined __stub___$2
2966 choke me
2967 #endif
2970 main (void)
2972 return $2 ();
2974 return 0;
2976 _ACEOF
2977 if ac_fn_c_try_link "$LINENO"
2978 then :
2979 eval "$3=yes"
2980 else $as_nop
2981 eval "$3=no"
2983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2984 conftest$ac_exeext conftest.$ac_ext
2986 eval ac_res=\$$3
2987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2988 printf "%s\n" "$ac_res" >&6; }
2989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991 } # ac_fn_c_check_func
2993 # ac_fn_c_try_cpp LINENO
2994 # ----------------------
2995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2996 ac_fn_c_try_cpp ()
2998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2999 if { { ac_try="$ac_cpp conftest.$ac_ext"
3000 case "(($ac_try" in
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3003 esac
3004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 printf "%s\n" "$ac_try_echo"; } >&5
3006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3007 ac_status=$?
3008 if test -s conftest.err; then
3009 grep -v '^ *+' conftest.err >conftest.er1
3010 cat conftest.er1 >&5
3011 mv -f conftest.er1 conftest.err
3013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; } > conftest.i && {
3015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3016 test ! -s conftest.err
3018 then :
3019 ac_retval=0
3020 else $as_nop
3021 printf "%s\n" "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.$ac_ext >&5
3024 ac_retval=1
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3027 as_fn_set_status $ac_retval
3029 } # ac_fn_c_try_cpp
3031 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3032 # ----------------------------------------------------
3033 # Tries to find if the field MEMBER exists in type AGGR, after including
3034 # INCLUDES, setting cache variable VAR accordingly.
3035 ac_fn_c_check_member ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3039 printf %s "checking for $2.$3... " >&6; }
3040 if eval test \${$4+y}
3041 then :
3042 printf %s "(cached) " >&6
3043 else $as_nop
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3048 main (void)
3050 static $2 ac_aggr;
3051 if (ac_aggr.$3)
3052 return 0;
3054 return 0;
3056 _ACEOF
3057 if ac_fn_c_try_compile "$LINENO"
3058 then :
3059 eval "$4=yes"
3060 else $as_nop
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3065 main (void)
3067 static $2 ac_aggr;
3068 if (sizeof ac_aggr.$3)
3069 return 0;
3071 return 0;
3073 _ACEOF
3074 if ac_fn_c_try_compile "$LINENO"
3075 then :
3076 eval "$4=yes"
3077 else $as_nop
3078 eval "$4=no"
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3084 eval ac_res=\$$4
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 printf "%s\n" "$ac_res" >&6; }
3087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 } # ac_fn_c_check_member
3091 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3092 # -------------------------------------------
3093 # Tests whether TYPE exists after having included INCLUDES, setting cache
3094 # variable VAR accordingly.
3095 ac_fn_c_check_type ()
3097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3099 printf %s "checking for $2... " >&6; }
3100 if eval test \${$3+y}
3101 then :
3102 printf %s "(cached) " >&6
3103 else $as_nop
3104 eval "$3=no"
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3109 main (void)
3111 if (sizeof ($2))
3112 return 0;
3114 return 0;
3116 _ACEOF
3117 if ac_fn_c_try_compile "$LINENO"
3118 then :
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3123 main (void)
3125 if (sizeof (($2)))
3126 return 0;
3128 return 0;
3130 _ACEOF
3131 if ac_fn_c_try_compile "$LINENO"
3132 then :
3134 else $as_nop
3135 eval "$3=yes"
3137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3141 eval ac_res=\$$3
3142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3143 printf "%s\n" "$ac_res" >&6; }
3144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3146 } # ac_fn_c_check_type
3147 ac_configure_args_raw=
3148 for ac_arg
3150 case $ac_arg in
3151 *\'*)
3152 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3153 esac
3154 as_fn_append ac_configure_args_raw " '$ac_arg'"
3155 done
3157 case $ac_configure_args_raw in
3158 *$as_nl*)
3159 ac_safe_unquote= ;;
3161 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3162 ac_unsafe_a="$ac_unsafe_z#~"
3163 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3164 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3165 esac
3167 cat >config.log <<_ACEOF
3168 This file contains any messages produced by compilers while
3169 running configure, to aid debugging if configure makes a mistake.
3171 It was created by Wine $as_me 8.17, which was
3172 generated by GNU Autoconf 2.71. Invocation command line was
3174 $ $0$ac_configure_args_raw
3176 _ACEOF
3177 exec 5>>config.log
3179 cat <<_ASUNAME
3180 ## --------- ##
3181 ## Platform. ##
3182 ## --------- ##
3184 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3185 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3186 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3187 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3188 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3190 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3191 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3193 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3194 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3195 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3196 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3197 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3198 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3199 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3201 _ASUNAME
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 for as_dir in $PATH
3206 IFS=$as_save_IFS
3207 case $as_dir in #(((
3208 '') as_dir=./ ;;
3209 */) ;;
3210 *) as_dir=$as_dir/ ;;
3211 esac
3212 printf "%s\n" "PATH: $as_dir"
3213 done
3214 IFS=$as_save_IFS
3216 } >&5
3218 cat >&5 <<_ACEOF
3221 ## ----------- ##
3222 ## Core tests. ##
3223 ## ----------- ##
3225 _ACEOF
3228 # Keep a trace of the command line.
3229 # Strip out --no-create and --no-recursion so they do not pile up.
3230 # Strip out --silent because we don't want to record it for future runs.
3231 # Also quote any args containing shell meta-characters.
3232 # Make two passes to allow for proper duplicate-argument suppression.
3233 ac_configure_args=
3234 ac_configure_args0=
3235 ac_configure_args1=
3236 ac_must_keep_next=false
3237 for ac_pass in 1 2
3239 for ac_arg
3241 case $ac_arg in
3242 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3244 | -silent | --silent | --silen | --sile | --sil)
3245 continue ;;
3246 *\'*)
3247 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3248 esac
3249 case $ac_pass in
3250 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3252 as_fn_append ac_configure_args1 " '$ac_arg'"
3253 if test $ac_must_keep_next = true; then
3254 ac_must_keep_next=false # Got value, back to normal.
3255 else
3256 case $ac_arg in
3257 *=* | --config-cache | -C | -disable-* | --disable-* \
3258 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3259 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3260 | -with-* | --with-* | -without-* | --without-* | --x)
3261 case "$ac_configure_args0 " in
3262 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3263 esac
3265 -* ) ac_must_keep_next=true ;;
3266 esac
3268 as_fn_append ac_configure_args " '$ac_arg'"
3270 esac
3271 done
3272 done
3273 { ac_configure_args0=; unset ac_configure_args0;}
3274 { ac_configure_args1=; unset ac_configure_args1;}
3276 # When interrupted or exit'd, cleanup temporary files, and complete
3277 # config.log. We remove comments because anyway the quotes in there
3278 # would cause problems or look ugly.
3279 # WARNING: Use '\'' to represent an apostrophe within the trap.
3280 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3281 trap 'exit_status=$?
3282 # Sanitize IFS.
3283 IFS=" "" $as_nl"
3284 # Save into config.log some information that might help in debugging.
3286 echo
3288 printf "%s\n" "## ---------------- ##
3289 ## Cache variables. ##
3290 ## ---------------- ##"
3291 echo
3292 # The following way of writing the cache mishandles newlines in values,
3294 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3295 eval ac_val=\$$ac_var
3296 case $ac_val in #(
3297 *${as_nl}*)
3298 case $ac_var in #(
3299 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3300 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3301 esac
3302 case $ac_var in #(
3303 _ | IFS | as_nl) ;; #(
3304 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3305 *) { eval $ac_var=; unset $ac_var;} ;;
3306 esac ;;
3307 esac
3308 done
3309 (set) 2>&1 |
3310 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3311 *${as_nl}ac_space=\ *)
3312 sed -n \
3313 "s/'\''/'\''\\\\'\'''\''/g;
3314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3315 ;; #(
3317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3319 esac |
3320 sort
3322 echo
3324 printf "%s\n" "## ----------------- ##
3325 ## Output variables. ##
3326 ## ----------------- ##"
3327 echo
3328 for ac_var in $ac_subst_vars
3330 eval ac_val=\$$ac_var
3331 case $ac_val in
3332 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3333 esac
3334 printf "%s\n" "$ac_var='\''$ac_val'\''"
3335 done | sort
3336 echo
3338 if test -n "$ac_subst_files"; then
3339 printf "%s\n" "## ------------------- ##
3340 ## File substitutions. ##
3341 ## ------------------- ##"
3342 echo
3343 for ac_var in $ac_subst_files
3345 eval ac_val=\$$ac_var
3346 case $ac_val in
3347 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3348 esac
3349 printf "%s\n" "$ac_var='\''$ac_val'\''"
3350 done | sort
3351 echo
3354 if test -s confdefs.h; then
3355 printf "%s\n" "## ----------- ##
3356 ## confdefs.h. ##
3357 ## ----------- ##"
3358 echo
3359 cat confdefs.h
3360 echo
3362 test "$ac_signal" != 0 &&
3363 printf "%s\n" "$as_me: caught signal $ac_signal"
3364 printf "%s\n" "$as_me: exit $exit_status"
3365 } >&5
3366 rm -f core *.core core.conftest.* &&
3367 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3368 exit $exit_status
3370 for ac_signal in 1 2 13 15; do
3371 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3372 done
3373 ac_signal=0
3375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3376 rm -f -r conftest* confdefs.h
3378 printf "%s\n" "/* confdefs.h */" > confdefs.h
3380 # Predefined preprocessor variables.
3382 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3384 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3386 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3388 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3390 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3392 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3395 # Let the site file select an alternate cache file if it wants to.
3396 # Prefer an explicitly selected file to automatically selected ones.
3397 if test -n "$CONFIG_SITE"; then
3398 ac_site_files="$CONFIG_SITE"
3399 elif test "x$prefix" != xNONE; then
3400 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3401 else
3402 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3405 for ac_site_file in $ac_site_files
3407 case $ac_site_file in #(
3408 */*) :
3409 ;; #(
3410 *) :
3411 ac_site_file=./$ac_site_file ;;
3412 esac
3413 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3415 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3416 sed 's/^/| /' "$ac_site_file" >&5
3417 . "$ac_site_file" \
3418 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3419 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3420 as_fn_error $? "failed to load site script $ac_site_file
3421 See \`config.log' for more details" "$LINENO" 5; }
3423 done
3425 if test -r "$cache_file"; then
3426 # Some versions of bash will fail to source /dev/null (special files
3427 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3428 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3430 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3431 case $cache_file in
3432 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3433 *) . "./$cache_file";;
3434 esac
3436 else
3437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3438 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3439 >$cache_file
3442 # Test code for whether the C compiler supports C89 (global declarations)
3443 ac_c_conftest_c89_globals='
3444 /* Does the compiler advertise C89 conformance?
3445 Do not test the value of __STDC__, because some compilers set it to 0
3446 while being otherwise adequately conformant. */
3447 #if !defined __STDC__
3448 # error "Compiler does not advertise C89 conformance"
3449 #endif
3451 #include <stddef.h>
3452 #include <stdarg.h>
3453 struct stat;
3454 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3455 struct buf { int x; };
3456 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3457 static char *e (p, i)
3458 char **p;
3459 int i;
3461 return p[i];
3463 static char *f (char * (*g) (char **, int), char **p, ...)
3465 char *s;
3466 va_list v;
3467 va_start (v,p);
3468 s = g (p, va_arg (v,int));
3469 va_end (v);
3470 return s;
3473 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3474 function prototypes and stuff, but not \xHH hex character constants.
3475 These do not provoke an error unfortunately, instead are silently treated
3476 as an "x". The following induces an error, until -std is added to get
3477 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3478 array size at least. It is necessary to write \x00 == 0 to get something
3479 that is true only with -std. */
3480 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3482 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3483 inside strings and character constants. */
3484 #define FOO(x) '\''x'\''
3485 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3487 int test (int i, double x);
3488 struct s1 {int (*f) (int a);};
3489 struct s2 {int (*f) (double a);};
3490 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3491 int, int);'
3493 # Test code for whether the C compiler supports C89 (body of main).
3494 ac_c_conftest_c89_main='
3495 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3498 # Test code for whether the C compiler supports C99 (global declarations)
3499 ac_c_conftest_c99_globals='
3500 // Does the compiler advertise C99 conformance?
3501 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3502 # error "Compiler does not advertise C99 conformance"
3503 #endif
3505 #include <stdbool.h>
3506 extern int puts (const char *);
3507 extern int printf (const char *, ...);
3508 extern int dprintf (int, const char *, ...);
3509 extern void *malloc (size_t);
3511 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3512 // dprintf is used instead of fprintf to avoid needing to declare
3513 // FILE and stderr.
3514 #define debug(...) dprintf (2, __VA_ARGS__)
3515 #define showlist(...) puts (#__VA_ARGS__)
3516 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3517 static void
3518 test_varargs_macros (void)
3520 int x = 1234;
3521 int y = 5678;
3522 debug ("Flag");
3523 debug ("X = %d\n", x);
3524 showlist (The first, second, and third items.);
3525 report (x>y, "x is %d but y is %d", x, y);
3528 // Check long long types.
3529 #define BIG64 18446744073709551615ull
3530 #define BIG32 4294967295ul
3531 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3532 #if !BIG_OK
3533 #error "your preprocessor is broken"
3534 #endif
3535 #if BIG_OK
3536 #else
3537 #error "your preprocessor is broken"
3538 #endif
3539 static long long int bignum = -9223372036854775807LL;
3540 static unsigned long long int ubignum = BIG64;
3542 struct incomplete_array
3544 int datasize;
3545 double data[];
3548 struct named_init {
3549 int number;
3550 const wchar_t *name;
3551 double average;
3554 typedef const char *ccp;
3556 static inline int
3557 test_restrict (ccp restrict text)
3559 // See if C++-style comments work.
3560 // Iterate through items via the restricted pointer.
3561 // Also check for declarations in for loops.
3562 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3563 continue;
3564 return 0;
3567 // Check varargs and va_copy.
3568 static bool
3569 test_varargs (const char *format, ...)
3571 va_list args;
3572 va_start (args, format);
3573 va_list args_copy;
3574 va_copy (args_copy, args);
3576 const char *str = "";
3577 int number = 0;
3578 float fnumber = 0;
3580 while (*format)
3582 switch (*format++)
3584 case '\''s'\'': // string
3585 str = va_arg (args_copy, const char *);
3586 break;
3587 case '\''d'\'': // int
3588 number = va_arg (args_copy, int);
3589 break;
3590 case '\''f'\'': // float
3591 fnumber = va_arg (args_copy, double);
3592 break;
3593 default:
3594 break;
3597 va_end (args_copy);
3598 va_end (args);
3600 return *str && number && fnumber;
3604 # Test code for whether the C compiler supports C99 (body of main).
3605 ac_c_conftest_c99_main='
3606 // Check bool.
3607 _Bool success = false;
3608 success |= (argc != 0);
3610 // Check restrict.
3611 if (test_restrict ("String literal") == 0)
3612 success = true;
3613 char *restrict newvar = "Another string";
3615 // Check varargs.
3616 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3617 test_varargs_macros ();
3619 // Check flexible array members.
3620 struct incomplete_array *ia =
3621 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3622 ia->datasize = 10;
3623 for (int i = 0; i < ia->datasize; ++i)
3624 ia->data[i] = i * 1.234;
3626 // Check named initializers.
3627 struct named_init ni = {
3628 .number = 34,
3629 .name = L"Test wide string",
3630 .average = 543.34343,
3633 ni.number = 58;
3635 int dynamic_array[ni.number];
3636 dynamic_array[0] = argv[0][0];
3637 dynamic_array[ni.number - 1] = 543;
3639 // work around unused variable warnings
3640 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3641 || dynamic_array[ni.number - 1] != 543);
3644 # Test code for whether the C compiler supports C11 (global declarations)
3645 ac_c_conftest_c11_globals='
3646 // Does the compiler advertise C11 conformance?
3647 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3648 # error "Compiler does not advertise C11 conformance"
3649 #endif
3651 // Check _Alignas.
3652 char _Alignas (double) aligned_as_double;
3653 char _Alignas (0) no_special_alignment;
3654 extern char aligned_as_int;
3655 char _Alignas (0) _Alignas (int) aligned_as_int;
3657 // Check _Alignof.
3658 enum
3660 int_alignment = _Alignof (int),
3661 int_array_alignment = _Alignof (int[100]),
3662 char_alignment = _Alignof (char)
3664 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3666 // Check _Noreturn.
3667 int _Noreturn does_not_return (void) { for (;;) continue; }
3669 // Check _Static_assert.
3670 struct test_static_assert
3672 int x;
3673 _Static_assert (sizeof (int) <= sizeof (long int),
3674 "_Static_assert does not work in struct");
3675 long int y;
3678 // Check UTF-8 literals.
3679 #define u8 syntax error!
3680 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3682 // Check duplicate typedefs.
3683 typedef long *long_ptr;
3684 typedef long int *long_ptr;
3685 typedef long_ptr long_ptr;
3687 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3688 struct anonymous
3690 union {
3691 struct { int i; int j; };
3692 struct { int k; long int l; } w;
3694 int m;
3695 } v1;
3698 # Test code for whether the C compiler supports C11 (body of main).
3699 ac_c_conftest_c11_main='
3700 _Static_assert ((offsetof (struct anonymous, i)
3701 == offsetof (struct anonymous, w.k)),
3702 "Anonymous union alignment botch");
3703 v1.i = 2;
3704 v1.w.k = 5;
3705 ok |= v1.i != 5;
3708 # Test code for whether the C compiler supports C11 (complete).
3709 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3710 ${ac_c_conftest_c99_globals}
3711 ${ac_c_conftest_c11_globals}
3714 main (int argc, char **argv)
3716 int ok = 0;
3717 ${ac_c_conftest_c89_main}
3718 ${ac_c_conftest_c99_main}
3719 ${ac_c_conftest_c11_main}
3720 return ok;
3724 # Test code for whether the C compiler supports C99 (complete).
3725 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3726 ${ac_c_conftest_c99_globals}
3729 main (int argc, char **argv)
3731 int ok = 0;
3732 ${ac_c_conftest_c89_main}
3733 ${ac_c_conftest_c99_main}
3734 return ok;
3738 # Test code for whether the C compiler supports C89 (complete).
3739 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3742 main (int argc, char **argv)
3744 int ok = 0;
3745 ${ac_c_conftest_c89_main}
3746 return ok;
3750 # Test code for whether the C++ compiler supports C++98 (global declarations)
3751 ac_cxx_conftest_cxx98_globals='
3752 // Does the compiler advertise C++98 conformance?
3753 #if !defined __cplusplus || __cplusplus < 199711L
3754 # error "Compiler does not advertise C++98 conformance"
3755 #endif
3757 // These inclusions are to reject old compilers that
3758 // lack the unsuffixed header files.
3759 #include <cstdlib>
3760 #include <exception>
3762 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3763 extern void assert (int);
3764 namespace std {
3765 extern int strcmp (const char *, const char *);
3768 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3769 using std::exception;
3770 using std::strcmp;
3772 namespace {
3774 void test_exception_syntax()
3776 try {
3777 throw "test";
3778 } catch (const char *s) {
3779 // Extra parentheses suppress a warning when building autoconf itself,
3780 // due to lint rules shared with more typical C programs.
3781 assert (!(strcmp) (s, "test"));
3785 template <typename T> struct test_template
3787 T const val;
3788 explicit test_template(T t) : val(t) {}
3789 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3792 } // anonymous namespace
3795 # Test code for whether the C++ compiler supports C++98 (body of main)
3796 ac_cxx_conftest_cxx98_main='
3797 assert (argc);
3798 assert (! argv[0]);
3800 test_exception_syntax ();
3801 test_template<double> tt (2.0);
3802 assert (tt.add (4) == 6.0);
3803 assert (true && !false);
3807 # Test code for whether the C++ compiler supports C++11 (global declarations)
3808 ac_cxx_conftest_cxx11_globals='
3809 // Does the compiler advertise C++ 2011 conformance?
3810 #if !defined __cplusplus || __cplusplus < 201103L
3811 # error "Compiler does not advertise C++11 conformance"
3812 #endif
3814 namespace cxx11test
3816 constexpr int get_val() { return 20; }
3818 struct testinit
3820 int i;
3821 double d;
3824 class delegate
3826 public:
3827 delegate(int n) : n(n) {}
3828 delegate(): delegate(2354) {}
3830 virtual int getval() { return this->n; };
3831 protected:
3832 int n;
3835 class overridden : public delegate
3837 public:
3838 overridden(int n): delegate(n) {}
3839 virtual int getval() override final { return this->n * 2; }
3842 class nocopy
3844 public:
3845 nocopy(int i): i(i) {}
3846 nocopy() = default;
3847 nocopy(const nocopy&) = delete;
3848 nocopy & operator=(const nocopy&) = delete;
3849 private:
3850 int i;
3853 // for testing lambda expressions
3854 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3856 return f(v);
3859 // for testing variadic templates and trailing return types
3860 template <typename V> auto sum(V first) -> V
3862 return first;
3864 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3866 return first + sum(rest...);
3871 # Test code for whether the C++ compiler supports C++11 (body of main)
3872 ac_cxx_conftest_cxx11_main='
3874 // Test auto and decltype
3875 auto a1 = 6538;
3876 auto a2 = 48573953.4;
3877 auto a3 = "String literal";
3879 int total = 0;
3880 for (auto i = a3; *i; ++i) { total += *i; }
3882 decltype(a2) a4 = 34895.034;
3885 // Test constexpr
3886 short sa[cxx11test::get_val()] = { 0 };
3889 // Test initializer lists
3890 cxx11test::testinit il = { 4323, 435234.23544 };
3893 // Test range-based for
3894 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3895 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3896 for (auto &x : array) { x += 23; }
3899 // Test lambda expressions
3900 using cxx11test::eval;
3901 assert (eval ([](int x) { return x*2; }, 21) == 42);
3902 double d = 2.0;
3903 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3904 assert (d == 5.0);
3905 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3906 assert (d == 5.0);
3909 // Test use of variadic templates
3910 using cxx11test::sum;
3911 auto a = sum(1);
3912 auto b = sum(1, 2);
3913 auto c = sum(1.0, 2.0, 3.0);
3916 // Test constructor delegation
3917 cxx11test::delegate d1;
3918 cxx11test::delegate d2();
3919 cxx11test::delegate d3(45);
3922 // Test override and final
3923 cxx11test::overridden o1(55464);
3926 // Test nullptr
3927 char *c = nullptr;
3930 // Test template brackets
3931 test_template<::test_template<int>> v(test_template<int>(12));
3934 // Unicode literals
3935 char const *utf8 = u8"UTF-8 string \u2500";
3936 char16_t const *utf16 = u"UTF-8 string \u2500";
3937 char32_t const *utf32 = U"UTF-32 string \u2500";
3941 # Test code for whether the C compiler supports C++11 (complete).
3942 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3943 ${ac_cxx_conftest_cxx11_globals}
3946 main (int argc, char **argv)
3948 int ok = 0;
3949 ${ac_cxx_conftest_cxx98_main}
3950 ${ac_cxx_conftest_cxx11_main}
3951 return ok;
3955 # Test code for whether the C compiler supports C++98 (complete).
3956 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3958 main (int argc, char **argv)
3960 int ok = 0;
3961 ${ac_cxx_conftest_cxx98_main}
3962 return ok;
3966 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3967 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3968 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3969 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3970 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3971 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3972 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3973 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3974 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3976 # Auxiliary files required by this configure script.
3977 ac_aux_files="config.guess config.sub"
3979 # Locations in which to look for auxiliary files.
3980 ac_aux_dir_candidates="${srcdir}/tools"
3982 # Search for a directory containing all of the required auxiliary files,
3983 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3984 # If we don't find one directory that contains all the files we need,
3985 # we report the set of missing files from the *first* directory in
3986 # $ac_aux_dir_candidates and give up.
3987 ac_missing_aux_files=""
3988 ac_first_candidate=:
3989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 as_found=false
3992 for as_dir in $ac_aux_dir_candidates
3994 IFS=$as_save_IFS
3995 case $as_dir in #(((
3996 '') as_dir=./ ;;
3997 */) ;;
3998 *) as_dir=$as_dir/ ;;
3999 esac
4000 as_found=:
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4003 ac_aux_dir_found=yes
4004 ac_install_sh=
4005 for ac_aux in $ac_aux_files
4007 # As a special case, if "install-sh" is required, that requirement
4008 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4009 # and $ac_install_sh is set appropriately for whichever one is found.
4010 if test x"$ac_aux" = x"install-sh"
4011 then
4012 if test -f "${as_dir}install-sh"; then
4013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4014 ac_install_sh="${as_dir}install-sh -c"
4015 elif test -f "${as_dir}install.sh"; then
4016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4017 ac_install_sh="${as_dir}install.sh -c"
4018 elif test -f "${as_dir}shtool"; then
4019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4020 ac_install_sh="${as_dir}shtool install -c"
4021 else
4022 ac_aux_dir_found=no
4023 if $ac_first_candidate; then
4024 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4025 else
4026 break
4029 else
4030 if test -f "${as_dir}${ac_aux}"; then
4031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4032 else
4033 ac_aux_dir_found=no
4034 if $ac_first_candidate; then
4035 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4036 else
4037 break
4041 done
4042 if test "$ac_aux_dir_found" = yes; then
4043 ac_aux_dir="$as_dir"
4044 break
4046 ac_first_candidate=false
4048 as_found=false
4049 done
4050 IFS=$as_save_IFS
4051 if $as_found
4052 then :
4054 else $as_nop
4055 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4059 # These three variables are undocumented and unsupported,
4060 # and are intended to be withdrawn in a future Autoconf release.
4061 # They can cause serious problems if a builder's source tree is in a directory
4062 # whose full name contains unusual characters.
4063 if test -f "${ac_aux_dir}config.guess"; then
4064 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4066 if test -f "${ac_aux_dir}config.sub"; then
4067 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4069 if test -f "$ac_aux_dir/configure"; then
4070 ac_configure="$SHELL ${ac_aux_dir}configure"
4073 # Check that the precious variables saved in the cache have kept the same
4074 # value.
4075 ac_cache_corrupted=false
4076 for ac_var in $ac_precious_vars; do
4077 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4078 eval ac_new_set=\$ac_env_${ac_var}_set
4079 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4080 eval ac_new_val=\$ac_env_${ac_var}_value
4081 case $ac_old_set,$ac_new_set in
4082 set,)
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4084 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4085 ac_cache_corrupted=: ;;
4086 ,set)
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4088 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4089 ac_cache_corrupted=: ;;
4090 ,);;
4092 if test "x$ac_old_val" != "x$ac_new_val"; then
4093 # differences in whitespace do not lead to failure.
4094 ac_old_val_w=`echo x $ac_old_val`
4095 ac_new_val_w=`echo x $ac_new_val`
4096 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4098 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4099 ac_cache_corrupted=:
4100 else
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4102 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4103 eval $ac_var=\$ac_old_val
4105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4106 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4108 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4109 fi;;
4110 esac
4111 # Pass precious variables to config.status.
4112 if test "$ac_new_set" = set; then
4113 case $ac_new_val in
4114 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4115 *) ac_arg=$ac_var=$ac_new_val ;;
4116 esac
4117 case " $ac_configure_args " in
4118 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4119 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4120 esac
4122 done
4123 if $ac_cache_corrupted; then
4124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4127 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4128 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4129 and start over" "$LINENO" 5
4131 ## -------------------- ##
4132 ## Main body of script. ##
4133 ## -------------------- ##
4135 ac_ext=c
4136 ac_cpp='$CPP $CPPFLAGS'
4137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4143 ac_config_headers="$ac_config_headers include/config.h"
4147 libwine_version="1.0"
4150 # Check whether --enable-archs was given.
4151 if test ${enable_archs+y}
4152 then :
4153 enableval=$enable_archs;
4156 # Check whether --enable-win16 was given.
4157 if test ${enable_win16+y}
4158 then :
4159 enableval=$enable_win16;
4162 # Check whether --enable-win64 was given.
4163 if test ${enable_win64+y}
4164 then :
4165 enableval=$enable_win64;
4168 # Check whether --enable-tests was given.
4169 if test ${enable_tests+y}
4170 then :
4171 enableval=$enable_tests;
4174 # Check whether --enable-build-id was given.
4175 if test ${enable_build_id+y}
4176 then :
4177 enableval=$enable_build_id;
4180 # Check whether --enable-maintainer-mode was given.
4181 if test ${enable_maintainer_mode+y}
4182 then :
4183 enableval=$enable_maintainer_mode;
4186 # Check whether --enable-silent-rules was given.
4187 if test ${enable_silent_rules+y}
4188 then :
4189 enableval=$enable_silent_rules;
4192 # Check whether --enable-werror was given.
4193 if test ${enable_werror+y}
4194 then :
4195 enableval=$enable_werror;
4200 # Check whether --with-alsa was given.
4201 if test ${with_alsa+y}
4202 then :
4203 withval=$with_alsa;
4207 # Check whether --with-capi was given.
4208 if test ${with_capi+y}
4209 then :
4210 withval=$with_capi;
4214 # Check whether --with-coreaudio was given.
4215 if test ${with_coreaudio+y}
4216 then :
4217 withval=$with_coreaudio;
4221 # Check whether --with-cups was given.
4222 if test ${with_cups+y}
4223 then :
4224 withval=$with_cups;
4228 # Check whether --with-dbus was given.
4229 if test ${with_dbus+y}
4230 then :
4231 withval=$with_dbus;
4235 # Check whether --with-float-abi was given.
4236 if test ${with_float_abi+y}
4237 then :
4238 withval=$with_float_abi;
4242 # Check whether --with-fontconfig was given.
4243 if test ${with_fontconfig+y}
4244 then :
4245 withval=$with_fontconfig;
4249 # Check whether --with-freetype was given.
4250 if test ${with_freetype+y}
4251 then :
4252 withval=$with_freetype;
4256 # Check whether --with-gettext was given.
4257 if test ${with_gettext+y}
4258 then :
4259 withval=$with_gettext;
4263 # Check whether --with-gettextpo was given.
4264 if test ${with_gettextpo+y}
4265 then :
4266 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4270 # Check whether --with-gphoto was given.
4271 if test ${with_gphoto+y}
4272 then :
4273 withval=$with_gphoto;
4277 # Check whether --with-gnutls was given.
4278 if test ${with_gnutls+y}
4279 then :
4280 withval=$with_gnutls;
4284 # Check whether --with-gssapi was given.
4285 if test ${with_gssapi+y}
4286 then :
4287 withval=$with_gssapi;
4291 # Check whether --with-gstreamer was given.
4292 if test ${with_gstreamer+y}
4293 then :
4294 withval=$with_gstreamer;
4298 # Check whether --with-inotify was given.
4299 if test ${with_inotify+y}
4300 then :
4301 withval=$with_inotify;
4305 # Check whether --with-krb5 was given.
4306 if test ${with_krb5+y}
4307 then :
4308 withval=$with_krb5;
4312 # Check whether --with-mingw was given.
4313 if test ${with_mingw+y}
4314 then :
4315 withval=$with_mingw;
4319 # Check whether --with-netapi was given.
4320 if test ${with_netapi+y}
4321 then :
4322 withval=$with_netapi;
4326 # Check whether --with-opencl was given.
4327 if test ${with_opencl+y}
4328 then :
4329 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4333 # Check whether --with-opengl was given.
4334 if test ${with_opengl+y}
4335 then :
4336 withval=$with_opengl;
4340 # Check whether --with-osmesa was given.
4341 if test ${with_osmesa+y}
4342 then :
4343 withval=$with_osmesa;
4347 # Check whether --with-oss was given.
4348 if test ${with_oss+y}
4349 then :
4350 withval=$with_oss;
4354 # Check whether --with-pcap was given.
4355 if test ${with_pcap+y}
4356 then :
4357 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4361 # Check whether --with-pcsclite was given.
4362 if test ${with_pcsclite+y}
4363 then :
4364 withval=$with_pcsclite;
4368 # Check whether --with-pthread was given.
4369 if test ${with_pthread+y}
4370 then :
4371 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4375 # Check whether --with-pulse was given.
4376 if test ${with_pulse+y}
4377 then :
4378 withval=$with_pulse;
4382 # Check whether --with-sane was given.
4383 if test ${with_sane+y}
4384 then :
4385 withval=$with_sane;
4389 # Check whether --with-sdl was given.
4390 if test ${with_sdl+y}
4391 then :
4392 withval=$with_sdl;
4396 # Check whether --with-udev was given.
4397 if test ${with_udev+y}
4398 then :
4399 withval=$with_udev;
4403 # Check whether --with-unwind was given.
4404 if test ${with_unwind+y}
4405 then :
4406 withval=$with_unwind;
4410 # Check whether --with-usb was given.
4411 if test ${with_usb+y}
4412 then :
4413 withval=$with_usb;
4417 # Check whether --with-v4l2 was given.
4418 if test ${with_v4l2+y}
4419 then :
4420 withval=$with_v4l2;
4424 # Check whether --with-vulkan was given.
4425 if test ${with_vulkan+y}
4426 then :
4427 withval=$with_vulkan;
4431 # Check whether --with-wayland was given.
4432 if test ${with_wayland+y}
4433 then :
4434 withval=$with_wayland;
4438 # Check whether --with-xcomposite was given.
4439 if test ${with_xcomposite+y}
4440 then :
4441 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4445 # Check whether --with-xcursor was given.
4446 if test ${with_xcursor+y}
4447 then :
4448 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4452 # Check whether --with-xfixes was given.
4453 if test ${with_xfixes+y}
4454 then :
4455 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4459 # Check whether --with-xinerama was given.
4460 if test ${with_xinerama+y}
4461 then :
4462 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4466 # Check whether --with-xinput was given.
4467 if test ${with_xinput+y}
4468 then :
4469 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4473 # Check whether --with-xinput2 was given.
4474 if test ${with_xinput2+y}
4475 then :
4476 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4480 # Check whether --with-xrandr was given.
4481 if test ${with_xrandr+y}
4482 then :
4483 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4487 # Check whether --with-xrender was given.
4488 if test ${with_xrender+y}
4489 then :
4490 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4494 # Check whether --with-xshape was given.
4495 if test ${with_xshape+y}
4496 then :
4497 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4501 # Check whether --with-xshm was given.
4502 if test ${with_xshm+y}
4503 then :
4504 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4508 # Check whether --with-xxf86vm was given.
4509 if test ${with_xxf86vm+y}
4510 then :
4511 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
4516 # Check whether --with-system-dllpath was given.
4517 if test ${with_system_dllpath+y}
4518 then :
4519 withval=$with_system_dllpath; system_dllpath=$withval
4524 # Check whether --with-wine-tools was given.
4525 if test ${with_wine_tools+y}
4526 then :
4527 withval=$with_wine_tools;
4531 # Check whether --with-wine64 was given.
4532 if test ${with_wine64+y}
4533 then :
4534 withval=$with_wine64;
4541 # Make sure we can run config.sub.
4542 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4543 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4546 printf %s "checking build system type... " >&6; }
4547 if test ${ac_cv_build+y}
4548 then :
4549 printf %s "(cached) " >&6
4550 else $as_nop
4551 ac_build_alias=$build_alias
4552 test "x$ac_build_alias" = x &&
4553 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4554 test "x$ac_build_alias" = x &&
4555 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4556 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4557 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4561 printf "%s\n" "$ac_cv_build" >&6; }
4562 case $ac_cv_build in
4563 *-*-*) ;;
4564 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4565 esac
4566 build=$ac_cv_build
4567 ac_save_IFS=$IFS; IFS='-'
4568 set x $ac_cv_build
4569 shift
4570 build_cpu=$1
4571 build_vendor=$2
4572 shift; shift
4573 # Remember, the first character of IFS is used to create $*,
4574 # except with old shells:
4575 build_os=$*
4576 IFS=$ac_save_IFS
4577 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4581 printf %s "checking host system type... " >&6; }
4582 if test ${ac_cv_host+y}
4583 then :
4584 printf %s "(cached) " >&6
4585 else $as_nop
4586 if test "x$host_alias" = x; then
4587 ac_cv_host=$ac_cv_build
4588 else
4589 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4590 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4595 printf "%s\n" "$ac_cv_host" >&6; }
4596 case $ac_cv_host in
4597 *-*-*) ;;
4598 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4599 esac
4600 host=$ac_cv_host
4601 ac_save_IFS=$IFS; IFS='-'
4602 set x $ac_cv_host
4603 shift
4604 host_cpu=$1
4605 host_vendor=$2
4606 shift; shift
4607 # Remember, the first character of IFS is used to create $*,
4608 # except with old shells:
4609 host_os=$*
4610 IFS=$ac_save_IFS
4611 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4615 dlldir=\${libdir}/wine
4617 fontdir=\${datadir}/wine/fonts
4619 nlsdir=\${datadir}/wine/nls
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4625 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4626 set x ${MAKE-make}
4627 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4628 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4629 then :
4630 printf %s "(cached) " >&6
4631 else $as_nop
4632 cat >conftest.make <<\_ACEOF
4633 SHELL = /bin/sh
4634 all:
4635 @echo '@@@%%%=$(MAKE)=@@@%%%'
4636 _ACEOF
4637 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4638 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4639 *@@@%%%=?*=@@@%%%*)
4640 eval ac_cv_prog_make_${ac_make}_set=yes;;
4642 eval ac_cv_prog_make_${ac_make}_set=no;;
4643 esac
4644 rm -f conftest.make
4646 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4648 printf "%s\n" "yes" >&6; }
4649 SET_MAKE=
4650 else
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 printf "%s\n" "no" >&6; }
4653 SET_MAKE="MAKE=${MAKE-make}"
4665 ac_ext=c
4666 ac_cpp='$CPP $CPPFLAGS'
4667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670 if test -n "$ac_tool_prefix"; then
4671 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4672 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 printf %s "checking for $ac_word... " >&6; }
4675 if test ${ac_cv_prog_CC+y}
4676 then :
4677 printf %s "(cached) " >&6
4678 else $as_nop
4679 if test -n "$CC"; then
4680 ac_cv_prog_CC="$CC" # Let the user override the test.
4681 else
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 for as_dir in $PATH
4685 IFS=$as_save_IFS
4686 case $as_dir in #(((
4687 '') as_dir=./ ;;
4688 */) ;;
4689 *) as_dir=$as_dir/ ;;
4690 esac
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4695 break 2
4697 done
4698 done
4699 IFS=$as_save_IFS
4703 CC=$ac_cv_prog_CC
4704 if test -n "$CC"; then
4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4706 printf "%s\n" "$CC" >&6; }
4707 else
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 printf "%s\n" "no" >&6; }
4714 if test -z "$ac_cv_prog_CC"; then
4715 ac_ct_CC=$CC
4716 # Extract the first word of "gcc", so it can be a program name with args.
4717 set dummy gcc; ac_word=$2
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 printf %s "checking for $ac_word... " >&6; }
4720 if test ${ac_cv_prog_ac_ct_CC+y}
4721 then :
4722 printf %s "(cached) " >&6
4723 else $as_nop
4724 if test -n "$ac_ct_CC"; then
4725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4726 else
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 for as_dir in $PATH
4730 IFS=$as_save_IFS
4731 case $as_dir in #(((
4732 '') as_dir=./ ;;
4733 */) ;;
4734 *) as_dir=$as_dir/ ;;
4735 esac
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_ac_ct_CC="gcc"
4739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4740 break 2
4742 done
4743 done
4744 IFS=$as_save_IFS
4748 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4749 if test -n "$ac_ct_CC"; then
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4751 printf "%s\n" "$ac_ct_CC" >&6; }
4752 else
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 printf "%s\n" "no" >&6; }
4757 if test "x$ac_ct_CC" = x; then
4758 CC=""
4759 else
4760 case $cross_compiling:$ac_tool_warned in
4761 yes:)
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764 ac_tool_warned=yes ;;
4765 esac
4766 CC=$ac_ct_CC
4768 else
4769 CC="$ac_cv_prog_CC"
4772 if test -z "$CC"; then
4773 if test -n "$ac_tool_prefix"; then
4774 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4775 set dummy ${ac_tool_prefix}cc; ac_word=$2
4776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4777 printf %s "checking for $ac_word... " >&6; }
4778 if test ${ac_cv_prog_CC+y}
4779 then :
4780 printf %s "(cached) " >&6
4781 else $as_nop
4782 if test -n "$CC"; then
4783 ac_cv_prog_CC="$CC" # Let the user override the test.
4784 else
4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786 for as_dir in $PATH
4788 IFS=$as_save_IFS
4789 case $as_dir in #(((
4790 '') as_dir=./ ;;
4791 */) ;;
4792 *) as_dir=$as_dir/ ;;
4793 esac
4794 for ac_exec_ext in '' $ac_executable_extensions; do
4795 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4796 ac_cv_prog_CC="${ac_tool_prefix}cc"
4797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4798 break 2
4800 done
4801 done
4802 IFS=$as_save_IFS
4806 CC=$ac_cv_prog_CC
4807 if test -n "$CC"; then
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4809 printf "%s\n" "$CC" >&6; }
4810 else
4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 printf "%s\n" "no" >&6; }
4818 if test -z "$CC"; then
4819 # Extract the first word of "cc", so it can be a program name with args.
4820 set dummy cc; ac_word=$2
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 printf %s "checking for $ac_word... " >&6; }
4823 if test ${ac_cv_prog_CC+y}
4824 then :
4825 printf %s "(cached) " >&6
4826 else $as_nop
4827 if test -n "$CC"; then
4828 ac_cv_prog_CC="$CC" # Let the user override the test.
4829 else
4830 ac_prog_rejected=no
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH
4834 IFS=$as_save_IFS
4835 case $as_dir in #(((
4836 '') as_dir=./ ;;
4837 */) ;;
4838 *) as_dir=$as_dir/ ;;
4839 esac
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4842 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4843 ac_prog_rejected=yes
4844 continue
4846 ac_cv_prog_CC="cc"
4847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4848 break 2
4850 done
4851 done
4852 IFS=$as_save_IFS
4854 if test $ac_prog_rejected = yes; then
4855 # We found a bogon in the path, so make sure we never use it.
4856 set dummy $ac_cv_prog_CC
4857 shift
4858 if test $# != 0; then
4859 # We chose a different compiler from the bogus one.
4860 # However, it has the same basename, so the bogon will be chosen
4861 # first if we set CC to just the basename; use the full file name.
4862 shift
4863 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4868 CC=$ac_cv_prog_CC
4869 if test -n "$CC"; then
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4871 printf "%s\n" "$CC" >&6; }
4872 else
4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 printf "%s\n" "no" >&6; }
4879 if test -z "$CC"; then
4880 if test -n "$ac_tool_prefix"; then
4881 for ac_prog in cl.exe
4883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 printf %s "checking for $ac_word... " >&6; }
4887 if test ${ac_cv_prog_CC+y}
4888 then :
4889 printf %s "(cached) " >&6
4890 else $as_nop
4891 if test -n "$CC"; then
4892 ac_cv_prog_CC="$CC" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4897 IFS=$as_save_IFS
4898 case $as_dir in #(((
4899 '') as_dir=./ ;;
4900 */) ;;
4901 *) as_dir=$as_dir/ ;;
4902 esac
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4907 break 2
4909 done
4910 done
4911 IFS=$as_save_IFS
4915 CC=$ac_cv_prog_CC
4916 if test -n "$CC"; then
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4918 printf "%s\n" "$CC" >&6; }
4919 else
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 printf "%s\n" "no" >&6; }
4925 test -n "$CC" && break
4926 done
4928 if test -z "$CC"; then
4929 ac_ct_CC=$CC
4930 for ac_prog in cl.exe
4932 # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy $ac_prog; ac_word=$2
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 printf %s "checking for $ac_word... " >&6; }
4936 if test ${ac_cv_prog_ac_ct_CC+y}
4937 then :
4938 printf %s "(cached) " >&6
4939 else $as_nop
4940 if test -n "$ac_ct_CC"; then
4941 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4942 else
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944 for as_dir in $PATH
4946 IFS=$as_save_IFS
4947 case $as_dir in #(((
4948 '') as_dir=./ ;;
4949 */) ;;
4950 *) as_dir=$as_dir/ ;;
4951 esac
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_ac_ct_CC="$ac_prog"
4955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4956 break 2
4958 done
4959 done
4960 IFS=$as_save_IFS
4964 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4965 if test -n "$ac_ct_CC"; then
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4967 printf "%s\n" "$ac_ct_CC" >&6; }
4968 else
4969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 printf "%s\n" "no" >&6; }
4974 test -n "$ac_ct_CC" && break
4975 done
4977 if test "x$ac_ct_CC" = x; then
4978 CC=""
4979 else
4980 case $cross_compiling:$ac_tool_warned in
4981 yes:)
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4983 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4984 ac_tool_warned=yes ;;
4985 esac
4986 CC=$ac_ct_CC
4991 if test -z "$CC"; then
4992 if test -n "$ac_tool_prefix"; then
4993 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4994 set dummy ${ac_tool_prefix}clang; ac_word=$2
4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 printf %s "checking for $ac_word... " >&6; }
4997 if test ${ac_cv_prog_CC+y}
4998 then :
4999 printf %s "(cached) " >&6
5000 else $as_nop
5001 if test -n "$CC"; then
5002 ac_cv_prog_CC="$CC" # Let the user override the test.
5003 else
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH
5007 IFS=$as_save_IFS
5008 case $as_dir in #(((
5009 '') as_dir=./ ;;
5010 */) ;;
5011 *) as_dir=$as_dir/ ;;
5012 esac
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5015 ac_cv_prog_CC="${ac_tool_prefix}clang"
5016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5017 break 2
5019 done
5020 done
5021 IFS=$as_save_IFS
5025 CC=$ac_cv_prog_CC
5026 if test -n "$CC"; then
5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5028 printf "%s\n" "$CC" >&6; }
5029 else
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 printf "%s\n" "no" >&6; }
5036 if test -z "$ac_cv_prog_CC"; then
5037 ac_ct_CC=$CC
5038 # Extract the first word of "clang", so it can be a program name with args.
5039 set dummy clang; ac_word=$2
5040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 printf %s "checking for $ac_word... " >&6; }
5042 if test ${ac_cv_prog_ac_ct_CC+y}
5043 then :
5044 printf %s "(cached) " >&6
5045 else $as_nop
5046 if test -n "$ac_ct_CC"; then
5047 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5048 else
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 for as_dir in $PATH
5052 IFS=$as_save_IFS
5053 case $as_dir in #(((
5054 '') as_dir=./ ;;
5055 */) ;;
5056 *) as_dir=$as_dir/ ;;
5057 esac
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_ac_ct_CC="clang"
5061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5062 break 2
5064 done
5065 done
5066 IFS=$as_save_IFS
5070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5071 if test -n "$ac_ct_CC"; then
5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5073 printf "%s\n" "$ac_ct_CC" >&6; }
5074 else
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 printf "%s\n" "no" >&6; }
5079 if test "x$ac_ct_CC" = x; then
5080 CC=""
5081 else
5082 case $cross_compiling:$ac_tool_warned in
5083 yes:)
5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned=yes ;;
5087 esac
5088 CC=$ac_ct_CC
5090 else
5091 CC="$ac_cv_prog_CC"
5097 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5098 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5099 as_fn_error $? "no acceptable C compiler found in \$PATH
5100 See \`config.log' for more details" "$LINENO" 5; }
5102 # Provide some information about the compiler.
5103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5104 set X $ac_compile
5105 ac_compiler=$2
5106 for ac_option in --version -v -V -qversion -version; do
5107 { { ac_try="$ac_compiler $ac_option >&5"
5108 case "(($ac_try" in
5109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5110 *) ac_try_echo=$ac_try;;
5111 esac
5112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5113 printf "%s\n" "$ac_try_echo"; } >&5
5114 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5115 ac_status=$?
5116 if test -s conftest.err; then
5117 sed '10a\
5118 ... rest of stderr output deleted ...
5119 10q' conftest.err >conftest.er1
5120 cat conftest.er1 >&5
5122 rm -f conftest.er1 conftest.err
5123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5124 test $ac_status = 0; }
5125 done
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5131 main (void)
5135 return 0;
5137 _ACEOF
5138 ac_clean_files_save=$ac_clean_files
5139 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5140 # Try to create an executable without -o first, disregard a.out.
5141 # It will help us diagnose broken compilers, and finding out an intuition
5142 # of exeext.
5143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5144 printf %s "checking whether the C compiler works... " >&6; }
5145 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5147 # The possible output files:
5148 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5150 ac_rmfiles=
5151 for ac_file in $ac_files
5153 case $ac_file in
5154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5155 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5156 esac
5157 done
5158 rm -f $ac_rmfiles
5160 if { { ac_try="$ac_link_default"
5161 case "(($ac_try" in
5162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5163 *) ac_try_echo=$ac_try;;
5164 esac
5165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5166 printf "%s\n" "$ac_try_echo"; } >&5
5167 (eval "$ac_link_default") 2>&5
5168 ac_status=$?
5169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5170 test $ac_status = 0; }
5171 then :
5172 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5173 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5174 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5175 # so that the user can short-circuit this test for compilers unknown to
5176 # Autoconf.
5177 for ac_file in $ac_files ''
5179 test -f "$ac_file" || continue
5180 case $ac_file in
5181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5183 [ab].out )
5184 # We found the default executable, but exeext='' is most
5185 # certainly right.
5186 break;;
5187 *.* )
5188 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5189 then :; else
5190 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5192 # We set ac_cv_exeext here because the later test for it is not
5193 # safe: cross compilers may not add the suffix if given an `-o'
5194 # argument, so we may need to know it at that point already.
5195 # Even if this section looks crufty: it has the advantage of
5196 # actually working.
5197 break;;
5199 break;;
5200 esac
5201 done
5202 test "$ac_cv_exeext" = no && ac_cv_exeext=
5204 else $as_nop
5205 ac_file=''
5207 if test -z "$ac_file"
5208 then :
5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 printf "%s\n" "no" >&6; }
5211 printf "%s\n" "$as_me: failed program was:" >&5
5212 sed 's/^/| /' conftest.$ac_ext >&5
5214 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5215 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5216 as_fn_error 77 "C compiler cannot create executables
5217 See \`config.log' for more details" "$LINENO" 5; }
5218 else $as_nop
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5220 printf "%s\n" "yes" >&6; }
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5223 printf %s "checking for C compiler default output file name... " >&6; }
5224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5225 printf "%s\n" "$ac_file" >&6; }
5226 ac_exeext=$ac_cv_exeext
5228 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5229 ac_clean_files=$ac_clean_files_save
5230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5231 printf %s "checking for suffix of executables... " >&6; }
5232 if { { ac_try="$ac_link"
5233 case "(($ac_try" in
5234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5235 *) ac_try_echo=$ac_try;;
5236 esac
5237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5238 printf "%s\n" "$ac_try_echo"; } >&5
5239 (eval "$ac_link") 2>&5
5240 ac_status=$?
5241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5242 test $ac_status = 0; }
5243 then :
5244 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5245 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5246 # work properly (i.e., refer to `conftest.exe'), while it won't with
5247 # `rm'.
5248 for ac_file in conftest.exe conftest conftest.*; do
5249 test -f "$ac_file" || continue
5250 case $ac_file in
5251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5252 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5253 break;;
5254 * ) break;;
5255 esac
5256 done
5257 else $as_nop
5258 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5259 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5260 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5261 See \`config.log' for more details" "$LINENO" 5; }
5263 rm -f conftest conftest$ac_cv_exeext
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5265 printf "%s\n" "$ac_cv_exeext" >&6; }
5267 rm -f conftest.$ac_ext
5268 EXEEXT=$ac_cv_exeext
5269 ac_exeext=$EXEEXT
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5272 #include <stdio.h>
5274 main (void)
5276 FILE *f = fopen ("conftest.out", "w");
5277 return ferror (f) || fclose (f) != 0;
5280 return 0;
5282 _ACEOF
5283 ac_clean_files="$ac_clean_files conftest.out"
5284 # Check that the compiler produces executables we can run. If not, either
5285 # the compiler is broken, or we cross compile.
5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5287 printf %s "checking whether we are cross compiling... " >&6; }
5288 if test "$cross_compiling" != yes; then
5289 { { ac_try="$ac_link"
5290 case "(($ac_try" in
5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5293 esac
5294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5295 printf "%s\n" "$ac_try_echo"; } >&5
5296 (eval "$ac_link") 2>&5
5297 ac_status=$?
5298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }
5300 if { ac_try='./conftest$ac_cv_exeext'
5301 { { case "(($ac_try" in
5302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5303 *) ac_try_echo=$ac_try;;
5304 esac
5305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5306 printf "%s\n" "$ac_try_echo"; } >&5
5307 (eval "$ac_try") 2>&5
5308 ac_status=$?
5309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5310 test $ac_status = 0; }; }; then
5311 cross_compiling=no
5312 else
5313 if test "$cross_compiling" = maybe; then
5314 cross_compiling=yes
5315 else
5316 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5317 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5318 as_fn_error 77 "cannot run C compiled programs.
5319 If you meant to cross compile, use \`--host'.
5320 See \`config.log' for more details" "$LINENO" 5; }
5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5325 printf "%s\n" "$cross_compiling" >&6; }
5327 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5328 ac_clean_files=$ac_clean_files_save
5329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5330 printf %s "checking for suffix of object files... " >&6; }
5331 if test ${ac_cv_objext+y}
5332 then :
5333 printf %s "(cached) " >&6
5334 else $as_nop
5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5339 main (void)
5343 return 0;
5345 _ACEOF
5346 rm -f conftest.o conftest.obj
5347 if { { ac_try="$ac_compile"
5348 case "(($ac_try" in
5349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5350 *) ac_try_echo=$ac_try;;
5351 esac
5352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5353 printf "%s\n" "$ac_try_echo"; } >&5
5354 (eval "$ac_compile") 2>&5
5355 ac_status=$?
5356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5357 test $ac_status = 0; }
5358 then :
5359 for ac_file in conftest.o conftest.obj conftest.*; do
5360 test -f "$ac_file" || continue;
5361 case $ac_file in
5362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5363 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5364 break;;
5365 esac
5366 done
5367 else $as_nop
5368 printf "%s\n" "$as_me: failed program was:" >&5
5369 sed 's/^/| /' conftest.$ac_ext >&5
5371 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5372 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5373 as_fn_error $? "cannot compute suffix of object files: cannot compile
5374 See \`config.log' for more details" "$LINENO" 5; }
5376 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5379 printf "%s\n" "$ac_cv_objext" >&6; }
5380 OBJEXT=$ac_cv_objext
5381 ac_objext=$OBJEXT
5382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5383 printf %s "checking whether the compiler supports GNU C... " >&6; }
5384 if test ${ac_cv_c_compiler_gnu+y}
5385 then :
5386 printf %s "(cached) " >&6
5387 else $as_nop
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5392 main (void)
5394 #ifndef __GNUC__
5395 choke me
5396 #endif
5399 return 0;
5401 _ACEOF
5402 if ac_fn_c_try_compile "$LINENO"
5403 then :
5404 ac_compiler_gnu=yes
5405 else $as_nop
5406 ac_compiler_gnu=no
5408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5409 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5413 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5416 if test $ac_compiler_gnu = yes; then
5417 GCC=yes
5418 else
5419 GCC=
5421 ac_test_CFLAGS=${CFLAGS+y}
5422 ac_save_CFLAGS=$CFLAGS
5423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5424 printf %s "checking whether $CC accepts -g... " >&6; }
5425 if test ${ac_cv_prog_cc_g+y}
5426 then :
5427 printf %s "(cached) " >&6
5428 else $as_nop
5429 ac_save_c_werror_flag=$ac_c_werror_flag
5430 ac_c_werror_flag=yes
5431 ac_cv_prog_cc_g=no
5432 CFLAGS="-g"
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5437 main (void)
5441 return 0;
5443 _ACEOF
5444 if ac_fn_c_try_compile "$LINENO"
5445 then :
5446 ac_cv_prog_cc_g=yes
5447 else $as_nop
5448 CFLAGS=""
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5453 main (void)
5457 return 0;
5459 _ACEOF
5460 if ac_fn_c_try_compile "$LINENO"
5461 then :
5463 else $as_nop
5464 ac_c_werror_flag=$ac_save_c_werror_flag
5465 CFLAGS="-g"
5466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5467 /* end confdefs.h. */
5470 main (void)
5474 return 0;
5476 _ACEOF
5477 if ac_fn_c_try_compile "$LINENO"
5478 then :
5479 ac_cv_prog_cc_g=yes
5481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5486 ac_c_werror_flag=$ac_save_c_werror_flag
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5489 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5490 if test $ac_test_CFLAGS; then
5491 CFLAGS=$ac_save_CFLAGS
5492 elif test $ac_cv_prog_cc_g = yes; then
5493 if test "$GCC" = yes; then
5494 CFLAGS="-g -O2"
5495 else
5496 CFLAGS="-g"
5498 else
5499 if test "$GCC" = yes; then
5500 CFLAGS="-O2"
5501 else
5502 CFLAGS=
5505 ac_prog_cc_stdc=no
5506 if test x$ac_prog_cc_stdc = xno
5507 then :
5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5509 printf %s "checking for $CC option to enable C11 features... " >&6; }
5510 if test ${ac_cv_prog_cc_c11+y}
5511 then :
5512 printf %s "(cached) " >&6
5513 else $as_nop
5514 ac_cv_prog_cc_c11=no
5515 ac_save_CC=$CC
5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5518 $ac_c_conftest_c11_program
5519 _ACEOF
5520 for ac_arg in '' -std=gnu11
5522 CC="$ac_save_CC $ac_arg"
5523 if ac_fn_c_try_compile "$LINENO"
5524 then :
5525 ac_cv_prog_cc_c11=$ac_arg
5527 rm -f core conftest.err conftest.$ac_objext conftest.beam
5528 test "x$ac_cv_prog_cc_c11" != "xno" && break
5529 done
5530 rm -f conftest.$ac_ext
5531 CC=$ac_save_CC
5534 if test "x$ac_cv_prog_cc_c11" = xno
5535 then :
5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5537 printf "%s\n" "unsupported" >&6; }
5538 else $as_nop
5539 if test "x$ac_cv_prog_cc_c11" = x
5540 then :
5541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5542 printf "%s\n" "none needed" >&6; }
5543 else $as_nop
5544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5545 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5546 CC="$CC $ac_cv_prog_cc_c11"
5548 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5549 ac_prog_cc_stdc=c11
5552 if test x$ac_prog_cc_stdc = xno
5553 then :
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5555 printf %s "checking for $CC option to enable C99 features... " >&6; }
5556 if test ${ac_cv_prog_cc_c99+y}
5557 then :
5558 printf %s "(cached) " >&6
5559 else $as_nop
5560 ac_cv_prog_cc_c99=no
5561 ac_save_CC=$CC
5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563 /* end confdefs.h. */
5564 $ac_c_conftest_c99_program
5565 _ACEOF
5566 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5568 CC="$ac_save_CC $ac_arg"
5569 if ac_fn_c_try_compile "$LINENO"
5570 then :
5571 ac_cv_prog_cc_c99=$ac_arg
5573 rm -f core conftest.err conftest.$ac_objext conftest.beam
5574 test "x$ac_cv_prog_cc_c99" != "xno" && break
5575 done
5576 rm -f conftest.$ac_ext
5577 CC=$ac_save_CC
5580 if test "x$ac_cv_prog_cc_c99" = xno
5581 then :
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5583 printf "%s\n" "unsupported" >&6; }
5584 else $as_nop
5585 if test "x$ac_cv_prog_cc_c99" = x
5586 then :
5587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5588 printf "%s\n" "none needed" >&6; }
5589 else $as_nop
5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5591 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5592 CC="$CC $ac_cv_prog_cc_c99"
5594 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5595 ac_prog_cc_stdc=c99
5598 if test x$ac_prog_cc_stdc = xno
5599 then :
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5601 printf %s "checking for $CC option to enable C89 features... " >&6; }
5602 if test ${ac_cv_prog_cc_c89+y}
5603 then :
5604 printf %s "(cached) " >&6
5605 else $as_nop
5606 ac_cv_prog_cc_c89=no
5607 ac_save_CC=$CC
5608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5610 $ac_c_conftest_c89_program
5611 _ACEOF
5612 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5614 CC="$ac_save_CC $ac_arg"
5615 if ac_fn_c_try_compile "$LINENO"
5616 then :
5617 ac_cv_prog_cc_c89=$ac_arg
5619 rm -f core conftest.err conftest.$ac_objext conftest.beam
5620 test "x$ac_cv_prog_cc_c89" != "xno" && break
5621 done
5622 rm -f conftest.$ac_ext
5623 CC=$ac_save_CC
5626 if test "x$ac_cv_prog_cc_c89" = xno
5627 then :
5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5629 printf "%s\n" "unsupported" >&6; }
5630 else $as_nop
5631 if test "x$ac_cv_prog_cc_c89" = x
5632 then :
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5634 printf "%s\n" "none needed" >&6; }
5635 else $as_nop
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5637 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5638 CC="$CC $ac_cv_prog_cc_c89"
5640 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5641 ac_prog_cc_stdc=c89
5645 ac_ext=c
5646 ac_cpp='$CPP $CPPFLAGS'
5647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5657 ac_ext=cpp
5658 ac_cpp='$CXXCPP $CPPFLAGS'
5659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5662 if test -z "$CXX"; then
5663 if test -n "$CCC"; then
5664 CXX=$CCC
5665 else
5666 if test -n "$ac_tool_prefix"; then
5667 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5669 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5670 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 printf %s "checking for $ac_word... " >&6; }
5673 if test ${ac_cv_prog_CXX+y}
5674 then :
5675 printf %s "(cached) " >&6
5676 else $as_nop
5677 if test -n "$CXX"; then
5678 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5683 IFS=$as_save_IFS
5684 case $as_dir in #(((
5685 '') as_dir=./ ;;
5686 */) ;;
5687 *) as_dir=$as_dir/ ;;
5688 esac
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 CXX=$ac_cv_prog_CXX
5702 if test -n "$CXX"; then
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5704 printf "%s\n" "$CXX" >&6; }
5705 else
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 printf "%s\n" "no" >&6; }
5711 test -n "$CXX" && break
5712 done
5714 if test -z "$CXX"; then
5715 ac_ct_CXX=$CXX
5716 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy $ac_prog; ac_word=$2
5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 printf %s "checking for $ac_word... " >&6; }
5722 if test ${ac_cv_prog_ac_ct_CXX+y}
5723 then :
5724 printf %s "(cached) " >&6
5725 else $as_nop
5726 if test -n "$ac_ct_CXX"; then
5727 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5732 IFS=$as_save_IFS
5733 case $as_dir in #(((
5734 '') as_dir=./ ;;
5735 */) ;;
5736 *) as_dir=$as_dir/ ;;
5737 esac
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_ac_ct_CXX="$ac_prog"
5741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5742 break 2
5744 done
5745 done
5746 IFS=$as_save_IFS
5750 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5751 if test -n "$ac_ct_CXX"; then
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5753 printf "%s\n" "$ac_ct_CXX" >&6; }
5754 else
5755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 printf "%s\n" "no" >&6; }
5760 test -n "$ac_ct_CXX" && break
5761 done
5763 if test "x$ac_ct_CXX" = x; then
5764 CXX="g++"
5765 else
5766 case $cross_compiling:$ac_tool_warned in
5767 yes:)
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5769 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5770 ac_tool_warned=yes ;;
5771 esac
5772 CXX=$ac_ct_CXX
5778 # Provide some information about the compiler.
5779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5780 set X $ac_compile
5781 ac_compiler=$2
5782 for ac_option in --version -v -V -qversion; do
5783 { { ac_try="$ac_compiler $ac_option >&5"
5784 case "(($ac_try" in
5785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5786 *) ac_try_echo=$ac_try;;
5787 esac
5788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5789 printf "%s\n" "$ac_try_echo"; } >&5
5790 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5791 ac_status=$?
5792 if test -s conftest.err; then
5793 sed '10a\
5794 ... rest of stderr output deleted ...
5795 10q' conftest.err >conftest.er1
5796 cat conftest.er1 >&5
5798 rm -f conftest.er1 conftest.err
5799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5800 test $ac_status = 0; }
5801 done
5803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5804 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5805 if test ${ac_cv_cxx_compiler_gnu+y}
5806 then :
5807 printf %s "(cached) " >&6
5808 else $as_nop
5809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5810 /* end confdefs.h. */
5813 main (void)
5815 #ifndef __GNUC__
5816 choke me
5817 #endif
5820 return 0;
5822 _ACEOF
5823 if ac_fn_cxx_try_compile "$LINENO"
5824 then :
5825 ac_compiler_gnu=yes
5826 else $as_nop
5827 ac_compiler_gnu=no
5829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5830 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5834 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5837 if test $ac_compiler_gnu = yes; then
5838 GXX=yes
5839 else
5840 GXX=
5842 ac_test_CXXFLAGS=${CXXFLAGS+y}
5843 ac_save_CXXFLAGS=$CXXFLAGS
5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5845 printf %s "checking whether $CXX accepts -g... " >&6; }
5846 if test ${ac_cv_prog_cxx_g+y}
5847 then :
5848 printf %s "(cached) " >&6
5849 else $as_nop
5850 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5851 ac_cxx_werror_flag=yes
5852 ac_cv_prog_cxx_g=no
5853 CXXFLAGS="-g"
5854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5858 main (void)
5862 return 0;
5864 _ACEOF
5865 if ac_fn_cxx_try_compile "$LINENO"
5866 then :
5867 ac_cv_prog_cxx_g=yes
5868 else $as_nop
5869 CXXFLAGS=""
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5874 main (void)
5878 return 0;
5880 _ACEOF
5881 if ac_fn_cxx_try_compile "$LINENO"
5882 then :
5884 else $as_nop
5885 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5886 CXXFLAGS="-g"
5887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5888 /* end confdefs.h. */
5891 main (void)
5895 return 0;
5897 _ACEOF
5898 if ac_fn_cxx_try_compile "$LINENO"
5899 then :
5900 ac_cv_prog_cxx_g=yes
5902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5907 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5910 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5911 if test $ac_test_CXXFLAGS; then
5912 CXXFLAGS=$ac_save_CXXFLAGS
5913 elif test $ac_cv_prog_cxx_g = yes; then
5914 if test "$GXX" = yes; then
5915 CXXFLAGS="-g -O2"
5916 else
5917 CXXFLAGS="-g"
5919 else
5920 if test "$GXX" = yes; then
5921 CXXFLAGS="-O2"
5922 else
5923 CXXFLAGS=
5926 ac_prog_cxx_stdcxx=no
5927 if test x$ac_prog_cxx_stdcxx = xno
5928 then :
5929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5930 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5931 if test ${ac_cv_prog_cxx_cxx11+y}
5932 then :
5933 printf %s "(cached) " >&6
5934 else $as_nop
5935 ac_cv_prog_cxx_cxx11=no
5936 ac_save_CXX=$CXX
5937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5939 $ac_cxx_conftest_cxx11_program
5940 _ACEOF
5941 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5943 CXX="$ac_save_CXX $ac_arg"
5944 if ac_fn_cxx_try_compile "$LINENO"
5945 then :
5946 ac_cv_prog_cxx_cxx11=$ac_arg
5948 rm -f core conftest.err conftest.$ac_objext conftest.beam
5949 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5950 done
5951 rm -f conftest.$ac_ext
5952 CXX=$ac_save_CXX
5955 if test "x$ac_cv_prog_cxx_cxx11" = xno
5956 then :
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5958 printf "%s\n" "unsupported" >&6; }
5959 else $as_nop
5960 if test "x$ac_cv_prog_cxx_cxx11" = x
5961 then :
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5963 printf "%s\n" "none needed" >&6; }
5964 else $as_nop
5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5966 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5967 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5969 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5970 ac_prog_cxx_stdcxx=cxx11
5973 if test x$ac_prog_cxx_stdcxx = xno
5974 then :
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5976 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5977 if test ${ac_cv_prog_cxx_cxx98+y}
5978 then :
5979 printf %s "(cached) " >&6
5980 else $as_nop
5981 ac_cv_prog_cxx_cxx98=no
5982 ac_save_CXX=$CXX
5983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5985 $ac_cxx_conftest_cxx98_program
5986 _ACEOF
5987 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5989 CXX="$ac_save_CXX $ac_arg"
5990 if ac_fn_cxx_try_compile "$LINENO"
5991 then :
5992 ac_cv_prog_cxx_cxx98=$ac_arg
5994 rm -f core conftest.err conftest.$ac_objext conftest.beam
5995 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5996 done
5997 rm -f conftest.$ac_ext
5998 CXX=$ac_save_CXX
6001 if test "x$ac_cv_prog_cxx_cxx98" = xno
6002 then :
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6004 printf "%s\n" "unsupported" >&6; }
6005 else $as_nop
6006 if test "x$ac_cv_prog_cxx_cxx98" = x
6007 then :
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6009 printf "%s\n" "none needed" >&6; }
6010 else $as_nop
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6012 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6013 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6015 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6016 ac_prog_cxx_stdcxx=cxx98
6020 ac_ext=c
6021 ac_cpp='$CPP $CPPFLAGS'
6022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6026 if test -n "$ac_tool_prefix"; then
6027 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6028 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030 printf %s "checking for $ac_word... " >&6; }
6031 if test ${ac_cv_prog_CPPBIN+y}
6032 then :
6033 printf %s "(cached) " >&6
6034 else $as_nop
6035 if test -n "$CPPBIN"; then
6036 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 case $as_dir in #(((
6043 '') as_dir=./ ;;
6044 */) ;;
6045 *) as_dir=$as_dir/ ;;
6046 esac
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6049 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6051 break 2
6053 done
6054 done
6055 IFS=$as_save_IFS
6059 CPPBIN=$ac_cv_prog_CPPBIN
6060 if test -n "$CPPBIN"; then
6061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6062 printf "%s\n" "$CPPBIN" >&6; }
6063 else
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6065 printf "%s\n" "no" >&6; }
6070 if test -z "$ac_cv_prog_CPPBIN"; then
6071 ac_ct_CPPBIN=$CPPBIN
6072 # Extract the first word of "cpp", so it can be a program name with args.
6073 set dummy cpp; ac_word=$2
6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 printf %s "checking for $ac_word... " >&6; }
6076 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6077 then :
6078 printf %s "(cached) " >&6
6079 else $as_nop
6080 if test -n "$ac_ct_CPPBIN"; then
6081 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6086 IFS=$as_save_IFS
6087 case $as_dir in #(((
6088 '') as_dir=./ ;;
6089 */) ;;
6090 *) as_dir=$as_dir/ ;;
6091 esac
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_ac_ct_CPPBIN="cpp"
6095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6096 break 2
6098 done
6099 done
6100 IFS=$as_save_IFS
6104 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6105 if test -n "$ac_ct_CPPBIN"; then
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6107 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6108 else
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 printf "%s\n" "no" >&6; }
6113 if test "x$ac_ct_CPPBIN" = x; then
6114 CPPBIN="cpp"
6115 else
6116 case $cross_compiling:$ac_tool_warned in
6117 yes:)
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6119 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6120 ac_tool_warned=yes ;;
6121 esac
6122 CPPBIN=$ac_ct_CPPBIN
6124 else
6125 CPPBIN="$ac_cv_prog_CPPBIN"
6129 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6131 if test -n "$ac_tool_prefix"; then
6132 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6133 set dummy ${ac_tool_prefix}ld; ac_word=$2
6134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6135 printf %s "checking for $ac_word... " >&6; }
6136 if test ${ac_cv_prog_LD+y}
6137 then :
6138 printf %s "(cached) " >&6
6139 else $as_nop
6140 if test -n "$LD"; then
6141 ac_cv_prog_LD="$LD" # Let the user override the test.
6142 else
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $PATH
6146 IFS=$as_save_IFS
6147 case $as_dir in #(((
6148 '') as_dir=./ ;;
6149 */) ;;
6150 *) as_dir=$as_dir/ ;;
6151 esac
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_LD="${ac_tool_prefix}ld"
6155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6156 break 2
6158 done
6159 done
6160 IFS=$as_save_IFS
6164 LD=$ac_cv_prog_LD
6165 if test -n "$LD"; then
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6167 printf "%s\n" "$LD" >&6; }
6168 else
6169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 printf "%s\n" "no" >&6; }
6175 if test -z "$ac_cv_prog_LD"; then
6176 ac_ct_LD=$LD
6177 # Extract the first word of "ld", so it can be a program name with args.
6178 set dummy ld; ac_word=$2
6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 printf %s "checking for $ac_word... " >&6; }
6181 if test ${ac_cv_prog_ac_ct_LD+y}
6182 then :
6183 printf %s "(cached) " >&6
6184 else $as_nop
6185 if test -n "$ac_ct_LD"; then
6186 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6187 else
6188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189 for as_dir in $PATH
6191 IFS=$as_save_IFS
6192 case $as_dir in #(((
6193 '') as_dir=./ ;;
6194 */) ;;
6195 *) as_dir=$as_dir/ ;;
6196 esac
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6199 ac_cv_prog_ac_ct_LD="ld"
6200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6210 if test -n "$ac_ct_LD"; then
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6212 printf "%s\n" "$ac_ct_LD" >&6; }
6213 else
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 printf "%s\n" "no" >&6; }
6218 if test "x$ac_ct_LD" = x; then
6219 LD=""
6220 else
6221 case $cross_compiling:$ac_tool_warned in
6222 yes:)
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6224 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6225 ac_tool_warned=yes ;;
6226 esac
6227 LD=$ac_ct_LD
6229 else
6230 LD="$ac_cv_prog_LD"
6234 case $host in
6235 *-darwin*)
6236 with_fontconfig=${with_fontconfig:-no}
6238 *-mingw32*|*-cygwin*)
6239 enable_win16=${enable_win16:-no}
6240 with_mingw=${with_mingw:-no}
6242 esac
6245 case $host in
6246 x86_64*|amd64*)
6247 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6248 then
6249 CC="$CC -m32"
6250 CXX="$CXX -m32"
6252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6253 printf %s "checking whether $CC works... " >&6; }
6254 if test ${wine_cv_cc_m32+y}
6255 then :
6256 printf %s "(cached) " >&6
6257 else $as_nop
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6262 main (void)
6266 return 0;
6268 _ACEOF
6269 if ac_fn_c_try_link "$LINENO"
6270 then :
6271 wine_cv_cc_m32=yes
6272 else $as_nop
6273 wine_cv_cc_m32=no
6275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6276 conftest$ac_exeext conftest.$ac_ext
6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6279 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6280 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
6281 host_cpu="i386"
6282 notice_platform="32-bit "
6283 TARGETFLAGS="$TARGETFLAGS -m32"
6284 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6285 export PKG_CONFIG_LIBDIR
6286 with_unwind=${with_unwind:-no}
6287 else
6288 CC="$CC -m64"
6289 CXX="$CXX -m64"
6290 host_cpu="x86_64"
6291 notice_platform="64-bit "
6292 TARGETFLAGS="$TARGETFLAGS -m64"
6295 arm*)
6296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6297 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6298 if test ${wine_cv_thumb2+y}
6299 then :
6300 printf %s "(cached) " >&6
6301 else $as_nop
6302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6306 main (void)
6308 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_link "$LINENO"
6314 then :
6315 wine_cv_thumb2=yes
6316 else $as_nop
6317 wine_cv_thumb2=no
6319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6320 conftest$ac_exeext conftest.$ac_ext
6322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6323 printf "%s\n" "$wine_cv_thumb2" >&6; }
6324 if test x"$wine_cv_thumb2" = xyes
6325 then
6326 CFLAGS="$CFLAGS -mthumb"
6327 TARGETFLAGS="$TARGETFLAGS -mthumb"
6328 else
6329 CFLAGS="$CFLAGS -marm"
6330 TARGETFLAGS="$TARGETFLAGS -marm"
6332 case $with_float_abi in
6333 soft|softfp|hard)
6334 float_abi=$with_float_abi ;;
6336 case $host_os in
6337 *eabihf)
6338 float_abi=hard ;;
6340 float_abi=softfp
6341 saved_CFLAGS=$CFLAGS
6342 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6344 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6345 if test ${wine_cv_float_abi+y}
6346 then :
6347 printf %s "(cached) " >&6
6348 else $as_nop
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6353 main (void)
6355 asm("vmrs r2,fpscr");
6357 return 0;
6359 _ACEOF
6360 if ac_fn_c_try_link "$LINENO"
6361 then :
6362 wine_cv_float_abi=yes
6363 else $as_nop
6364 wine_cv_float_abi=no
6366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6367 conftest$ac_exeext conftest.$ac_ext
6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6370 printf "%s\n" "$wine_cv_float_abi" >&6; }
6371 if test $wine_cv_float_abi = no
6372 then
6373 float_abi=soft
6374 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6376 CFLAGS=$saved_CFLAGS
6377 esac
6379 esac
6380 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6381 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6383 i[3456789]86*)
6384 with_unwind=${with_unwind:-no}
6386 esac
6388 enable_win16=${enable_win16:-i386}
6389 enable_win64=${enable_win64:-no}
6390 enable_wow64=${enable_wow64:-aarch64,x86_64}
6391 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6392 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6394 enable_winetest=${enable_winetest:-$enable_tests}
6396 if test "x$enable_win64" = "xyes"
6397 then
6398 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6399 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6402 case $build_os in
6403 cygwin*|mingw32*) toolsext=".exe"
6405 *) toolsext=""
6407 esac
6409 HOST_ARCH=unknown
6410 case "$host_cpu" in
6411 aarch64*) HOST_ARCH=aarch64 ;;
6412 arm*) HOST_ARCH=arm ;;
6413 i[3456789]86*) HOST_ARCH=i386 ;;
6414 x86_64) HOST_ARCH=x86_64 ;;
6415 esac
6418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6419 printf %s "checking for the directory containing the Wine tools... " >&6; }
6420 if test ${wine_cv_toolsdir+y}
6421 then :
6422 printf %s "(cached) " >&6
6423 else $as_nop
6424 wine_cv_toolsdir="$with_wine_tools"
6425 if test -z "$with_wine_tools"; then
6426 if test "$cross_compiling" = "yes"; then
6427 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6428 elif test -n "$with_wine64"; then
6429 wine_cv_toolsdir="$with_wine64"
6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6434 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6435 if test -z "$wine_cv_toolsdir"; then
6436 wine_makedep=tools/makedep$toolsext
6437 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6438 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6439 enable_tools=${enable_tools:-no}
6440 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6441 else
6442 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6444 toolsdir=$wine_cv_toolsdir
6446 MAKEDEP=$wine_makedep
6448 RUNTESTFLAGS="-q -P wine"
6450 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'"
6453 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6454 then
6455 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6458 for ac_prog in flex
6460 # Extract the first word of "$ac_prog", so it can be a program name with args.
6461 set dummy $ac_prog; ac_word=$2
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 printf %s "checking for $ac_word... " >&6; }
6464 if test ${ac_cv_prog_FLEX+y}
6465 then :
6466 printf %s "(cached) " >&6
6467 else $as_nop
6468 if test -n "$FLEX"; then
6469 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6470 else
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in $PATH
6474 IFS=$as_save_IFS
6475 case $as_dir in #(((
6476 '') as_dir=./ ;;
6477 */) ;;
6478 *) as_dir=$as_dir/ ;;
6479 esac
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6482 ac_cv_prog_FLEX="$ac_prog"
6483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 FLEX=$ac_cv_prog_FLEX
6493 if test -n "$FLEX"; then
6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6495 printf "%s\n" "$FLEX" >&6; }
6496 else
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 printf "%s\n" "no" >&6; }
6502 test -n "$FLEX" && break
6503 done
6504 test -n "$FLEX" || FLEX="none"
6506 if test "$FLEX" = "none"
6507 then
6508 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6511 printf %s "checking whether flex is recent enough... " >&6; }
6512 if test ${wine_cv_recent_flex+y}
6513 then :
6514 printf %s "(cached) " >&6
6515 else $as_nop
6516 cat >conftest.l <<EOF
6517 %top{
6518 #include "prediluvian.h"
6522 if $FLEX -t conftest.l >/dev/null 2>&5
6523 then
6524 wine_cv_recent_flex=yes
6525 else
6526 wine_cv_recent_flex=no
6529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6530 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6531 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
6533 for ac_prog in bison
6535 # Extract the first word of "$ac_prog", so it can be a program name with args.
6536 set dummy $ac_prog; ac_word=$2
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 printf %s "checking for $ac_word... " >&6; }
6539 if test ${ac_cv_prog_BISON+y}
6540 then :
6541 printf %s "(cached) " >&6
6542 else $as_nop
6543 if test -n "$BISON"; then
6544 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6545 else
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 for as_dir in $PATH
6549 IFS=$as_save_IFS
6550 case $as_dir in #(((
6551 '') as_dir=./ ;;
6552 */) ;;
6553 *) as_dir=$as_dir/ ;;
6554 esac
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6557 ac_cv_prog_BISON="$ac_prog"
6558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6559 break 2
6561 done
6562 done
6563 IFS=$as_save_IFS
6567 BISON=$ac_cv_prog_BISON
6568 if test -n "$BISON"; then
6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6570 printf "%s\n" "$BISON" >&6; }
6571 else
6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 printf "%s\n" "no" >&6; }
6577 test -n "$BISON" && break
6578 done
6579 test -n "$BISON" || BISON="none"
6581 if test "$BISON" = "none"
6582 then
6583 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6586 printf %s "checking whether bison is recent enough... " >&6; }
6587 if test ${wine_cv_recent_bison+y}
6588 then :
6589 printf %s "(cached) " >&6
6590 else $as_nop
6591 cat >conftest.y <<EOF
6592 %define parse.error verbose
6594 empty: ;
6596 if $BISON conftest.y >/dev/null 2>&5
6597 then
6598 wine_cv_recent_bison=yes
6599 else
6600 wine_cv_recent_bison=no
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6604 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6605 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
6607 if test -n "$ac_tool_prefix"; then
6608 for ac_prog in ar gar
6610 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6611 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 printf %s "checking for $ac_word... " >&6; }
6614 if test ${ac_cv_prog_AR+y}
6615 then :
6616 printf %s "(cached) " >&6
6617 else $as_nop
6618 if test -n "$AR"; then
6619 ac_cv_prog_AR="$AR" # Let the user override the test.
6620 else
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622 for as_dir in $PATH
6624 IFS=$as_save_IFS
6625 case $as_dir in #(((
6626 '') as_dir=./ ;;
6627 */) ;;
6628 *) as_dir=$as_dir/ ;;
6629 esac
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6634 break 2
6636 done
6637 done
6638 IFS=$as_save_IFS
6642 AR=$ac_cv_prog_AR
6643 if test -n "$AR"; then
6644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6645 printf "%s\n" "$AR" >&6; }
6646 else
6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6648 printf "%s\n" "no" >&6; }
6652 test -n "$AR" && break
6653 done
6655 if test -z "$AR"; then
6656 ac_ct_AR=$AR
6657 for ac_prog in ar gar
6659 # Extract the first word of "$ac_prog", so it can be a program name with args.
6660 set dummy $ac_prog; ac_word=$2
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 printf %s "checking for $ac_word... " >&6; }
6663 if test ${ac_cv_prog_ac_ct_AR+y}
6664 then :
6665 printf %s "(cached) " >&6
6666 else $as_nop
6667 if test -n "$ac_ct_AR"; then
6668 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6669 else
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 for as_dir in $PATH
6673 IFS=$as_save_IFS
6674 case $as_dir in #(((
6675 '') as_dir=./ ;;
6676 */) ;;
6677 *) as_dir=$as_dir/ ;;
6678 esac
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6681 ac_cv_prog_ac_ct_AR="$ac_prog"
6682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6683 break 2
6685 done
6686 done
6687 IFS=$as_save_IFS
6691 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6692 if test -n "$ac_ct_AR"; then
6693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6694 printf "%s\n" "$ac_ct_AR" >&6; }
6695 else
6696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 printf "%s\n" "no" >&6; }
6701 test -n "$ac_ct_AR" && break
6702 done
6704 if test "x$ac_ct_AR" = x; then
6705 AR="ar"
6706 else
6707 case $cross_compiling:$ac_tool_warned in
6708 yes:)
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711 ac_tool_warned=yes ;;
6712 esac
6713 AR=$ac_ct_AR
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}strip; ac_word=$2
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 printf %s "checking for $ac_word... " >&6; }
6722 if test ${ac_cv_prog_STRIP+y}
6723 then :
6724 printf %s "(cached) " >&6
6725 else $as_nop
6726 if test -n "$STRIP"; then
6727 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6728 else
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 for as_dir in $PATH
6732 IFS=$as_save_IFS
6733 case $as_dir in #(((
6734 '') as_dir=./ ;;
6735 */) ;;
6736 *) as_dir=$as_dir/ ;;
6737 esac
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6740 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6742 break 2
6744 done
6745 done
6746 IFS=$as_save_IFS
6750 STRIP=$ac_cv_prog_STRIP
6751 if test -n "$STRIP"; then
6752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6753 printf "%s\n" "$STRIP" >&6; }
6754 else
6755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 printf "%s\n" "no" >&6; }
6761 if test -z "$ac_cv_prog_STRIP"; then
6762 ac_ct_STRIP=$STRIP
6763 # Extract the first word of "strip", so it can be a program name with args.
6764 set dummy strip; ac_word=$2
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 printf %s "checking for $ac_word... " >&6; }
6767 if test ${ac_cv_prog_ac_ct_STRIP+y}
6768 then :
6769 printf %s "(cached) " >&6
6770 else $as_nop
6771 if test -n "$ac_ct_STRIP"; then
6772 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6777 IFS=$as_save_IFS
6778 case $as_dir in #(((
6779 '') as_dir=./ ;;
6780 */) ;;
6781 *) as_dir=$as_dir/ ;;
6782 esac
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_ac_ct_STRIP="strip"
6786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6787 break 2
6789 done
6790 done
6791 IFS=$as_save_IFS
6795 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6796 if test -n "$ac_ct_STRIP"; then
6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6798 printf "%s\n" "$ac_ct_STRIP" >&6; }
6799 else
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 printf "%s\n" "no" >&6; }
6804 if test "x$ac_ct_STRIP" = x; then
6805 STRIP="strip"
6806 else
6807 case $cross_compiling:$ac_tool_warned in
6808 yes:)
6809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6810 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6811 ac_tool_warned=yes ;;
6812 esac
6813 STRIP=$ac_ct_STRIP
6815 else
6816 STRIP="$ac_cv_prog_STRIP"
6819 if test -n "$ac_tool_prefix"; then
6820 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6821 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823 printf %s "checking for $ac_word... " >&6; }
6824 if test ${ac_cv_prog_RANLIB+y}
6825 then :
6826 printf %s "(cached) " >&6
6827 else $as_nop
6828 if test -n "$RANLIB"; then
6829 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6830 else
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 for as_dir in $PATH
6834 IFS=$as_save_IFS
6835 case $as_dir in #(((
6836 '') as_dir=./ ;;
6837 */) ;;
6838 *) as_dir=$as_dir/ ;;
6839 esac
6840 for ac_exec_ext in '' $ac_executable_extensions; do
6841 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6842 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6844 break 2
6846 done
6847 done
6848 IFS=$as_save_IFS
6852 RANLIB=$ac_cv_prog_RANLIB
6853 if test -n "$RANLIB"; then
6854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6855 printf "%s\n" "$RANLIB" >&6; }
6856 else
6857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 printf "%s\n" "no" >&6; }
6863 if test -z "$ac_cv_prog_RANLIB"; then
6864 ac_ct_RANLIB=$RANLIB
6865 # Extract the first word of "ranlib", so it can be a program name with args.
6866 set dummy ranlib; ac_word=$2
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868 printf %s "checking for $ac_word... " >&6; }
6869 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6870 then :
6871 printf %s "(cached) " >&6
6872 else $as_nop
6873 if test -n "$ac_ct_RANLIB"; then
6874 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6875 else
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 for as_dir in $PATH
6879 IFS=$as_save_IFS
6880 case $as_dir in #(((
6881 '') as_dir=./ ;;
6882 */) ;;
6883 *) as_dir=$as_dir/ ;;
6884 esac
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_ac_ct_RANLIB="ranlib"
6888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6889 break 2
6891 done
6892 done
6893 IFS=$as_save_IFS
6897 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6898 if test -n "$ac_ct_RANLIB"; then
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6900 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6901 else
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 printf "%s\n" "no" >&6; }
6906 if test "x$ac_ct_RANLIB" = x; then
6907 RANLIB=":"
6908 else
6909 case $cross_compiling:$ac_tool_warned in
6910 yes:)
6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6912 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6913 ac_tool_warned=yes ;;
6914 esac
6915 RANLIB=$ac_ct_RANLIB
6917 else
6918 RANLIB="$ac_cv_prog_RANLIB"
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6922 printf %s "checking whether ln -s works... " >&6; }
6923 LN_S=$as_ln_s
6924 if test "$LN_S" = "ln -s"; then
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6926 printf "%s\n" "yes" >&6; }
6927 else
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6929 printf "%s\n" "no, using $LN_S" >&6; }
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6933 printf %s "checking for grep that handles long lines and -e... " >&6; }
6934 if test ${ac_cv_path_GREP+y}
6935 then :
6936 printf %s "(cached) " >&6
6937 else $as_nop
6938 if test -z "$GREP"; then
6939 ac_path_GREP_found=false
6940 # Loop through the user's path and test for each of PROGNAME-LIST
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6944 IFS=$as_save_IFS
6945 case $as_dir in #(((
6946 '') as_dir=./ ;;
6947 */) ;;
6948 *) as_dir=$as_dir/ ;;
6949 esac
6950 for ac_prog in grep ggrep
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6954 as_fn_executable_p "$ac_path_GREP" || continue
6955 # Check for GNU ac_path_GREP and select it if it is found.
6956 # Check for GNU $ac_path_GREP
6957 case `"$ac_path_GREP" --version 2>&1` in
6958 *GNU*)
6959 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6961 ac_count=0
6962 printf %s 0123456789 >"conftest.in"
6963 while :
6965 cat "conftest.in" "conftest.in" >"conftest.tmp"
6966 mv "conftest.tmp" "conftest.in"
6967 cp "conftest.in" "conftest.nl"
6968 printf "%s\n" 'GREP' >> "conftest.nl"
6969 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6970 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6971 as_fn_arith $ac_count + 1 && ac_count=$as_val
6972 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6973 # Best one so far, save it but keep looking for a better one
6974 ac_cv_path_GREP="$ac_path_GREP"
6975 ac_path_GREP_max=$ac_count
6977 # 10*(2^10) chars as input seems more than enough
6978 test $ac_count -gt 10 && break
6979 done
6980 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6981 esac
6983 $ac_path_GREP_found && break 3
6984 done
6985 done
6986 done
6987 IFS=$as_save_IFS
6988 if test -z "$ac_cv_path_GREP"; then
6989 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6991 else
6992 ac_cv_path_GREP=$GREP
6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6997 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6998 GREP="$ac_cv_path_GREP"
7001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7002 printf %s "checking for egrep... " >&6; }
7003 if test ${ac_cv_path_EGREP+y}
7004 then :
7005 printf %s "(cached) " >&6
7006 else $as_nop
7007 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7008 then ac_cv_path_EGREP="$GREP -E"
7009 else
7010 if test -z "$EGREP"; then
7011 ac_path_EGREP_found=false
7012 # Loop through the user's path and test for each of PROGNAME-LIST
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7016 IFS=$as_save_IFS
7017 case $as_dir in #(((
7018 '') as_dir=./ ;;
7019 */) ;;
7020 *) as_dir=$as_dir/ ;;
7021 esac
7022 for ac_prog in egrep
7024 for ac_exec_ext in '' $ac_executable_extensions; do
7025 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7026 as_fn_executable_p "$ac_path_EGREP" || continue
7027 # Check for GNU ac_path_EGREP and select it if it is found.
7028 # Check for GNU $ac_path_EGREP
7029 case `"$ac_path_EGREP" --version 2>&1` in
7030 *GNU*)
7031 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7033 ac_count=0
7034 printf %s 0123456789 >"conftest.in"
7035 while :
7037 cat "conftest.in" "conftest.in" >"conftest.tmp"
7038 mv "conftest.tmp" "conftest.in"
7039 cp "conftest.in" "conftest.nl"
7040 printf "%s\n" 'EGREP' >> "conftest.nl"
7041 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7042 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7043 as_fn_arith $ac_count + 1 && ac_count=$as_val
7044 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7045 # Best one so far, save it but keep looking for a better one
7046 ac_cv_path_EGREP="$ac_path_EGREP"
7047 ac_path_EGREP_max=$ac_count
7049 # 10*(2^10) chars as input seems more than enough
7050 test $ac_count -gt 10 && break
7051 done
7052 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7053 esac
7055 $ac_path_EGREP_found && break 3
7056 done
7057 done
7058 done
7059 IFS=$as_save_IFS
7060 if test -z "$ac_cv_path_EGREP"; then
7061 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7063 else
7064 ac_cv_path_EGREP=$EGREP
7069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7070 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7071 EGREP="$ac_cv_path_EGREP"
7074 # Extract the first word of "ldconfig", so it can be a program name with args.
7075 set dummy ldconfig; ac_word=$2
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 printf %s "checking for $ac_word... " >&6; }
7078 if test ${ac_cv_path_LDCONFIG+y}
7079 then :
7080 printf %s "(cached) " >&6
7081 else $as_nop
7082 case $LDCONFIG in
7083 [\\/]* | ?:[\\/]*)
7084 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 for as_dir in /sbin /usr/sbin $PATH
7090 IFS=$as_save_IFS
7091 case $as_dir in #(((
7092 '') as_dir=./ ;;
7093 */) ;;
7094 *) as_dir=$as_dir/ ;;
7095 esac
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7098 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7100 break 2
7102 done
7103 done
7104 IFS=$as_save_IFS
7106 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7108 esac
7110 LDCONFIG=$ac_cv_path_LDCONFIG
7111 if test -n "$LDCONFIG"; then
7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7113 printf "%s\n" "$LDCONFIG" >&6; }
7114 else
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7116 printf "%s\n" "no" >&6; }
7120 for ac_prog in msgfmt
7122 # Extract the first word of "$ac_prog", so it can be a program name with args.
7123 set dummy $ac_prog; ac_word=$2
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125 printf %s "checking for $ac_word... " >&6; }
7126 if test ${ac_cv_prog_MSGFMT+y}
7127 then :
7128 printf %s "(cached) " >&6
7129 else $as_nop
7130 if test -n "$MSGFMT"; then
7131 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7132 else
7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7134 for as_dir in $PATH
7136 IFS=$as_save_IFS
7137 case $as_dir in #(((
7138 '') as_dir=./ ;;
7139 */) ;;
7140 *) as_dir=$as_dir/ ;;
7141 esac
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7144 ac_cv_prog_MSGFMT="$ac_prog"
7145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7146 break 2
7148 done
7149 done
7150 IFS=$as_save_IFS
7154 MSGFMT=$ac_cv_prog_MSGFMT
7155 if test -n "$MSGFMT"; then
7156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7157 printf "%s\n" "$MSGFMT" >&6; }
7158 else
7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 printf "%s\n" "no" >&6; }
7164 test -n "$MSGFMT" && break
7165 done
7166 test -n "$MSGFMT" || MSGFMT="false"
7168 if test ${ac_tool_prefix+y}
7169 then :
7170 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 printf %s "checking for $ac_word... " >&6; }
7174 if test ${ac_cv_prog_PKG_CONFIG+y}
7175 then :
7176 printf %s "(cached) " >&6
7177 else $as_nop
7178 if test -n "$PKG_CONFIG"; then
7179 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7180 else
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 for as_dir in $PATH
7184 IFS=$as_save_IFS
7185 case $as_dir in #(((
7186 '') as_dir=./ ;;
7187 */) ;;
7188 *) as_dir=$as_dir/ ;;
7189 esac
7190 for ac_exec_ext in '' $ac_executable_extensions; do
7191 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7192 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7194 break 2
7196 done
7197 done
7198 IFS=$as_save_IFS
7202 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7203 if test -n "$PKG_CONFIG"; then
7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7205 printf "%s\n" "$PKG_CONFIG" >&6; }
7206 else
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 printf "%s\n" "no" >&6; }
7213 if ${ac_cv_prog_PKG_CONFIG:+false} :
7214 then :
7215 if test "x$cross_compiling" = xyes
7216 then :
7218 else $as_nop
7219 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7220 # Extract the first word of "pkg-config", so it can be a program name with args.
7221 set dummy pkg-config; ac_word=$2
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 printf %s "checking for $ac_word... " >&6; }
7224 if test ${ac_cv_prog_PKG_CONFIG+y}
7225 then :
7226 printf %s "(cached) " >&6
7227 else $as_nop
7228 if test -n "$PKG_CONFIG"; then
7229 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7230 else
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 for as_dir in $PATH
7234 IFS=$as_save_IFS
7235 case $as_dir in #(((
7236 '') as_dir=./ ;;
7237 */) ;;
7238 *) as_dir=$as_dir/ ;;
7239 esac
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_PKG_CONFIG="pkg-config"
7243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7244 break 2
7246 done
7247 done
7248 IFS=$as_save_IFS
7252 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7253 if test -n "$PKG_CONFIG"; then
7254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7255 printf "%s\n" "$PKG_CONFIG" >&6; }
7256 else
7257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 printf "%s\n" "no" >&6; }
7263 else $as_nop
7264 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7267 if test "x$enable_maintainer_mode" != "xyes"
7268 then
7269 FONTFORGE=""
7270 RSVG=""
7271 CONVERT=""
7272 ICOTOOL=""
7273 else
7274 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7275 for ac_prog in fontforge
7277 # Extract the first word of "$ac_prog", so it can be a program name with args.
7278 set dummy $ac_prog; ac_word=$2
7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280 printf %s "checking for $ac_word... " >&6; }
7281 if test ${ac_cv_prog_FONTFORGE+y}
7282 then :
7283 printf %s "(cached) " >&6
7284 else $as_nop
7285 if test -n "$FONTFORGE"; then
7286 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7287 else
7288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 for as_dir in $PATH
7291 IFS=$as_save_IFS
7292 case $as_dir in #(((
7293 '') as_dir=./ ;;
7294 */) ;;
7295 *) as_dir=$as_dir/ ;;
7296 esac
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_FONTFORGE="$ac_prog"
7300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7301 break 2
7303 done
7304 done
7305 IFS=$as_save_IFS
7309 FONTFORGE=$ac_cv_prog_FONTFORGE
7310 if test -n "$FONTFORGE"; then
7311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7312 printf "%s\n" "$FONTFORGE" >&6; }
7313 else
7314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 printf "%s\n" "no" >&6; }
7319 test -n "$FONTFORGE" && break
7320 done
7321 test -n "$FONTFORGE" || FONTFORGE="false"
7323 for ac_prog in rsvg-convert rsvg
7325 # Extract the first word of "$ac_prog", so it can be a program name with args.
7326 set dummy $ac_prog; ac_word=$2
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 printf %s "checking for $ac_word... " >&6; }
7329 if test ${ac_cv_prog_RSVG+y}
7330 then :
7331 printf %s "(cached) " >&6
7332 else $as_nop
7333 if test -n "$RSVG"; then
7334 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7335 else
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 for as_dir in $PATH
7339 IFS=$as_save_IFS
7340 case $as_dir in #(((
7341 '') as_dir=./ ;;
7342 */) ;;
7343 *) as_dir=$as_dir/ ;;
7344 esac
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7347 ac_cv_prog_RSVG="$ac_prog"
7348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7349 break 2
7351 done
7352 done
7353 IFS=$as_save_IFS
7357 RSVG=$ac_cv_prog_RSVG
7358 if test -n "$RSVG"; then
7359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7360 printf "%s\n" "$RSVG" >&6; }
7361 else
7362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 printf "%s\n" "no" >&6; }
7367 test -n "$RSVG" && break
7368 done
7369 test -n "$RSVG" || RSVG="false"
7371 for ac_prog in convert
7373 # Extract the first word of "$ac_prog", so it can be a program name with args.
7374 set dummy $ac_prog; ac_word=$2
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 printf %s "checking for $ac_word... " >&6; }
7377 if test ${ac_cv_prog_CONVERT+y}
7378 then :
7379 printf %s "(cached) " >&6
7380 else $as_nop
7381 if test -n "$CONVERT"; then
7382 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7383 else
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 for as_dir in $PATH
7387 IFS=$as_save_IFS
7388 case $as_dir in #(((
7389 '') as_dir=./ ;;
7390 */) ;;
7391 *) as_dir=$as_dir/ ;;
7392 esac
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7395 ac_cv_prog_CONVERT="$ac_prog"
7396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7397 break 2
7399 done
7400 done
7401 IFS=$as_save_IFS
7405 CONVERT=$ac_cv_prog_CONVERT
7406 if test -n "$CONVERT"; then
7407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7408 printf "%s\n" "$CONVERT" >&6; }
7409 else
7410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 printf "%s\n" "no" >&6; }
7415 test -n "$CONVERT" && break
7416 done
7417 test -n "$CONVERT" || CONVERT="false"
7419 for ac_prog in icotool
7421 # Extract the first word of "$ac_prog", so it can be a program name with args.
7422 set dummy $ac_prog; ac_word=$2
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 printf %s "checking for $ac_word... " >&6; }
7425 if test ${ac_cv_prog_ICOTOOL+y}
7426 then :
7427 printf %s "(cached) " >&6
7428 else $as_nop
7429 if test -n "$ICOTOOL"; then
7430 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7431 else
7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 for as_dir in $PATH
7435 IFS=$as_save_IFS
7436 case $as_dir in #(((
7437 '') as_dir=./ ;;
7438 */) ;;
7439 *) as_dir=$as_dir/ ;;
7440 esac
7441 for ac_exec_ext in '' $ac_executable_extensions; do
7442 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7443 ac_cv_prog_ICOTOOL="$ac_prog"
7444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7445 break 2
7447 done
7448 done
7449 IFS=$as_save_IFS
7453 ICOTOOL=$ac_cv_prog_ICOTOOL
7454 if test -n "$ICOTOOL"; then
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7456 printf "%s\n" "$ICOTOOL" >&6; }
7457 else
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7459 printf "%s\n" "no" >&6; }
7463 test -n "$ICOTOOL" && break
7464 done
7465 test -n "$ICOTOOL" || ICOTOOL="false"
7467 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7468 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7470 if test "$CONVERT" = false
7471 then
7472 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7473 else
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7475 printf %s "checking for recent enough imagemagick... " >&6; }
7476 convert_version=`convert --version | head -n1`
7477 if test "x$convert_version" != "x"
7478 then
7479 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7480 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7481 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7482 then
7483 CONVERT=false
7486 if test "$CONVERT" = false
7487 then
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7489 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7490 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7491 else
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7493 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7497 if test "$ICOTOOL" = false
7498 then
7499 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7500 else
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7502 printf %s "checking for recent enough icotool... " >&6; }
7503 icotool_version=`icotool --version | head -n1`
7504 if test "x$icotool_version" != "x"
7505 then
7506 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7507 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7508 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7509 then
7510 ICOTOOL=false
7511 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7514 if test "$ICOTOOL" = false
7515 then
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7517 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7518 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7519 else
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7521 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7525 with_gettext=yes
7526 with_gettextpo=yes
7528 enable_werror=yes
7531 test "x$with_gettext" != xno || MSGFMT=false
7532 if test "$MSGFMT" != "false"
7533 then
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7535 printf %s "checking whether msgfmt supports contexts... " >&6; }
7536 if test ${wine_cv_msgfmt_contexts+y}
7537 then :
7538 printf %s "(cached) " >&6
7539 else $as_nop
7540 cat >conftest.po <<EOF
7541 # comment
7542 msgctxt "ctxt"
7543 msgid "id"
7544 msgstr "str"
7546 if $MSGFMT -o /dev/null conftest.po 2>&5
7547 then
7548 wine_cv_msgfmt_contexts=yes
7549 else
7550 wine_cv_msgfmt_contexts=no
7553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7554 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7555 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7557 if test "$MSGFMT" = false
7558 then :
7559 case "x$with_gettext" in
7560 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7561 xno) ;;
7562 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7563 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7564 esac
7565 enable_po=${enable_po:-no}
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7570 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7571 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7572 then :
7573 printf %s "(cached) " >&6
7574 else $as_nop
7575 ac_check_lib_save_LIBS=$LIBS
7576 LIBS="-li386 $LIBS"
7577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7578 /* end confdefs.h. */
7580 /* Override any GCC internal prototype to avoid an error.
7581 Use char because int might match the return type of a GCC
7582 builtin and then its argument prototype would still apply. */
7583 char i386_set_ldt ();
7585 main (void)
7587 return i386_set_ldt ();
7589 return 0;
7591 _ACEOF
7592 if ac_fn_c_try_link "$LINENO"
7593 then :
7594 ac_cv_lib_i386_i386_set_ldt=yes
7595 else $as_nop
7596 ac_cv_lib_i386_i386_set_ldt=no
7598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7599 conftest$ac_exeext conftest.$ac_ext
7600 LIBS=$ac_check_lib_save_LIBS
7602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7603 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7604 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7605 then :
7606 I386_LIBS="-li386"
7611 OPENGL_LIBS=""
7615 # Check whether --enable-largefile was given.
7616 if test ${enable_largefile+y}
7617 then :
7618 enableval=$enable_largefile;
7621 if test "$enable_largefile" != no; then
7623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7624 printf %s "checking for special C compiler options needed for large files... " >&6; }
7625 if test ${ac_cv_sys_largefile_CC+y}
7626 then :
7627 printf %s "(cached) " >&6
7628 else $as_nop
7629 ac_cv_sys_largefile_CC=no
7630 if test "$GCC" != yes; then
7631 ac_save_CC=$CC
7632 while :; do
7633 # IRIX 6.2 and later do not support large files by default,
7634 # so use the C compiler's -n32 option if that helps.
7635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h. */
7637 #include <sys/types.h>
7638 /* Check that off_t can represent 2**63 - 1 correctly.
7639 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7640 since some C++ compilers masquerading as C compilers
7641 incorrectly reject 9223372036854775807. */
7642 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7643 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7644 && LARGE_OFF_T % 2147483647 == 1)
7645 ? 1 : -1];
7647 main (void)
7651 return 0;
7653 _ACEOF
7654 if ac_fn_c_try_compile "$LINENO"
7655 then :
7656 break
7658 rm -f core conftest.err conftest.$ac_objext conftest.beam
7659 CC="$CC -n32"
7660 if ac_fn_c_try_compile "$LINENO"
7661 then :
7662 ac_cv_sys_largefile_CC=' -n32'; break
7664 rm -f core conftest.err conftest.$ac_objext conftest.beam
7665 break
7666 done
7667 CC=$ac_save_CC
7668 rm -f conftest.$ac_ext
7671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7672 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7673 if test "$ac_cv_sys_largefile_CC" != no; then
7674 CC=$CC$ac_cv_sys_largefile_CC
7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7678 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7679 if test ${ac_cv_sys_file_offset_bits+y}
7680 then :
7681 printf %s "(cached) " >&6
7682 else $as_nop
7683 while :; do
7684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7685 /* end confdefs.h. */
7686 #include <sys/types.h>
7687 /* Check that off_t can represent 2**63 - 1 correctly.
7688 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7689 since some C++ compilers masquerading as C compilers
7690 incorrectly reject 9223372036854775807. */
7691 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7692 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7693 && LARGE_OFF_T % 2147483647 == 1)
7694 ? 1 : -1];
7696 main (void)
7700 return 0;
7702 _ACEOF
7703 if ac_fn_c_try_compile "$LINENO"
7704 then :
7705 ac_cv_sys_file_offset_bits=no; break
7707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7709 /* end confdefs.h. */
7710 #define _FILE_OFFSET_BITS 64
7711 #include <sys/types.h>
7712 /* Check that off_t can represent 2**63 - 1 correctly.
7713 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7714 since some C++ compilers masquerading as C compilers
7715 incorrectly reject 9223372036854775807. */
7716 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7717 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7718 && LARGE_OFF_T % 2147483647 == 1)
7719 ? 1 : -1];
7721 main (void)
7725 return 0;
7727 _ACEOF
7728 if ac_fn_c_try_compile "$LINENO"
7729 then :
7730 ac_cv_sys_file_offset_bits=64; break
7732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7733 ac_cv_sys_file_offset_bits=unknown
7734 break
7735 done
7737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7738 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7739 case $ac_cv_sys_file_offset_bits in #(
7740 no | unknown) ;;
7742 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7744 esac
7745 rm -rf conftest*
7746 if test $ac_cv_sys_file_offset_bits = unknown; then
7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7748 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7749 if test ${ac_cv_sys_large_files+y}
7750 then :
7751 printf %s "(cached) " >&6
7752 else $as_nop
7753 while :; do
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 #include <sys/types.h>
7757 /* Check that off_t can represent 2**63 - 1 correctly.
7758 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7759 since some C++ compilers masquerading as C compilers
7760 incorrectly reject 9223372036854775807. */
7761 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7762 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7763 && LARGE_OFF_T % 2147483647 == 1)
7764 ? 1 : -1];
7766 main (void)
7770 return 0;
7772 _ACEOF
7773 if ac_fn_c_try_compile "$LINENO"
7774 then :
7775 ac_cv_sys_large_files=no; break
7777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7779 /* end confdefs.h. */
7780 #define _LARGE_FILES 1
7781 #include <sys/types.h>
7782 /* Check that off_t can represent 2**63 - 1 correctly.
7783 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7784 since some C++ compilers masquerading as C compilers
7785 incorrectly reject 9223372036854775807. */
7786 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7787 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7788 && LARGE_OFF_T % 2147483647 == 1)
7789 ? 1 : -1];
7791 main (void)
7795 return 0;
7797 _ACEOF
7798 if ac_fn_c_try_compile "$LINENO"
7799 then :
7800 ac_cv_sys_large_files=1; break
7802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7803 ac_cv_sys_large_files=unknown
7804 break
7805 done
7807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7808 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7809 case $ac_cv_sys_large_files in #(
7810 no | unknown) ;;
7812 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7814 esac
7815 rm -rf conftest*
7820 ac_header= ac_cache=
7821 for ac_item in $ac_header_c_list
7823 if test $ac_cache; then
7824 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7825 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7826 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7828 ac_header= ac_cache=
7829 elif test $ac_header; then
7830 ac_cache=$ac_item
7831 else
7832 ac_header=$ac_item
7834 done
7843 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7844 then :
7846 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7849 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_CL_cl_h" = xyes
7851 then :
7852 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_EGL_egl_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_arpa_inet_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_asm_types_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_asm_user_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_elf_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_float_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_gettext_po_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_libproc_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_link_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_filter_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_input_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_major_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_param_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_serial_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_types_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_wireless_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_lwp_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_mach_mach_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_machine_cpu_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_mntent_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_netdb_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_netinet_in_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_port_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_pthread_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_pwd_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_sched_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_scsi_sg_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_stdint_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_attr_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_auxv_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_cdio_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_epoll_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_event_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_extattr_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_filio_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_ipc_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_link_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_modem_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_mtio_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_param_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_prctl_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_queue_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_random_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_resource_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_shm_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_signal_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_sockio_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_strtio_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_syscall_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_times_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_uio_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_user_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_utsname_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_vnode_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_xattr_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_syscall_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_utime_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8332 then :
8334 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8338 if test $ac_cv_header_sys_mkdev_h = no; then
8339 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8341 then :
8343 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8349 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8350 if test ${ac_cv_header_stat_broken+y}
8351 then :
8352 printf %s "(cached) " >&6
8353 else $as_nop
8354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8356 #include <sys/types.h>
8357 #include <sys/stat.h>
8359 #if defined S_ISBLK && defined S_IFDIR
8360 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8361 #endif
8363 #if defined S_ISBLK && defined S_IFCHR
8364 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8365 #endif
8367 #if defined S_ISLNK && defined S_IFREG
8368 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8369 #endif
8371 #if defined S_ISSOCK && defined S_IFREG
8372 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8373 #endif
8375 _ACEOF
8376 if ac_fn_c_try_compile "$LINENO"
8377 then :
8378 ac_cv_header_stat_broken=no
8379 else $as_nop
8380 ac_cv_header_stat_broken=yes
8382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8385 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8386 if test $ac_cv_header_stat_broken = yes; then
8388 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8394 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8395 #ifdef HAVE_SYS_PARAM_H
8396 # include <sys/param.h>
8397 #endif
8399 if test "x$ac_cv_header_sys_conf_h" = xyes
8400 then :
8401 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8404 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8405 #ifdef HAVE_SYS_PARAM_H
8406 # include <sys/param.h>
8407 #endif
8409 if test "x$ac_cv_header_sys_mount_h" = xyes
8410 then :
8411 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8414 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8415 #ifdef HAVE_SYS_PARAM_H
8416 # include <sys/param.h>
8417 #endif
8419 if test "x$ac_cv_header_sys_statfs_h" = xyes
8420 then :
8421 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8424 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8427 #endif
8429 if test "x$ac_cv_header_sys_user_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8435 #ifdef HAVE_SYS_PARAM_H
8436 # include <sys/param.h>
8437 #endif
8439 if test "x$ac_cv_header_sys_vfs_h" = xyes
8440 then :
8441 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8446 saved_sysctl_h_CFLAGS=$CFLAGS
8447 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8448 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8449 #ifdef HAVE_SYS_PARAM_H
8450 # include <sys/param.h>
8451 #endif
8453 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8454 then :
8455 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8459 CFLAGS=$saved_sysctl_h_CFLAGS
8461 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8462 #include <sys/socket.h>
8463 #ifdef HAVE_SYS_SOCKETVAR_H
8464 # include <sys/socketvar.h>
8465 #endif
8466 #ifdef HAVE_NET_ROUTE_H
8467 # include <net/route.h>
8468 #endif
8469 #ifdef HAVE_NETINET_IN_H
8470 # include <netinet/in.h>
8471 #endif
8472 #ifdef HAVE_NETINET_IN_SYSTM_H
8473 # include <netinet/in_systm.h>
8474 #endif
8475 #ifdef HAVE_NET_IF_H
8476 # include <net/if.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IP_H
8479 # include <netinet/ip.h>
8480 #endif
8482 if test "x$ac_cv_header_netinet_ip_h" = xyes
8483 then :
8484 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8487 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8488 #include <sys/socket.h>
8489 #ifdef HAVE_SYS_SOCKETVAR_H
8490 # include <sys/socketvar.h>
8491 #endif
8492 #ifdef HAVE_NET_ROUTE_H
8493 # include <net/route.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IN_H
8496 # include <netinet/in.h>
8497 #endif
8498 #ifdef HAVE_NETINET_IN_SYSTM_H
8499 # include <netinet/in_systm.h>
8500 #endif
8501 #ifdef HAVE_NET_IF_H
8502 # include <net/if.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IP_H
8505 # include <netinet/ip.h>
8506 #endif
8508 if test "x$ac_cv_header_net_if_h" = xyes
8509 then :
8510 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8513 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8514 #include <sys/socket.h>
8515 #ifdef HAVE_SYS_SOCKETVAR_H
8516 # include <sys/socketvar.h>
8517 #endif
8518 #ifdef HAVE_NET_ROUTE_H
8519 # include <net/route.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IN_H
8522 # include <netinet/in.h>
8523 #endif
8524 #ifdef HAVE_NETINET_IN_SYSTM_H
8525 # include <netinet/in_systm.h>
8526 #endif
8527 #ifdef HAVE_NET_IF_H
8528 # include <net/if.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IP_H
8531 # include <netinet/ip.h>
8532 #endif
8534 if test "x$ac_cv_header_net_if_arp_h" = xyes
8535 then :
8536 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8539 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8540 #include <sys/socket.h>
8541 #ifdef HAVE_SYS_SOCKETVAR_H
8542 # include <sys/socketvar.h>
8543 #endif
8544 #ifdef HAVE_NET_ROUTE_H
8545 # include <net/route.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IN_H
8548 # include <netinet/in.h>
8549 #endif
8550 #ifdef HAVE_NETINET_IN_SYSTM_H
8551 # include <netinet/in_systm.h>
8552 #endif
8553 #ifdef HAVE_NET_IF_H
8554 # include <net/if.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IP_H
8557 # include <netinet/ip.h>
8558 #endif
8560 if test "x$ac_cv_header_net_if_dl_h" = xyes
8561 then :
8562 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8565 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8566 #include <sys/socket.h>
8567 #ifdef HAVE_SYS_SOCKETVAR_H
8568 # include <sys/socketvar.h>
8569 #endif
8570 #ifdef HAVE_NET_ROUTE_H
8571 # include <net/route.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IN_H
8574 # include <netinet/in.h>
8575 #endif
8576 #ifdef HAVE_NETINET_IN_SYSTM_H
8577 # include <netinet/in_systm.h>
8578 #endif
8579 #ifdef HAVE_NET_IF_H
8580 # include <net/if.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IP_H
8583 # include <netinet/ip.h>
8584 #endif
8586 if test "x$ac_cv_header_net_if_types_h" = xyes
8587 then :
8588 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8591 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8592 #include <sys/socket.h>
8593 #ifdef HAVE_SYS_SOCKETVAR_H
8594 # include <sys/socketvar.h>
8595 #endif
8596 #ifdef HAVE_NET_ROUTE_H
8597 # include <net/route.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IN_H
8600 # include <netinet/in.h>
8601 #endif
8602 #ifdef HAVE_NETINET_IN_SYSTM_H
8603 # include <netinet/in_systm.h>
8604 #endif
8605 #ifdef HAVE_NET_IF_H
8606 # include <net/if.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IP_H
8609 # include <netinet/ip.h>
8610 #endif
8612 if test "x$ac_cv_header_net_route_h" = xyes
8613 then :
8614 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8617 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8618 #include <sys/socket.h>
8619 #ifdef HAVE_SYS_SOCKETVAR_H
8620 # include <sys/socketvar.h>
8621 #endif
8622 #ifdef HAVE_NET_ROUTE_H
8623 # include <net/route.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IN_H
8626 # include <netinet/in.h>
8627 #endif
8628 #ifdef HAVE_NETINET_IN_SYSTM_H
8629 # include <netinet/in_systm.h>
8630 #endif
8631 #ifdef HAVE_NET_IF_H
8632 # include <net/if.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IP_H
8635 # include <netinet/ip.h>
8636 #endif
8638 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8639 then :
8640 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8643 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8644 #include <sys/socket.h>
8645 #ifdef HAVE_SYS_SOCKETVAR_H
8646 # include <sys/socketvar.h>
8647 #endif
8648 #ifdef HAVE_NET_ROUTE_H
8649 # include <net/route.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IN_H
8652 # include <netinet/in.h>
8653 #endif
8654 #ifdef HAVE_NETINET_IN_SYSTM_H
8655 # include <netinet/in_systm.h>
8656 #endif
8657 #ifdef HAVE_NET_IF_H
8658 # include <net/if.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IP_H
8661 # include <netinet/ip.h>
8662 #endif
8664 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8665 then :
8666 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8669 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8670 #include <sys/socket.h>
8671 #ifdef HAVE_SYS_SOCKETVAR_H
8672 # include <sys/socketvar.h>
8673 #endif
8674 #ifdef HAVE_NET_ROUTE_H
8675 # include <net/route.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IN_H
8678 # include <netinet/in.h>
8679 #endif
8680 #ifdef HAVE_NETINET_IN_SYSTM_H
8681 # include <netinet/in_systm.h>
8682 #endif
8683 #ifdef HAVE_NET_IF_H
8684 # include <net/if.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IP_H
8687 # include <netinet/ip.h>
8688 #endif
8690 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8691 then :
8692 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8695 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8696 #include <sys/socket.h>
8697 #ifdef HAVE_SYS_SOCKETVAR_H
8698 # include <sys/socketvar.h>
8699 #endif
8700 #ifdef HAVE_NET_ROUTE_H
8701 # include <net/route.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IN_H
8704 # include <netinet/in.h>
8705 #endif
8706 #ifdef HAVE_NETINET_IN_SYSTM_H
8707 # include <netinet/in_systm.h>
8708 #endif
8709 #ifdef HAVE_NET_IF_H
8710 # include <net/if.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IP_H
8713 # include <netinet/ip.h>
8714 #endif
8716 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8717 then :
8718 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8721 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8722 #include <sys/socket.h>
8723 #ifdef HAVE_SYS_SOCKETVAR_H
8724 # include <sys/socketvar.h>
8725 #endif
8726 #ifdef HAVE_NET_ROUTE_H
8727 # include <net/route.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IN_H
8730 # include <netinet/in.h>
8731 #endif
8732 #ifdef HAVE_NETINET_IN_SYSTM_H
8733 # include <netinet/in_systm.h>
8734 #endif
8735 #ifdef HAVE_NET_IF_H
8736 # include <net/if.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IP_H
8739 # include <netinet/ip.h>
8740 #endif
8742 if test "x$ac_cv_header_netinet_udp_h" = xyes
8743 then :
8744 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8747 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8748 #include <sys/socket.h>
8749 #ifdef HAVE_SYS_SOCKETVAR_H
8750 # include <sys/socketvar.h>
8751 #endif
8752 #ifdef HAVE_NET_ROUTE_H
8753 # include <net/route.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IN_H
8756 # include <netinet/in.h>
8757 #endif
8758 #ifdef HAVE_NETINET_IN_SYSTM_H
8759 # include <netinet/in_systm.h>
8760 #endif
8761 #ifdef HAVE_NET_IF_H
8762 # include <net/if.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IP_H
8765 # include <netinet/ip.h>
8766 #endif
8768 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8769 then :
8770 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8773 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8774 #include <sys/socket.h>
8775 #ifdef HAVE_SYS_SOCKETVAR_H
8776 # include <sys/socketvar.h>
8777 #endif
8778 #ifdef HAVE_NET_ROUTE_H
8779 # include <net/route.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IN_H
8782 # include <netinet/in.h>
8783 #endif
8784 #ifdef HAVE_NETINET_IN_SYSTM_H
8785 # include <netinet/in_systm.h>
8786 #endif
8787 #ifdef HAVE_NET_IF_H
8788 # include <net/if.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IP_H
8791 # include <netinet/ip.h>
8792 #endif
8794 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8795 then :
8796 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8799 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8800 #include <sys/socket.h>
8801 #ifdef HAVE_SYS_SOCKETVAR_H
8802 # include <sys/socketvar.h>
8803 #endif
8804 #ifdef HAVE_NET_ROUTE_H
8805 # include <net/route.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IN_H
8808 # include <netinet/in.h>
8809 #endif
8810 #ifdef HAVE_NETINET_IN_SYSTM_H
8811 # include <netinet/in_systm.h>
8812 #endif
8813 #ifdef HAVE_NET_IF_H
8814 # include <net/if.h>
8815 #endif
8816 #ifdef HAVE_NETINET_IP_H
8817 # include <netinet/ip.h>
8818 #endif
8820 if test "x$ac_cv_header_sys_un_h" = xyes
8821 then :
8822 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8827 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8828 #include <sys/socket.h>
8829 #ifdef HAVE_SYS_SOCKETVAR_H
8830 # include <sys/socketvar.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_NETINET_IP_H
8839 # include <netinet/ip.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IP_VAR_H
8842 # include <netinet/ip_var.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IP_ICMP_H
8845 # include <netinet/ip_icmp.h>
8846 #endif
8847 #ifdef HAVE_NETINET_UDP_H
8848 # include <netinet/udp.h>
8849 #endif
8850 #ifdef HAVE_NETINET_TCP_H
8851 # include <netinet/tcp.h>
8852 #endif
8854 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8855 then :
8856 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8859 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8860 #include <sys/socket.h>
8861 #ifdef HAVE_SYS_SOCKETVAR_H
8862 # include <sys/socketvar.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IN_H
8865 # include <netinet/in.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IN_SYSTM_H
8868 # include <netinet/in_systm.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IP_H
8871 # include <netinet/ip.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IP_VAR_H
8874 # include <netinet/ip_var.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IP_ICMP_H
8877 # include <netinet/ip_icmp.h>
8878 #endif
8879 #ifdef HAVE_NETINET_UDP_H
8880 # include <netinet/udp.h>
8881 #endif
8882 #ifdef HAVE_NETINET_TCP_H
8883 # include <netinet/tcp.h>
8884 #endif
8886 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8887 then :
8888 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8891 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8892 #include <sys/socket.h>
8893 #ifdef HAVE_SYS_SOCKETVAR_H
8894 # include <sys/socketvar.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IN_H
8897 # include <netinet/in.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IN_SYSTM_H
8900 # include <netinet/in_systm.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IP_H
8903 # include <netinet/ip.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IP_VAR_H
8906 # include <netinet/ip_var.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IP_ICMP_H
8909 # include <netinet/ip_icmp.h>
8910 #endif
8911 #ifdef HAVE_NETINET_UDP_H
8912 # include <netinet/udp.h>
8913 #endif
8914 #ifdef HAVE_NETINET_TCP_H
8915 # include <netinet/tcp.h>
8916 #endif
8918 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8919 then :
8920 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8923 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8924 #include <sys/socket.h>
8925 #ifdef HAVE_SYS_SOCKETVAR_H
8926 # include <sys/socketvar.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IN_H
8929 # include <netinet/in.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IN_SYSTM_H
8932 # include <netinet/in_systm.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_H
8935 # include <netinet/ip.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IP_VAR_H
8938 # include <netinet/ip_var.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IP_ICMP_H
8941 # include <netinet/ip_icmp.h>
8942 #endif
8943 #ifdef HAVE_NETINET_UDP_H
8944 # include <netinet/udp.h>
8945 #endif
8946 #ifdef HAVE_NETINET_TCP_H
8947 # include <netinet/tcp.h>
8948 #endif
8950 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8951 then :
8952 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8957 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8958 #include <sys/socket.h>
8959 #ifdef HAVE_ASM_TYPES_H
8960 # include <asm/types.h>
8961 #endif
8962 #ifdef HAVE_LINUX_TYPES_H
8963 # include <linux/types.h>
8964 #endif
8966 if test "x$ac_cv_header_linux_ipx_h" = xyes
8967 then :
8968 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8971 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8972 #include <sys/socket.h>
8973 #ifdef HAVE_ASM_TYPES_H
8974 # include <asm/types.h>
8975 #endif
8976 #ifdef HAVE_LINUX_TYPES_H
8977 # include <linux/types.h>
8978 #endif
8980 if test "x$ac_cv_header_linux_irda_h" = xyes
8981 then :
8982 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8985 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8986 #include <sys/socket.h>
8987 #ifdef HAVE_ASM_TYPES_H
8988 # include <asm/types.h>
8989 #endif
8990 #ifdef HAVE_LINUX_TYPES_H
8991 # include <linux/types.h>
8992 #endif
8994 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8995 then :
8996 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9001 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9002 #include <sys/socket.h>
9003 #ifdef HAVE_NETINET_IN_H
9004 # include <netinet/in.h>
9005 #endif
9006 #ifdef HAVE_ARPA_NAMESER_H
9007 # include <arpa/nameser.h>
9008 #endif
9010 if test "x$ac_cv_header_resolv_h" = xyes
9011 then :
9012 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9019 if test "x$ac_cv_header_ifaddrs_h" = xyes
9020 then :
9021 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9026 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9028 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9029 then :
9030 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9036 #ifdef HAVE_SYS_UCONTEXT_H
9037 #include <sys/ucontext.h>
9038 #endif
9040 if test "x$ac_cv_header_sys_thr_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9048 #include <pthread.h>
9049 #endif
9051 if test "x$ac_cv_header_pthread_np_h" = xyes
9052 then :
9053 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9058 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9059 #include <sys/types.h>
9060 #ifdef HAVE_ASM_TYPES_H
9061 #include <asm/types.h>
9062 #endif
9064 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9065 then :
9066 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9071 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9072 #include <sys/param.h>
9073 #endif
9074 #include <sys/socket.h>
9075 #ifdef HAVE_SYS_QUEUE_H
9076 #include <sys/queue.h>
9077 #endif
9079 if test "x$ac_cv_header_libprocstat_h" = xyes
9080 then :
9081 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9086 if test "x$ac_cv_header_sys_xattr_h" = xyes
9087 then
9088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9089 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9090 if test ${wine_cv_xattr_extra_args+y}
9091 then :
9092 printf %s "(cached) " >&6
9093 else $as_nop
9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9096 #include <sys/xattr.h>
9098 main (void)
9100 getxattr("", "", "", 0, 0, 0);
9102 return 0;
9104 _ACEOF
9105 if ac_fn_c_try_compile "$LINENO"
9106 then :
9107 wine_cv_xattr_extra_args=yes
9108 else $as_nop
9109 wine_cv_xattr_extra_args=no
9111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9114 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9115 test $wine_cv_xattr_extra_args != yes ||
9116 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9121 DLLFLAGS=""
9123 LDDLLFLAGS=""
9125 LDEXECFLAGS=""
9127 EXTRACFLAGS=""
9129 UNIXDLLFLAGS="-fPIC"
9131 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9133 TOP_INSTALL_LIB=""
9135 TOP_INSTALL_DEV=""
9137 WINELOADER_LDFLAGS=""
9139 WINEPRELOADER_LDFLAGS=""
9141 DLLEXT=".so"
9143 LIBEXT="so"
9144 # Extract the first word of "ldd", so it can be a program name with args.
9145 set dummy ldd; ac_word=$2
9146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9147 printf %s "checking for $ac_word... " >&6; }
9148 if test ${ac_cv_path_LDD+y}
9149 then :
9150 printf %s "(cached) " >&6
9151 else $as_nop
9152 case $LDD in
9153 [\\/]* | ?:[\\/]*)
9154 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9158 as_dummy="/sbin:/usr/sbin:$PATH"
9159 for as_dir in $as_dummy
9161 IFS=$as_save_IFS
9162 case $as_dir in #(((
9163 '') as_dir=./ ;;
9164 */) ;;
9165 *) as_dir=$as_dir/ ;;
9166 esac
9167 for ac_exec_ext in '' $ac_executable_extensions; do
9168 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9169 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9171 break 2
9173 done
9174 done
9175 IFS=$as_save_IFS
9177 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9179 esac
9181 LDD=$ac_cv_path_LDD
9182 if test -n "$LDD"; then
9183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9184 printf "%s\n" "$LDD" >&6; }
9185 else
9186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9187 printf "%s\n" "no" >&6; }
9191 if test -n "$ac_tool_prefix"; then
9192 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9193 set dummy ${ac_tool_prefix}otool; ac_word=$2
9194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9195 printf %s "checking for $ac_word... " >&6; }
9196 if test ${ac_cv_prog_OTOOL+y}
9197 then :
9198 printf %s "(cached) " >&6
9199 else $as_nop
9200 if test -n "$OTOOL"; then
9201 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9202 else
9203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9204 for as_dir in $PATH
9206 IFS=$as_save_IFS
9207 case $as_dir in #(((
9208 '') as_dir=./ ;;
9209 */) ;;
9210 *) as_dir=$as_dir/ ;;
9211 esac
9212 for ac_exec_ext in '' $ac_executable_extensions; do
9213 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9214 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9216 break 2
9218 done
9219 done
9220 IFS=$as_save_IFS
9224 OTOOL=$ac_cv_prog_OTOOL
9225 if test -n "$OTOOL"; then
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9227 printf "%s\n" "$OTOOL" >&6; }
9228 else
9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230 printf "%s\n" "no" >&6; }
9235 if test -z "$ac_cv_prog_OTOOL"; then
9236 ac_ct_OTOOL=$OTOOL
9237 # Extract the first word of "otool", so it can be a program name with args.
9238 set dummy otool; ac_word=$2
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9240 printf %s "checking for $ac_word... " >&6; }
9241 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9242 then :
9243 printf %s "(cached) " >&6
9244 else $as_nop
9245 if test -n "$ac_ct_OTOOL"; then
9246 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9247 else
9248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9249 for as_dir in $PATH
9251 IFS=$as_save_IFS
9252 case $as_dir in #(((
9253 '') as_dir=./ ;;
9254 */) ;;
9255 *) as_dir=$as_dir/ ;;
9256 esac
9257 for ac_exec_ext in '' $ac_executable_extensions; do
9258 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9259 ac_cv_prog_ac_ct_OTOOL="otool"
9260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9261 break 2
9263 done
9264 done
9265 IFS=$as_save_IFS
9269 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9270 if test -n "$ac_ct_OTOOL"; then
9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9272 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9273 else
9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9275 printf "%s\n" "no" >&6; }
9278 if test "x$ac_ct_OTOOL" = x; then
9279 OTOOL="otool"
9280 else
9281 case $cross_compiling:$ac_tool_warned in
9282 yes:)
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9284 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9285 ac_tool_warned=yes ;;
9286 esac
9287 OTOOL=$ac_ct_OTOOL
9289 else
9290 OTOOL="$ac_cv_prog_OTOOL"
9293 if test -n "$ac_tool_prefix"; then
9294 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9295 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9297 printf %s "checking for $ac_word... " >&6; }
9298 if test ${ac_cv_prog_READELF+y}
9299 then :
9300 printf %s "(cached) " >&6
9301 else $as_nop
9302 if test -n "$READELF"; then
9303 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9304 else
9305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9306 for as_dir in $PATH
9308 IFS=$as_save_IFS
9309 case $as_dir in #(((
9310 '') as_dir=./ ;;
9311 */) ;;
9312 *) as_dir=$as_dir/ ;;
9313 esac
9314 for ac_exec_ext in '' $ac_executable_extensions; do
9315 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9316 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9318 break 2
9320 done
9321 done
9322 IFS=$as_save_IFS
9326 READELF=$ac_cv_prog_READELF
9327 if test -n "$READELF"; then
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9329 printf "%s\n" "$READELF" >&6; }
9330 else
9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9332 printf "%s\n" "no" >&6; }
9337 if test -z "$ac_cv_prog_READELF"; then
9338 ac_ct_READELF=$READELF
9339 # Extract the first word of "readelf", so it can be a program name with args.
9340 set dummy readelf; ac_word=$2
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9342 printf %s "checking for $ac_word... " >&6; }
9343 if test ${ac_cv_prog_ac_ct_READELF+y}
9344 then :
9345 printf %s "(cached) " >&6
9346 else $as_nop
9347 if test -n "$ac_ct_READELF"; then
9348 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9349 else
9350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9351 for as_dir in $PATH
9353 IFS=$as_save_IFS
9354 case $as_dir in #(((
9355 '') as_dir=./ ;;
9356 */) ;;
9357 *) as_dir=$as_dir/ ;;
9358 esac
9359 for ac_exec_ext in '' $ac_executable_extensions; do
9360 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9361 ac_cv_prog_ac_ct_READELF="readelf"
9362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9363 break 2
9365 done
9366 done
9367 IFS=$as_save_IFS
9371 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9372 if test -n "$ac_ct_READELF"; then
9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9374 printf "%s\n" "$ac_ct_READELF" >&6; }
9375 else
9376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9377 printf "%s\n" "no" >&6; }
9380 if test "x$ac_ct_READELF" = x; then
9381 READELF="true"
9382 else
9383 case $cross_compiling:$ac_tool_warned in
9384 yes:)
9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9386 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9387 ac_tool_warned=yes ;;
9388 esac
9389 READELF=$ac_ct_READELF
9391 else
9392 READELF="$ac_cv_prog_READELF"
9395 wine_rules="all:"
9396 SUBDIRS=""
9398 DISABLED_SUBDIRS=""
9400 CONFIGURE_TARGETS=""
9403 wine_fn_config_makefile ()
9405 as_fn_append SUBDIRS " \\$as_nl $1"
9406 eval enable=\$$2
9407 case "$enable" in
9408 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9409 *aarch64*|*arm*|*i386*|*x86_64*)
9410 if test -n "$PE_ARCHS"
9411 then
9412 for i in $PE_ARCHS
9414 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9415 done
9416 else
9417 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9418 fi;;
9419 esac
9422 wine_fn_config_symlink ()
9424 ac_links=$@
9425 as_fn_append wine_rules "
9426 $ac_links:
9427 @./config.status \$@"
9428 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9431 case $host_os in
9432 cygwin*|mingw32*)
9433 LIBEXT="dll"
9434 DLLEXT=""
9435 EXTRACFLAGS="-D__WINE_PE_BUILD"
9436 case $host_cpu in
9437 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9438 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9439 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9440 then :
9441 printf %s "(cached) " >&6
9442 else $as_nop
9443 ac_wine_try_cflags_saved=$CFLAGS
9444 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9447 int main(int argc, char **argv) { return 0; }
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"
9450 then :
9451 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9452 else $as_nop
9453 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9456 conftest$ac_exeext conftest.$ac_ext
9457 CFLAGS=$ac_wine_try_cflags_saved
9459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9460 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9461 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9462 then :
9463 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9464 fi ;;
9465 esac
9466 enable_loader=${enable_loader:-no}
9467 enable_server=${enable_server:-no}
9468 with_x=${with_x:-no}
9469 with_pthread=${with_pthread:-no}
9472 darwin*|macosx*)
9473 LIBEXT="dylib"
9474 DLLFLAGS="$DLLFLAGS -fPIC"
9475 LDDLLFLAGS="-fPIC"
9476 enable_winemac_drv=${enable_winemac_drv:-yes}
9477 CARBON_LIBS="-framework Carbon"
9479 COREFOUNDATION_LIBS="-framework CoreFoundation"
9481 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9483 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9485 METAL_LIBS="-framework Metal"
9487 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9489 CORESERVICES_LIBS="-framework CoreServices"
9491 APPKIT_LIBS="-framework AppKit"
9493 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9495 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9498 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9500 case $host_cpu in
9501 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9502 *) wine_can_build_preloader=no ;;
9503 esac
9505 if test "$wine_can_build_preloader" = "yes"
9506 then
9507 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"
9508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9509 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9510 if test ${ac_cv_cflags__Wl__no_pie+y}
9511 then :
9512 printf %s "(cached) " >&6
9513 else $as_nop
9514 ac_wine_try_cflags_saved=$CFLAGS
9515 CFLAGS="$CFLAGS -Wl,-no_pie"
9516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h. */
9518 int main(int argc, char **argv) { return 0; }
9519 _ACEOF
9520 if ac_fn_c_try_link "$LINENO"
9521 then :
9522 ac_cv_cflags__Wl__no_pie=yes
9523 else $as_nop
9524 ac_cv_cflags__Wl__no_pie=no
9526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9527 conftest$ac_exeext conftest.$ac_ext
9528 CFLAGS=$ac_wine_try_cflags_saved
9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9531 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9532 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9533 then :
9534 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9536 case $host_cpu in
9537 *i[3456]86*)
9538 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9540 *x86_64*)
9541 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9543 esac
9544 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9545 else
9546 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9549 if test "x$with_coreaudio" != "xno";
9550 then
9551 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9553 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9555 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9556 then
9557 OPENCL_LIBS="-framework OpenCL"
9559 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9563 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9564 ac_ext=m
9565 ac_cpp='$OBJCPP $CPPFLAGS'
9566 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9567 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9568 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9570 ac_ext=m
9571 ac_cpp='$OBJCPP $CPPFLAGS'
9572 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9573 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9574 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9575 if test -n "$ac_tool_prefix"; then
9576 for ac_prog in gcc objcc objc cc CC clang
9578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 printf %s "checking for $ac_word... " >&6; }
9582 if test ${ac_cv_prog_OBJC+y}
9583 then :
9584 printf %s "(cached) " >&6
9585 else $as_nop
9586 if test -n "$OBJC"; then
9587 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9588 else
9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9590 for as_dir in $PATH
9592 IFS=$as_save_IFS
9593 case $as_dir in #(((
9594 '') as_dir=./ ;;
9595 */) ;;
9596 *) as_dir=$as_dir/ ;;
9597 esac
9598 for ac_exec_ext in '' $ac_executable_extensions; do
9599 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9600 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9602 break 2
9604 done
9605 done
9606 IFS=$as_save_IFS
9610 OBJC=$ac_cv_prog_OBJC
9611 if test -n "$OBJC"; then
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9613 printf "%s\n" "$OBJC" >&6; }
9614 else
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 printf "%s\n" "no" >&6; }
9620 test -n "$OBJC" && break
9621 done
9623 if test -z "$OBJC"; then
9624 ac_ct_OBJC=$OBJC
9625 for ac_prog in gcc objcc objc cc CC clang
9627 # Extract the first word of "$ac_prog", so it can be a program name with args.
9628 set dummy $ac_prog; ac_word=$2
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9630 printf %s "checking for $ac_word... " >&6; }
9631 if test ${ac_cv_prog_ac_ct_OBJC+y}
9632 then :
9633 printf %s "(cached) " >&6
9634 else $as_nop
9635 if test -n "$ac_ct_OBJC"; then
9636 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9637 else
9638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639 for as_dir in $PATH
9641 IFS=$as_save_IFS
9642 case $as_dir in #(((
9643 '') as_dir=./ ;;
9644 */) ;;
9645 *) as_dir=$as_dir/ ;;
9646 esac
9647 for ac_exec_ext in '' $ac_executable_extensions; do
9648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9649 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9651 break 2
9653 done
9654 done
9655 IFS=$as_save_IFS
9659 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9660 if test -n "$ac_ct_OBJC"; then
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9662 printf "%s\n" "$ac_ct_OBJC" >&6; }
9663 else
9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9665 printf "%s\n" "no" >&6; }
9669 test -n "$ac_ct_OBJC" && break
9670 done
9672 if test "x$ac_ct_OBJC" = x; then
9673 OBJC="gcc"
9674 else
9675 case $cross_compiling:$ac_tool_warned in
9676 yes:)
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9678 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9679 ac_tool_warned=yes ;;
9680 esac
9681 OBJC=$ac_ct_OBJC
9685 # Provide some information about the compiler.
9686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9687 set X $ac_compile
9688 ac_compiler=$2
9689 for ac_option in --version -v -V -qversion; do
9690 { { ac_try="$ac_compiler $ac_option >&5"
9691 case "(($ac_try" in
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9694 esac
9695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9696 printf "%s\n" "$ac_try_echo"; } >&5
9697 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9698 ac_status=$?
9699 if test -s conftest.err; then
9700 sed '10a\
9701 ... rest of stderr output deleted ...
9702 10q' conftest.err >conftest.er1
9703 cat conftest.er1 >&5
9705 rm -f conftest.er1 conftest.err
9706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9707 test $ac_status = 0; }
9708 done
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9711 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9712 if test ${ac_cv_objc_compiler_gnu+y}
9713 then :
9714 printf %s "(cached) " >&6
9715 else $as_nop
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9720 main (void)
9722 #ifndef __GNUC__
9723 choke me
9724 #endif
9727 return 0;
9729 _ACEOF
9730 if ac_fn_objc_try_compile "$LINENO"
9731 then :
9732 ac_compiler_gnu=yes
9733 else $as_nop
9734 ac_compiler_gnu=no
9736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9737 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9741 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9742 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9744 if test $ac_compiler_gnu = yes; then
9745 GOBJC=yes
9746 else
9747 GOBJC=
9749 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9750 ac_save_OBJCFLAGS=$OBJCFLAGS
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9752 printf %s "checking whether $OBJC accepts -g... " >&6; }
9753 if test ${ac_cv_prog_objc_g+y}
9754 then :
9755 printf %s "(cached) " >&6
9756 else $as_nop
9757 ac_save_objc_werror_flag=$ac_objc_werror_flag
9758 ac_objc_werror_flag=yes
9759 ac_cv_prog_objc_g=no
9760 OBJCFLAGS="-g"
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9765 main (void)
9769 return 0;
9771 _ACEOF
9772 if ac_fn_objc_try_compile "$LINENO"
9773 then :
9774 ac_cv_prog_objc_g=yes
9775 else $as_nop
9776 OBJCFLAGS=""
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9781 main (void)
9785 return 0;
9787 _ACEOF
9788 if ac_fn_objc_try_compile "$LINENO"
9789 then :
9791 else $as_nop
9792 ac_objc_werror_flag=$ac_save_objc_werror_flag
9793 OBJCFLAGS="-g"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9798 main (void)
9802 return 0;
9804 _ACEOF
9805 if ac_fn_objc_try_compile "$LINENO"
9806 then :
9807 ac_cv_prog_objc_g=yes
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9814 ac_objc_werror_flag=$ac_save_objc_werror_flag
9816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9817 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9818 if test $ac_test_OBJCFLAGS; then
9819 OBJCFLAGS=$ac_save_OBJCFLAGS
9820 elif test $ac_cv_prog_objc_g = yes; then
9821 if test "$GOBJC" = yes; then
9822 OBJCFLAGS="-g -O2"
9823 else
9824 OBJCFLAGS="-g"
9826 else
9827 if test "$GOBJC" = yes; then
9828 OBJCFLAGS="-O2"
9829 else
9830 OBJCFLAGS=
9833 ac_ext=m
9834 ac_cpp='$OBJCPP $CPPFLAGS'
9835 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9836 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9837 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9842 #include <Metal/Metal.h>
9844 main (void)
9846 id<MTLDevice> device; device.registryID;
9848 return 0;
9850 _ACEOF
9851 if ac_fn_objc_try_compile "$LINENO"
9852 then :
9853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9854 printf "%s\n" "yes" >&6; }
9856 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9858 else $as_nop
9859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9860 printf "%s\n" "no" >&6; }
9862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9863 ac_ext=c
9864 ac_cpp='$CPP $CPPFLAGS'
9865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9870 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9871 WINELOADER_DEPENDS="wine_info.plist"
9875 linux-android*)
9877 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9879 DLLFLAGS="$DLLFLAGS -fPIC"
9880 LDDLLFLAGS="-fPIC"
9881 LDEXECFLAGS="-Wl,-pie"
9882 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9884 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9885 if test ${ac_cv_cflags__Wl__z_defs+y}
9886 then :
9887 printf %s "(cached) " >&6
9888 else $as_nop
9889 ac_wine_try_cflags_saved=$CFLAGS
9890 CFLAGS="$CFLAGS -Wl,-z,defs"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int main(int argc, char **argv) { return 0; }
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"
9896 then :
9897 ac_cv_cflags__Wl__z_defs=yes
9898 else $as_nop
9899 ac_cv_cflags__Wl__z_defs=no
9901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9902 conftest$ac_exeext conftest.$ac_ext
9903 CFLAGS=$ac_wine_try_cflags_saved
9905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9906 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9907 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9908 then :
9909 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9912 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9913 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9914 then :
9915 printf %s "(cached) " >&6
9916 else $as_nop
9917 ac_wine_try_cflags_saved=$CFLAGS
9918 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9921 int main(int argc, char **argv) { return 0; }
9922 _ACEOF
9923 if ac_fn_c_try_link "$LINENO"
9924 then :
9925 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9926 else $as_nop
9927 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9930 conftest$ac_exeext conftest.$ac_ext
9931 CFLAGS=$ac_wine_try_cflags_saved
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9934 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9935 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9936 then :
9937 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9939 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9942 printf %s "checking for -lEGL... " >&6; }
9943 if test ${ac_cv_lib_soname_EGL+y}
9944 then :
9945 printf %s "(cached) " >&6
9946 else $as_nop
9947 ac_check_soname_save_LIBS=$LIBS
9948 LIBS="-lEGL $LIBS"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9952 /* Override any GCC internal prototype to avoid an error.
9953 Use char because int might match the return type of a GCC
9954 builtin and then its argument prototype would still apply. */
9955 char eglGetProcAddress ();
9957 main (void)
9959 return eglGetProcAddress ();
9961 return 0;
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"
9965 then :
9966 case "$LIBEXT" in
9967 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9968 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'` ;;
9969 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9970 if ${ac_cv_lib_soname_EGL:+false} :
9971 then :
9972 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 fi ;;
9974 esac
9975 else $as_nop
9976 ac_cv_lib_soname_EGL=
9978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LIBS=$ac_check_soname_save_LIBS
9982 if ${ac_cv_lib_soname_EGL:+false} :
9983 then :
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9985 printf "%s\n" "not found" >&6; }
9987 else $as_nop
9988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9989 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9991 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9996 printf %s "checking for -lGLESv2... " >&6; }
9997 if test ${ac_cv_lib_soname_GLESv2+y}
9998 then :
9999 printf %s "(cached) " >&6
10000 else $as_nop
10001 ac_check_soname_save_LIBS=$LIBS
10002 LIBS="-lGLESv2 $LIBS"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10009 char glFlush ();
10011 main (void)
10013 return glFlush ();
10015 return 0;
10017 _ACEOF
10018 if ac_fn_c_try_link "$LINENO"
10019 then :
10020 case "$LIBEXT" in
10021 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10022 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'` ;;
10023 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10024 if ${ac_cv_lib_soname_GLESv2:+false} :
10025 then :
10026 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10027 fi ;;
10028 esac
10029 else $as_nop
10030 ac_cv_lib_soname_GLESv2=
10032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10033 conftest$ac_exeext conftest.$ac_ext
10034 LIBS=$ac_check_soname_save_LIBS
10036 if ${ac_cv_lib_soname_GLESv2:+false} :
10037 then :
10038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10039 printf "%s\n" "not found" >&6; }
10041 else $as_nop
10042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10043 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10045 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10050 if test "x$exec_prefix" = xNONE
10051 then
10052 case $host_cpu in
10053 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10054 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10055 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10056 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10057 esac
10063 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10065 test "$ac_cv_sys_file_offset_bits" = 64 &&
10066 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10068 case $host_cpu in
10069 *i[3456789]86*)
10070 DLLFLAGS="$DLLFLAGS -fno-PIC"
10071 LDDLLFLAGS="-fno-PIC"
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10073 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10074 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10075 then :
10076 printf %s "(cached) " >&6
10077 else $as_nop
10078 ac_wine_try_cflags_saved=$CFLAGS
10079 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10082 int main(int argc, char **argv) { return 0; }
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"
10085 then :
10086 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10087 else $as_nop
10088 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10091 conftest$ac_exeext conftest.$ac_ext
10092 CFLAGS=$ac_wine_try_cflags_saved
10094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10095 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10096 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10097 then :
10098 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10102 DLLFLAGS="$DLLFLAGS -fPIC"
10103 LDDLLFLAGS="-fPIC" ;;
10104 esac
10106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10107 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10108 if test ${ac_cv_wl_z_defs+y}
10109 then :
10110 printf %s "(cached) " >&6
10111 else $as_nop
10112 ac_save_CFLAGS="$CFLAGS"
10113 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"
10119 then :
10120 ac_cv_wl_z_defs=yes
10121 else $as_nop
10122 ac_cv_wl_z_defs=no
10124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10125 conftest$ac_exeext conftest.$ac_ext
10126 CFLAGS=$ac_save_cflags
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10129 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10130 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10133 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10134 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10135 then :
10136 printf %s "(cached) " >&6
10137 else $as_nop
10138 ac_wine_try_cflags_saved=$CFLAGS
10139 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 int main(int argc, char **argv) { return 0; }
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"
10145 then :
10146 ac_cv_cflags__Wl___export_dynamic=yes
10147 else $as_nop
10148 ac_cv_cflags__Wl___export_dynamic=no
10150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10155 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10156 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10157 then :
10158 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10160 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10162 case $host_os in
10163 linux*)
10164 as_fn_append WINELOADER_LDFLAGS " -pie"
10165 case $HOST_ARCH in
10166 i386|arm)
10167 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10170 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10171 if test ${ac_cv_cflags__static_pie+y}
10172 then :
10173 printf %s "(cached) " >&6
10174 else $as_nop
10175 ac_wine_try_cflags_saved=$CFLAGS
10176 CFLAGS="$CFLAGS -static-pie"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10179 int main(int argc, char **argv) { return 0; }
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"
10182 then :
10183 ac_cv_cflags__static_pie=yes
10184 else $as_nop
10185 ac_cv_cflags__static_pie=no
10187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10188 conftest$ac_exeext conftest.$ac_ext
10189 CFLAGS=$ac_wine_try_cflags_saved
10191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10192 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10193 if test "x$ac_cv_cflags__static_pie" = xyes
10194 then :
10195 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10196 else $as_nop
10197 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10200 esac
10203 case $HOST_ARCH in
10204 i386|arm)
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10206 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10207 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10208 then :
10209 printf %s "(cached) " >&6
10210 else $as_nop
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 int main(int argc, char **argv) { return 0; }
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"
10218 then :
10219 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10220 else $as_nop
10221 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10228 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10229 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10230 then :
10231 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10232 else $as_nop
10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10234 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10235 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10236 then :
10237 printf %s "(cached) " >&6
10238 else $as_nop
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10243 int main(int argc, char **argv) { return 0; }
10244 _ACEOF
10245 if ac_fn_c_try_link "$LINENO"
10246 then :
10247 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10248 else $as_nop
10249 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10252 conftest$ac_exeext conftest.$ac_ext
10253 CFLAGS=$ac_wine_try_cflags_saved
10255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10256 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10257 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10258 then :
10259 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10264 as_fn_append WINELOADER_LDFLAGS " -pie"
10266 esac
10268 esac
10270 esac
10272 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10273 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10274 enable_winemac_drv=${enable_winemac_drv:-no}
10276 PE_ARCHS=""
10278 cross_archs=
10279 if test ${enable_archs+y}
10280 then :
10281 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10282 ac_save_IFS=$IFS
10283 IFS=' ,'
10284 set x $enable_archs
10285 IFS=$ac_save_IFS
10286 shift
10287 for arch
10289 case $arch in
10290 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10291 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10292 esac
10293 done
10294 else $as_nop
10295 if test "x$with_mingw" != xno
10296 then
10297 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10301 for wine_arch in $cross_archs
10303 case "x$with_mingw" in
10304 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10305 esac
10306 if eval \${${wine_arch}_CC:+false} :
10307 then :
10308 case $wine_arch in
10309 aarch64)
10310 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10312 # Extract the first word of "$ac_prog", so it can be a program name with args.
10313 set dummy $ac_prog; ac_word=$2
10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10315 printf %s "checking for $ac_word... " >&6; }
10316 if test ${ac_cv_prog_aarch64_CC+y}
10317 then :
10318 printf %s "(cached) " >&6
10319 else $as_nop
10320 if test -n "$aarch64_CC"; then
10321 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10322 else
10323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10324 for as_dir in $PATH
10326 IFS=$as_save_IFS
10327 case $as_dir in #(((
10328 '') as_dir=./ ;;
10329 */) ;;
10330 *) as_dir=$as_dir/ ;;
10331 esac
10332 for ac_exec_ext in '' $ac_executable_extensions; do
10333 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10334 ac_cv_prog_aarch64_CC="$ac_prog"
10335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10336 break 2
10338 done
10339 done
10340 IFS=$as_save_IFS
10344 aarch64_CC=$ac_cv_prog_aarch64_CC
10345 if test -n "$aarch64_CC"; then
10346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10347 printf "%s\n" "$aarch64_CC" >&6; }
10348 else
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10350 printf "%s\n" "no" >&6; }
10354 test -n "$aarch64_CC" && break
10355 done
10356 test -n "$aarch64_CC" || aarch64_CC="false"
10359 arm)
10360 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10362 # Extract the first word of "$ac_prog", so it can be a program name with args.
10363 set dummy $ac_prog; ac_word=$2
10364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10365 printf %s "checking for $ac_word... " >&6; }
10366 if test ${ac_cv_prog_arm_CC+y}
10367 then :
10368 printf %s "(cached) " >&6
10369 else $as_nop
10370 if test -n "$arm_CC"; then
10371 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10372 else
10373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10374 for as_dir in $PATH
10376 IFS=$as_save_IFS
10377 case $as_dir in #(((
10378 '') as_dir=./ ;;
10379 */) ;;
10380 *) as_dir=$as_dir/ ;;
10381 esac
10382 for ac_exec_ext in '' $ac_executable_extensions; do
10383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10384 ac_cv_prog_arm_CC="$ac_prog"
10385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10386 break 2
10388 done
10389 done
10390 IFS=$as_save_IFS
10394 arm_CC=$ac_cv_prog_arm_CC
10395 if test -n "$arm_CC"; then
10396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10397 printf "%s\n" "$arm_CC" >&6; }
10398 else
10399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10400 printf "%s\n" "no" >&6; }
10404 test -n "$arm_CC" && break
10405 done
10406 test -n "$arm_CC" || arm_CC="false"
10409 i386)
10410 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 "
10411 for ac_prog in $ac_prefix_list clang
10413 # Extract the first word of "$ac_prog", so it can be a program name with args.
10414 set dummy $ac_prog; ac_word=$2
10415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10416 printf %s "checking for $ac_word... " >&6; }
10417 if test ${ac_cv_prog_i386_CC+y}
10418 then :
10419 printf %s "(cached) " >&6
10420 else $as_nop
10421 if test -n "$i386_CC"; then
10422 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10423 else
10424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10425 for as_dir in $PATH
10427 IFS=$as_save_IFS
10428 case $as_dir in #(((
10429 '') as_dir=./ ;;
10430 */) ;;
10431 *) as_dir=$as_dir/ ;;
10432 esac
10433 for ac_exec_ext in '' $ac_executable_extensions; do
10434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10435 ac_cv_prog_i386_CC="$ac_prog"
10436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10437 break 2
10439 done
10440 done
10441 IFS=$as_save_IFS
10445 i386_CC=$ac_cv_prog_i386_CC
10446 if test -n "$i386_CC"; then
10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10448 printf "%s\n" "$i386_CC" >&6; }
10449 else
10450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10451 printf "%s\n" "no" >&6; }
10455 test -n "$i386_CC" && break
10456 done
10457 test -n "$i386_CC" || i386_CC="false"
10460 x86_64)
10461 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10462 for ac_prog in $ac_prefix_list clang
10464 # Extract the first word of "$ac_prog", so it can be a program name with args.
10465 set dummy $ac_prog; ac_word=$2
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10467 printf %s "checking for $ac_word... " >&6; }
10468 if test ${ac_cv_prog_x86_64_CC+y}
10469 then :
10470 printf %s "(cached) " >&6
10471 else $as_nop
10472 if test -n "$x86_64_CC"; then
10473 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10474 else
10475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10476 for as_dir in $PATH
10478 IFS=$as_save_IFS
10479 case $as_dir in #(((
10480 '') as_dir=./ ;;
10481 */) ;;
10482 *) as_dir=$as_dir/ ;;
10483 esac
10484 for ac_exec_ext in '' $ac_executable_extensions; do
10485 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10486 ac_cv_prog_x86_64_CC="$ac_prog"
10487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10488 break 2
10490 done
10491 done
10492 IFS=$as_save_IFS
10496 x86_64_CC=$ac_cv_prog_x86_64_CC
10497 if test -n "$x86_64_CC"; then
10498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10499 printf "%s\n" "$x86_64_CC" >&6; }
10500 else
10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10502 printf "%s\n" "no" >&6; }
10506 test -n "$x86_64_CC" && break
10507 done
10508 test -n "$x86_64_CC" || x86_64_CC="false"
10511 esac
10514 saved_CC=$CC
10515 saved_CFLAGS=$CFLAGS
10516 saved_LDFLAGS=$LDFLAGS
10518 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10519 LDFLAGS=$CROSSLDFLAGS
10520 eval CC=\$${wine_arch}_CC
10521 eval ${wine_arch}_CFLAGS=\$CFLAGS
10522 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10523 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10525 target=""
10526 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10528 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10529 then :
10531 else $as_nop
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10533 printf %s "checking whether $CC works... " >&6; }
10534 if eval test \${$as_wine_cv_crosscc+y}
10535 then :
10536 printf %s "(cached) " >&6
10537 else $as_nop
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10542 main (void)
10546 return 0;
10548 _ACEOF
10549 if ac_fn_c_try_compile "$LINENO"
10550 then :
10551 eval "$as_wine_cv_crosscc=yes"
10552 else $as_nop
10553 eval "$as_wine_cv_crosscc=no"
10555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10557 eval ac_res=\$$as_wine_cv_crosscc
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10559 printf "%s\n" "$ac_res" >&6; }
10561 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10562 then :
10563 set x $CC
10564 shift
10565 while test $# -ge 1
10567 case "$1" in
10568 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10569 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10570 esac
10571 shift
10572 done
10574 llvm_target=$target
10575 if test -z "$llvm_target"
10576 then
10577 case $wine_arch in
10578 i386) llvm_target=i686-windows ;;
10579 arm) llvm_target=armv7-windows ;;
10580 *) llvm_target=$wine_arch-windows ;;
10581 esac
10583 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10584 case $llvm_target in
10585 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10586 esac
10587 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10589 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10590 if eval test \${$as_ac_var+y}
10591 then :
10592 printf %s "(cached) " >&6
10593 else $as_nop
10594 ac_wine_try_cflags_saved=$CFLAGS
10595 ac_wine_try_cflags_saved_exeext=$ac_exeext
10596 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10597 ac_exeext=".exe"
10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10600 int __cdecl mainCRTStartup(void) { return 0; }
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"
10603 then :
10604 eval "$as_ac_var=yes"
10605 else $as_nop
10606 eval "$as_ac_var=no"
10608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10609 conftest$ac_exeext conftest.$ac_ext
10610 CFLAGS=$ac_wine_try_cflags_saved
10611 ac_exeext=$ac_wine_try_cflags_saved_exeext
10613 eval ac_res=\$$as_ac_var
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10615 printf "%s\n" "$ac_res" >&6; }
10616 if eval test \"x\$"$as_ac_var"\" = x"yes"
10617 then :
10618 target=$llvm_target
10619 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10620 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10621 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10622 fi }
10623 eval "${wine_arch}_TARGET=\$target"
10627 if test -z "$target"
10628 then
10629 if test ${enable_archs+y}
10630 then :
10631 as_fn_error $? "MinGW $wine_arch compiler not found.
10632 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10634 CC=$saved_CC
10635 CFLAGS=$saved_CFLAGS
10636 LDFLAGS=$saved_LDFLAGS
10637 continue
10640 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10643 printf %s "checking for $CC option to enable C99 features... " >&6; }
10644 if eval test \${$as_wine_cv_crosscc_c99+y}
10645 then :
10646 printf %s "(cached) " >&6
10647 else $as_nop
10648 eval "$as_wine_cv_crosscc_c99=no"
10649 for arg in '' '-std=gnu99' '-D__STDC__'
10651 test -z "$arg" || CC="$CC $arg"
10652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10654 $ac_c_conftest_c99_program
10655 _ACEOF
10656 if ac_fn_c_try_compile "$LINENO"
10657 then :
10658 eval "$as_wine_cv_crosscc_c99=\$arg"
10659 else $as_nop
10660 eval "$as_wine_cv_crosscc_c99=no"
10662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10663 eval CC=\$${wine_arch}_CC
10664 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10665 then :
10667 else $as_nop
10668 break
10670 done
10673 eval res=\$$as_wine_cv_crosscc_c99
10675 case "x$res" in
10676 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10677 printf "%s\n" "none needed" >&6; } ;;
10678 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10679 printf "%s\n" "unsupported" >&6; }
10680 CC=$saved_CC
10681 CFLAGS=$saved_CFLAGS
10682 LDFLAGS=$saved_LDFLAGS
10683 if test ${enable_archs+y}
10684 then :
10685 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10686 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10688 continue
10690 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10691 printf "%s\n" "$res" >&6; }
10692 as_fn_append ${wine_arch}_CC " $res" ;;
10693 esac
10695 as_fn_append PE_ARCHS " $wine_arch"
10696 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10698 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10699 if eval test \${$as_ac_var+y}
10700 then :
10701 printf %s "(cached) " >&6
10702 else $as_nop
10703 ac_wine_try_cflags_saved=$CFLAGS
10704 ac_wine_try_cflags_saved_exeext=$ac_exeext
10705 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10706 ac_exeext=".exe"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10709 int __cdecl mainCRTStartup(void) { return 0; }
10710 _ACEOF
10711 if ac_fn_c_try_link "$LINENO"
10712 then :
10713 eval "$as_ac_var=yes"
10714 else $as_nop
10715 eval "$as_ac_var=no"
10717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10718 conftest$ac_exeext conftest.$ac_ext
10719 CFLAGS=$ac_wine_try_cflags_saved
10720 ac_exeext=$ac_wine_try_cflags_saved_exeext
10722 eval ac_res=\$$as_ac_var
10723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10724 printf "%s\n" "$ac_res" >&6; }
10725 if eval test \"x\$"$as_ac_var"\" = x"yes"
10726 then :
10727 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10728 fi }
10729 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10731 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10732 if eval test \${$as_ac_var+y}
10733 then :
10734 printf %s "(cached) " >&6
10735 else $as_nop
10736 ac_wine_try_cflags_saved=$CFLAGS
10737 ac_wine_try_cflags_saved_exeext=$ac_exeext
10738 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10739 ac_exeext=".exe"
10740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10742 int __cdecl mainCRTStartup(void) { return 0; }
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"
10745 then :
10746 eval "$as_ac_var=yes"
10747 else $as_nop
10748 eval "$as_ac_var=no"
10750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10751 conftest$ac_exeext conftest.$ac_ext
10752 CFLAGS=$ac_wine_try_cflags_saved
10753 ac_exeext=$ac_wine_try_cflags_saved_exeext
10755 eval ac_res=\$$as_ac_var
10756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10757 printf "%s\n" "$ac_res" >&6; }
10758 if eval test \"x\$"$as_ac_var"\" = x"yes"
10759 then :
10760 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10761 fi }
10762 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10764 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10765 if eval test \${$as_ac_var+y}
10766 then :
10767 printf %s "(cached) " >&6
10768 else $as_nop
10769 ac_wine_try_cflags_saved=$CFLAGS
10770 ac_wine_try_cflags_saved_exeext=$ac_exeext
10771 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10772 ac_exeext=".exe"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10775 int __cdecl mainCRTStartup(void) { return 0; }
10776 _ACEOF
10777 if ac_fn_c_try_link "$LINENO"
10778 then :
10779 eval "$as_ac_var=yes"
10780 else $as_nop
10781 eval "$as_ac_var=no"
10783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10784 conftest$ac_exeext conftest.$ac_ext
10785 CFLAGS=$ac_wine_try_cflags_saved
10786 ac_exeext=$ac_wine_try_cflags_saved_exeext
10788 eval ac_res=\$$as_ac_var
10789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10790 printf "%s\n" "$ac_res" >&6; }
10791 if eval test \"x\$"$as_ac_var"\" = x"yes"
10792 then :
10793 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10794 fi }
10795 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10797 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10798 if eval test \${$as_ac_var+y}
10799 then :
10800 printf %s "(cached) " >&6
10801 else $as_nop
10802 ac_wine_try_cflags_saved=$CFLAGS
10803 ac_wine_try_cflags_saved_exeext=$ac_exeext
10804 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10805 ac_exeext=".exe"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10808 int __cdecl mainCRTStartup(void) { return 0; }
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"
10811 then :
10812 eval "$as_ac_var=yes"
10813 else $as_nop
10814 eval "$as_ac_var=no"
10816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10817 conftest$ac_exeext conftest.$ac_ext
10818 CFLAGS=$ac_wine_try_cflags_saved
10819 ac_exeext=$ac_wine_try_cflags_saved_exeext
10821 eval ac_res=\$$as_ac_var
10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10823 printf "%s\n" "$ac_res" >&6; }
10824 if eval test \"x\$"$as_ac_var"\" = x"yes"
10825 then :
10826 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10827 fi }
10828 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10830 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10831 if eval test \${$as_ac_var+y}
10832 then :
10833 printf %s "(cached) " >&6
10834 else $as_nop
10835 ac_wine_try_cflags_saved=$CFLAGS
10836 ac_wine_try_cflags_saved_exeext=$ac_exeext
10837 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10838 ac_exeext=".exe"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10841 int __cdecl mainCRTStartup(void) { return 0; }
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"
10844 then :
10845 eval "$as_ac_var=yes"
10846 else $as_nop
10847 eval "$as_ac_var=no"
10849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10850 conftest$ac_exeext conftest.$ac_ext
10851 CFLAGS=$ac_wine_try_cflags_saved
10852 ac_exeext=$ac_wine_try_cflags_saved_exeext
10854 eval ac_res=\$$as_ac_var
10855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10856 printf "%s\n" "$ac_res" >&6; }
10857 if eval test \"x\$"$as_ac_var"\" = x"yes"
10858 then :
10859 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10860 fi }
10861 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10863 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10864 if eval test \${$as_ac_var+y}
10865 then :
10866 printf %s "(cached) " >&6
10867 else $as_nop
10868 ac_wine_try_cflags_saved=$CFLAGS
10869 ac_wine_try_cflags_saved_exeext=$ac_exeext
10870 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10871 ac_exeext=".exe"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10874 int __cdecl mainCRTStartup(void) { return 0; }
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"
10877 then :
10878 eval "$as_ac_var=yes"
10879 else $as_nop
10880 eval "$as_ac_var=no"
10882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10883 conftest$ac_exeext conftest.$ac_ext
10884 CFLAGS=$ac_wine_try_cflags_saved
10885 ac_exeext=$ac_wine_try_cflags_saved_exeext
10887 eval ac_res=\$$as_ac_var
10888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10889 printf "%s\n" "$ac_res" >&6; }
10890 if eval test \"x\$"$as_ac_var"\" = x"yes"
10891 then :
10892 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10893 fi }
10894 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10896 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10897 if eval test \${$as_ac_var+y}
10898 then :
10899 printf %s "(cached) " >&6
10900 else $as_nop
10901 ac_wine_try_cflags_saved=$CFLAGS
10902 ac_wine_try_cflags_saved_exeext=$ac_exeext
10903 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10904 ac_exeext=".exe"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10907 int __cdecl mainCRTStartup(void) { return 0; }
10908 _ACEOF
10909 if ac_fn_c_try_link "$LINENO"
10910 then :
10911 eval "$as_ac_var=yes"
10912 else $as_nop
10913 eval "$as_ac_var=no"
10915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10916 conftest$ac_exeext conftest.$ac_ext
10917 CFLAGS=$ac_wine_try_cflags_saved
10918 ac_exeext=$ac_wine_try_cflags_saved_exeext
10920 eval ac_res=\$$as_ac_var
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10922 printf "%s\n" "$ac_res" >&6; }
10923 if eval test \"x\$"$as_ac_var"\" = x"yes"
10924 then :
10925 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10926 fi }
10927 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10929 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10930 if eval test \${$as_ac_var+y}
10931 then :
10932 printf %s "(cached) " >&6
10933 else $as_nop
10934 ac_wine_try_cflags_saved=$CFLAGS
10935 ac_wine_try_cflags_saved_exeext=$ac_exeext
10936 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10937 ac_exeext=".exe"
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10940 int __cdecl mainCRTStartup(void) { return 0; }
10941 _ACEOF
10942 if ac_fn_c_try_link "$LINENO"
10943 then :
10944 eval "$as_ac_var=yes"
10945 else $as_nop
10946 eval "$as_ac_var=no"
10948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10949 conftest$ac_exeext conftest.$ac_ext
10950 CFLAGS=$ac_wine_try_cflags_saved
10951 ac_exeext=$ac_wine_try_cflags_saved_exeext
10953 eval ac_res=\$$as_ac_var
10954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10955 printf "%s\n" "$ac_res" >&6; }
10956 if eval test \"x\$"$as_ac_var"\" = x"yes"
10957 then :
10958 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10959 fi }
10960 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10962 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10963 if eval test \${$as_ac_var+y}
10964 then :
10965 printf %s "(cached) " >&6
10966 else $as_nop
10967 ac_wine_try_cflags_saved=$CFLAGS
10968 ac_wine_try_cflags_saved_exeext=$ac_exeext
10969 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10970 ac_exeext=".exe"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10973 int __cdecl mainCRTStartup(void) { return 0; }
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"
10976 then :
10977 eval "$as_ac_var=yes"
10978 else $as_nop
10979 eval "$as_ac_var=no"
10981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10982 conftest$ac_exeext conftest.$ac_ext
10983 CFLAGS=$ac_wine_try_cflags_saved
10984 ac_exeext=$ac_wine_try_cflags_saved_exeext
10986 eval ac_res=\$$as_ac_var
10987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10988 printf "%s\n" "$ac_res" >&6; }
10989 if eval test \"x\$"$as_ac_var"\" = x"yes"
10990 then :
10991 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10992 fi }
10993 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10995 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10996 if eval test \${$as_ac_var+y}
10997 then :
10998 printf %s "(cached) " >&6
10999 else $as_nop
11000 ac_wine_try_cflags_saved=$CFLAGS
11001 ac_wine_try_cflags_saved_exeext=$ac_exeext
11002 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11003 ac_exeext=".exe"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11006 int __cdecl mainCRTStartup(void) { return 0; }
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"
11009 then :
11010 eval "$as_ac_var=yes"
11011 else $as_nop
11012 eval "$as_ac_var=no"
11014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11015 conftest$ac_exeext conftest.$ac_ext
11016 CFLAGS=$ac_wine_try_cflags_saved
11017 ac_exeext=$ac_wine_try_cflags_saved_exeext
11019 eval ac_res=\$$as_ac_var
11020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11021 printf "%s\n" "$ac_res" >&6; }
11022 if eval test \"x\$"$as_ac_var"\" = x"yes"
11023 then :
11024 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11025 fi }
11026 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11028 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11029 if eval test \${$as_ac_var+y}
11030 then :
11031 printf %s "(cached) " >&6
11032 else $as_nop
11033 ac_wine_try_cflags_saved=$CFLAGS
11034 ac_wine_try_cflags_saved_exeext=$ac_exeext
11035 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11036 ac_exeext=".exe"
11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11039 int __cdecl mainCRTStartup(void) { return 0; }
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"
11042 then :
11043 eval "$as_ac_var=yes"
11044 else $as_nop
11045 eval "$as_ac_var=no"
11047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11048 conftest$ac_exeext conftest.$ac_ext
11049 CFLAGS=$ac_wine_try_cflags_saved
11050 ac_exeext=$ac_wine_try_cflags_saved_exeext
11052 eval ac_res=\$$as_ac_var
11053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11054 printf "%s\n" "$ac_res" >&6; }
11055 if eval test \"x\$"$as_ac_var"\" = x"yes"
11056 then :
11057 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11058 fi }
11059 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11061 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11062 if eval test \${$as_ac_var+y}
11063 then :
11064 printf %s "(cached) " >&6
11065 else $as_nop
11066 ac_wine_try_cflags_saved=$CFLAGS
11067 ac_wine_try_cflags_saved_exeext=$ac_exeext
11068 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11069 ac_exeext=".exe"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11072 int __cdecl mainCRTStartup(void) { return 0; }
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"
11075 then :
11076 eval "$as_ac_var=yes"
11077 else $as_nop
11078 eval "$as_ac_var=no"
11080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11081 conftest$ac_exeext conftest.$ac_ext
11082 CFLAGS=$ac_wine_try_cflags_saved
11083 ac_exeext=$ac_wine_try_cflags_saved_exeext
11085 eval ac_res=\$$as_ac_var
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11087 printf "%s\n" "$ac_res" >&6; }
11088 if eval test \"x\$"$as_ac_var"\" = x"yes"
11089 then :
11090 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11091 fi }
11092 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11094 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11095 if eval test \${$as_ac_var+y}
11096 then :
11097 printf %s "(cached) " >&6
11098 else $as_nop
11099 ac_wine_try_cflags_saved=$CFLAGS
11100 ac_wine_try_cflags_saved_exeext=$ac_exeext
11101 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11102 ac_exeext=".exe"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11105 int __cdecl mainCRTStartup(void) { return 0; }
11106 _ACEOF
11107 if ac_fn_c_try_link "$LINENO"
11108 then :
11109 eval "$as_ac_var=yes"
11110 else $as_nop
11111 eval "$as_ac_var=no"
11113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11114 conftest$ac_exeext conftest.$ac_ext
11115 CFLAGS=$ac_wine_try_cflags_saved
11116 ac_exeext=$ac_wine_try_cflags_saved_exeext
11118 eval ac_res=\$$as_ac_var
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11120 printf "%s\n" "$ac_res" >&6; }
11121 if eval test \"x\$"$as_ac_var"\" = x"yes"
11122 then :
11123 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11124 fi }
11125 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11127 printf %s "checking whether $CC supports -Wvla... " >&6; }
11128 if eval test \${$as_ac_var+y}
11129 then :
11130 printf %s "(cached) " >&6
11131 else $as_nop
11132 ac_wine_try_cflags_saved=$CFLAGS
11133 ac_wine_try_cflags_saved_exeext=$ac_exeext
11134 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11135 ac_exeext=".exe"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11138 int __cdecl mainCRTStartup(void) { return 0; }
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"
11141 then :
11142 eval "$as_ac_var=yes"
11143 else $as_nop
11144 eval "$as_ac_var=no"
11146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11147 conftest$ac_exeext conftest.$ac_ext
11148 CFLAGS=$ac_wine_try_cflags_saved
11149 ac_exeext=$ac_wine_try_cflags_saved_exeext
11151 eval ac_res=\$$as_ac_var
11152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11153 printf "%s\n" "$ac_res" >&6; }
11154 if eval test \"x\$"$as_ac_var"\" = x"yes"
11155 then :
11156 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11157 fi }
11158 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11160 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11161 if eval test \${$as_ac_var+y}
11162 then :
11163 printf %s "(cached) " >&6
11164 else $as_nop
11165 ac_wine_try_cflags_saved=$CFLAGS
11166 ac_wine_try_cflags_saved_exeext=$ac_exeext
11167 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11168 ac_exeext=".exe"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11171 int __cdecl mainCRTStartup(void) { return 0; }
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"
11174 then :
11175 eval "$as_ac_var=yes"
11176 else $as_nop
11177 eval "$as_ac_var=no"
11179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11180 conftest$ac_exeext conftest.$ac_ext
11181 CFLAGS=$ac_wine_try_cflags_saved
11182 ac_exeext=$ac_wine_try_cflags_saved_exeext
11184 eval ac_res=\$$as_ac_var
11185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11186 printf "%s\n" "$ac_res" >&6; }
11187 if eval test \"x\$"$as_ac_var"\" = x"yes"
11188 then :
11189 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11190 fi }
11191 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11193 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11194 if eval test \${$as_ac_var+y}
11195 then :
11196 printf %s "(cached) " >&6
11197 else $as_nop
11198 ac_wine_try_cflags_saved=$CFLAGS
11199 ac_wine_try_cflags_saved_exeext=$ac_exeext
11200 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11201 ac_exeext=".exe"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11204 int __cdecl mainCRTStartup(void) { return 0; }
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"
11207 then :
11208 eval "$as_ac_var=yes"
11209 else $as_nop
11210 eval "$as_ac_var=no"
11212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11213 conftest$ac_exeext conftest.$ac_ext
11214 CFLAGS=$ac_wine_try_cflags_saved
11215 ac_exeext=$ac_wine_try_cflags_saved_exeext
11217 eval ac_res=\$$as_ac_var
11218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11219 printf "%s\n" "$ac_res" >&6; }
11220 if eval test \"x\$"$as_ac_var"\" = x"yes"
11221 then :
11222 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11223 fi }
11224 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11226 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11227 if eval test \${$as_ac_var+y}
11228 then :
11229 printf %s "(cached) " >&6
11230 else $as_nop
11231 ac_wine_try_cflags_saved=$CFLAGS
11232 ac_wine_try_cflags_saved_exeext=$ac_exeext
11233 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11234 ac_exeext=".exe"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237 int __cdecl mainCRTStartup(void) { return 0; }
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"
11240 then :
11241 eval "$as_ac_var=yes"
11242 else $as_nop
11243 eval "$as_ac_var=no"
11245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11246 conftest$ac_exeext conftest.$ac_ext
11247 CFLAGS=$ac_wine_try_cflags_saved
11248 ac_exeext=$ac_wine_try_cflags_saved_exeext
11250 eval ac_res=\$$as_ac_var
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11252 printf "%s\n" "$ac_res" >&6; }
11253 if eval test \"x\$"$as_ac_var"\" = x"yes"
11254 then :
11255 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11256 fi }
11257 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11259 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11260 if eval test \${$as_ac_var+y}
11261 then :
11262 printf %s "(cached) " >&6
11263 else $as_nop
11264 ac_wine_try_cflags_saved=$CFLAGS
11265 ac_wine_try_cflags_saved_exeext=$ac_exeext
11266 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11267 ac_exeext=".exe"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11270 int __cdecl mainCRTStartup(void) { return 0; }
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"
11273 then :
11274 eval "$as_ac_var=yes"
11275 else $as_nop
11276 eval "$as_ac_var=no"
11278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11279 conftest$ac_exeext conftest.$ac_ext
11280 CFLAGS=$ac_wine_try_cflags_saved
11281 ac_exeext=$ac_wine_try_cflags_saved_exeext
11283 eval ac_res=\$$as_ac_var
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11285 printf "%s\n" "$ac_res" >&6; }
11286 if eval test \"x\$"$as_ac_var"\" = x"yes"
11287 then :
11288 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11289 fi }
11291 case $wine_arch in
11292 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11294 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11295 if eval test \${$as_ac_var+y}
11296 then :
11297 printf %s "(cached) " >&6
11298 else $as_nop
11299 ac_wine_try_cflags_saved=$CFLAGS
11300 ac_wine_try_cflags_saved_exeext=$ac_exeext
11301 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11302 ac_exeext=".exe"
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11305 int __cdecl mainCRTStartup(void) { return 0; }
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"
11308 then :
11309 eval "$as_ac_var=yes"
11310 else $as_nop
11311 eval "$as_ac_var=no"
11313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11314 conftest$ac_exeext conftest.$ac_ext
11315 CFLAGS=$ac_wine_try_cflags_saved
11316 ac_exeext=$ac_wine_try_cflags_saved_exeext
11318 eval ac_res=\$$as_ac_var
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11320 printf "%s\n" "$ac_res" >&6; }
11321 if eval test \"x\$"$as_ac_var"\" = x"yes"
11322 then :
11323 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11324 fi }
11325 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11327 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11328 if eval test \${$as_ac_var+y}
11329 then :
11330 printf %s "(cached) " >&6
11331 else $as_nop
11332 ac_wine_try_cflags_saved=$CFLAGS
11333 ac_wine_try_cflags_saved_exeext=$ac_exeext
11334 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11335 ac_exeext=".exe"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 int __cdecl mainCRTStartup(void) { return 0; }
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"
11341 then :
11342 eval "$as_ac_var=yes"
11343 else $as_nop
11344 eval "$as_ac_var=no"
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 ac_exeext=$ac_wine_try_cflags_saved_exeext
11351 eval ac_res=\$$as_ac_var
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11353 printf "%s\n" "$ac_res" >&6; }
11354 if eval test \"x\$"$as_ac_var"\" = x"yes"
11355 then :
11356 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11357 fi } ;;
11358 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11360 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11361 if eval test \${$as_ac_var+y}
11362 then :
11363 printf %s "(cached) " >&6
11364 else $as_nop
11365 ac_wine_try_cflags_saved=$CFLAGS
11366 ac_wine_try_cflags_saved_exeext=$ac_exeext
11367 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11368 ac_exeext=".exe"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11371 int __cdecl mainCRTStartup(void) { return 0; }
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"
11374 then :
11375 eval "$as_ac_var=yes"
11376 else $as_nop
11377 eval "$as_ac_var=no"
11379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11380 conftest$ac_exeext conftest.$ac_ext
11381 CFLAGS=$ac_wine_try_cflags_saved
11382 ac_exeext=$ac_wine_try_cflags_saved_exeext
11384 eval ac_res=\$$as_ac_var
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11386 printf "%s\n" "$ac_res" >&6; }
11387 if eval test \"x\$"$as_ac_var"\" = x"yes"
11388 then :
11389 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11390 fi }
11391 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11393 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11394 if eval test \${$as_ac_var+y}
11395 then :
11396 printf %s "(cached) " >&6
11397 else $as_nop
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_exeext=$ac_exeext
11400 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11401 ac_exeext=".exe"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11404 int __cdecl mainCRTStartup(void) { return 0; }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"
11407 then :
11408 eval "$as_ac_var=yes"
11409 else $as_nop
11410 eval "$as_ac_var=no"
11412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11413 conftest$ac_exeext conftest.$ac_ext
11414 CFLAGS=$ac_wine_try_cflags_saved
11415 ac_exeext=$ac_wine_try_cflags_saved_exeext
11417 eval ac_res=\$$as_ac_var
11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11419 printf "%s\n" "$ac_res" >&6; }
11420 if eval test \"x\$"$as_ac_var"\" = x"yes"
11421 then :
11422 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11423 fi }
11424 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11426 printf %s "checking whether $CC supports -mcx16... " >&6; }
11427 if eval test \${$as_ac_var+y}
11428 then :
11429 printf %s "(cached) " >&6
11430 else $as_nop
11431 ac_wine_try_cflags_saved=$CFLAGS
11432 ac_wine_try_cflags_saved_exeext=$ac_exeext
11433 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11434 ac_exeext=".exe"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11437 int __cdecl mainCRTStartup(void) { return 0; }
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"
11440 then :
11441 eval "$as_ac_var=yes"
11442 else $as_nop
11443 eval "$as_ac_var=no"
11445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11446 conftest$ac_exeext conftest.$ac_ext
11447 CFLAGS=$ac_wine_try_cflags_saved
11448 ac_exeext=$ac_wine_try_cflags_saved_exeext
11450 eval ac_res=\$$as_ac_var
11451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11452 printf "%s\n" "$ac_res" >&6; }
11453 if eval test \"x\$"$as_ac_var"\" = x"yes"
11454 then :
11455 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11456 fi }
11457 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11459 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11460 if eval test \${$as_ac_var+y}
11461 then :
11462 printf %s "(cached) " >&6
11463 else $as_nop
11464 ac_wine_try_cflags_saved=$CFLAGS
11465 ac_wine_try_cflags_saved_exeext=$ac_exeext
11466 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11467 ac_exeext=".exe"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11470 int __cdecl mainCRTStartup(void) { return 0; }
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"
11473 then :
11474 eval "$as_ac_var=yes"
11475 else $as_nop
11476 eval "$as_ac_var=no"
11478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11479 conftest$ac_exeext conftest.$ac_ext
11480 CFLAGS=$ac_wine_try_cflags_saved
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 eval ac_res=\$$as_ac_var
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11485 printf "%s\n" "$ac_res" >&6; }
11486 if eval test \"x\$"$as_ac_var"\" = x"yes"
11487 then :
11488 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11489 fi } ;;
11490 esac
11492 wine_crossdebug=$CROSSDEBUG
11493 if test -z "$wine_crossdebug"
11494 then
11495 for ac_flag in $CFLAGS; do
11496 case $ac_flag in
11497 -gdwarf*) wine_crossdebug=dwarf ;;
11498 -gcodeview) wine_crossdebug=pdb ;;
11499 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11500 esac
11501 done
11504 ac_debug_format_seen=""
11505 for ac_flag in $CFLAGS; do
11506 case $ac_flag in
11507 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11508 esac
11509 done
11510 if test "x$ac_debug_format_seen" = x
11511 then
11512 case $wine_crossdebug in
11513 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11515 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11516 if eval test \${$as_ac_var+y}
11517 then :
11518 printf %s "(cached) " >&6
11519 else $as_nop
11520 ac_wine_try_cflags_saved=$CFLAGS
11521 ac_wine_try_cflags_saved_exeext=$ac_exeext
11522 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11523 ac_exeext=".exe"
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11526 int __cdecl mainCRTStartup(void) { return 0; }
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"
11529 then :
11530 eval "$as_ac_var=yes"
11531 else $as_nop
11532 eval "$as_ac_var=no"
11534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11535 conftest$ac_exeext conftest.$ac_ext
11536 CFLAGS=$ac_wine_try_cflags_saved
11537 ac_exeext=$ac_wine_try_cflags_saved_exeext
11539 eval ac_res=\$$as_ac_var
11540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11541 printf "%s\n" "$ac_res" >&6; }
11542 if eval test \"x\$"$as_ac_var"\" = x"yes"
11543 then :
11544 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11545 fi } ;;
11546 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11548 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11549 if eval test \${$as_ac_var+y}
11550 then :
11551 printf %s "(cached) " >&6
11552 else $as_nop
11553 ac_wine_try_cflags_saved=$CFLAGS
11554 ac_wine_try_cflags_saved_exeext=$ac_exeext
11555 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11556 ac_exeext=".exe"
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11559 int __cdecl mainCRTStartup(void) { return 0; }
11560 _ACEOF
11561 if ac_fn_c_try_link "$LINENO"
11562 then :
11563 eval "$as_ac_var=yes"
11564 else $as_nop
11565 eval "$as_ac_var=no"
11567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11568 conftest$ac_exeext conftest.$ac_ext
11569 CFLAGS=$ac_wine_try_cflags_saved
11570 ac_exeext=$ac_wine_try_cflags_saved_exeext
11572 eval ac_res=\$$as_ac_var
11573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11574 printf "%s\n" "$ac_res" >&6; }
11575 if eval test \"x\$"$as_ac_var"\" = x"yes"
11576 then :
11577 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11578 fi } ;;
11579 esac
11581 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11583 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11585 printf %s "checking whether $CC supports -Werror... " >&6; }
11586 if eval test \${$as_ac_var+y}
11587 then :
11588 printf %s "(cached) " >&6
11589 else $as_nop
11590 ac_wine_try_cflags_saved=$CFLAGS
11591 ac_wine_try_cflags_saved_exeext=$ac_exeext
11592 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11593 ac_exeext=".exe"
11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h. */
11596 int __cdecl mainCRTStartup(void) { return 0; }
11597 _ACEOF
11598 if ac_fn_c_try_link "$LINENO"
11599 then :
11600 eval "$as_ac_var=yes"
11601 else $as_nop
11602 eval "$as_ac_var=no"
11604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11605 conftest$ac_exeext conftest.$ac_ext
11606 CFLAGS=$ac_wine_try_cflags_saved
11607 ac_exeext=$ac_wine_try_cflags_saved_exeext
11609 eval ac_res=\$$as_ac_var
11610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11611 printf "%s\n" "$ac_res" >&6; }
11612 if eval test \"x\$"$as_ac_var"\" = x"yes"
11613 then :
11614 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11615 fi }
11616 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11618 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11619 if eval test \${$as_ac_var+y}
11620 then :
11621 printf %s "(cached) " >&6
11622 else $as_nop
11623 ac_wine_try_cflags_saved=$CFLAGS
11624 ac_wine_try_cflags_saved_exeext=$ac_exeext
11625 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11626 ac_exeext=".exe"
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11629 int __cdecl mainCRTStartup(void) { return 0; }
11630 _ACEOF
11631 if ac_fn_c_try_link "$LINENO"
11632 then :
11633 eval "$as_ac_var=yes"
11634 else $as_nop
11635 eval "$as_ac_var=no"
11637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11638 conftest$ac_exeext conftest.$ac_ext
11639 CFLAGS=$ac_wine_try_cflags_saved
11640 ac_exeext=$ac_wine_try_cflags_saved_exeext
11642 eval ac_res=\$$as_ac_var
11643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11644 printf "%s\n" "$ac_res" >&6; }
11645 if eval test \"x\$"$as_ac_var"\" = x"yes"
11646 then :
11647 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11648 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11649 fi }
11651 CC=$saved_CC
11652 CFLAGS=$saved_CFLAGS
11653 LDFLAGS=$saved_LDFLAGS
11654 done
11656 if test $HOST_ARCH = aarch64
11657 then
11658 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
11659 DLLEXT=""
11663 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11664 then
11665 case "$host_cpu" in
11666 i[3456789]86*)
11667 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11669 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11670 esac
11671 for ac_prog in $ac_prefix_list
11673 # Extract the first word of "$ac_prog", so it can be a program name with args.
11674 set dummy $ac_prog; ac_word=$2
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 printf %s "checking for $ac_word... " >&6; }
11677 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11678 then :
11679 printf %s "(cached) " >&6
11680 else $as_nop
11681 if test -n "$MINGW_PKG_CONFIG"; then
11682 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11683 else
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11687 IFS=$as_save_IFS
11688 case $as_dir in #(((
11689 '') as_dir=./ ;;
11690 */) ;;
11691 *) as_dir=$as_dir/ ;;
11692 esac
11693 for ac_exec_ext in '' $ac_executable_extensions; do
11694 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11695 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11697 break 2
11699 done
11700 done
11701 IFS=$as_save_IFS
11705 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11706 if test -n "$MINGW_PKG_CONFIG"; then
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11708 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11709 else
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 printf "%s\n" "no" >&6; }
11715 test -n "$MINGW_PKG_CONFIG" && break
11716 done
11717 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11719 if ${FAUDIO_PE_CFLAGS:+false} :
11720 then :
11721 if test ${MINGW_PKG_CONFIG+y}
11722 then :
11723 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11726 if ${FAUDIO_PE_LIBS:+false} :
11727 then :
11728 if test ${MINGW_PKG_CONFIG+y}
11729 then :
11730 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11733 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11734 ac_save_CPPFLAGS=$CPPFLAGS
11735 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11737 printf %s "checking for MinGW FAudio.h... " >&6; }
11738 if test ${ac_cv_mingw_header_FAudio_h+y}
11739 then :
11740 printf %s "(cached) " >&6
11741 else $as_nop
11742 ac_wine_check_headers_saved_cc=$CC
11743 ac_wine_check_headers_saved_exeext=$ac_exeext
11744 eval CC=\$${wine_arch}_CC
11745 ac_exeext=".exe"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 #include <FAudio.h>
11751 main (void)
11755 return 0;
11757 _ACEOF
11758 if ac_fn_c_try_compile "$LINENO"
11759 then :
11760 ac_cv_mingw_header_FAudio_h=yes
11761 else $as_nop
11762 ac_cv_mingw_header_FAudio_h=no
11764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11765 CC=$ac_wine_check_headers_saved_cc
11766 ac_exeext=$ac_wine_check_headers_saved_exeext
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11769 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11770 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11771 then :
11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11773 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11774 if test ${ac_cv_mingw_lib_FAudio+y}
11775 then :
11776 printf %s "(cached) " >&6
11777 else $as_nop
11778 ac_wine_check_headers_saved_cc=$CC
11779 ac_wine_check_headers_saved_exeext=$ac_exeext
11780 ac_wine_check_headers_saved_libs=$LIBS
11781 eval CC=\$${wine_arch}_CC
11782 ac_exeext=".exe"
11783 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11790 char FAudio_CommitOperationSet ();
11792 main (void)
11794 return FAudio_CommitOperationSet ();
11796 return 0;
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"
11800 then :
11801 ac_cv_mingw_lib_FAudio=yes
11802 else $as_nop
11803 ac_cv_mingw_lib_FAudio=no
11805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11806 conftest$ac_exeext conftest.$ac_ext
11807 CC=$ac_wine_check_headers_saved_cc
11808 ac_exeext=$ac_wine_check_headers_saved_exeext
11809 LIBS=$ac_wine_check_headers_saved_libs
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11812 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11813 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11814 then :
11816 else $as_nop
11817 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11819 else $as_nop
11820 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11822 CPPFLAGS=$ac_save_CPPFLAGS
11824 if test "x$FAUDIO_PE_LIBS" = "x"
11825 then
11826 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11829 if ${JPEG_PE_CFLAGS:+false} :
11830 then :
11831 if test ${MINGW_PKG_CONFIG+y}
11832 then :
11833 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11836 if ${JPEG_PE_LIBS:+false} :
11837 then :
11838 if test ${MINGW_PKG_CONFIG+y}
11839 then :
11840 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11844 ac_save_CPPFLAGS=$CPPFLAGS
11845 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11847 printf %s "checking for MinGW jpeglib.h... " >&6; }
11848 if test ${ac_cv_mingw_header_jpeglib_h+y}
11849 then :
11850 printf %s "(cached) " >&6
11851 else $as_nop
11852 ac_wine_check_headers_saved_cc=$CC
11853 ac_wine_check_headers_saved_exeext=$ac_exeext
11854 eval CC=\$${wine_arch}_CC
11855 ac_exeext=".exe"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #include <stddef.h>
11859 #include <stdio.h>
11860 #include <jpeglib.h>
11862 main (void)
11866 return 0;
11868 _ACEOF
11869 if ac_fn_c_try_compile "$LINENO"
11870 then :
11871 ac_cv_mingw_header_jpeglib_h=yes
11872 else $as_nop
11873 ac_cv_mingw_header_jpeglib_h=no
11875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11876 CC=$ac_wine_check_headers_saved_cc
11877 ac_exeext=$ac_wine_check_headers_saved_exeext
11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11880 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11881 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11882 then :
11883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11884 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11885 if test ${ac_cv_mingw_lib_jpeg+y}
11886 then :
11887 printf %s "(cached) " >&6
11888 else $as_nop
11889 ac_wine_check_headers_saved_cc=$CC
11890 ac_wine_check_headers_saved_exeext=$ac_exeext
11891 ac_wine_check_headers_saved_libs=$LIBS
11892 eval CC=\$${wine_arch}_CC
11893 ac_exeext=".exe"
11894 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 char jpeg_start_decompress ();
11903 main (void)
11905 return jpeg_start_decompress ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"
11911 then :
11912 ac_cv_mingw_lib_jpeg=yes
11913 else $as_nop
11914 ac_cv_mingw_lib_jpeg=no
11916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11917 conftest$ac_exeext conftest.$ac_ext
11918 CC=$ac_wine_check_headers_saved_cc
11919 ac_exeext=$ac_wine_check_headers_saved_exeext
11920 LIBS=$ac_wine_check_headers_saved_libs
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11923 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11924 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11925 then :
11927 else $as_nop
11928 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11930 else $as_nop
11931 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11933 CPPFLAGS=$ac_save_CPPFLAGS
11935 if test "x$JPEG_PE_LIBS" = "x"
11936 then
11937 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11940 if ${LCMS2_PE_CFLAGS:+false} :
11941 then :
11942 if test ${MINGW_PKG_CONFIG+y}
11943 then :
11944 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11947 if ${LCMS2_PE_LIBS:+false} :
11948 then :
11949 if test ${MINGW_PKG_CONFIG+y}
11950 then :
11951 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11954 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11955 ac_save_CPPFLAGS=$CPPFLAGS
11956 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11958 printf %s "checking for MinGW lcms2.h... " >&6; }
11959 if test ${ac_cv_mingw_header_lcms2_h+y}
11960 then :
11961 printf %s "(cached) " >&6
11962 else $as_nop
11963 ac_wine_check_headers_saved_cc=$CC
11964 ac_wine_check_headers_saved_exeext=$ac_exeext
11965 eval CC=\$${wine_arch}_CC
11966 ac_exeext=".exe"
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11970 #include <lcms2.h>
11972 main (void)
11976 return 0;
11978 _ACEOF
11979 if ac_fn_c_try_compile "$LINENO"
11980 then :
11981 ac_cv_mingw_header_lcms2_h=yes
11982 else $as_nop
11983 ac_cv_mingw_header_lcms2_h=no
11985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11986 CC=$ac_wine_check_headers_saved_cc
11987 ac_exeext=$ac_wine_check_headers_saved_exeext
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11990 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11991 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11992 then :
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11994 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11995 if test ${ac_cv_mingw_lib_lcms2+y}
11996 then :
11997 printf %s "(cached) " >&6
11998 else $as_nop
11999 ac_wine_check_headers_saved_cc=$CC
12000 ac_wine_check_headers_saved_exeext=$ac_exeext
12001 ac_wine_check_headers_saved_libs=$LIBS
12002 eval CC=\$${wine_arch}_CC
12003 ac_exeext=".exe"
12004 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 char cmsOpenProfileFromFile ();
12013 main (void)
12015 return cmsOpenProfileFromFile ();
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_link "$LINENO"
12021 then :
12022 ac_cv_mingw_lib_lcms2=yes
12023 else $as_nop
12024 ac_cv_mingw_lib_lcms2=no
12026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12027 conftest$ac_exeext conftest.$ac_ext
12028 CC=$ac_wine_check_headers_saved_cc
12029 ac_exeext=$ac_wine_check_headers_saved_exeext
12030 LIBS=$ac_wine_check_headers_saved_libs
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12033 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12034 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12035 then :
12037 else $as_nop
12038 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12040 else $as_nop
12041 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12043 CPPFLAGS=$ac_save_CPPFLAGS
12045 if test "x$LCMS2_PE_LIBS" = "x"
12046 then
12047 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12050 if ${MPG123_PE_CFLAGS:+false} :
12051 then :
12052 if test ${MINGW_PKG_CONFIG+y}
12053 then :
12054 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12057 if ${MPG123_PE_LIBS:+false} :
12058 then :
12059 if test ${MINGW_PKG_CONFIG+y}
12060 then :
12061 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12064 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12065 ac_save_CPPFLAGS=$CPPFLAGS
12066 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12068 printf %s "checking for MinGW mpg123.h... " >&6; }
12069 if test ${ac_cv_mingw_header_mpg123_h+y}
12070 then :
12071 printf %s "(cached) " >&6
12072 else $as_nop
12073 ac_wine_check_headers_saved_cc=$CC
12074 ac_wine_check_headers_saved_exeext=$ac_exeext
12075 eval CC=\$${wine_arch}_CC
12076 ac_exeext=".exe"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 #include <mpg123.h>
12082 main (void)
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_compile "$LINENO"
12090 then :
12091 ac_cv_mingw_header_mpg123_h=yes
12092 else $as_nop
12093 ac_cv_mingw_header_mpg123_h=no
12095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12096 CC=$ac_wine_check_headers_saved_cc
12097 ac_exeext=$ac_wine_check_headers_saved_exeext
12099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12100 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12101 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12102 then :
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12104 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12105 if test ${ac_cv_mingw_lib_mpg123+y}
12106 then :
12107 printf %s "(cached) " >&6
12108 else $as_nop
12109 ac_wine_check_headers_saved_cc=$CC
12110 ac_wine_check_headers_saved_exeext=$ac_exeext
12111 ac_wine_check_headers_saved_libs=$LIBS
12112 eval CC=\$${wine_arch}_CC
12113 ac_exeext=".exe"
12114 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 char mpg123_feed ();
12123 main (void)
12125 return mpg123_feed ();
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_link "$LINENO"
12131 then :
12132 ac_cv_mingw_lib_mpg123=yes
12133 else $as_nop
12134 ac_cv_mingw_lib_mpg123=no
12136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12137 conftest$ac_exeext conftest.$ac_ext
12138 CC=$ac_wine_check_headers_saved_cc
12139 ac_exeext=$ac_wine_check_headers_saved_exeext
12140 LIBS=$ac_wine_check_headers_saved_libs
12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12143 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12144 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12145 then :
12147 else $as_nop
12148 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12150 else $as_nop
12151 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12153 CPPFLAGS=$ac_save_CPPFLAGS
12155 if test "x$MPG123_PE_LIBS" = "x"
12156 then
12157 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12160 if ${PNG_PE_CFLAGS:+false} :
12161 then :
12162 if test ${MINGW_PKG_CONFIG+y}
12163 then :
12164 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12167 if ${PNG_PE_LIBS:+false} :
12168 then :
12169 if test ${MINGW_PKG_CONFIG+y}
12170 then :
12171 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12175 ac_save_CPPFLAGS=$CPPFLAGS
12176 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12178 printf %s "checking for MinGW png.h... " >&6; }
12179 if test ${ac_cv_mingw_header_png_h+y}
12180 then :
12181 printf %s "(cached) " >&6
12182 else $as_nop
12183 ac_wine_check_headers_saved_cc=$CC
12184 ac_wine_check_headers_saved_exeext=$ac_exeext
12185 eval CC=\$${wine_arch}_CC
12186 ac_exeext=".exe"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 #include <png.h>
12192 main (void)
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_compile "$LINENO"
12200 then :
12201 ac_cv_mingw_header_png_h=yes
12202 else $as_nop
12203 ac_cv_mingw_header_png_h=no
12205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12206 CC=$ac_wine_check_headers_saved_cc
12207 ac_exeext=$ac_wine_check_headers_saved_exeext
12209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12210 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12211 if test "x$ac_cv_mingw_header_png_h" = xyes
12212 then :
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12214 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12215 if test ${ac_cv_mingw_lib_png+y}
12216 then :
12217 printf %s "(cached) " >&6
12218 else $as_nop
12219 ac_wine_check_headers_saved_cc=$CC
12220 ac_wine_check_headers_saved_exeext=$ac_exeext
12221 ac_wine_check_headers_saved_libs=$LIBS
12222 eval CC=\$${wine_arch}_CC
12223 ac_exeext=".exe"
12224 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 char png_create_read_struct ();
12233 main (void)
12235 return png_create_read_struct ();
12237 return 0;
12239 _ACEOF
12240 if ac_fn_c_try_link "$LINENO"
12241 then :
12242 ac_cv_mingw_lib_png=yes
12243 else $as_nop
12244 ac_cv_mingw_lib_png=no
12246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12247 conftest$ac_exeext conftest.$ac_ext
12248 CC=$ac_wine_check_headers_saved_cc
12249 ac_exeext=$ac_wine_check_headers_saved_exeext
12250 LIBS=$ac_wine_check_headers_saved_libs
12252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12253 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12254 if test "x$ac_cv_mingw_lib_png" = xyes
12255 then :
12257 else $as_nop
12258 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12260 else $as_nop
12261 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12263 CPPFLAGS=$ac_save_CPPFLAGS
12265 if test "x$PNG_PE_LIBS" = "x"
12266 then
12267 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12270 if ${TIFF_PE_CFLAGS:+false} :
12271 then :
12272 if test ${MINGW_PKG_CONFIG+y}
12273 then :
12274 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12277 if ${TIFF_PE_LIBS:+false} :
12278 then :
12279 if test ${MINGW_PKG_CONFIG+y}
12280 then :
12281 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12285 ac_save_CPPFLAGS=$CPPFLAGS
12286 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12288 printf %s "checking for MinGW tiffio.h... " >&6; }
12289 if test ${ac_cv_mingw_header_tiffio_h+y}
12290 then :
12291 printf %s "(cached) " >&6
12292 else $as_nop
12293 ac_wine_check_headers_saved_cc=$CC
12294 ac_wine_check_headers_saved_exeext=$ac_exeext
12295 eval CC=\$${wine_arch}_CC
12296 ac_exeext=".exe"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 #include <tiffio.h>
12302 main (void)
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_compile "$LINENO"
12310 then :
12311 ac_cv_mingw_header_tiffio_h=yes
12312 else $as_nop
12313 ac_cv_mingw_header_tiffio_h=no
12315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12316 CC=$ac_wine_check_headers_saved_cc
12317 ac_exeext=$ac_wine_check_headers_saved_exeext
12319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12320 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12321 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12322 then :
12323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12324 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12325 if test ${ac_cv_mingw_lib_tiff+y}
12326 then :
12327 printf %s "(cached) " >&6
12328 else $as_nop
12329 ac_wine_check_headers_saved_cc=$CC
12330 ac_wine_check_headers_saved_exeext=$ac_exeext
12331 ac_wine_check_headers_saved_libs=$LIBS
12332 eval CC=\$${wine_arch}_CC
12333 ac_exeext=".exe"
12334 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 char TIFFClientOpen ();
12343 main (void)
12345 return TIFFClientOpen ();
12347 return 0;
12349 _ACEOF
12350 if ac_fn_c_try_link "$LINENO"
12351 then :
12352 ac_cv_mingw_lib_tiff=yes
12353 else $as_nop
12354 ac_cv_mingw_lib_tiff=no
12356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12357 conftest$ac_exeext conftest.$ac_ext
12358 CC=$ac_wine_check_headers_saved_cc
12359 ac_exeext=$ac_wine_check_headers_saved_exeext
12360 LIBS=$ac_wine_check_headers_saved_libs
12362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12363 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12364 if test "x$ac_cv_mingw_lib_tiff" = xyes
12365 then :
12367 else $as_nop
12368 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12370 else $as_nop
12371 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12373 CPPFLAGS=$ac_save_CPPFLAGS
12375 if test "x$TIFF_PE_LIBS" = "x"
12376 then
12377 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12380 if ${XML2_PE_CFLAGS:+false} :
12381 then :
12382 if test ${MINGW_PKG_CONFIG+y}
12383 then :
12384 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12387 if ${XML2_PE_LIBS:+false} :
12388 then :
12389 if test ${MINGW_PKG_CONFIG+y}
12390 then :
12391 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12394 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12395 ac_save_CPPFLAGS=$CPPFLAGS
12396 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12398 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12399 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12400 then :
12401 printf %s "(cached) " >&6
12402 else $as_nop
12403 ac_wine_check_headers_saved_cc=$CC
12404 ac_wine_check_headers_saved_exeext=$ac_exeext
12405 eval CC=\$${wine_arch}_CC
12406 ac_exeext=".exe"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 #include <libxml/parser.h>
12412 main (void)
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_compile "$LINENO"
12420 then :
12421 ac_cv_mingw_header_libxml_parser_h=yes
12422 else $as_nop
12423 ac_cv_mingw_header_libxml_parser_h=no
12425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12426 CC=$ac_wine_check_headers_saved_cc
12427 ac_exeext=$ac_wine_check_headers_saved_exeext
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12430 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12431 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12432 then :
12435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12436 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12437 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12438 then :
12439 printf %s "(cached) " >&6
12440 else $as_nop
12441 ac_wine_check_headers_saved_cc=$CC
12442 ac_wine_check_headers_saved_exeext=$ac_exeext
12443 eval CC=\$${wine_arch}_CC
12444 ac_exeext=".exe"
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 #include <libxml/xmlsave.h>
12450 main (void)
12454 return 0;
12456 _ACEOF
12457 if ac_fn_c_try_compile "$LINENO"
12458 then :
12459 ac_cv_mingw_header_libxml_xmlsave_h=yes
12460 else $as_nop
12461 ac_cv_mingw_header_libxml_xmlsave_h=no
12463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12464 CC=$ac_wine_check_headers_saved_cc
12465 ac_exeext=$ac_wine_check_headers_saved_exeext
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12468 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12469 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12470 then :
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12474 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12475 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12476 then :
12477 printf %s "(cached) " >&6
12478 else $as_nop
12479 ac_wine_check_headers_saved_cc=$CC
12480 ac_wine_check_headers_saved_exeext=$ac_exeext
12481 eval CC=\$${wine_arch}_CC
12482 ac_exeext=".exe"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 #include <libxml/SAX2.h>
12488 main (void)
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_compile "$LINENO"
12496 then :
12497 ac_cv_mingw_header_libxml_SAX2_h=yes
12498 else $as_nop
12499 ac_cv_mingw_header_libxml_SAX2_h=no
12501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12502 CC=$ac_wine_check_headers_saved_cc
12503 ac_exeext=$ac_wine_check_headers_saved_exeext
12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12506 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12507 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12508 then :
12511 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"
12512 then
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12514 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12515 if test ${ac_cv_mingw_lib_xml2+y}
12516 then :
12517 printf %s "(cached) " >&6
12518 else $as_nop
12519 ac_wine_check_headers_saved_cc=$CC
12520 ac_wine_check_headers_saved_exeext=$ac_exeext
12521 ac_wine_check_headers_saved_libs=$LIBS
12522 eval CC=\$${wine_arch}_CC
12523 ac_exeext=".exe"
12524 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 /* Override any GCC internal prototype to avoid an error.
12529 Use char because int might match the return type of a GCC
12530 builtin and then its argument prototype would still apply. */
12531 char xmlFirstElementChild ();
12533 main (void)
12535 return xmlFirstElementChild ();
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"
12541 then :
12542 ac_cv_mingw_lib_xml2=yes
12543 else $as_nop
12544 ac_cv_mingw_lib_xml2=no
12546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12547 conftest$ac_exeext conftest.$ac_ext
12548 CC=$ac_wine_check_headers_saved_cc
12549 ac_exeext=$ac_wine_check_headers_saved_exeext
12550 LIBS=$ac_wine_check_headers_saved_libs
12552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12553 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12554 if test "x$ac_cv_mingw_lib_xml2" = xyes
12555 then :
12557 else $as_nop
12558 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12560 else
12561 XML2_PE_CFLAGS=""
12562 XML2_PE_LIBS=""
12564 CPPFLAGS=$ac_save_CPPFLAGS
12566 if test "x$XML2_PE_LIBS" = "x"
12567 then
12568 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12571 if ${XSLT_PE_CFLAGS:+false} :
12572 then :
12573 if test ${MINGW_PKG_CONFIG+y}
12574 then :
12575 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12578 if ${XSLT_PE_LIBS:+false} :
12579 then :
12580 if test ${MINGW_PKG_CONFIG+y}
12581 then :
12582 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12585 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12586 ac_save_CPPFLAGS=$CPPFLAGS
12587 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12589 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12590 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12591 then :
12592 printf %s "(cached) " >&6
12593 else $as_nop
12594 ac_wine_check_headers_saved_cc=$CC
12595 ac_wine_check_headers_saved_exeext=$ac_exeext
12596 eval CC=\$${wine_arch}_CC
12597 ac_exeext=".exe"
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 #include <libxslt/pattern.h>
12603 main (void)
12607 return 0;
12609 _ACEOF
12610 if ac_fn_c_try_compile "$LINENO"
12611 then :
12612 ac_cv_mingw_header_libxslt_pattern_h=yes
12613 else $as_nop
12614 ac_cv_mingw_header_libxslt_pattern_h=no
12616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12617 CC=$ac_wine_check_headers_saved_cc
12618 ac_exeext=$ac_wine_check_headers_saved_exeext
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12621 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12622 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12623 then :
12626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12627 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12628 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12629 then :
12630 printf %s "(cached) " >&6
12631 else $as_nop
12632 ac_wine_check_headers_saved_cc=$CC
12633 ac_wine_check_headers_saved_exeext=$ac_exeext
12634 eval CC=\$${wine_arch}_CC
12635 ac_exeext=".exe"
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 #include <libxslt/transform.h>
12641 main (void)
12645 return 0;
12647 _ACEOF
12648 if ac_fn_c_try_compile "$LINENO"
12649 then :
12650 ac_cv_mingw_header_libxslt_transform_h=yes
12651 else $as_nop
12652 ac_cv_mingw_header_libxslt_transform_h=no
12654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12655 CC=$ac_wine_check_headers_saved_cc
12656 ac_exeext=$ac_wine_check_headers_saved_exeext
12658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12659 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12660 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12661 then :
12664 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12665 then
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12667 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12668 if test ${ac_cv_mingw_lib_xslt+y}
12669 then :
12670 printf %s "(cached) " >&6
12671 else $as_nop
12672 ac_wine_check_headers_saved_cc=$CC
12673 ac_wine_check_headers_saved_exeext=$ac_exeext
12674 ac_wine_check_headers_saved_libs=$LIBS
12675 eval CC=\$${wine_arch}_CC
12676 ac_exeext=".exe"
12677 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 /* Override any GCC internal prototype to avoid an error.
12682 Use char because int might match the return type of a GCC
12683 builtin and then its argument prototype would still apply. */
12684 char xsltCompilePattern ();
12686 main (void)
12688 return xsltCompilePattern ();
12690 return 0;
12692 _ACEOF
12693 if ac_fn_c_try_link "$LINENO"
12694 then :
12695 ac_cv_mingw_lib_xslt=yes
12696 else $as_nop
12697 ac_cv_mingw_lib_xslt=no
12699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12700 conftest$ac_exeext conftest.$ac_ext
12701 CC=$ac_wine_check_headers_saved_cc
12702 ac_exeext=$ac_wine_check_headers_saved_exeext
12703 LIBS=$ac_wine_check_headers_saved_libs
12705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12706 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12707 if test "x$ac_cv_mingw_lib_xslt" = xyes
12708 then :
12710 else $as_nop
12711 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12713 else
12714 XSLT_PE_CFLAGS=""
12715 XSLT_PE_LIBS=""
12717 CPPFLAGS=$ac_save_CPPFLAGS
12719 if test "x$XSLT_PE_LIBS" = "x"
12720 then
12721 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12724 if ${VKD3D_PE_CFLAGS:+false} :
12725 then :
12726 if test ${MINGW_PKG_CONFIG+y}
12727 then :
12728 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12731 if ${VKD3D_PE_LIBS:+false} :
12732 then :
12733 if test ${MINGW_PKG_CONFIG+y}
12734 then :
12735 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12738 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12739 ac_save_CPPFLAGS=$CPPFLAGS
12740 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12742 printf %s "checking for MinGW vkd3d.h... " >&6; }
12743 if test ${ac_cv_mingw_header_vkd3d_h+y}
12744 then :
12745 printf %s "(cached) " >&6
12746 else $as_nop
12747 ac_wine_check_headers_saved_cc=$CC
12748 ac_wine_check_headers_saved_exeext=$ac_exeext
12749 eval CC=\$${wine_arch}_CC
12750 ac_exeext=".exe"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 #include <vkd3d.h>
12756 main (void)
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_compile "$LINENO"
12764 then :
12765 ac_cv_mingw_header_vkd3d_h=yes
12766 else $as_nop
12767 ac_cv_mingw_header_vkd3d_h=no
12769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12770 CC=$ac_wine_check_headers_saved_cc
12771 ac_exeext=$ac_wine_check_headers_saved_exeext
12773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12774 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12775 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12776 then :
12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12780 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12781 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12782 then :
12783 printf %s "(cached) " >&6
12784 else $as_nop
12785 ac_wine_check_headers_saved_cc=$CC
12786 ac_wine_check_headers_saved_exeext=$ac_exeext
12787 eval CC=\$${wine_arch}_CC
12788 ac_exeext=".exe"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 #include <vkd3d_shader.h>
12794 main (void)
12798 return 0;
12800 _ACEOF
12801 if ac_fn_c_try_compile "$LINENO"
12802 then :
12803 ac_cv_mingw_header_vkd3d_shader_h=yes
12804 else $as_nop
12805 ac_cv_mingw_header_vkd3d_shader_h=no
12807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12808 CC=$ac_wine_check_headers_saved_cc
12809 ac_exeext=$ac_wine_check_headers_saved_exeext
12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12812 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12813 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12814 then :
12817 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12818 then
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12820 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12821 if test ${ac_cv_mingw_lib_vkd3d+y}
12822 then :
12823 printf %s "(cached) " >&6
12824 else $as_nop
12825 ac_wine_check_headers_saved_cc=$CC
12826 ac_wine_check_headers_saved_exeext=$ac_exeext
12827 ac_wine_check_headers_saved_libs=$LIBS
12828 eval CC=\$${wine_arch}_CC
12829 ac_exeext=".exe"
12830 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 char vkd3d_set_log_callback ();
12839 main (void)
12841 return vkd3d_set_log_callback ();
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_link "$LINENO"
12847 then :
12848 ac_cv_mingw_lib_vkd3d=yes
12849 else $as_nop
12850 ac_cv_mingw_lib_vkd3d=no
12852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12853 conftest$ac_exeext conftest.$ac_ext
12854 CC=$ac_wine_check_headers_saved_cc
12855 ac_exeext=$ac_wine_check_headers_saved_exeext
12856 LIBS=$ac_wine_check_headers_saved_libs
12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12859 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12860 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12861 then :
12863 else $as_nop
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12867 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12868 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12869 then :
12870 printf %s "(cached) " >&6
12871 else $as_nop
12872 ac_wine_check_headers_saved_cc=$CC
12873 ac_wine_check_headers_saved_exeext=$ac_exeext
12874 ac_wine_check_headers_saved_libs=$LIBS
12875 eval CC=\$${wine_arch}_CC
12876 ac_exeext=".exe"
12877 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 char vkd3d_shader_serialize_dxbc ();
12886 main (void)
12888 return vkd3d_shader_serialize_dxbc ();
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_link "$LINENO"
12894 then :
12895 ac_cv_mingw_lib_vkd3d_shader=yes
12896 else $as_nop
12897 ac_cv_mingw_lib_vkd3d_shader=no
12899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12900 conftest$ac_exeext conftest.$ac_ext
12901 CC=$ac_wine_check_headers_saved_cc
12902 ac_exeext=$ac_wine_check_headers_saved_exeext
12903 LIBS=$ac_wine_check_headers_saved_libs
12905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12906 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12907 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12908 then :
12910 else $as_nop
12913 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12914 then
12915 VKD3D_PE_CFLAGS=""
12916 VKD3D_PE_LIBS=""
12918 else
12919 VKD3D_PE_CFLAGS=""
12920 VKD3D_PE_LIBS=""
12922 CPPFLAGS=$ac_save_CPPFLAGS
12924 if test "x$VKD3D_PE_LIBS" = "x"
12925 then
12926 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12929 if ${ZLIB_PE_CFLAGS:+false} :
12930 then :
12931 if test ${MINGW_PKG_CONFIG+y}
12932 then :
12933 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12936 if ${ZLIB_PE_LIBS:+false} :
12937 then :
12938 if test ${MINGW_PKG_CONFIG+y}
12939 then :
12940 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12943 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12944 ac_save_CPPFLAGS=$CPPFLAGS
12945 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12947 printf %s "checking for MinGW zlib.h... " >&6; }
12948 if test ${ac_cv_mingw_header_zlib_h+y}
12949 then :
12950 printf %s "(cached) " >&6
12951 else $as_nop
12952 ac_wine_check_headers_saved_cc=$CC
12953 ac_wine_check_headers_saved_exeext=$ac_exeext
12954 eval CC=\$${wine_arch}_CC
12955 ac_exeext=".exe"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 #include <zlib.h>
12961 main (void)
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_compile "$LINENO"
12969 then :
12970 ac_cv_mingw_header_zlib_h=yes
12971 else $as_nop
12972 ac_cv_mingw_header_zlib_h=no
12974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12975 CC=$ac_wine_check_headers_saved_cc
12976 ac_exeext=$ac_wine_check_headers_saved_exeext
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12979 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12980 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12981 then :
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12983 printf %s "checking for inflate in MinGW -lz... " >&6; }
12984 if test ${ac_cv_mingw_lib_z+y}
12985 then :
12986 printf %s "(cached) " >&6
12987 else $as_nop
12988 ac_wine_check_headers_saved_cc=$CC
12989 ac_wine_check_headers_saved_exeext=$ac_exeext
12990 ac_wine_check_headers_saved_libs=$LIBS
12991 eval CC=\$${wine_arch}_CC
12992 ac_exeext=".exe"
12993 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13000 char inflate ();
13002 main (void)
13004 return inflate ();
13006 return 0;
13008 _ACEOF
13009 if ac_fn_c_try_link "$LINENO"
13010 then :
13011 ac_cv_mingw_lib_z=yes
13012 else $as_nop
13013 ac_cv_mingw_lib_z=no
13015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13016 conftest$ac_exeext conftest.$ac_ext
13017 CC=$ac_wine_check_headers_saved_cc
13018 ac_exeext=$ac_wine_check_headers_saved_exeext
13019 LIBS=$ac_wine_check_headers_saved_libs
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13022 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13023 if test "x$ac_cv_mingw_lib_z" = xyes
13024 then :
13026 else $as_nop
13027 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13029 else $as_nop
13030 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13032 CPPFLAGS=$ac_save_CPPFLAGS
13034 if test "x$ZLIB_PE_LIBS" = "x"
13035 then
13036 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13040 if ${FAUDIO_PE_LIBS:+false} :
13041 then :
13042 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13043 if ${FAUDIO_PE_CFLAGS:+false} :
13044 then :
13045 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13046 else $as_nop
13047 enable_faudio=no
13049 else $as_nop
13050 enable_faudio=no
13052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13055 if ${GSM_PE_LIBS:+false} :
13056 then :
13057 GSM_PE_LIBS=gsm
13058 if ${GSM_PE_CFLAGS:+false} :
13059 then :
13060 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13061 else $as_nop
13062 enable_gsm=no
13064 else $as_nop
13065 enable_gsm=no
13067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13070 if ${JPEG_PE_LIBS:+false} :
13071 then :
13072 JPEG_PE_LIBS=jpeg
13073 if ${JPEG_PE_CFLAGS:+false} :
13074 then :
13075 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13076 else $as_nop
13077 enable_jpeg=no
13079 else $as_nop
13080 enable_jpeg=no
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13085 if ${JXR_PE_LIBS:+false} :
13086 then :
13087 JXR_PE_LIBS=jxr
13088 if ${JXR_PE_CFLAGS:+false} :
13089 then :
13090 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13091 else $as_nop
13092 enable_jxr=no
13094 else $as_nop
13095 enable_jxr=no
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13100 if ${LCMS2_PE_LIBS:+false} :
13101 then :
13102 LCMS2_PE_LIBS=lcms2
13103 if ${LCMS2_PE_CFLAGS:+false} :
13104 then :
13105 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13106 else $as_nop
13107 enable_lcms2=no
13109 else $as_nop
13110 enable_lcms2=no
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13115 if ${LDAP_PE_LIBS:+false} :
13116 then :
13117 LDAP_PE_LIBS=ldap
13118 if ${LDAP_PE_CFLAGS:+false} :
13119 then :
13120 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13121 else $as_nop
13122 enable_ldap=no
13124 else $as_nop
13125 enable_ldap=no
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13130 if ${MPG123_PE_LIBS:+false} :
13131 then :
13132 MPG123_PE_LIBS=mpg123
13133 if ${MPG123_PE_CFLAGS:+false} :
13134 then :
13135 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13136 else $as_nop
13137 enable_mpg123=no
13139 else $as_nop
13140 enable_mpg123=no
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13145 if ${MUSL_PE_LIBS:+false} :
13146 then :
13147 MUSL_PE_LIBS=musl
13148 if ${MUSL_PE_CFLAGS:+false} :
13149 then :
13150 MUSL_PE_CFLAGS=
13151 else $as_nop
13152 enable_musl=no
13154 else $as_nop
13155 enable_musl=no
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13160 if ${PNG_PE_LIBS:+false} :
13161 then :
13162 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13163 if ${PNG_PE_CFLAGS:+false} :
13164 then :
13165 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13166 else $as_nop
13167 enable_png=no
13169 else $as_nop
13170 enable_png=no
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13175 if ${TIFF_PE_LIBS:+false} :
13176 then :
13177 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13178 if ${TIFF_PE_CFLAGS:+false} :
13179 then :
13180 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13181 else $as_nop
13182 enable_tiff=no
13184 else $as_nop
13185 enable_tiff=no
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13190 if ${VKD3D_PE_LIBS:+false} :
13191 then :
13192 VKD3D_PE_LIBS=vkd3d
13193 if ${VKD3D_PE_CFLAGS:+false} :
13194 then :
13195 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13196 else $as_nop
13197 enable_vkd3d=no
13199 else $as_nop
13200 enable_vkd3d=no
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13205 if ${XML2_PE_LIBS:+false} :
13206 then :
13207 XML2_PE_LIBS=xml2
13208 if ${XML2_PE_CFLAGS:+false} :
13209 then :
13210 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13211 else $as_nop
13212 enable_xml2=no
13214 else $as_nop
13215 enable_xml2=no
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13220 if ${XSLT_PE_LIBS:+false} :
13221 then :
13222 XSLT_PE_LIBS=xslt
13223 if ${XSLT_PE_CFLAGS:+false} :
13224 then :
13225 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13226 else $as_nop
13227 enable_xslt=no
13229 else $as_nop
13230 enable_xslt=no
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13235 if ${ZLIB_PE_LIBS:+false} :
13236 then :
13237 ZLIB_PE_LIBS=z
13238 if ${ZLIB_PE_CFLAGS:+false} :
13239 then :
13240 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13241 else $as_nop
13242 enable_zlib=no
13244 else $as_nop
13245 enable_zlib=no
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13250 if ${ZYDIS_PE_LIBS:+false} :
13251 then :
13252 ZYDIS_PE_LIBS=zydis
13253 if ${ZYDIS_PE_CFLAGS:+false} :
13254 then :
13255 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13256 else $as_nop
13257 enable_zydis=no
13259 else $as_nop
13260 enable_zydis=no
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13267 if test "$ac_cv_header_pthread_h" = "yes"
13268 then
13269 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13270 if test "x$ac_cv_func_pthread_create" = xyes
13271 then :
13273 else $as_nop
13274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13275 printf %s "checking for pthread_create in -lpthread... " >&6; }
13276 if test ${ac_cv_lib_pthread_pthread_create+y}
13277 then :
13278 printf %s "(cached) " >&6
13279 else $as_nop
13280 ac_check_lib_save_LIBS=$LIBS
13281 LIBS="-lpthread $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 char pthread_create ();
13290 main (void)
13292 return pthread_create ();
13294 return 0;
13296 _ACEOF
13297 if ac_fn_c_try_link "$LINENO"
13298 then :
13299 ac_cv_lib_pthread_pthread_create=yes
13300 else $as_nop
13301 ac_cv_lib_pthread_pthread_create=no
13303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13304 conftest$ac_exeext conftest.$ac_ext
13305 LIBS=$ac_check_lib_save_LIBS
13307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13308 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13309 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13310 then :
13311 PTHREAD_LIBS="-lpthread"
13318 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13319 then :
13320 case "x$with_pthread" in
13321 xno) ;;
13322 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13323 Wine cannot support threads without libpthread.
13324 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13325 esac
13330 ac_ext=c
13331 ac_cpp='$CPP $CPPFLAGS'
13332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13336 printf %s "checking how to run the C preprocessor... " >&6; }
13337 # On Suns, sometimes $CPP names a directory.
13338 if test -n "$CPP" && test -d "$CPP"; then
13339 CPP=
13341 if test -z "$CPP"; then
13342 if test ${ac_cv_prog_CPP+y}
13343 then :
13344 printf %s "(cached) " >&6
13345 else $as_nop
13346 # Double quotes because $CC needs to be expanded
13347 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13349 ac_preproc_ok=false
13350 for ac_c_preproc_warn_flag in '' yes
13352 # Use a header file that comes with gcc, so configuring glibc
13353 # with a fresh cross-compiler works.
13354 # On the NeXT, cc -E runs the code through the compiler's parser,
13355 # not just through cpp. "Syntax error" is here to catch this case.
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13358 #include <limits.h>
13359 Syntax error
13360 _ACEOF
13361 if ac_fn_c_try_cpp "$LINENO"
13362 then :
13364 else $as_nop
13365 # Broken: fails on valid input.
13366 continue
13368 rm -f conftest.err conftest.i conftest.$ac_ext
13370 # OK, works on sane cases. Now check whether nonexistent headers
13371 # can be detected and how.
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13374 #include <ac_nonexistent.h>
13375 _ACEOF
13376 if ac_fn_c_try_cpp "$LINENO"
13377 then :
13378 # Broken: success on invalid input.
13379 continue
13380 else $as_nop
13381 # Passes both tests.
13382 ac_preproc_ok=:
13383 break
13385 rm -f conftest.err conftest.i conftest.$ac_ext
13387 done
13388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13389 rm -f conftest.i conftest.err conftest.$ac_ext
13390 if $ac_preproc_ok
13391 then :
13392 break
13395 done
13396 ac_cv_prog_CPP=$CPP
13399 CPP=$ac_cv_prog_CPP
13400 else
13401 ac_cv_prog_CPP=$CPP
13403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13404 printf "%s\n" "$CPP" >&6; }
13405 ac_preproc_ok=false
13406 for ac_c_preproc_warn_flag in '' yes
13408 # Use a header file that comes with gcc, so configuring glibc
13409 # with a fresh cross-compiler works.
13410 # On the NeXT, cc -E runs the code through the compiler's parser,
13411 # not just through cpp. "Syntax error" is here to catch this case.
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13414 #include <limits.h>
13415 Syntax error
13416 _ACEOF
13417 if ac_fn_c_try_cpp "$LINENO"
13418 then :
13420 else $as_nop
13421 # Broken: fails on valid input.
13422 continue
13424 rm -f conftest.err conftest.i conftest.$ac_ext
13426 # OK, works on sane cases. Now check whether nonexistent headers
13427 # can be detected and how.
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 #include <ac_nonexistent.h>
13431 _ACEOF
13432 if ac_fn_c_try_cpp "$LINENO"
13433 then :
13434 # Broken: success on invalid input.
13435 continue
13436 else $as_nop
13437 # Passes both tests.
13438 ac_preproc_ok=:
13439 break
13441 rm -f conftest.err conftest.i conftest.$ac_ext
13443 done
13444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13445 rm -f conftest.i conftest.err conftest.$ac_ext
13446 if $ac_preproc_ok
13447 then :
13449 else $as_nop
13450 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13451 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13452 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13453 See \`config.log' for more details" "$LINENO" 5; }
13456 ac_ext=c
13457 ac_cpp='$CPP $CPPFLAGS'
13458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13464 printf %s "checking for X... " >&6; }
13467 # Check whether --with-x was given.
13468 if test ${with_x+y}
13469 then :
13470 withval=$with_x;
13473 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13474 if test "x$with_x" = xno; then
13475 # The user explicitly disabled X.
13476 have_x=disabled
13477 else
13478 case $x_includes,$x_libraries in #(
13479 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13480 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13481 then :
13482 printf %s "(cached) " >&6
13483 else $as_nop
13484 # One or both of the vars are not set, and there is no cached value.
13485 ac_x_includes=no
13486 ac_x_libraries=no
13487 # Do we need to do anything special at all?
13488 ac_save_LIBS=$LIBS
13489 LIBS="-lX11 $LIBS"
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13492 #include <X11/Xlib.h>
13494 main (void)
13496 XrmInitialize ()
13498 return 0;
13500 _ACEOF
13501 if ac_fn_c_try_link "$LINENO"
13502 then :
13503 # We can compile and link X programs with no special options.
13504 ac_x_includes=
13505 ac_x_libraries=
13507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13508 conftest$ac_exeext conftest.$ac_ext
13509 LIBS="$ac_save_LIBS"
13510 # If that didn't work, only try xmkmf and file system searches
13511 # for native compilation.
13512 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13513 then :
13514 rm -f -r conftest.dir
13515 if mkdir conftest.dir; then
13516 cd conftest.dir
13517 cat >Imakefile <<'_ACEOF'
13518 incroot:
13519 @echo incroot='${INCROOT}'
13520 usrlibdir:
13521 @echo usrlibdir='${USRLIBDIR}'
13522 libdir:
13523 @echo libdir='${LIBDIR}'
13524 _ACEOF
13525 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13526 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13527 for ac_var in incroot usrlibdir libdir; do
13528 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13529 done
13530 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13531 for ac_extension in a so sl dylib la dll; do
13532 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13533 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13534 ac_im_usrlibdir=$ac_im_libdir; break
13536 done
13537 # Screen out bogus values from the imake configuration. They are
13538 # bogus both because they are the default anyway, and because
13539 # using them would break gcc on systems where it needs fixed includes.
13540 case $ac_im_incroot in
13541 /usr/include) ac_x_includes= ;;
13542 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13543 esac
13544 case $ac_im_usrlibdir in
13545 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13546 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13547 esac
13549 cd ..
13550 rm -f -r conftest.dir
13553 # Standard set of common directories for X headers.
13554 # Check X11 before X11Rn because it is often a symlink to the current release.
13555 ac_x_header_dirs='
13556 /usr/X11/include
13557 /usr/X11R7/include
13558 /usr/X11R6/include
13559 /usr/X11R5/include
13560 /usr/X11R4/include
13562 /usr/include/X11
13563 /usr/include/X11R7
13564 /usr/include/X11R6
13565 /usr/include/X11R5
13566 /usr/include/X11R4
13568 /usr/local/X11/include
13569 /usr/local/X11R7/include
13570 /usr/local/X11R6/include
13571 /usr/local/X11R5/include
13572 /usr/local/X11R4/include
13574 /usr/local/include/X11
13575 /usr/local/include/X11R7
13576 /usr/local/include/X11R6
13577 /usr/local/include/X11R5
13578 /usr/local/include/X11R4
13580 /opt/X11/include
13582 /usr/X386/include
13583 /usr/x386/include
13584 /usr/XFree86/include/X11
13586 /usr/include
13587 /usr/local/include
13588 /usr/unsupported/include
13589 /usr/athena/include
13590 /usr/local/x11r5/include
13591 /usr/lpp/Xamples/include
13593 /usr/openwin/include
13594 /usr/openwin/share/include'
13596 if test "$ac_x_includes" = no; then
13597 # Guess where to find include files, by looking for Xlib.h.
13598 # First, try using that file with no special directory specified.
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 #include <X11/Xlib.h>
13602 _ACEOF
13603 if ac_fn_c_try_cpp "$LINENO"
13604 then :
13605 # We can compile using X headers with no special include directory.
13606 ac_x_includes=
13607 else $as_nop
13608 for ac_dir in $ac_x_header_dirs; do
13609 if test -r "$ac_dir/X11/Xlib.h"; then
13610 ac_x_includes=$ac_dir
13611 break
13613 done
13615 rm -f conftest.err conftest.i conftest.$ac_ext
13616 fi # $ac_x_includes = no
13618 if test "$ac_x_libraries" = no; then
13619 # Check for the libraries.
13620 # See if we find them without any special options.
13621 # Don't add to $LIBS permanently.
13622 ac_save_LIBS=$LIBS
13623 LIBS="-lX11 $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13626 #include <X11/Xlib.h>
13628 main (void)
13630 XrmInitialize ()
13632 return 0;
13634 _ACEOF
13635 if ac_fn_c_try_link "$LINENO"
13636 then :
13637 LIBS=$ac_save_LIBS
13638 # We can link X programs with no special library path.
13639 ac_x_libraries=
13640 else $as_nop
13641 LIBS=$ac_save_LIBS
13642 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13644 # Don't even attempt the hair of trying to link an X program!
13645 for ac_extension in a so sl dylib la dll; do
13646 if test -r "$ac_dir/libX11.$ac_extension"; then
13647 ac_x_libraries=$ac_dir
13648 break 2
13650 done
13651 done
13653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13654 conftest$ac_exeext conftest.$ac_ext
13655 fi # $ac_x_libraries = no
13658 # Record the results.
13659 case $ac_x_includes,$ac_x_libraries in #(
13660 no,* | *,no | *\'*) :
13661 # Didn't find X, or a directory has "'" in its name.
13662 ac_cv_have_x="have_x=no" ;; #(
13663 *) :
13664 # Record where we found X for the cache.
13665 ac_cv_have_x="have_x=yes\
13666 ac_x_includes='$ac_x_includes'\
13667 ac_x_libraries='$ac_x_libraries'" ;;
13668 esac
13670 ;; #(
13671 *) have_x=yes;;
13672 esac
13673 eval "$ac_cv_have_x"
13674 fi # $with_x != no
13676 if test "$have_x" != yes; then
13677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13678 printf "%s\n" "$have_x" >&6; }
13679 no_x=yes
13680 else
13681 # If each of the values was on the command line, it overrides each guess.
13682 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13683 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13684 # Update the cache value to reflect the command line values.
13685 ac_cv_have_x="have_x=yes\
13686 ac_x_includes='$x_includes'\
13687 ac_x_libraries='$x_libraries'"
13688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13689 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13692 if test "$no_x" = yes; then
13693 # Not all programs may use this symbol, but it does not hurt to define it.
13695 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13697 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13698 else
13699 if test -n "$x_includes"; then
13700 X_CFLAGS="$X_CFLAGS -I$x_includes"
13703 # It would also be nice to do this for all -L options, not just this one.
13704 if test -n "$x_libraries"; then
13705 X_LIBS="$X_LIBS -L$x_libraries"
13706 # For Solaris; some versions of Sun CC require a space after -R and
13707 # others require no space. Words are not sufficient . . . .
13708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13709 printf %s "checking whether -R must be followed by a space... " >&6; }
13710 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13711 ac_xsave_c_werror_flag=$ac_c_werror_flag
13712 ac_c_werror_flag=yes
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13717 main (void)
13721 return 0;
13723 _ACEOF
13724 if ac_fn_c_try_link "$LINENO"
13725 then :
13726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13727 printf "%s\n" "no" >&6; }
13728 X_LIBS="$X_LIBS -R$x_libraries"
13729 else $as_nop
13730 LIBS="$ac_xsave_LIBS -R $x_libraries"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13735 main (void)
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"
13743 then :
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13745 printf "%s\n" "yes" >&6; }
13746 X_LIBS="$X_LIBS -R $x_libraries"
13747 else $as_nop
13748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13749 printf "%s\n" "neither works" >&6; }
13751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13752 conftest$ac_exeext conftest.$ac_ext
13754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13755 conftest$ac_exeext conftest.$ac_ext
13756 ac_c_werror_flag=$ac_xsave_c_werror_flag
13757 LIBS=$ac_xsave_LIBS
13760 # Check for system-dependent libraries X programs must link with.
13761 # Do this before checking for the system-independent R6 libraries
13762 # (-lICE), since we may need -lsocket or whatever for X linking.
13764 if test "$ISC" = yes; then
13765 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13766 else
13767 # Martyn Johnson says this is needed for Ultrix, if the X
13768 # libraries were built with DECnet support. And Karl Berry says
13769 # the Alpha needs dnet_stub (dnet does not exist).
13770 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13774 /* Override any GCC internal prototype to avoid an error.
13775 Use char because int might match the return type of a GCC
13776 builtin and then its argument prototype would still apply. */
13777 char XOpenDisplay ();
13779 main (void)
13781 return XOpenDisplay ();
13783 return 0;
13785 _ACEOF
13786 if ac_fn_c_try_link "$LINENO"
13787 then :
13789 else $as_nop
13790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13791 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13792 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13793 then :
13794 printf %s "(cached) " >&6
13795 else $as_nop
13796 ac_check_lib_save_LIBS=$LIBS
13797 LIBS="-ldnet $LIBS"
13798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13801 /* Override any GCC internal prototype to avoid an error.
13802 Use char because int might match the return type of a GCC
13803 builtin and then its argument prototype would still apply. */
13804 char dnet_ntoa ();
13806 main (void)
13808 return dnet_ntoa ();
13810 return 0;
13812 _ACEOF
13813 if ac_fn_c_try_link "$LINENO"
13814 then :
13815 ac_cv_lib_dnet_dnet_ntoa=yes
13816 else $as_nop
13817 ac_cv_lib_dnet_dnet_ntoa=no
13819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13820 conftest$ac_exeext conftest.$ac_ext
13821 LIBS=$ac_check_lib_save_LIBS
13823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13824 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13825 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13826 then :
13827 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13830 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13832 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13833 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13834 then :
13835 printf %s "(cached) " >&6
13836 else $as_nop
13837 ac_check_lib_save_LIBS=$LIBS
13838 LIBS="-ldnet_stub $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 char dnet_ntoa ();
13847 main (void)
13849 return dnet_ntoa ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"
13855 then :
13856 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13857 else $as_nop
13858 ac_cv_lib_dnet_stub_dnet_ntoa=no
13860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_lib_save_LIBS
13864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13865 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13866 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13867 then :
13868 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13874 conftest$ac_exeext conftest.$ac_ext
13875 LIBS="$ac_xsave_LIBS"
13877 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13878 # to get the SysV transport functions.
13879 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13880 # needs -lnsl.
13881 # The nsl library prevents programs from opening the X display
13882 # on Irix 5.2, according to T.E. Dickey.
13883 # The functions gethostbyname, getservbyname, and inet_addr are
13884 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13885 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13886 if test "x$ac_cv_func_gethostbyname" = xyes
13887 then :
13891 if test $ac_cv_func_gethostbyname = no; then
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13893 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13894 if test ${ac_cv_lib_nsl_gethostbyname+y}
13895 then :
13896 printf %s "(cached) " >&6
13897 else $as_nop
13898 ac_check_lib_save_LIBS=$LIBS
13899 LIBS="-lnsl $LIBS"
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13906 char gethostbyname ();
13908 main (void)
13910 return gethostbyname ();
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"
13916 then :
13917 ac_cv_lib_nsl_gethostbyname=yes
13918 else $as_nop
13919 ac_cv_lib_nsl_gethostbyname=no
13921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13922 conftest$ac_exeext conftest.$ac_ext
13923 LIBS=$ac_check_lib_save_LIBS
13925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13926 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13927 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13928 then :
13929 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13932 if test $ac_cv_lib_nsl_gethostbyname = no; then
13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13934 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13935 if test ${ac_cv_lib_bsd_gethostbyname+y}
13936 then :
13937 printf %s "(cached) " >&6
13938 else $as_nop
13939 ac_check_lib_save_LIBS=$LIBS
13940 LIBS="-lbsd $LIBS"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13944 /* Override any GCC internal prototype to avoid an error.
13945 Use char because int might match the return type of a GCC
13946 builtin and then its argument prototype would still apply. */
13947 char gethostbyname ();
13949 main (void)
13951 return gethostbyname ();
13953 return 0;
13955 _ACEOF
13956 if ac_fn_c_try_link "$LINENO"
13957 then :
13958 ac_cv_lib_bsd_gethostbyname=yes
13959 else $as_nop
13960 ac_cv_lib_bsd_gethostbyname=no
13962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13963 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_lib_save_LIBS
13966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13967 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13968 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13969 then :
13970 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13976 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13977 # socket/setsockopt and other routines are undefined under SCO ODT
13978 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13979 # on later versions), says Simon Leinen: it contains gethostby*
13980 # variants that don't use the name server (or something). -lsocket
13981 # must be given before -lnsl if both are needed. We assume that
13982 # if connect needs -lnsl, so does gethostbyname.
13983 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13984 if test "x$ac_cv_func_connect" = xyes
13985 then :
13989 if test $ac_cv_func_connect = no; then
13990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13991 printf %s "checking for connect in -lsocket... " >&6; }
13992 if test ${ac_cv_lib_socket_connect+y}
13993 then :
13994 printf %s "(cached) " >&6
13995 else $as_nop
13996 ac_check_lib_save_LIBS=$LIBS
13997 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14004 char connect ();
14006 main (void)
14008 return connect ();
14010 return 0;
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"
14014 then :
14015 ac_cv_lib_socket_connect=yes
14016 else $as_nop
14017 ac_cv_lib_socket_connect=no
14019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14020 conftest$ac_exeext conftest.$ac_ext
14021 LIBS=$ac_check_lib_save_LIBS
14023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14024 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14025 if test "x$ac_cv_lib_socket_connect" = xyes
14026 then :
14027 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14032 # Guillermo Gomez says -lposix is necessary on A/UX.
14033 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14034 if test "x$ac_cv_func_remove" = xyes
14035 then :
14039 if test $ac_cv_func_remove = no; then
14040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14041 printf %s "checking for remove in -lposix... " >&6; }
14042 if test ${ac_cv_lib_posix_remove+y}
14043 then :
14044 printf %s "(cached) " >&6
14045 else $as_nop
14046 ac_check_lib_save_LIBS=$LIBS
14047 LIBS="-lposix $LIBS"
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14051 /* Override any GCC internal prototype to avoid an error.
14052 Use char because int might match the return type of a GCC
14053 builtin and then its argument prototype would still apply. */
14054 char remove ();
14056 main (void)
14058 return remove ();
14060 return 0;
14062 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"
14064 then :
14065 ac_cv_lib_posix_remove=yes
14066 else $as_nop
14067 ac_cv_lib_posix_remove=no
14069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14070 conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_lib_save_LIBS
14073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14074 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14075 if test "x$ac_cv_lib_posix_remove" = xyes
14076 then :
14077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14082 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14083 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14084 if test "x$ac_cv_func_shmat" = xyes
14085 then :
14089 if test $ac_cv_func_shmat = no; then
14090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14091 printf %s "checking for shmat in -lipc... " >&6; }
14092 if test ${ac_cv_lib_ipc_shmat+y}
14093 then :
14094 printf %s "(cached) " >&6
14095 else $as_nop
14096 ac_check_lib_save_LIBS=$LIBS
14097 LIBS="-lipc $LIBS"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14101 /* Override any GCC internal prototype to avoid an error.
14102 Use char because int might match the return type of a GCC
14103 builtin and then its argument prototype would still apply. */
14104 char shmat ();
14106 main (void)
14108 return shmat ();
14110 return 0;
14112 _ACEOF
14113 if ac_fn_c_try_link "$LINENO"
14114 then :
14115 ac_cv_lib_ipc_shmat=yes
14116 else $as_nop
14117 ac_cv_lib_ipc_shmat=no
14119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14120 conftest$ac_exeext conftest.$ac_ext
14121 LIBS=$ac_check_lib_save_LIBS
14123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14124 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14125 if test "x$ac_cv_lib_ipc_shmat" = xyes
14126 then :
14127 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14133 # Check for libraries that X11R6 Xt/Xaw programs need.
14134 ac_save_LDFLAGS=$LDFLAGS
14135 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14136 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14137 # check for ICE first), but we must link in the order -lSM -lICE or
14138 # we get undefined symbols. So assume we have SM if we have ICE.
14139 # These have to be linked with before -lX11, unlike the other
14140 # libraries we check for below, so use a different variable.
14141 # John Interrante, Karl Berry
14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14143 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14144 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14145 then :
14146 printf %s "(cached) " >&6
14147 else $as_nop
14148 ac_check_lib_save_LIBS=$LIBS
14149 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14156 char IceConnectionNumber ();
14158 main (void)
14160 return IceConnectionNumber ();
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"
14166 then :
14167 ac_cv_lib_ICE_IceConnectionNumber=yes
14168 else $as_nop
14169 ac_cv_lib_ICE_IceConnectionNumber=no
14171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14172 conftest$ac_exeext conftest.$ac_ext
14173 LIBS=$ac_check_lib_save_LIBS
14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14176 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14177 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14178 then :
14179 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14182 LDFLAGS=$ac_save_LDFLAGS
14187 if test "$have_x" = "yes"
14188 then
14189 ac_save_CPPFLAGS="$CPPFLAGS"
14190 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14193 printf %s "checking for -lX11... " >&6; }
14194 if test ${ac_cv_lib_soname_X11+y}
14195 then :
14196 printf %s "(cached) " >&6
14197 else $as_nop
14198 ac_check_soname_save_LIBS=$LIBS
14199 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14203 /* Override any GCC internal prototype to avoid an error.
14204 Use char because int might match the return type of a GCC
14205 builtin and then its argument prototype would still apply. */
14206 char XCreateWindow ();
14208 main (void)
14210 return XCreateWindow ();
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"
14216 then :
14217 case "$LIBEXT" in
14218 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14219 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'` ;;
14220 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14221 if ${ac_cv_lib_soname_X11:+false} :
14222 then :
14223 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14224 fi ;;
14225 esac
14226 else $as_nop
14227 ac_cv_lib_soname_X11=
14229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_soname_save_LIBS
14233 if ${ac_cv_lib_soname_X11:+false} :
14234 then :
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14236 printf "%s\n" "not found" >&6; }
14238 else $as_nop
14239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14240 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14242 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14247 printf %s "checking for -lXext... " >&6; }
14248 if test ${ac_cv_lib_soname_Xext+y}
14249 then :
14250 printf %s "(cached) " >&6
14251 else $as_nop
14252 ac_check_soname_save_LIBS=$LIBS
14253 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14257 /* Override any GCC internal prototype to avoid an error.
14258 Use char because int might match the return type of a GCC
14259 builtin and then its argument prototype would still apply. */
14260 char XextCreateExtension ();
14262 main (void)
14264 return XextCreateExtension ();
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"
14270 then :
14271 case "$LIBEXT" in
14272 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14273 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'` ;;
14274 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14275 if ${ac_cv_lib_soname_Xext:+false} :
14276 then :
14277 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14278 fi ;;
14279 esac
14280 else $as_nop
14281 ac_cv_lib_soname_Xext=
14283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_soname_save_LIBS
14287 if ${ac_cv_lib_soname_Xext:+false} :
14288 then :
14289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14290 printf "%s\n" "not found" >&6; }
14292 else $as_nop
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14294 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14296 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14298 X_LIBS="$X_LIBS -lXext"
14300 X_LIBS="$X_LIBS -lX11"
14302 xlib_includes="#include <X11/Xlib.h>
14303 #include <X11/Xutil.h>"
14305 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14307 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14308 then :
14309 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14312 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14314 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14315 then :
14316 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14319 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14321 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14322 then :
14323 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14326 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14328 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14329 then :
14330 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14333 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14335 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14336 then :
14337 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14340 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14342 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14343 then :
14344 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14347 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14349 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14350 then :
14351 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14354 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14356 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14357 then :
14358 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14361 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14363 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14364 then :
14365 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14370 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14372 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14373 then :
14374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14375 printf %s "checking for -lXcursor... " >&6; }
14376 if test ${ac_cv_lib_soname_Xcursor+y}
14377 then :
14378 printf %s "(cached) " >&6
14379 else $as_nop
14380 ac_check_soname_save_LIBS=$LIBS
14381 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14385 /* Override any GCC internal prototype to avoid an error.
14386 Use char because int might match the return type of a GCC
14387 builtin and then its argument prototype would still apply. */
14388 char XcursorImageLoadCursor ();
14390 main (void)
14392 return XcursorImageLoadCursor ();
14394 return 0;
14396 _ACEOF
14397 if ac_fn_c_try_link "$LINENO"
14398 then :
14399 case "$LIBEXT" in
14400 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14401 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'` ;;
14402 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14403 if ${ac_cv_lib_soname_Xcursor:+false} :
14404 then :
14405 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14406 fi ;;
14407 esac
14408 else $as_nop
14409 ac_cv_lib_soname_Xcursor=
14411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14412 conftest$ac_exeext conftest.$ac_ext
14413 LIBS=$ac_check_soname_save_LIBS
14415 if ${ac_cv_lib_soname_Xcursor:+false} :
14416 then :
14417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14418 printf "%s\n" "not found" >&6; }
14420 else $as_nop
14421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14422 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14424 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14430 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14431 then :
14432 case "x$with_xcursor" in
14433 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14434 xno) ;;
14435 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14436 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14437 esac
14441 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14443 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14444 then :
14445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14446 printf %s "checking for -lXi... " >&6; }
14447 if test ${ac_cv_lib_soname_Xi+y}
14448 then :
14449 printf %s "(cached) " >&6
14450 else $as_nop
14451 ac_check_soname_save_LIBS=$LIBS
14452 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14456 /* Override any GCC internal prototype to avoid an error.
14457 Use char because int might match the return type of a GCC
14458 builtin and then its argument prototype would still apply. */
14459 char XOpenDevice ();
14461 main (void)
14463 return XOpenDevice ();
14465 return 0;
14467 _ACEOF
14468 if ac_fn_c_try_link "$LINENO"
14469 then :
14470 case "$LIBEXT" in
14471 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14472 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'` ;;
14473 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14474 if ${ac_cv_lib_soname_Xi:+false} :
14475 then :
14476 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14477 fi ;;
14478 esac
14479 else $as_nop
14480 ac_cv_lib_soname_Xi=
14482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14483 conftest$ac_exeext conftest.$ac_ext
14484 LIBS=$ac_check_soname_save_LIBS
14486 if ${ac_cv_lib_soname_Xi:+false} :
14487 then :
14488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14489 printf "%s\n" "not found" >&6; }
14491 else $as_nop
14492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14493 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14495 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14501 if test "x$ac_cv_lib_soname_Xi" = "x"
14502 then :
14503 case "x$with_xinput" in
14504 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14505 xno) ;;
14506 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14507 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14508 esac
14512 if test "x$ac_cv_lib_soname_Xi" != x
14513 then
14514 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14515 then :
14516 case "x$with_xinput2" in
14517 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14518 xno) ;;
14519 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14520 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14521 esac
14526 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14527 then
14528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14529 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14530 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14531 then :
14532 printf %s "(cached) " >&6
14533 else $as_nop
14534 ac_check_lib_save_LIBS=$LIBS
14535 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14537 /* end confdefs.h. */
14539 /* Override any GCC internal prototype to avoid an error.
14540 Use char because int might match the return type of a GCC
14541 builtin and then its argument prototype would still apply. */
14542 char XShmQueryExtension ();
14544 main (void)
14546 return XShmQueryExtension ();
14548 return 0;
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"
14552 then :
14553 ac_cv_lib_Xext_XShmQueryExtension=yes
14554 else $as_nop
14555 ac_cv_lib_Xext_XShmQueryExtension=no
14557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14558 conftest$ac_exeext conftest.$ac_ext
14559 LIBS=$ac_check_lib_save_LIBS
14561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14562 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14563 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14564 then :
14566 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14571 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14572 then :
14573 case "x$with_xshm" in
14574 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14575 xno) ;;
14576 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14577 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14578 esac
14582 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14583 then
14584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14585 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14586 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14587 then :
14588 printf %s "(cached) " >&6
14589 else $as_nop
14590 ac_check_lib_save_LIBS=$LIBS
14591 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 char XShapeQueryExtension ();
14600 main (void)
14602 return XShapeQueryExtension ();
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"
14608 then :
14609 ac_cv_lib_Xext_XShapeQueryExtension=yes
14610 else $as_nop
14611 ac_cv_lib_Xext_XShapeQueryExtension=no
14613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14614 conftest$ac_exeext conftest.$ac_ext
14615 LIBS=$ac_check_lib_save_LIBS
14617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14618 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14619 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14620 then :
14622 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14627 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14628 then :
14629 case "x$with_xshape" in
14630 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14631 xno) ;;
14632 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14633 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14634 esac
14638 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14639 then
14640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14641 printf %s "checking for -lXxf86vm... " >&6; }
14642 if test ${ac_cv_lib_soname_Xxf86vm+y}
14643 then :
14644 printf %s "(cached) " >&6
14645 else $as_nop
14646 ac_check_soname_save_LIBS=$LIBS
14647 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14654 char XF86VidModeQueryExtension ();
14656 main (void)
14658 return XF86VidModeQueryExtension ();
14660 return 0;
14662 _ACEOF
14663 if ac_fn_c_try_link "$LINENO"
14664 then :
14665 case "$LIBEXT" in
14666 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14667 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'` ;;
14668 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14669 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14670 then :
14671 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14672 fi ;;
14673 esac
14674 else $as_nop
14675 ac_cv_lib_soname_Xxf86vm=
14677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14678 conftest$ac_exeext conftest.$ac_ext
14679 LIBS=$ac_check_soname_save_LIBS
14681 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14682 then :
14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14684 printf "%s\n" "not found" >&6; }
14686 else $as_nop
14687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14688 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14690 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14695 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14696 then :
14697 case "x$with_xxf86vm" in
14698 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14699 xno) ;;
14700 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14701 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14702 esac
14706 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14707 then
14708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14709 printf %s "checking for -lXrender... " >&6; }
14710 if test ${ac_cv_lib_soname_Xrender+y}
14711 then :
14712 printf %s "(cached) " >&6
14713 else $as_nop
14714 ac_check_soname_save_LIBS=$LIBS
14715 LIBS="-lXrender $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 XRenderQueryExtension ();
14724 main (void)
14726 return XRenderQueryExtension ();
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_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14735 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'` ;;
14736 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14737 if ${ac_cv_lib_soname_Xrender:+false} :
14738 then :
14739 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14740 fi ;;
14741 esac
14742 else $as_nop
14743 ac_cv_lib_soname_Xrender=
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_Xrender:+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_Xrender" >&5
14756 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14758 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14761 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14762 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14763 then :
14764 printf %s "(cached) " >&6
14765 else $as_nop
14766 ac_check_lib_save_LIBS=$LIBS
14767 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14771 /* Override any GCC internal prototype to avoid an error.
14772 Use char because int might match the return type of a GCC
14773 builtin and then its argument prototype would still apply. */
14774 char XRenderSetPictureTransform ();
14776 main (void)
14778 return XRenderSetPictureTransform ();
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"
14784 then :
14785 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14786 else $as_nop
14787 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14790 conftest$ac_exeext conftest.$ac_ext
14791 LIBS=$ac_check_lib_save_LIBS
14793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14794 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14795 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14796 then :
14798 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14803 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14804 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14805 then :
14806 printf %s "(cached) " >&6
14807 else $as_nop
14808 ac_check_lib_save_LIBS=$LIBS
14809 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14813 /* Override any GCC internal prototype to avoid an error.
14814 Use char because int might match the return type of a GCC
14815 builtin and then its argument prototype would still apply. */
14816 char XRenderCreateLinearGradient ();
14818 main (void)
14820 return XRenderCreateLinearGradient ();
14822 return 0;
14824 _ACEOF
14825 if ac_fn_c_try_link "$LINENO"
14826 then :
14827 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14828 else $as_nop
14829 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14832 conftest$ac_exeext conftest.$ac_ext
14833 LIBS=$ac_check_lib_save_LIBS
14835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14836 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14837 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14838 then :
14840 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14847 if test "x$ac_cv_lib_soname_Xrender" = "x"
14848 then :
14849 case "x$with_xrender" in
14850 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14851 xno) ;;
14852 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14853 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14854 esac
14858 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14859 then
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14862 #include <X11/Xlib.h>
14863 #include <X11/extensions/Xrandr.h>
14865 main (void)
14867 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14869 return 0;
14871 _ACEOF
14872 if ac_fn_c_try_compile "$LINENO"
14873 then :
14874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14875 printf %s "checking for -lXrandr... " >&6; }
14876 if test ${ac_cv_lib_soname_Xrandr+y}
14877 then :
14878 printf %s "(cached) " >&6
14879 else $as_nop
14880 ac_check_soname_save_LIBS=$LIBS
14881 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14885 /* Override any GCC internal prototype to avoid an error.
14886 Use char because int might match the return type of a GCC
14887 builtin and then its argument prototype would still apply. */
14888 char XRRQueryExtension ();
14890 main (void)
14892 return XRRQueryExtension ();
14894 return 0;
14896 _ACEOF
14897 if ac_fn_c_try_link "$LINENO"
14898 then :
14899 case "$LIBEXT" in
14900 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14901 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'` ;;
14902 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14903 if ${ac_cv_lib_soname_Xrandr:+false} :
14904 then :
14905 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14906 fi ;;
14907 esac
14908 else $as_nop
14909 ac_cv_lib_soname_Xrandr=
14911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14912 conftest$ac_exeext conftest.$ac_ext
14913 LIBS=$ac_check_soname_save_LIBS
14915 if ${ac_cv_lib_soname_Xrandr:+false} :
14916 then :
14917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14918 printf "%s\n" "not found" >&6; }
14920 else $as_nop
14921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14922 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14924 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14928 #include <X11/Xlib.h>
14929 #include <X11/extensions/Xrandr.h>
14931 main (void)
14933 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14935 return 0;
14937 _ACEOF
14938 if ac_fn_c_try_compile "$LINENO"
14939 then :
14941 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14943 else $as_nop
14944 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14951 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14952 then :
14953 case "x$with_xrandr" in
14954 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14955 xno) ;;
14956 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14957 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14958 esac
14962 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14963 then
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14966 #include <X11/Xlib.h>
14967 #include <X11/extensions/Xfixes.h>
14969 main (void)
14971 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_compile "$LINENO"
14977 then :
14978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14979 printf %s "checking for -lXfixes... " >&6; }
14980 if test ${ac_cv_lib_soname_Xfixes+y}
14981 then :
14982 printf %s "(cached) " >&6
14983 else $as_nop
14984 ac_check_soname_save_LIBS=$LIBS
14985 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14989 /* Override any GCC internal prototype to avoid an error.
14990 Use char because int might match the return type of a GCC
14991 builtin and then its argument prototype would still apply. */
14992 char XFixesQueryVersion ();
14994 main (void)
14996 return XFixesQueryVersion ();
14998 return 0;
15000 _ACEOF
15001 if ac_fn_c_try_link "$LINENO"
15002 then :
15003 case "$LIBEXT" in
15004 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15005 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'` ;;
15006 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15007 if ${ac_cv_lib_soname_Xfixes:+false} :
15008 then :
15009 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15010 fi ;;
15011 esac
15012 else $as_nop
15013 ac_cv_lib_soname_Xfixes=
15015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15016 conftest$ac_exeext conftest.$ac_ext
15017 LIBS=$ac_check_soname_save_LIBS
15019 if ${ac_cv_lib_soname_Xfixes:+false} :
15020 then :
15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15022 printf "%s\n" "not found" >&6; }
15024 else $as_nop
15025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15026 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15028 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15035 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15036 then :
15037 case "x$with_xfixes" in
15038 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15039 xno) ;;
15040 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15041 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15042 esac
15046 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15047 then
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15050 #include <X11/Xlib.h>
15051 #include <X11/extensions/Xinerama.h>
15053 main (void)
15055 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15057 return 0;
15059 _ACEOF
15060 if ac_fn_c_try_compile "$LINENO"
15061 then :
15062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15063 printf %s "checking for -lXinerama... " >&6; }
15064 if test ${ac_cv_lib_soname_Xinerama+y}
15065 then :
15066 printf %s "(cached) " >&6
15067 else $as_nop
15068 ac_check_soname_save_LIBS=$LIBS
15069 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15076 char XineramaQueryScreens ();
15078 main (void)
15080 return XineramaQueryScreens ();
15082 return 0;
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"
15086 then :
15087 case "$LIBEXT" in
15088 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15089 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'` ;;
15090 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15091 if ${ac_cv_lib_soname_Xinerama:+false} :
15092 then :
15093 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15094 fi ;;
15095 esac
15096 else $as_nop
15097 ac_cv_lib_soname_Xinerama=
15099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_soname_save_LIBS
15103 if ${ac_cv_lib_soname_Xinerama:+false} :
15104 then :
15105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15106 printf "%s\n" "not found" >&6; }
15108 else $as_nop
15109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15110 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15112 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15119 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15120 then :
15121 case "x$with_xinerama" in
15122 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15123 xno) ;;
15124 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15125 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15126 esac
15130 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15132 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15133 then :
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15135 printf %s "checking for -lXcomposite... " >&6; }
15136 if test ${ac_cv_lib_soname_Xcomposite+y}
15137 then :
15138 printf %s "(cached) " >&6
15139 else $as_nop
15140 ac_check_soname_save_LIBS=$LIBS
15141 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 char XCompositeRedirectWindow ();
15150 main (void)
15152 return XCompositeRedirectWindow ();
15154 return 0;
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"
15158 then :
15159 case "$LIBEXT" in
15160 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15161 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'` ;;
15162 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15163 if ${ac_cv_lib_soname_Xcomposite:+false} :
15164 then :
15165 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15166 fi ;;
15167 esac
15168 else $as_nop
15169 ac_cv_lib_soname_Xcomposite=
15171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15172 conftest$ac_exeext conftest.$ac_ext
15173 LIBS=$ac_check_soname_save_LIBS
15175 if ${ac_cv_lib_soname_Xcomposite:+false} :
15176 then :
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15178 printf "%s\n" "not found" >&6; }
15180 else $as_nop
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15182 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15184 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15190 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15191 then :
15192 case "x$with_xcomposite" in
15193 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15194 xno) ;;
15195 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15196 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15197 esac
15201 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15203 if test "x$ac_cv_member_XICCallback_callback" = xyes
15204 then :
15206 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15210 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15212 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15213 then :
15215 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15222 opengl_msg=""
15223 if test "x$with_opengl" != "xno"
15224 then
15225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15226 printf %s "checking for -lGL... " >&6; }
15227 if test ${ac_cv_lib_soname_GL+y}
15228 then :
15229 printf %s "(cached) " >&6
15230 else $as_nop
15231 ac_check_soname_save_LIBS=$LIBS
15232 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 char glXCreateContext ();
15241 main (void)
15243 return glXCreateContext ();
15245 return 0;
15247 _ACEOF
15248 if ac_fn_c_try_link "$LINENO"
15249 then :
15250 case "$LIBEXT" in
15251 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15252 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'` ;;
15253 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15254 if ${ac_cv_lib_soname_GL:+false} :
15255 then :
15256 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15257 fi ;;
15258 esac
15259 else $as_nop
15260 ac_cv_lib_soname_GL=
15262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15263 conftest$ac_exeext conftest.$ac_ext
15264 LIBS=$ac_check_soname_save_LIBS
15266 if ${ac_cv_lib_soname_GL:+false} :
15267 then :
15268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15269 printf "%s\n" "not found" >&6; }
15270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15271 printf %s "checking for -lGL... " >&6; }
15272 if test ${ac_cv_lib_soname_GL+y}
15273 then :
15274 printf %s "(cached) " >&6
15275 else $as_nop
15276 ac_check_soname_save_LIBS=$LIBS
15277 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"
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 char glXCreateContext ();
15286 main (void)
15288 return glXCreateContext ();
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"
15294 then :
15295 case "$LIBEXT" in
15296 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15297 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'` ;;
15298 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15299 if ${ac_cv_lib_soname_GL:+false} :
15300 then :
15301 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15302 fi ;;
15303 esac
15304 else $as_nop
15305 ac_cv_lib_soname_GL=
15307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15308 conftest$ac_exeext conftest.$ac_ext
15309 LIBS=$ac_check_soname_save_LIBS
15311 if ${ac_cv_lib_soname_GL:+false} :
15312 then :
15313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15314 printf "%s\n" "not found" >&6; }
15315 if test -f /usr/X11R6/lib/libGL.a
15316 then
15317 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15318 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15319 else
15320 opengl_msg="No OpenGL library found on this system."
15322 else $as_nop
15323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15324 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15326 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15328 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"
15330 else $as_nop
15331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15332 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15334 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15336 OPENGL_LIBS="-lGL"
15338 if test "x$with_osmesa" != "xno"
15339 then
15340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15341 printf %s "checking for -lOSMesa... " >&6; }
15342 if test ${ac_cv_lib_soname_OSMesa+y}
15343 then :
15344 printf %s "(cached) " >&6
15345 else $as_nop
15346 ac_check_soname_save_LIBS=$LIBS
15347 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15351 /* Override any GCC internal prototype to avoid an error.
15352 Use char because int might match the return type of a GCC
15353 builtin and then its argument prototype would still apply. */
15354 char OSMesaGetProcAddress ();
15356 main (void)
15358 return OSMesaGetProcAddress ();
15360 return 0;
15362 _ACEOF
15363 if ac_fn_c_try_link "$LINENO"
15364 then :
15365 case "$LIBEXT" in
15366 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15367 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'` ;;
15368 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15369 if ${ac_cv_lib_soname_OSMesa:+false} :
15370 then :
15371 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15372 fi ;;
15373 esac
15374 else $as_nop
15375 ac_cv_lib_soname_OSMesa=
15377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15378 conftest$ac_exeext conftest.$ac_ext
15379 LIBS=$ac_check_soname_save_LIBS
15381 if ${ac_cv_lib_soname_OSMesa:+false} :
15382 then :
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15384 printf "%s\n" "not found" >&6; }
15386 else $as_nop
15387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15388 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15390 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15394 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15395 then :
15396 case "x$with_osmesa" in
15397 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15398 xno) ;;
15399 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15400 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15401 esac
15406 if test -n "$opengl_msg"
15407 then :
15408 case "x$with_opengl" in
15409 x) as_fn_append wine_warnings "|$opengl_msg
15410 OpenGL and Direct3D won't be supported." ;;
15411 xno) ;;
15412 *) as_fn_error $? "$opengl_msg
15413 OpenGL and Direct3D won't be supported.
15414 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15415 esac
15419 CPPFLAGS="$ac_save_CPPFLAGS"
15420 else
15421 X_CFLAGS=""
15422 X_LIBS=""
15425 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15426 then
15427 if test "x$X_LIBS" = "x"
15428 then :
15429 case "x$with_x" in
15430 xno) ;;
15431 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15432 without X support, which probably isn't what you want. You will need
15433 to install ${notice_platform}development packages of Xlib at the very least.
15434 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15435 esac
15436 enable_winex11_drv=${enable_winex11_drv:-no}
15438 else
15439 if test "x$X_LIBS" = "x"
15440 then :
15441 case "x$with_x" in
15442 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15443 xno) ;;
15444 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15445 This is an error since --with-x was requested." "$LINENO" 5 ;;
15446 esac
15447 enable_winex11_drv=${enable_winex11_drv:-no}
15451 if test "x$with_wayland" != "xno"
15452 then
15453 rm -f conftest.err
15454 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15455 then :
15456 if test ${PKG_CONFIG+y}
15457 then :
15458 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15462 if ${WAYLAND_CLIENT_LIBS:+false} :
15463 then :
15464 if test ${PKG_CONFIG+y}
15465 then :
15466 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15473 if test -s conftest.err; then
15474 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15475 cat conftest.err >&5
15477 rm -f conftest.err
15478 ac_save_CPPFLAGS=$CPPFLAGS
15479 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15480 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15481 if test "x$ac_cv_header_wayland_client_h" = xyes
15482 then :
15483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15484 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15485 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15486 then :
15487 printf %s "(cached) " >&6
15488 else $as_nop
15489 ac_check_lib_save_LIBS=$LIBS
15490 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15492 /* end confdefs.h. */
15494 /* Override any GCC internal prototype to avoid an error.
15495 Use char because int might match the return type of a GCC
15496 builtin and then its argument prototype would still apply. */
15497 char wl_display_connect ();
15499 main (void)
15501 return wl_display_connect ();
15503 return 0;
15505 _ACEOF
15506 if ac_fn_c_try_link "$LINENO"
15507 then :
15508 ac_cv_lib_wayland_client_wl_display_connect=yes
15509 else $as_nop
15510 ac_cv_lib_wayland_client_wl_display_connect=no
15512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15513 conftest$ac_exeext conftest.$ac_ext
15514 LIBS=$ac_check_lib_save_LIBS
15516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15517 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15518 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15519 then :
15520 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15521 set dummy wayland-scanner; ac_word=$2
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15523 printf %s "checking for $ac_word... " >&6; }
15524 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15525 then :
15526 printf %s "(cached) " >&6
15527 else $as_nop
15528 case $WAYLAND_SCANNER in
15529 [\\/]* | ?:[\\/]*)
15530 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15534 for as_dir in $PATH
15536 IFS=$as_save_IFS
15537 case $as_dir in #(((
15538 '') as_dir=./ ;;
15539 */) ;;
15540 *) as_dir=$as_dir/ ;;
15541 esac
15542 for ac_exec_ext in '' $ac_executable_extensions; do
15543 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15544 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15546 break 2
15548 done
15549 done
15550 IFS=$as_save_IFS
15552 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`"
15554 esac
15556 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15557 if test -n "$WAYLAND_SCANNER"; then
15558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15559 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15560 else
15561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15562 printf "%s\n" "no" >&6; }
15566 else $as_nop
15567 WAYLAND_CLIENT_LIBS=""
15572 CPPFLAGS=$ac_save_CPPFLAGS
15575 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15576 then :
15577 case "x$with_wayland" in
15578 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15579 xno) ;;
15580 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15581 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15582 esac
15583 enable_winewayland_drv=${enable_winewayland_drv:-no}
15586 if test "$ac_cv_header_CL_cl_h" = "yes"
15587 then
15588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15589 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15590 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15591 then :
15592 printf %s "(cached) " >&6
15593 else $as_nop
15594 ac_check_lib_save_LIBS=$LIBS
15595 LIBS="-lOpenCL $LIBS"
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15599 /* Override any GCC internal prototype to avoid an error.
15600 Use char because int might match the return type of a GCC
15601 builtin and then its argument prototype would still apply. */
15602 char clGetPlatformInfo ();
15604 main (void)
15606 return clGetPlatformInfo ();
15608 return 0;
15610 _ACEOF
15611 if ac_fn_c_try_link "$LINENO"
15612 then :
15613 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15614 else $as_nop
15615 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15618 conftest$ac_exeext conftest.$ac_ext
15619 LIBS=$ac_check_lib_save_LIBS
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15622 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15623 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15624 then :
15625 OPENCL_LIBS="-lOpenCL"
15630 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15631 then :
15632 case "x$with_opencl" in
15633 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15634 xno) ;;
15635 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15636 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15637 esac
15638 enable_opencl=${enable_opencl:-no}
15641 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15642 then
15643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15644 printf %s "checking for pcap_init in -lpcap... " >&6; }
15645 if test ${ac_cv_lib_pcap_pcap_init+y}
15646 then :
15647 printf %s "(cached) " >&6
15648 else $as_nop
15649 ac_check_lib_save_LIBS=$LIBS
15650 LIBS="-lpcap $LIBS"
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15654 /* Override any GCC internal prototype to avoid an error.
15655 Use char because int might match the return type of a GCC
15656 builtin and then its argument prototype would still apply. */
15657 char pcap_init ();
15659 main (void)
15661 return pcap_init ();
15663 return 0;
15665 _ACEOF
15666 if ac_fn_c_try_link "$LINENO"
15667 then :
15668 ac_cv_lib_pcap_pcap_init=yes
15669 else $as_nop
15670 ac_cv_lib_pcap_pcap_init=no
15672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15673 conftest$ac_exeext conftest.$ac_ext
15674 LIBS=$ac_check_lib_save_LIBS
15676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15677 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15678 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15679 then :
15680 PCAP_LIBS="-lpcap"
15685 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15686 then :
15687 case "x$with_pcap" in
15688 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15689 xno) ;;
15690 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15691 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15692 esac
15693 enable_wpcap=${enable_wpcap:-no}
15696 if test "x$with_pcsclite" != "xno"
15697 then
15698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15699 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15700 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15701 then :
15702 printf %s "(cached) " >&6
15703 else $as_nop
15704 ac_check_lib_save_LIBS=$LIBS
15705 LIBS="-lpcsclite $LIBS"
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15709 /* Override any GCC internal prototype to avoid an error.
15710 Use char because int might match the return type of a GCC
15711 builtin and then its argument prototype would still apply. */
15712 char SCardEstablishContext ();
15714 main (void)
15716 return SCardEstablishContext ();
15718 return 0;
15720 _ACEOF
15721 if ac_fn_c_try_link "$LINENO"
15722 then :
15723 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15724 else $as_nop
15725 ac_cv_lib_pcsclite_SCardEstablishContext=no
15727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15728 conftest$ac_exeext conftest.$ac_ext
15729 LIBS=$ac_check_lib_save_LIBS
15731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15732 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15733 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15734 then :
15735 PCSCLITE_LIBS="-lpcsclite"
15737 else $as_nop
15738 case $host_os in
15739 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15741 esac
15745 if test "x$PCSCLITE_LIBS" = x
15746 then :
15747 case "x$with_pcsclite" in
15748 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15749 xno) ;;
15750 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15751 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15752 esac
15753 enable_winscard=${enable_winscard:-no}
15756 if test "x$with_inotify" != "xno"
15757 then
15758 rm -f conftest.err
15759 if ${INOTIFY_CFLAGS:+false} :
15760 then :
15761 if test ${PKG_CONFIG+y}
15762 then :
15763 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15767 if ${INOTIFY_LIBS:+false} :
15768 then :
15769 if test ${PKG_CONFIG+y}
15770 then :
15771 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15778 if test -s conftest.err; then
15779 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15780 cat conftest.err >&5
15782 rm -f conftest.err
15783 ac_save_CPPFLAGS=$CPPFLAGS
15784 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15785 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15786 if test "x$ac_cv_header_sys_inotify_h" = xyes
15787 then :
15788 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15793 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15794 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15795 then :
15796 printf %s "(cached) " >&6
15797 else $as_nop
15798 ac_check_lib_save_LIBS=$LIBS
15799 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15803 /* Override any GCC internal prototype to avoid an error.
15804 Use char because int might match the return type of a GCC
15805 builtin and then its argument prototype would still apply. */
15806 char inotify_add_watch ();
15808 main (void)
15810 return inotify_add_watch ();
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_link "$LINENO"
15816 then :
15817 ac_cv_lib_inotify_inotify_add_watch=yes
15818 else $as_nop
15819 ac_cv_lib_inotify_inotify_add_watch=no
15821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15822 conftest$ac_exeext conftest.$ac_ext
15823 LIBS=$ac_check_lib_save_LIBS
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15826 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15827 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15828 then :
15830 else $as_nop
15831 INOTIFY_LIBS=""
15834 CPPFLAGS=$ac_save_CPPFLAGS
15837 if test "$ac_cv_header_sys_inotify_h" != "yes"
15838 then :
15839 case "x$with_inotify" in
15840 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15841 xno) ;;
15842 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15843 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15844 esac
15848 if test "x$with_dbus" != "xno"
15849 then
15850 rm -f conftest.err
15851 if ${DBUS_CFLAGS:+false} :
15852 then :
15853 if test ${PKG_CONFIG+y}
15854 then :
15855 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15859 if ${DBUS_LIBS:+false} :
15860 then :
15861 if test ${PKG_CONFIG+y}
15862 then :
15863 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15870 if test -s conftest.err; then
15871 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15872 cat conftest.err >&5
15874 rm -f conftest.err
15875 ac_save_CPPFLAGS=$CPPFLAGS
15876 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15877 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15878 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15879 then :
15880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15881 printf %s "checking for -ldbus-1... " >&6; }
15882 if test ${ac_cv_lib_soname_dbus_1+y}
15883 then :
15884 printf %s "(cached) " >&6
15885 else $as_nop
15886 ac_check_soname_save_LIBS=$LIBS
15887 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15891 /* Override any GCC internal prototype to avoid an error.
15892 Use char because int might match the return type of a GCC
15893 builtin and then its argument prototype would still apply. */
15894 char dbus_connection_close ();
15896 main (void)
15898 return dbus_connection_close ();
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_link "$LINENO"
15904 then :
15905 case "$LIBEXT" in
15906 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15907 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'` ;;
15908 *) 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'`
15909 if ${ac_cv_lib_soname_dbus_1:+false} :
15910 then :
15911 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15912 fi ;;
15913 esac
15914 else $as_nop
15915 ac_cv_lib_soname_dbus_1=
15917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15918 conftest$ac_exeext conftest.$ac_ext
15919 LIBS=$ac_check_soname_save_LIBS
15921 if ${ac_cv_lib_soname_dbus_1:+false} :
15922 then :
15923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15924 printf "%s\n" "not found" >&6; }
15925 DBUS_CFLAGS=""
15926 else $as_nop
15927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15928 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15930 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15934 else $as_nop
15935 DBUS_CFLAGS=""
15938 CPPFLAGS=$ac_save_CPPFLAGS
15941 case $host_os in
15942 darwin*|macosx*) ;;
15943 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15944 then :
15945 case "x$with_dbus" in
15946 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15947 xno) ;;
15948 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15949 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15950 esac
15952 fi ;;
15953 esac
15955 if test "x$with_gnutls" != "xno"
15956 then
15957 rm -f conftest.err
15958 if ${GNUTLS_CFLAGS:+false} :
15959 then :
15960 if test ${PKG_CONFIG+y}
15961 then :
15962 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15966 if ${GNUTLS_LIBS:+false} :
15967 then :
15968 if test ${PKG_CONFIG+y}
15969 then :
15970 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15974 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15977 if test -s conftest.err; then
15978 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15979 cat conftest.err >&5
15981 rm -f conftest.err
15982 ac_save_CPPFLAGS=$CPPFLAGS
15983 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15984 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15985 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15986 then :
15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15988 /* end confdefs.h. */
15989 #include <gnutls/gnutls.h>
15990 #include <gnutls/crypto.h>
15992 main (void)
15994 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15996 return 0;
15998 _ACEOF
15999 if ac_fn_c_try_compile "$LINENO"
16000 then :
16001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16002 printf %s "checking for -lgnutls... " >&6; }
16003 if test ${ac_cv_lib_soname_gnutls+y}
16004 then :
16005 printf %s "(cached) " >&6
16006 else $as_nop
16007 ac_check_soname_save_LIBS=$LIBS
16008 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16012 /* Override any GCC internal prototype to avoid an error.
16013 Use char because int might match the return type of a GCC
16014 builtin and then its argument prototype would still apply. */
16015 char gnutls_global_init ();
16017 main (void)
16019 return gnutls_global_init ();
16021 return 0;
16023 _ACEOF
16024 if ac_fn_c_try_link "$LINENO"
16025 then :
16026 case "$LIBEXT" in
16027 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16028 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'` ;;
16029 *) 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'`
16030 if ${ac_cv_lib_soname_gnutls:+false} :
16031 then :
16032 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'`
16033 fi ;;
16034 esac
16035 else $as_nop
16036 ac_cv_lib_soname_gnutls=
16038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16039 conftest$ac_exeext conftest.$ac_ext
16040 LIBS=$ac_check_soname_save_LIBS
16042 if ${ac_cv_lib_soname_gnutls:+false} :
16043 then :
16044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16045 printf "%s\n" "not found" >&6; }
16046 GNUTLS_CFLAGS=""
16047 else $as_nop
16048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16049 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16051 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16055 ac_wine_check_funcs_save_LIBS="$LIBS"
16056 LIBS="$LIBS $GNUTLS_LIBS"
16058 for ac_func in gnutls_cipher_init
16059 do :
16060 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16061 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16062 then :
16063 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16065 else $as_nop
16066 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16069 done
16070 LIBS="$ac_wine_check_funcs_save_LIBS"
16072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16073 else $as_nop
16074 GNUTLS_CFLAGS=""
16077 CPPFLAGS=$ac_save_CPPFLAGS
16080 if test "x$ac_cv_lib_soname_gnutls" = "x"
16081 then :
16082 case "x$with_gnutls" in
16083 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16084 xno) ;;
16085 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16086 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16087 esac
16091 if test "x$with_sane" != "xno"
16092 then
16093 rm -f conftest.err
16094 if ${SANE_CFLAGS:+false} :
16095 then :
16096 if test ${PKG_CONFIG+y}
16097 then :
16098 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16101 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16102 if ${SANE_LIBS:+false} :
16103 then :
16104 if test ${PKG_CONFIG+y}
16105 then :
16106 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16109 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16113 if test -s conftest.err; then
16114 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16115 cat conftest.err >&5
16117 rm -f conftest.err
16118 ac_save_CPPFLAGS=$CPPFLAGS
16119 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16120 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_sane_sane_h" = xyes
16122 then :
16123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16124 printf %s "checking for sane_init in -lsane... " >&6; }
16125 if test ${ac_cv_lib_sane_sane_init+y}
16126 then :
16127 printf %s "(cached) " >&6
16128 else $as_nop
16129 ac_check_lib_save_LIBS=$LIBS
16130 LIBS="-lsane $SANE_LIBS $LIBS"
16131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16134 /* Override any GCC internal prototype to avoid an error.
16135 Use char because int might match the return type of a GCC
16136 builtin and then its argument prototype would still apply. */
16137 char sane_init ();
16139 main (void)
16141 return sane_init ();
16143 return 0;
16145 _ACEOF
16146 if ac_fn_c_try_link "$LINENO"
16147 then :
16148 ac_cv_lib_sane_sane_init=yes
16149 else $as_nop
16150 ac_cv_lib_sane_sane_init=no
16152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16153 conftest$ac_exeext conftest.$ac_ext
16154 LIBS=$ac_check_lib_save_LIBS
16156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16157 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16158 if test "x$ac_cv_lib_sane_sane_init" = xyes
16159 then :
16165 CPPFLAGS=$ac_save_CPPFLAGS
16168 if test "$ac_cv_lib_sane_sane_init" != "yes"
16169 then :
16170 case "x$with_sane" in
16171 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16172 xno) ;;
16173 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16174 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16175 esac
16176 enable_sane_ds=${enable_sane_ds:-no}
16179 if test "x$with_usb" != "xno"
16180 then
16181 rm -f conftest.err
16182 if ${USB_CFLAGS:+false} :
16183 then :
16184 if test ${PKG_CONFIG+y}
16185 then :
16186 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16190 if ${USB_LIBS:+false} :
16191 then :
16192 if test ${PKG_CONFIG+y}
16193 then :
16194 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16198 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16201 if test -s conftest.err; then
16202 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16203 cat conftest.err >&5
16205 rm -f conftest.err
16206 ac_save_CPPFLAGS=$CPPFLAGS
16207 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16208 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16209 if test "x$ac_cv_header_libusb_h" = xyes
16210 then :
16211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16212 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16213 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16214 then :
16215 printf %s "(cached) " >&6
16216 else $as_nop
16217 ac_check_lib_save_LIBS=$LIBS
16218 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16225 char libusb_interrupt_event_handler ();
16227 main (void)
16229 return libusb_interrupt_event_handler ();
16231 return 0;
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"
16235 then :
16236 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16237 else $as_nop
16238 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16241 conftest$ac_exeext conftest.$ac_ext
16242 LIBS=$ac_check_lib_save_LIBS
16244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16245 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16246 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16247 then :
16249 else $as_nop
16250 USB_LIBS=""
16253 else $as_nop
16254 USB_LIBS=""
16257 CPPFLAGS=$ac_save_CPPFLAGS
16260 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16261 then :
16262 case "x$with_usb" in
16263 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16264 xno) ;;
16265 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16266 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16267 esac
16268 enable_wineusb_sys=${enable_wineusb_sys:-no}
16271 if test "x$with_v4l2" != "xno"
16272 then
16273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16274 printf %s "checking for -lv4l2... " >&6; }
16275 if test ${ac_cv_lib_soname_v4l2+y}
16276 then :
16277 printf %s "(cached) " >&6
16278 else $as_nop
16279 ac_check_soname_save_LIBS=$LIBS
16280 LIBS="-lv4l2 $LIBS"
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16284 /* Override any GCC internal prototype to avoid an error.
16285 Use char because int might match the return type of a GCC
16286 builtin and then its argument prototype would still apply. */
16287 char v4l2_open ();
16289 main (void)
16291 return v4l2_open ();
16293 return 0;
16295 _ACEOF
16296 if ac_fn_c_try_link "$LINENO"
16297 then :
16298 case "$LIBEXT" in
16299 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16300 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'` ;;
16301 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16302 if ${ac_cv_lib_soname_v4l2:+false} :
16303 then :
16304 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16305 fi ;;
16306 esac
16307 else $as_nop
16308 ac_cv_lib_soname_v4l2=
16310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16311 conftest$ac_exeext conftest.$ac_ext
16312 LIBS=$ac_check_soname_save_LIBS
16314 if ${ac_cv_lib_soname_v4l2:+false} :
16315 then :
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16317 printf "%s\n" "not found" >&6; }
16319 else $as_nop
16320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16321 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16323 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16328 if test "x$ac_cv_lib_soname_v4l2" = "x"
16329 then :
16330 case "x$with_v4l2" in
16331 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16332 xno) ;;
16333 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16334 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16335 esac
16339 if test "x$with_gphoto" != "xno"
16340 then
16341 rm -f conftest.err
16342 if ${GPHOTO2_CFLAGS:+false} :
16343 then :
16344 if test ${PKG_CONFIG+y}
16345 then :
16346 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16349 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16350 if ${GPHOTO2_LIBS:+false} :
16351 then :
16352 if test ${PKG_CONFIG+y}
16353 then :
16354 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16357 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16358 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16361 if test -s conftest.err; then
16362 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16363 cat conftest.err >&5
16365 rm -f conftest.err
16366 ac_save_CPPFLAGS=$CPPFLAGS
16367 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16368 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16369 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16370 then :
16371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16372 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16373 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16374 then :
16375 printf %s "(cached) " >&6
16376 else $as_nop
16377 ac_check_lib_save_LIBS=$LIBS
16378 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16385 char gp_camera_new ();
16387 main (void)
16389 return gp_camera_new ();
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_link "$LINENO"
16395 then :
16396 ac_cv_lib_gphoto2_gp_camera_new=yes
16397 else $as_nop
16398 ac_cv_lib_gphoto2_gp_camera_new=no
16400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16401 conftest$ac_exeext conftest.$ac_ext
16402 LIBS=$ac_check_lib_save_LIBS
16404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16405 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16406 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16407 then :
16413 CPPFLAGS=$ac_save_CPPFLAGS
16415 rm -f conftest.err
16416 if ${GPHOTO2_PORT_CFLAGS:+false} :
16417 then :
16418 if test ${PKG_CONFIG+y}
16419 then :
16420 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16423 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16424 if ${GPHOTO2_PORT_LIBS:+false} :
16425 then :
16426 if test ${PKG_CONFIG+y}
16427 then :
16428 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16431 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16432 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16435 if test -s conftest.err; then
16436 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16437 cat conftest.err >&5
16439 rm -f conftest.err
16440 ac_save_CPPFLAGS=$CPPFLAGS
16441 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16442 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16443 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16444 then :
16445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16446 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16447 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16448 then :
16449 printf %s "(cached) " >&6
16450 else $as_nop
16451 ac_check_lib_save_LIBS=$LIBS
16452 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16456 /* Override any GCC internal prototype to avoid an error.
16457 Use char because int might match the return type of a GCC
16458 builtin and then its argument prototype would still apply. */
16459 char gp_port_info_list_new ();
16461 main (void)
16463 return gp_port_info_list_new ();
16465 return 0;
16467 _ACEOF
16468 if ac_fn_c_try_link "$LINENO"
16469 then :
16470 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16471 else $as_nop
16472 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16475 conftest$ac_exeext conftest.$ac_ext
16476 LIBS=$ac_check_lib_save_LIBS
16478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16479 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16480 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16481 then :
16483 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16485 else $as_nop
16486 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16489 else $as_nop
16490 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16493 CPPFLAGS=$ac_save_CPPFLAGS
16496 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16497 then :
16498 case "x$with_gphoto" in
16499 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16500 xno) ;;
16501 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16502 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16503 esac
16504 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16506 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16507 then :
16508 case "x$with_gphoto" in
16509 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16510 xno) ;;
16511 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16512 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16513 esac
16518 if test "$ac_cv_header_resolv_h" = "yes"
16519 then
16520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16521 printf %s "checking for resolver library... " >&6; }
16522 if test ${ac_cv_have_resolv+y}
16523 then :
16524 printf %s "(cached) " >&6
16525 else $as_nop
16526 ac_save_LIBS="$LIBS"
16527 for lib in '' -lresolv
16529 LIBS="$lib $ac_save_LIBS"
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 #ifdef HAVE_NETINET_IN_H
16533 #include <netinet/in.h>
16534 #endif
16535 #include <resolv.h>
16537 main (void)
16539 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16541 return 0;
16543 _ACEOF
16544 if ac_fn_c_try_link "$LINENO"
16545 then :
16546 ac_cv_have_resolv=${lib:-"none required"}
16547 else $as_nop
16548 ac_cv_have_resolv="not found"
16550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16551 conftest$ac_exeext conftest.$ac_ext
16552 test "x$ac_cv_have_resolv" = "xnot found" || break
16553 done
16554 LIBS="$ac_save_LIBS"
16556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16557 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16559 case "$ac_cv_have_resolv" in
16560 "not found") ;;
16561 "none required")
16563 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16566 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16568 RESOLV_LIBS=$ac_cv_have_resolv
16570 esac
16572 if test "x$ac_cv_have_resolv" != "xnot found"
16573 then
16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16575 printf %s "checking for res_getservers... " >&6; }
16576 if test ${ac_cv_have_res_getservers+y}
16577 then :
16578 printf %s "(cached) " >&6
16579 else $as_nop
16580 ac_save_LIBS="$LIBS"
16581 LIBS="$RESOLV_LIBS $LIBS"
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16584 #include <resolv.h>
16586 main (void)
16588 res_getservers(NULL, NULL, 0);
16590 return 0;
16592 _ACEOF
16593 if ac_fn_c_try_link "$LINENO"
16594 then :
16595 ac_cv_have_res_getservers=yes
16596 else $as_nop
16597 ac_cv_have_res_getservers=no
16599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16600 conftest$ac_exeext conftest.$ac_ext
16601 LIBS="$ac_save_LIBS"
16603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16604 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16605 if test "$ac_cv_have_res_getservers" = "yes"
16606 then
16608 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16614 if test "x$with_freetype" != "xno"
16615 then
16616 rm -f conftest.err
16617 if ${FREETYPE_CFLAGS:+false} :
16618 then :
16619 if test ${PKG_CONFIG+y}
16620 then :
16621 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16624 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16625 if ${FREETYPE_LIBS:+false} :
16626 then :
16627 if test ${PKG_CONFIG+y}
16628 then :
16629 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16632 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16633 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16636 if test -s conftest.err; then
16637 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16638 cat conftest.err >&5
16640 rm -f conftest.err
16641 ac_save_CPPFLAGS=$CPPFLAGS
16642 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16643 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16644 if test "x$ac_cv_header_ft2build_h" = xyes
16645 then :
16646 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16650 if test "$ac_cv_header_ft2build_h" = "yes"
16651 then
16652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16653 printf %s "checking for -lfreetype... " >&6; }
16654 if test ${ac_cv_lib_soname_freetype+y}
16655 then :
16656 printf %s "(cached) " >&6
16657 else $as_nop
16658 ac_check_soname_save_LIBS=$LIBS
16659 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16661 /* end confdefs.h. */
16663 /* Override any GCC internal prototype to avoid an error.
16664 Use char because int might match the return type of a GCC
16665 builtin and then its argument prototype would still apply. */
16666 char FT_Init_FreeType ();
16668 main (void)
16670 return FT_Init_FreeType ();
16672 return 0;
16674 _ACEOF
16675 if ac_fn_c_try_link "$LINENO"
16676 then :
16677 case "$LIBEXT" in
16678 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16679 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'` ;;
16680 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16681 if ${ac_cv_lib_soname_freetype:+false} :
16682 then :
16683 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16684 fi ;;
16685 esac
16686 else $as_nop
16687 ac_cv_lib_soname_freetype=
16689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16690 conftest$ac_exeext conftest.$ac_ext
16691 LIBS=$ac_check_soname_save_LIBS
16693 if ${ac_cv_lib_soname_freetype:+false} :
16694 then :
16695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16696 printf "%s\n" "not found" >&6; }
16697 FREETYPE_LIBS=""
16698 else $as_nop
16699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16700 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16702 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16705 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16707 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16708 #include FT_MODULE_H
16710 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16711 then :
16713 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16719 else
16720 FREETYPE_CFLAGS=""
16721 FREETYPE_LIBS=""
16723 CPPFLAGS=$ac_save_CPPFLAGS
16726 if test "x$ac_cv_lib_soname_freetype" = x
16727 then :
16728 case "x$with_freetype" in
16729 xno) ;;
16730 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16731 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16732 esac
16733 enable_fonts=${enable_fonts:-no}
16736 ac_wine_check_funcs_save_LIBS="$LIBS"
16737 LIBS="$LIBS $PTHREAD_LIBS"
16738 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16739 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16740 then :
16741 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16745 LIBS="$ac_wine_check_funcs_save_LIBS"
16747 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16748 then
16749 if test "$ac_cv_header_gettext_po_h" = "yes"
16750 then
16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16752 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16753 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16754 then :
16755 printf %s "(cached) " >&6
16756 else $as_nop
16757 ac_check_lib_save_LIBS=$LIBS
16758 LIBS="-lgettextpo $LIBS"
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16762 /* Override any GCC internal prototype to avoid an error.
16763 Use char because int might match the return type of a GCC
16764 builtin and then its argument prototype would still apply. */
16765 char po_message_msgctxt ();
16767 main (void)
16769 return po_message_msgctxt ();
16771 return 0;
16773 _ACEOF
16774 if ac_fn_c_try_link "$LINENO"
16775 then :
16776 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16777 else $as_nop
16778 ac_cv_lib_gettextpo_po_message_msgctxt=no
16780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16781 conftest$ac_exeext conftest.$ac_ext
16782 LIBS=$ac_check_lib_save_LIBS
16784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16785 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16786 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16787 then :
16789 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16791 GETTEXTPO_LIBS="-lgettextpo"
16796 if test "x$GETTEXTPO_LIBS" = "x"
16797 then :
16798 case "x$with_gettextpo" in
16799 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16800 xno) ;;
16801 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16802 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16803 esac
16806 if test "$srcdir" != .
16807 then :
16808 case "x$with_gettextpo" in
16809 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16810 xno) ;;
16811 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16812 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16813 esac
16818 if test "x$with_pulse" != "xno";
16819 then
16820 rm -f conftest.err
16821 if ${PULSE_CFLAGS:+false} :
16822 then :
16823 if test ${PKG_CONFIG+y}
16824 then :
16825 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16829 if ${PULSE_LIBS:+false} :
16830 then :
16831 if test ${PKG_CONFIG+y}
16832 then :
16833 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16840 if test -s conftest.err; then
16841 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16842 cat conftest.err >&5
16844 rm -f conftest.err
16845 ac_save_CPPFLAGS=$CPPFLAGS
16846 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16847 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16848 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16849 then :
16850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16851 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16852 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16853 then :
16854 printf %s "(cached) " >&6
16855 else $as_nop
16856 ac_check_lib_save_LIBS=$LIBS
16857 LIBS="-lpulse $PULSE_LIBS $LIBS"
16858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16861 /* Override any GCC internal prototype to avoid an error.
16862 Use char because int might match the return type of a GCC
16863 builtin and then its argument prototype would still apply. */
16864 char pa_stream_is_corked ();
16866 main (void)
16868 return pa_stream_is_corked ();
16870 return 0;
16872 _ACEOF
16873 if ac_fn_c_try_link "$LINENO"
16874 then :
16875 ac_cv_lib_pulse_pa_stream_is_corked=yes
16876 else $as_nop
16877 ac_cv_lib_pulse_pa_stream_is_corked=no
16879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16880 conftest$ac_exeext conftest.$ac_ext
16881 LIBS=$ac_check_lib_save_LIBS
16883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16884 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16885 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16886 then :
16888 else $as_nop
16889 PULSE_LIBS=""
16892 else $as_nop
16893 PULSE_LIBS=""
16896 CPPFLAGS=$ac_save_CPPFLAGS
16899 if test -z "$PULSE_LIBS"
16900 then :
16901 case "x$with_pulse" in
16902 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16903 xno) ;;
16904 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16905 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16906 esac
16907 enable_winepulse_drv=${enable_winepulse_drv:-no}
16910 if test "x$with_gstreamer" != "xno"
16911 then
16912 rm -f conftest.err
16913 if ${GSTREAMER_CFLAGS:+false} :
16914 then :
16915 if test ${PKG_CONFIG+y}
16916 then :
16917 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16921 if ${GSTREAMER_LIBS:+false} :
16922 then :
16923 if test ${PKG_CONFIG+y}
16924 then :
16925 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16930 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
16931 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
16932 if test -s conftest.err; then
16933 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16934 cat conftest.err >&5
16936 rm -f conftest.err
16937 ac_save_CPPFLAGS=$CPPFLAGS
16938 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16939 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16940 if test "x$ac_cv_header_gst_gst_h" = xyes
16941 then :
16942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16943 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <gst/gst.h>
16948 main (void)
16950 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16952 return 0;
16954 _ACEOF
16955 if ac_fn_c_try_compile "$LINENO"
16956 then :
16957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16958 printf "%s\n" "yes" >&6; }
16959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16960 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16961 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16962 then :
16963 printf %s "(cached) " >&6
16964 else $as_nop
16965 ac_check_lib_save_LIBS=$LIBS
16966 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h. */
16970 /* Override any GCC internal prototype to avoid an error.
16971 Use char because int might match the return type of a GCC
16972 builtin and then its argument prototype would still apply. */
16973 char gst_pad_new ();
16975 main (void)
16977 return gst_pad_new ();
16979 return 0;
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"
16983 then :
16984 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16985 else $as_nop
16986 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16989 conftest$ac_exeext conftest.$ac_ext
16990 LIBS=$ac_check_lib_save_LIBS
16992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16993 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16994 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16995 then :
16999 else $as_nop
17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17001 printf "%s\n" "no" >&6; }
17002 ac_glib2_broken=yes
17003 enable_winegstreamer=${enable_winegstreamer:-no}
17004 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17009 CPPFLAGS=$ac_save_CPPFLAGS
17012 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17013 then :
17014 case "x$with_gstreamer" in
17015 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17016 xno) ;;
17017 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17018 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17019 esac
17020 enable_winegstreamer=${enable_winegstreamer:-no}
17023 ALSA_LIBS=""
17025 if test "x$with_alsa" != "xno"
17026 then
17027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17028 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17029 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17030 then :
17031 printf %s "(cached) " >&6
17032 else $as_nop
17033 ac_check_lib_save_LIBS=$LIBS
17034 LIBS="-lasound $LIBS"
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17038 /* Override any GCC internal prototype to avoid an error.
17039 Use char because int might match the return type of a GCC
17040 builtin and then its argument prototype would still apply. */
17041 char snd_pcm_hw_params_get_access_mask ();
17043 main (void)
17045 return snd_pcm_hw_params_get_access_mask ();
17047 return 0;
17049 _ACEOF
17050 if ac_fn_c_try_link "$LINENO"
17051 then :
17052 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17053 else $as_nop
17054 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17057 conftest$ac_exeext conftest.$ac_ext
17058 LIBS=$ac_check_lib_save_LIBS
17060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17061 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17062 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17063 then :
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 #include <alsa/asoundlib.h>
17068 main (void)
17070 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17072 return 0;
17074 _ACEOF
17075 if ac_fn_c_try_compile "$LINENO"
17076 then :
17077 ALSA_LIBS="-lasound"
17079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17083 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17085 if test "x$with_oss" != xno
17086 then
17087 ac_save_CPPFLAGS="$CPPFLAGS"
17088 if test -f /etc/oss.conf
17089 then
17090 . /etc/oss.conf
17092 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17093 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17094 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17095 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17096 then :
17097 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17099 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17100 then :
17102 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17104 OSS4_CFLAGS="$ac_oss_incl"
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17107 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17108 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17109 then :
17110 printf %s "(cached) " >&6
17111 else $as_nop
17112 ac_check_lib_save_LIBS=$LIBS
17113 LIBS="-lossaudio $LIBS"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17117 /* Override any GCC internal prototype to avoid an error.
17118 Use char because int might match the return type of a GCC
17119 builtin and then its argument prototype would still apply. */
17120 char _oss_ioctl ();
17122 main (void)
17124 return _oss_ioctl ();
17126 return 0;
17128 _ACEOF
17129 if ac_fn_c_try_link "$LINENO"
17130 then :
17131 ac_cv_lib_ossaudio__oss_ioctl=yes
17132 else $as_nop
17133 ac_cv_lib_ossaudio__oss_ioctl=no
17135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17136 conftest$ac_exeext conftest.$ac_ext
17137 LIBS=$ac_check_lib_save_LIBS
17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17140 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17141 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17142 then :
17143 OSS4_LIBS="-lossaudio"
17151 CPPFLAGS="$ac_save_CPPFLAGS"
17153 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17154 then :
17155 case "x$with_oss" in
17156 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17157 xno) ;;
17158 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17159 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17160 esac
17161 enable_wineoss_drv=${enable_wineoss_drv:-no}
17164 if test "x$with_udev" != "xno"
17165 then
17166 rm -f conftest.err
17167 if ${UDEV_CFLAGS:+false} :
17168 then :
17169 if test ${PKG_CONFIG+y}
17170 then :
17171 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17175 if ${UDEV_LIBS:+false} :
17176 then :
17177 if test ${PKG_CONFIG+y}
17178 then :
17179 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17183 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17186 if test -s conftest.err; then
17187 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17188 cat conftest.err >&5
17190 rm -f conftest.err
17191 ac_save_CPPFLAGS=$CPPFLAGS
17192 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17193 for ac_header in libudev.h
17194 do :
17195 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17196 if test "x$ac_cv_header_libudev_h" = xyes
17197 then :
17198 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17200 printf %s "checking for udev_new in -ludev... " >&6; }
17201 if test ${ac_cv_lib_udev_udev_new+y}
17202 then :
17203 printf %s "(cached) " >&6
17204 else $as_nop
17205 ac_check_lib_save_LIBS=$LIBS
17206 LIBS="-ludev $UDEV_LIBS $LIBS"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 /* Override any GCC internal prototype to avoid an error.
17211 Use char because int might match the return type of a GCC
17212 builtin and then its argument prototype would still apply. */
17213 char udev_new ();
17215 main (void)
17217 return udev_new ();
17219 return 0;
17221 _ACEOF
17222 if ac_fn_c_try_link "$LINENO"
17223 then :
17224 ac_cv_lib_udev_udev_new=yes
17225 else $as_nop
17226 ac_cv_lib_udev_udev_new=no
17228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17229 conftest$ac_exeext conftest.$ac_ext
17230 LIBS=$ac_check_lib_save_LIBS
17232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17233 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17234 if test "x$ac_cv_lib_udev_udev_new" = xyes
17235 then :
17237 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17239 else $as_nop
17240 UDEV_LIBS=""
17243 else $as_nop
17244 UDEV_LIBS=""
17247 done
17248 CPPFLAGS=$ac_save_CPPFLAGS
17251 if test "x$UDEV_LIBS" = "x"
17252 then :
17253 case "x$with_udev" in
17254 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17255 xno) ;;
17256 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17257 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17258 esac
17262 if test "x$with_unwind" != xno
17263 then
17264 rm -f conftest.err
17265 if ${UNWIND_CFLAGS:+false} :
17266 then :
17267 if test ${PKG_CONFIG+y}
17268 then :
17269 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17273 if ${UNWIND_LIBS:+false} :
17274 then :
17275 if test ${PKG_CONFIG+y}
17276 then :
17277 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17281 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17284 if test -s conftest.err; then
17285 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17286 cat conftest.err >&5
17288 rm -f conftest.err
17289 ac_save_CPPFLAGS=$CPPFLAGS
17290 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17292 printf %s "checking for unw_step... " >&6; }
17293 if test ${wine_cv_have_unw_step+y}
17294 then :
17295 printf %s "(cached) " >&6
17296 else $as_nop
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 #define UNW_LOCAL_ONLY
17300 #include <libunwind.h>
17302 main (void)
17304 unw_cursor_t cursor; unw_step( &cursor );
17306 return 0;
17308 _ACEOF
17309 if ac_fn_c_try_link "$LINENO"
17310 then :
17311 wine_cv_have_unw_step="yes"
17312 else $as_nop
17313 wine_cv_have_unw_step="no"
17315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17316 conftest$ac_exeext conftest.$ac_ext
17318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17319 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17320 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17321 then
17322 save_libs=$LIBS
17323 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17324 LIBS="$UNWIND_LIBS $LIBS"
17325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17326 printf %s "checking for unw_step in libunwind... " >&6; }
17327 if test ${wine_cv_have_libunwind_unw_step+y}
17328 then :
17329 printf %s "(cached) " >&6
17330 else $as_nop
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #define UNW_LOCAL_ONLY
17334 #include <libunwind.h>
17336 main (void)
17338 unw_cursor_t cursor; unw_step( &cursor );
17340 return 0;
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"
17344 then :
17345 wine_cv_have_libunwind_unw_step="yes"
17346 else $as_nop
17347 wine_cv_have_libunwind_unw_step="no"
17349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17350 conftest$ac_exeext conftest.$ac_ext
17352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17353 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17354 LIBS=$save_libs
17356 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17357 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17358 then
17360 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17363 CPPFLAGS=$ac_save_CPPFLAGS
17366 case $host in
17367 aarch64*|*-darwin*)
17368 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17369 then :
17370 case "x$with_unwind" in
17371 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17372 xno) ;;
17373 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17374 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17375 esac
17377 fi ;;
17378 esac
17380 if test "x$with_sdl" != "xno"
17381 then
17382 rm -f conftest.err
17383 if ${SDL2_CFLAGS:+false} :
17384 then :
17385 if test ${PKG_CONFIG+y}
17386 then :
17387 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17391 if ${SDL2_LIBS:+false} :
17392 then :
17393 if test ${PKG_CONFIG+y}
17394 then :
17395 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17399 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17402 if test -s conftest.err; then
17403 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17404 cat conftest.err >&5
17406 rm -f conftest.err
17407 ac_save_CPPFLAGS=$CPPFLAGS
17408 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17409 for ac_header in SDL.h
17410 do :
17411 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17412 if test "x$ac_cv_header_SDL_h" = xyes
17413 then :
17414 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17416 printf %s "checking for -lSDL2... " >&6; }
17417 if test ${ac_cv_lib_soname_SDL2+y}
17418 then :
17419 printf %s "(cached) " >&6
17420 else $as_nop
17421 ac_check_soname_save_LIBS=$LIBS
17422 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17426 /* Override any GCC internal prototype to avoid an error.
17427 Use char because int might match the return type of a GCC
17428 builtin and then its argument prototype would still apply. */
17429 char SDL_Init ();
17431 main (void)
17433 return SDL_Init ();
17435 return 0;
17437 _ACEOF
17438 if ac_fn_c_try_link "$LINENO"
17439 then :
17440 case "$LIBEXT" in
17441 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17442 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'` ;;
17443 *) 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'`
17444 if ${ac_cv_lib_soname_SDL2:+false} :
17445 then :
17446 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17447 fi ;;
17448 esac
17449 else $as_nop
17450 ac_cv_lib_soname_SDL2=
17452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17453 conftest$ac_exeext conftest.$ac_ext
17454 LIBS=$ac_check_soname_save_LIBS
17456 if ${ac_cv_lib_soname_SDL2:+false} :
17457 then :
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17459 printf "%s\n" "not found" >&6; }
17461 else $as_nop
17462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17463 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17465 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17471 done
17472 CPPFLAGS=$ac_save_CPPFLAGS
17475 if test "x$ac_cv_lib_soname_SDL2" = "x"
17476 then :
17477 case "x$with_sdl" in
17478 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17479 xno) ;;
17480 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17481 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17482 esac
17486 if test "x$with_capi" != "xno"
17487 then
17488 rm -f conftest.err
17489 if ${CAPI20_CFLAGS:+false} :
17490 then :
17491 if test ${PKG_CONFIG+y}
17492 then :
17493 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17497 if ${CAPI20_LIBS:+false} :
17498 then :
17499 if test ${PKG_CONFIG+y}
17500 then :
17501 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17508 if test -s conftest.err; then
17509 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17510 cat conftest.err >&5
17512 rm -f conftest.err
17513 ac_save_CPPFLAGS=$CPPFLAGS
17514 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17515 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17517 if test "x$ac_cv_header_capi20_h" = xyes
17518 then :
17519 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17522 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17524 if test "x$ac_cv_header_linux_capi_h" = xyes
17525 then :
17526 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17530 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17531 then
17532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17533 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17534 if test ${ac_cv_lib_capi20_capi20_register+y}
17535 then :
17536 printf %s "(cached) " >&6
17537 else $as_nop
17538 ac_check_lib_save_LIBS=$LIBS
17539 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17543 /* Override any GCC internal prototype to avoid an error.
17544 Use char because int might match the return type of a GCC
17545 builtin and then its argument prototype would still apply. */
17546 char capi20_register ();
17548 main (void)
17550 return capi20_register ();
17552 return 0;
17554 _ACEOF
17555 if ac_fn_c_try_link "$LINENO"
17556 then :
17557 ac_cv_lib_capi20_capi20_register=yes
17558 else $as_nop
17559 ac_cv_lib_capi20_capi20_register=no
17561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17562 conftest$ac_exeext conftest.$ac_ext
17563 LIBS=$ac_check_lib_save_LIBS
17565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17566 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17567 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17568 then :
17570 else $as_nop
17571 CAPI20_LIBS=""
17575 CPPFLAGS=$ac_save_CPPFLAGS
17578 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17579 then :
17580 case "x$with_capi" in
17581 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17582 xno) ;;
17583 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17584 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17585 esac
17586 enable_capi2032=${enable_capi2032:-no}
17589 if test "x$with_cups" != "xno"
17590 then
17591 rm -f conftest.err
17592 if ${CUPS_CFLAGS:+false} :
17593 then :
17594 if test ${PKG_CONFIG+y}
17595 then :
17596 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17599 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17600 if ${CUPS_LIBS:+false} :
17601 then :
17602 if test ${PKG_CONFIG+y}
17603 then :
17604 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17607 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17608 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17611 if test -s conftest.err; then
17612 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17613 cat conftest.err >&5
17615 rm -f conftest.err
17616 ac_save_CPPFLAGS=$CPPFLAGS
17617 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17618 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17619 if test "x$ac_cv_header_cups_cups_h" = xyes
17620 then :
17621 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17624 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17625 if test "x$ac_cv_header_cups_ppd_h" = xyes
17626 then :
17627 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17631 if test "$ac_cv_header_cups_cups_h" = "yes"
17632 then
17633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17634 printf %s "checking for -lcups... " >&6; }
17635 if test ${ac_cv_lib_soname_cups+y}
17636 then :
17637 printf %s "(cached) " >&6
17638 else $as_nop
17639 ac_check_soname_save_LIBS=$LIBS
17640 LIBS="-lcups $CUPS_LIBS $LIBS"
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17644 /* Override any GCC internal prototype to avoid an error.
17645 Use char because int might match the return type of a GCC
17646 builtin and then its argument prototype would still apply. */
17647 char cupsGetDefault ();
17649 main (void)
17651 return cupsGetDefault ();
17653 return 0;
17655 _ACEOF
17656 if ac_fn_c_try_link "$LINENO"
17657 then :
17658 case "$LIBEXT" in
17659 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17660 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'` ;;
17661 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17662 if ${ac_cv_lib_soname_cups:+false} :
17663 then :
17664 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17665 fi ;;
17666 esac
17667 else $as_nop
17668 ac_cv_lib_soname_cups=
17670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17671 conftest$ac_exeext conftest.$ac_ext
17672 LIBS=$ac_check_soname_save_LIBS
17674 if ${ac_cv_lib_soname_cups:+false} :
17675 then :
17676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17677 printf "%s\n" "not found" >&6; }
17678 CUPS_LIBS=""
17679 else $as_nop
17680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17681 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17683 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17687 else
17688 CUPS_CFLAGS=""
17689 CUPS_LIBS=""
17691 CPPFLAGS=$ac_save_CPPFLAGS
17694 if test "x$ac_cv_lib_soname_cups" = "x"
17695 then :
17696 case "x$with_cups" in
17697 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17698 xno) ;;
17699 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17700 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17701 esac
17705 if test "x$with_fontconfig" != "xno"
17706 then
17707 rm -f conftest.err
17708 if ${FONTCONFIG_CFLAGS:+false} :
17709 then :
17710 if test ${PKG_CONFIG+y}
17711 then :
17712 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17715 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17716 if ${FONTCONFIG_LIBS:+false} :
17717 then :
17718 if test ${PKG_CONFIG+y}
17719 then :
17720 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17723 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17727 if test -s conftest.err; then
17728 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17729 cat conftest.err >&5
17731 rm -f conftest.err
17732 ac_save_CPPFLAGS=$CPPFLAGS
17733 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17734 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17735 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17736 then :
17737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17738 printf %s "checking for -lfontconfig... " >&6; }
17739 if test ${ac_cv_lib_soname_fontconfig+y}
17740 then :
17741 printf %s "(cached) " >&6
17742 else $as_nop
17743 ac_check_soname_save_LIBS=$LIBS
17744 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17748 /* Override any GCC internal prototype to avoid an error.
17749 Use char because int might match the return type of a GCC
17750 builtin and then its argument prototype would still apply. */
17751 char FcInit ();
17753 main (void)
17755 return FcInit ();
17757 return 0;
17759 _ACEOF
17760 if ac_fn_c_try_link "$LINENO"
17761 then :
17762 case "$LIBEXT" in
17763 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17764 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'` ;;
17765 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17766 if ${ac_cv_lib_soname_fontconfig:+false} :
17767 then :
17768 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17769 fi ;;
17770 esac
17771 else $as_nop
17772 ac_cv_lib_soname_fontconfig=
17774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17775 conftest$ac_exeext conftest.$ac_ext
17776 LIBS=$ac_check_soname_save_LIBS
17778 if ${ac_cv_lib_soname_fontconfig:+false} :
17779 then :
17780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17781 printf "%s\n" "not found" >&6; }
17782 FONTCONFIG_CFLAGS=""
17783 else $as_nop
17784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17785 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17787 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17791 else $as_nop
17792 FONTCONFIG_CFLAGS=""
17795 CPPFLAGS=$ac_save_CPPFLAGS
17798 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17799 then :
17800 case "x$with_fontconfig" in
17801 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17802 xno) ;;
17803 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17804 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17805 esac
17809 if test "x$with_krb5" != "xno"
17810 then
17811 rm -f conftest.err
17812 if ${KRB5_CFLAGS:+false} :
17813 then :
17814 if test ${PKG_CONFIG+y}
17815 then :
17816 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17819 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17820 if ${KRB5_LIBS:+false} :
17821 then :
17822 if test ${PKG_CONFIG+y}
17823 then :
17824 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17827 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17831 if test -s conftest.err; then
17832 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17833 cat conftest.err >&5
17835 rm -f conftest.err
17836 ac_save_CPPFLAGS=$CPPFLAGS
17837 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17838 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17839 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17840 then :
17841 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17845 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17846 then
17847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17848 printf %s "checking for -lkrb5... " >&6; }
17849 if test ${ac_cv_lib_soname_krb5+y}
17850 then :
17851 printf %s "(cached) " >&6
17852 else $as_nop
17853 ac_check_soname_save_LIBS=$LIBS
17854 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17858 /* Override any GCC internal prototype to avoid an error.
17859 Use char because int might match the return type of a GCC
17860 builtin and then its argument prototype would still apply. */
17861 char krb5_is_config_principal ();
17863 main (void)
17865 return krb5_is_config_principal ();
17867 return 0;
17869 _ACEOF
17870 if ac_fn_c_try_link "$LINENO"
17871 then :
17872 case "$LIBEXT" in
17873 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17874 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'` ;;
17875 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17876 if ${ac_cv_lib_soname_krb5:+false} :
17877 then :
17878 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17879 fi ;;
17880 esac
17881 else $as_nop
17882 ac_cv_lib_soname_krb5=
17884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17885 conftest$ac_exeext conftest.$ac_ext
17886 LIBS=$ac_check_soname_save_LIBS
17888 if ${ac_cv_lib_soname_krb5:+false} :
17889 then :
17890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17891 printf "%s\n" "not found" >&6; }
17892 KRB5_CFLAGS=""
17893 else $as_nop
17894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17895 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17897 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17901 else
17902 KRB5_CFLAGS=""
17904 CPPFLAGS=$ac_save_CPPFLAGS
17907 if test "x$ac_cv_lib_soname_krb5" = "x"
17908 then :
17909 case "x$with_krb5" in
17910 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17911 xno) ;;
17912 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17913 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17914 esac
17917 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17919 if test "x$with_gssapi" != "xno"
17920 then
17921 rm -f conftest.err
17922 if ${GSSAPI_CFLAGS:+false} :
17923 then :
17924 if test ${PKG_CONFIG+y}
17925 then :
17926 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17929 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17930 if ${GSSAPI_LIBS:+false} :
17931 then :
17932 if test ${PKG_CONFIG+y}
17933 then :
17934 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17937 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17941 if test -s conftest.err; then
17942 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17943 cat conftest.err >&5
17945 rm -f conftest.err
17946 ac_save_CPPFLAGS=$CPPFLAGS
17947 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17948 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17949 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17950 then :
17951 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17954 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17955 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17956 then :
17957 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17961 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17962 then
17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17964 printf %s "checking for -lgssapi_krb5... " >&6; }
17965 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17966 then :
17967 printf %s "(cached) " >&6
17968 else $as_nop
17969 ac_check_soname_save_LIBS=$LIBS
17970 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17974 /* Override any GCC internal prototype to avoid an error.
17975 Use char because int might match the return type of a GCC
17976 builtin and then its argument prototype would still apply. */
17977 char gss_init_sec_context ();
17979 main (void)
17981 return gss_init_sec_context ();
17983 return 0;
17985 _ACEOF
17986 if ac_fn_c_try_link "$LINENO"
17987 then :
17988 case "$LIBEXT" in
17989 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17990 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'` ;;
17991 *) 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'`
17992 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17993 then :
17994 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17995 fi ;;
17996 esac
17997 else $as_nop
17998 ac_cv_lib_soname_gssapi_krb5=
18000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18001 conftest$ac_exeext conftest.$ac_ext
18002 LIBS=$ac_check_soname_save_LIBS
18004 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18005 then :
18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18007 printf "%s\n" "not found" >&6; }
18008 GSSAPI_CFLAGS=""
18009 else $as_nop
18010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18011 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18013 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18017 else
18018 GSSAPI_CFLAGS=""
18020 CPPFLAGS=$ac_save_CPPFLAGS
18023 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18024 then :
18025 case "x$with_gssapi" in
18026 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18027 xno) ;;
18028 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18029 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18030 esac
18034 if test "$ac_cv_header_libprocstat_h" = "yes"
18035 then
18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18037 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18038 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18039 then :
18040 printf %s "(cached) " >&6
18041 else $as_nop
18042 ac_check_lib_save_LIBS=$LIBS
18043 LIBS="-lprocstat $LIBS"
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18047 /* Override any GCC internal prototype to avoid an error.
18048 Use char because int might match the return type of a GCC
18049 builtin and then its argument prototype would still apply. */
18050 char procstat_open_sysctl ();
18052 main (void)
18054 return procstat_open_sysctl ();
18056 return 0;
18058 _ACEOF
18059 if ac_fn_c_try_link "$LINENO"
18060 then :
18061 ac_cv_lib_procstat_procstat_open_sysctl=yes
18062 else $as_nop
18063 ac_cv_lib_procstat_procstat_open_sysctl=no
18065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18066 conftest$ac_exeext conftest.$ac_ext
18067 LIBS=$ac_check_lib_save_LIBS
18069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18070 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18071 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18072 then :
18074 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18076 PROCSTAT_LIBS="-lprocstat"
18082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18083 printf %s "checking for -lodbc... " >&6; }
18084 if test ${ac_cv_lib_soname_odbc+y}
18085 then :
18086 printf %s "(cached) " >&6
18087 else $as_nop
18088 ac_check_soname_save_LIBS=$LIBS
18089 LIBS="-lodbc $LIBS"
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 /* Override any GCC internal prototype to avoid an error.
18094 Use char because int might match the return type of a GCC
18095 builtin and then its argument prototype would still apply. */
18096 char SQLConnect ();
18098 main (void)
18100 return SQLConnect ();
18102 return 0;
18104 _ACEOF
18105 if ac_fn_c_try_link "$LINENO"
18106 then :
18107 case "$LIBEXT" in
18108 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18109 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'` ;;
18110 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18111 if ${ac_cv_lib_soname_odbc:+false} :
18112 then :
18113 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18114 fi ;;
18115 esac
18116 else $as_nop
18117 ac_cv_lib_soname_odbc=
18119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18120 conftest$ac_exeext conftest.$ac_ext
18121 LIBS=$ac_check_soname_save_LIBS
18123 if ${ac_cv_lib_soname_odbc:+false} :
18124 then :
18125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18126 printf "%s\n" "not found" >&6; }
18127 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18129 else $as_nop
18130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18131 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18133 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18138 if test "x$with_netapi" != "xno"
18139 then
18140 rm -f conftest.err
18141 if ${NETAPI_CFLAGS:+false} :
18142 then :
18143 if test ${PKG_CONFIG+y}
18144 then :
18145 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18149 if ${NETAPI_LIBS:+false} :
18150 then :
18151 if test ${PKG_CONFIG+y}
18152 then :
18153 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18160 if test -s conftest.err; then
18161 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18162 cat conftest.err >&5
18164 rm -f conftest.err
18165 ac_save_CPPFLAGS=$CPPFLAGS
18166 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18168 printf %s "checking for -lnetapi... " >&6; }
18169 if test ${ac_cv_lib_soname_netapi+y}
18170 then :
18171 printf %s "(cached) " >&6
18172 else $as_nop
18173 ac_check_soname_save_LIBS=$LIBS
18174 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18178 /* Override any GCC internal prototype to avoid an error.
18179 Use char because int might match the return type of a GCC
18180 builtin and then its argument prototype would still apply. */
18181 char libnetapi_init ();
18183 main (void)
18185 return libnetapi_init ();
18187 return 0;
18189 _ACEOF
18190 if ac_fn_c_try_link "$LINENO"
18191 then :
18192 case "$LIBEXT" in
18193 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18194 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'` ;;
18195 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18196 if ${ac_cv_lib_soname_netapi:+false} :
18197 then :
18198 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18199 fi ;;
18200 esac
18201 else $as_nop
18202 ac_cv_lib_soname_netapi=
18204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18205 conftest$ac_exeext conftest.$ac_ext
18206 LIBS=$ac_check_soname_save_LIBS
18208 if ${ac_cv_lib_soname_netapi:+false} :
18209 then :
18210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18211 printf "%s\n" "not found" >&6; }
18212 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18214 else $as_nop
18215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18216 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18218 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18222 CPPFLAGS=$ac_save_CPPFLAGS
18225 if test "x$ac_cv_lib_soname_netapi" = "x"
18226 then :
18227 case "x$with_netapi" in
18228 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18229 xno) ;;
18230 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18231 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18232 esac
18233 enable_netapi=${enable_netapi:-no}
18237 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18238 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18239 then
18240 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18243 if test "x$with_vulkan" != "xno"
18244 then
18245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18246 printf %s "checking for -lvulkan... " >&6; }
18247 if test ${ac_cv_lib_soname_vulkan+y}
18248 then :
18249 printf %s "(cached) " >&6
18250 else $as_nop
18251 ac_check_soname_save_LIBS=$LIBS
18252 LIBS="-lvulkan $LIBS"
18253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18254 /* end confdefs.h. */
18256 /* Override any GCC internal prototype to avoid an error.
18257 Use char because int might match the return type of a GCC
18258 builtin and then its argument prototype would still apply. */
18259 char vkGetInstanceProcAddr ();
18261 main (void)
18263 return vkGetInstanceProcAddr ();
18265 return 0;
18267 _ACEOF
18268 if ac_fn_c_try_link "$LINENO"
18269 then :
18270 case "$LIBEXT" in
18271 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18272 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'` ;;
18273 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18274 if ${ac_cv_lib_soname_vulkan:+false} :
18275 then :
18276 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18277 fi ;;
18278 esac
18279 else $as_nop
18280 ac_cv_lib_soname_vulkan=
18282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18283 conftest$ac_exeext conftest.$ac_ext
18284 LIBS=$ac_check_soname_save_LIBS
18286 if ${ac_cv_lib_soname_vulkan:+false} :
18287 then :
18288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18289 printf "%s\n" "not found" >&6; }
18291 else $as_nop
18292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18293 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18295 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18299 if test "x$ac_cv_lib_soname_vulkan" = "x"
18300 then
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18302 printf %s "checking for -lMoltenVK... " >&6; }
18303 if test ${ac_cv_lib_soname_MoltenVK+y}
18304 then :
18305 printf %s "(cached) " >&6
18306 else $as_nop
18307 ac_check_soname_save_LIBS=$LIBS
18308 LIBS="-lMoltenVK $LIBS"
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18312 /* Override any GCC internal prototype to avoid an error.
18313 Use char because int might match the return type of a GCC
18314 builtin and then its argument prototype would still apply. */
18315 char vkGetInstanceProcAddr ();
18317 main (void)
18319 return vkGetInstanceProcAddr ();
18321 return 0;
18323 _ACEOF
18324 if ac_fn_c_try_link "$LINENO"
18325 then :
18326 case "$LIBEXT" in
18327 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18328 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'` ;;
18329 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18330 if ${ac_cv_lib_soname_MoltenVK:+false} :
18331 then :
18332 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18333 fi ;;
18334 esac
18335 else $as_nop
18336 ac_cv_lib_soname_MoltenVK=
18338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18339 conftest$ac_exeext conftest.$ac_ext
18340 LIBS=$ac_check_soname_save_LIBS
18342 if ${ac_cv_lib_soname_MoltenVK:+false} :
18343 then :
18344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18345 printf "%s\n" "not found" >&6; }
18347 else $as_nop
18348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18349 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18351 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18357 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18358 then :
18359 case "x$with_vulkan" in
18360 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18361 xno) ;;
18362 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18363 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18364 esac
18369 if test "x${GCC}" = "xyes"
18370 then
18371 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18373 saved_CFLAGS=$CFLAGS
18374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18375 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18376 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18377 then :
18378 printf %s "(cached) " >&6
18379 else $as_nop
18380 ac_wine_try_cflags_saved=$CFLAGS
18381 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18384 int main(int argc, char **argv) { return 0; }
18385 _ACEOF
18386 if ac_fn_c_try_link "$LINENO"
18387 then :
18388 ac_cv_cflags__Werror_unknown_warning_option=yes
18389 else $as_nop
18390 ac_cv_cflags__Werror_unknown_warning_option=no
18392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18393 conftest$ac_exeext conftest.$ac_ext
18394 CFLAGS=$ac_wine_try_cflags_saved
18396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18397 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18398 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18399 then :
18400 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18403 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18404 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18405 then :
18406 printf %s "(cached) " >&6
18407 else $as_nop
18408 ac_wine_try_cflags_saved=$CFLAGS
18409 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412 int main(int argc, char **argv) { return 0; }
18413 _ACEOF
18414 if ac_fn_c_try_link "$LINENO"
18415 then :
18416 ac_cv_cflags__Werror_unused_command_line_argument=yes
18417 else $as_nop
18418 ac_cv_cflags__Werror_unused_command_line_argument=no
18420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18421 conftest$ac_exeext conftest.$ac_ext
18422 CFLAGS=$ac_wine_try_cflags_saved
18424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18425 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18426 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18427 then :
18428 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18431 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18432 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18433 then :
18434 printf %s "(cached) " >&6
18435 else $as_nop
18436 ac_wine_try_cflags_saved=$CFLAGS
18437 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18440 int main(int argc, char **argv) { return 0; }
18441 _ACEOF
18442 if ac_fn_c_try_link "$LINENO"
18443 then :
18444 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18445 else $as_nop
18446 ac_cv_cflags__Werror_ignored_optimization_argument=no
18448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18449 conftest$ac_exeext conftest.$ac_ext
18450 CFLAGS=$ac_wine_try_cflags_saved
18452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18453 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18454 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18455 then :
18456 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18459 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18460 if test ${ac_cv_cflags__fcf_protection_none+y}
18461 then :
18462 printf %s "(cached) " >&6
18463 else $as_nop
18464 ac_wine_try_cflags_saved=$CFLAGS
18465 CFLAGS="$CFLAGS -fcf-protection=none"
18466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18467 /* end confdefs.h. */
18468 int main(int argc, char **argv) { return 0; }
18469 _ACEOF
18470 if ac_fn_c_try_link "$LINENO"
18471 then :
18472 ac_cv_cflags__fcf_protection_none=yes
18473 else $as_nop
18474 ac_cv_cflags__fcf_protection_none=no
18476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18477 conftest$ac_exeext conftest.$ac_ext
18478 CFLAGS=$ac_wine_try_cflags_saved
18480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18481 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18482 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18483 then :
18484 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18487 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18488 if test ${ac_cv_cflags__fno_stack_protector+y}
18489 then :
18490 printf %s "(cached) " >&6
18491 else $as_nop
18492 ac_wine_try_cflags_saved=$CFLAGS
18493 CFLAGS="$CFLAGS -fno-stack-protector"
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 int main(int argc, char **argv) { return 0; }
18497 _ACEOF
18498 if ac_fn_c_try_link "$LINENO"
18499 then :
18500 ac_cv_cflags__fno_stack_protector=yes
18501 else $as_nop
18502 ac_cv_cflags__fno_stack_protector=no
18504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18505 conftest$ac_exeext conftest.$ac_ext
18506 CFLAGS=$ac_wine_try_cflags_saved
18508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18509 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18510 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18511 then :
18512 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18515 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18516 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18517 then :
18518 printf %s "(cached) " >&6
18519 else $as_nop
18520 ac_wine_try_cflags_saved=$CFLAGS
18521 CFLAGS="$CFLAGS -fno-strict-aliasing"
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524 int main(int argc, char **argv) { return 0; }
18525 _ACEOF
18526 if ac_fn_c_try_link "$LINENO"
18527 then :
18528 ac_cv_cflags__fno_strict_aliasing=yes
18529 else $as_nop
18530 ac_cv_cflags__fno_strict_aliasing=no
18532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18533 conftest$ac_exeext conftest.$ac_ext
18534 CFLAGS=$ac_wine_try_cflags_saved
18536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18537 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18538 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18539 then :
18540 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18543 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18544 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18545 then :
18546 printf %s "(cached) " >&6
18547 else $as_nop
18548 ac_wine_try_cflags_saved=$CFLAGS
18549 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18552 int main(int argc, char **argv) { return 0; }
18553 _ACEOF
18554 if ac_fn_c_try_link "$LINENO"
18555 then :
18556 ac_cv_cflags__Wdeclaration_after_statement=yes
18557 else $as_nop
18558 ac_cv_cflags__Wdeclaration_after_statement=no
18560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18561 conftest$ac_exeext conftest.$ac_ext
18562 CFLAGS=$ac_wine_try_cflags_saved
18564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18565 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18566 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18567 then :
18568 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18571 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18572 if test ${ac_cv_cflags__Wempty_body+y}
18573 then :
18574 printf %s "(cached) " >&6
18575 else $as_nop
18576 ac_wine_try_cflags_saved=$CFLAGS
18577 CFLAGS="$CFLAGS -Wempty-body"
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 int main(int argc, char **argv) { return 0; }
18581 _ACEOF
18582 if ac_fn_c_try_link "$LINENO"
18583 then :
18584 ac_cv_cflags__Wempty_body=yes
18585 else $as_nop
18586 ac_cv_cflags__Wempty_body=no
18588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18589 conftest$ac_exeext conftest.$ac_ext
18590 CFLAGS=$ac_wine_try_cflags_saved
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18593 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18594 if test "x$ac_cv_cflags__Wempty_body" = xyes
18595 then :
18596 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18599 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18600 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18601 then :
18602 printf %s "(cached) " >&6
18603 else $as_nop
18604 ac_wine_try_cflags_saved=$CFLAGS
18605 CFLAGS="$CFLAGS -Wignored-qualifiers"
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 int main(int argc, char **argv) { return 0; }
18609 _ACEOF
18610 if ac_fn_c_try_link "$LINENO"
18611 then :
18612 ac_cv_cflags__Wignored_qualifiers=yes
18613 else $as_nop
18614 ac_cv_cflags__Wignored_qualifiers=no
18616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18617 conftest$ac_exeext conftest.$ac_ext
18618 CFLAGS=$ac_wine_try_cflags_saved
18620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18621 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18622 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18623 then :
18624 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18627 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18628 if test ${ac_cv_cflags__Winit_self+y}
18629 then :
18630 printf %s "(cached) " >&6
18631 else $as_nop
18632 ac_wine_try_cflags_saved=$CFLAGS
18633 CFLAGS="$CFLAGS -Winit-self"
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 int main(int argc, char **argv) { return 0; }
18637 _ACEOF
18638 if ac_fn_c_try_link "$LINENO"
18639 then :
18640 ac_cv_cflags__Winit_self=yes
18641 else $as_nop
18642 ac_cv_cflags__Winit_self=no
18644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18645 conftest$ac_exeext conftest.$ac_ext
18646 CFLAGS=$ac_wine_try_cflags_saved
18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18649 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18650 if test "x$ac_cv_cflags__Winit_self" = xyes
18651 then :
18652 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18655 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18656 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18657 then :
18658 printf %s "(cached) " >&6
18659 else $as_nop
18660 ac_wine_try_cflags_saved=$CFLAGS
18661 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18664 int main(int argc, char **argv) { return 0; }
18665 _ACEOF
18666 if ac_fn_c_try_link "$LINENO"
18667 then :
18668 ac_cv_cflags__Wpacked_not_aligned=yes
18669 else $as_nop
18670 ac_cv_cflags__Wpacked_not_aligned=no
18672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18673 conftest$ac_exeext conftest.$ac_ext
18674 CFLAGS=$ac_wine_try_cflags_saved
18676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18677 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18678 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18679 then :
18680 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18683 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18684 if test ${ac_cv_cflags__Wpragma_pack+y}
18685 then :
18686 printf %s "(cached) " >&6
18687 else $as_nop
18688 ac_wine_try_cflags_saved=$CFLAGS
18689 CFLAGS="$CFLAGS -Wpragma-pack"
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 int main(int argc, char **argv) { return 0; }
18693 _ACEOF
18694 if ac_fn_c_try_link "$LINENO"
18695 then :
18696 ac_cv_cflags__Wpragma_pack=yes
18697 else $as_nop
18698 ac_cv_cflags__Wpragma_pack=no
18700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18701 conftest$ac_exeext conftest.$ac_ext
18702 CFLAGS=$ac_wine_try_cflags_saved
18704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18705 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18706 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18707 then :
18708 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18711 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18712 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18713 then :
18714 printf %s "(cached) " >&6
18715 else $as_nop
18716 ac_wine_try_cflags_saved=$CFLAGS
18717 CFLAGS="$CFLAGS -Wshift-overflow=2"
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18720 int main(int argc, char **argv) { return 0; }
18721 _ACEOF
18722 if ac_fn_c_try_link "$LINENO"
18723 then :
18724 ac_cv_cflags__Wshift_overflow_2=yes
18725 else $as_nop
18726 ac_cv_cflags__Wshift_overflow_2=no
18728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18729 conftest$ac_exeext conftest.$ac_ext
18730 CFLAGS=$ac_wine_try_cflags_saved
18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18733 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18734 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18735 then :
18736 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18739 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18740 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18741 then :
18742 printf %s "(cached) " >&6
18743 else $as_nop
18744 ac_wine_try_cflags_saved=$CFLAGS
18745 CFLAGS="$CFLAGS -Wstrict-prototypes"
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 int main(int argc, char **argv) { return 0; }
18749 _ACEOF
18750 if ac_fn_c_try_link "$LINENO"
18751 then :
18752 ac_cv_cflags__Wstrict_prototypes=yes
18753 else $as_nop
18754 ac_cv_cflags__Wstrict_prototypes=no
18756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18757 conftest$ac_exeext conftest.$ac_ext
18758 CFLAGS=$ac_wine_try_cflags_saved
18760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18761 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18762 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18763 then :
18764 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18767 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18768 if test ${ac_cv_cflags__Wtype_limits+y}
18769 then :
18770 printf %s "(cached) " >&6
18771 else $as_nop
18772 ac_wine_try_cflags_saved=$CFLAGS
18773 CFLAGS="$CFLAGS -Wtype-limits"
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 int main(int argc, char **argv) { return 0; }
18777 _ACEOF
18778 if ac_fn_c_try_link "$LINENO"
18779 then :
18780 ac_cv_cflags__Wtype_limits=yes
18781 else $as_nop
18782 ac_cv_cflags__Wtype_limits=no
18784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18785 conftest$ac_exeext conftest.$ac_ext
18786 CFLAGS=$ac_wine_try_cflags_saved
18788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18789 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18790 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18791 then :
18792 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18795 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18796 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18797 then :
18798 printf %s "(cached) " >&6
18799 else $as_nop
18800 ac_wine_try_cflags_saved=$CFLAGS
18801 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 int main(int argc, char **argv) { return 0; }
18805 _ACEOF
18806 if ac_fn_c_try_link "$LINENO"
18807 then :
18808 ac_cv_cflags__Wunused_but_set_parameter=yes
18809 else $as_nop
18810 ac_cv_cflags__Wunused_but_set_parameter=no
18812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18813 conftest$ac_exeext conftest.$ac_ext
18814 CFLAGS=$ac_wine_try_cflags_saved
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18817 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18818 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18819 then :
18820 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18823 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18824 if test ${ac_cv_cflags__Wvla+y}
18825 then :
18826 printf %s "(cached) " >&6
18827 else $as_nop
18828 ac_wine_try_cflags_saved=$CFLAGS
18829 CFLAGS="$CFLAGS -Wvla"
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 int main(int argc, char **argv) { return 0; }
18833 _ACEOF
18834 if ac_fn_c_try_link "$LINENO"
18835 then :
18836 ac_cv_cflags__Wvla=yes
18837 else $as_nop
18838 ac_cv_cflags__Wvla=no
18840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18841 conftest$ac_exeext conftest.$ac_ext
18842 CFLAGS=$ac_wine_try_cflags_saved
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18845 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18846 if test "x$ac_cv_cflags__Wvla" = xyes
18847 then :
18848 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18851 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18852 if test ${ac_cv_cflags__Wwrite_strings+y}
18853 then :
18854 printf %s "(cached) " >&6
18855 else $as_nop
18856 ac_wine_try_cflags_saved=$CFLAGS
18857 CFLAGS="$CFLAGS -Wwrite-strings"
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 int main(int argc, char **argv) { return 0; }
18861 _ACEOF
18862 if ac_fn_c_try_link "$LINENO"
18863 then :
18864 ac_cv_cflags__Wwrite_strings=yes
18865 else $as_nop
18866 ac_cv_cflags__Wwrite_strings=no
18868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18869 conftest$ac_exeext conftest.$ac_ext
18870 CFLAGS=$ac_wine_try_cflags_saved
18872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18873 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18874 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18875 then :
18876 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18880 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18881 if test ${ac_cv_cflags__Wpointer_arith+y}
18882 then :
18883 printf %s "(cached) " >&6
18884 else $as_nop
18885 ac_wine_try_cflags_saved=$CFLAGS
18886 CFLAGS="$CFLAGS -Wpointer-arith"
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 int main(int argc, char **argv) { return 0; }
18890 _ACEOF
18891 if ac_fn_c_try_link "$LINENO"
18892 then :
18893 ac_cv_cflags__Wpointer_arith=yes
18894 else $as_nop
18895 ac_cv_cflags__Wpointer_arith=no
18897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18898 conftest$ac_exeext conftest.$ac_ext
18899 CFLAGS=$ac_wine_try_cflags_saved
18901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18902 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18903 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18904 then :
18905 saved_string_h_CFLAGS=$CFLAGS
18906 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18908 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18909 if test ${ac_cv_c_string_h_warnings+y}
18910 then :
18911 printf %s "(cached) " >&6
18912 else $as_nop
18913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18915 #include <string.h>
18917 main (void)
18921 return 0;
18923 _ACEOF
18924 if ac_fn_c_try_compile "$LINENO"
18925 then :
18926 ac_cv_c_string_h_warnings=no
18927 else $as_nop
18928 ac_cv_c_string_h_warnings=yes
18930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18933 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18934 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18935 CFLAGS=$saved_string_h_CFLAGS
18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18939 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18940 if test ${ac_cv_cflags__Wlogical_op+y}
18941 then :
18942 printf %s "(cached) " >&6
18943 else $as_nop
18944 ac_wine_try_cflags_saved=$CFLAGS
18945 CFLAGS="$CFLAGS -Wlogical-op"
18946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18948 int main(int argc, char **argv) { return 0; }
18949 _ACEOF
18950 if ac_fn_c_try_link "$LINENO"
18951 then :
18952 ac_cv_cflags__Wlogical_op=yes
18953 else $as_nop
18954 ac_cv_cflags__Wlogical_op=no
18956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18957 conftest$ac_exeext conftest.$ac_ext
18958 CFLAGS=$ac_wine_try_cflags_saved
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18961 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18962 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18963 then :
18964 saved_string_h_CFLAGS=$CFLAGS
18965 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18967 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18968 if test ${ac_cv_c_logicalop_noisy+y}
18969 then :
18970 printf %s "(cached) " >&6
18971 else $as_nop
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974 #include <string.h>
18975 char*f(const char *h,char n) {return strchr(h,n);}
18977 main (void)
18981 return 0;
18983 _ACEOF
18984 if ac_fn_c_try_compile "$LINENO"
18985 then :
18986 ac_cv_c_logicalop_noisy=no
18987 else $as_nop
18988 ac_cv_c_logicalop_noisy=yes
18990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18993 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18994 CFLAGS=$saved_string_h_CFLAGS
18995 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18999 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19000 if test ${wine_cv_64bit_compare_swap+y}
19001 then :
19002 printf %s "(cached) " >&6
19003 else $as_nop
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19006 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19007 #error no
19008 #endif
19010 main (void)
19014 return 0;
19016 _ACEOF
19017 if ac_fn_c_try_compile "$LINENO"
19018 then :
19019 wine_cv_64bit_compare_swap="none needed"
19020 else $as_nop
19021 case $host_cpu in
19022 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19023 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19024 *) wine_cv_64bit_compare_swap="unknown" ;;
19025 esac
19026 if test "x$wine_cv_64bit_compare_swap" != xunknown
19027 then
19028 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19031 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19032 #error no
19033 #endif
19035 main (void)
19039 return 0;
19041 _ACEOF
19042 if ac_fn_c_try_compile "$LINENO"
19043 then :
19045 else $as_nop
19046 wine_cv_64bit_compare_swap="unknown"
19048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19049 CFLAGS=$saved_CFLAGS
19052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19055 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19056 case "$wine_cv_64bit_compare_swap" in
19057 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19058 "none needed") ;;
19059 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19060 esac
19062 ac_debug_format_seen=""
19063 for ac_flag in $CFLAGS; do
19064 case $ac_flag in
19065 -gdwarf*) ac_debug_format_seen=yes ;;
19066 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19067 esac
19068 done
19069 if test "x$ac_debug_format_seen" = xdefault
19070 then
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19072 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19073 if test ${ac_cv_cflags__gdwarf_4+y}
19074 then :
19075 printf %s "(cached) " >&6
19076 else $as_nop
19077 ac_wine_try_cflags_saved=$CFLAGS
19078 CFLAGS="$CFLAGS -gdwarf-4"
19079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19081 int main(int argc, char **argv) { return 0; }
19082 _ACEOF
19083 if ac_fn_c_try_link "$LINENO"
19084 then :
19085 ac_cv_cflags__gdwarf_4=yes
19086 else $as_nop
19087 ac_cv_cflags__gdwarf_4=no
19089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19090 conftest$ac_exeext conftest.$ac_ext
19091 CFLAGS=$ac_wine_try_cflags_saved
19093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19094 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19095 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19096 then :
19097 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19101 MSVCRTFLAGS=""
19103 case $host_os in
19104 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19105 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19106 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19107 then :
19108 printf %s "(cached) " >&6
19109 else $as_nop
19110 ac_wine_try_cflags_saved=$CFLAGS
19111 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 int main(int argc, char **argv) { return 0; }
19115 _ACEOF
19116 if ac_fn_c_try_link "$LINENO"
19117 then :
19118 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19119 else $as_nop
19120 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19123 conftest$ac_exeext conftest.$ac_ext
19124 CFLAGS=$ac_wine_try_cflags_saved
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19127 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19128 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19129 then :
19130 DELAYLOADFLAG="-Wl,-delayload,"
19132 fi ;;
19133 *) MSVCRTFLAGS="-D_WIN32"
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19135 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19136 if test ${ac_cv_cflags__fno_builtin+y}
19137 then :
19138 printf %s "(cached) " >&6
19139 else $as_nop
19140 ac_wine_try_cflags_saved=$CFLAGS
19141 CFLAGS="$CFLAGS -fno-builtin"
19142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 int main(int argc, char **argv) { return 0; }
19145 _ACEOF
19146 if ac_fn_c_try_link "$LINENO"
19147 then :
19148 ac_cv_cflags__fno_builtin=yes
19149 else $as_nop
19150 ac_cv_cflags__fno_builtin=no
19152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19153 conftest$ac_exeext conftest.$ac_ext
19154 CFLAGS=$ac_wine_try_cflags_saved
19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19157 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19158 if test "x$ac_cv_cflags__fno_builtin" = xyes
19159 then :
19160 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19163 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19164 if test ${ac_cv_cflags__fshort_wchar+y}
19165 then :
19166 printf %s "(cached) " >&6
19167 else $as_nop
19168 ac_wine_try_cflags_saved=$CFLAGS
19169 CFLAGS="$CFLAGS -fshort-wchar"
19170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19171 /* end confdefs.h. */
19172 int main(int argc, char **argv) { return 0; }
19173 _ACEOF
19174 if ac_fn_c_try_link "$LINENO"
19175 then :
19176 ac_cv_cflags__fshort_wchar=yes
19177 else $as_nop
19178 ac_cv_cflags__fshort_wchar=no
19180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19181 conftest$ac_exeext conftest.$ac_ext
19182 CFLAGS=$ac_wine_try_cflags_saved
19184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19185 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19186 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19187 then :
19188 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19191 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19192 if test ${ac_cv_cflags__fvisibility_hidden+y}
19193 then :
19194 printf %s "(cached) " >&6
19195 else $as_nop
19196 ac_wine_try_cflags_saved=$CFLAGS
19197 CFLAGS="$CFLAGS -fvisibility=hidden"
19198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19199 /* end confdefs.h. */
19200 int main(int argc, char **argv) { return 0; }
19201 _ACEOF
19202 if ac_fn_c_try_link "$LINENO"
19203 then :
19204 ac_cv_cflags__fvisibility_hidden=yes
19205 else $as_nop
19206 ac_cv_cflags__fvisibility_hidden=no
19208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19209 conftest$ac_exeext conftest.$ac_ext
19210 CFLAGS=$ac_wine_try_cflags_saved
19212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19213 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19214 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19215 then :
19216 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19219 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19220 if test ${ac_cv_cflags__Wno_format+y}
19221 then :
19222 printf %s "(cached) " >&6
19223 else $as_nop
19224 ac_wine_try_cflags_saved=$CFLAGS
19225 CFLAGS="$CFLAGS -Wno-format"
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 int main(int argc, char **argv) { return 0; }
19229 _ACEOF
19230 if ac_fn_c_try_link "$LINENO"
19231 then :
19232 ac_cv_cflags__Wno_format=yes
19233 else $as_nop
19234 ac_cv_cflags__Wno_format=no
19236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19237 conftest$ac_exeext conftest.$ac_ext
19238 CFLAGS=$ac_wine_try_cflags_saved
19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19241 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19242 if test "x$ac_cv_cflags__Wno_format" = xyes
19243 then :
19244 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19245 fi ;;
19246 esac
19248 case $host_cpu in
19249 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19250 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19251 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19252 then :
19253 printf %s "(cached) " >&6
19254 else $as_nop
19255 ac_wine_try_cflags_saved=$CFLAGS
19256 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19258 /* end confdefs.h. */
19259 int main(int argc, char **argv) { return 0; }
19260 _ACEOF
19261 if ac_fn_c_try_link "$LINENO"
19262 then :
19263 ac_cv_cflags__fno_omit_frame_pointer=yes
19264 else $as_nop
19265 ac_cv_cflags__fno_omit_frame_pointer=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19268 conftest$ac_exeext conftest.$ac_ext
19269 CFLAGS=$ac_wine_try_cflags_saved
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19272 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19273 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19274 then :
19275 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19276 fi ;;
19277 *x86_64*)
19278 case $host_os in
19279 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19280 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19281 if test ${ac_cv_cflags__Wno_format+y}
19282 then :
19283 printf %s "(cached) " >&6
19284 else $as_nop
19285 ac_wine_try_cflags_saved=$CFLAGS
19286 CFLAGS="$CFLAGS -Wno-format"
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 int main(int argc, char **argv) { return 0; }
19290 _ACEOF
19291 if ac_fn_c_try_link "$LINENO"
19292 then :
19293 ac_cv_cflags__Wno_format=yes
19294 else $as_nop
19295 ac_cv_cflags__Wno_format=no
19297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19298 conftest$ac_exeext conftest.$ac_ext
19299 CFLAGS=$ac_wine_try_cflags_saved
19301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19302 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19303 if test "x$ac_cv_cflags__Wno_format" = xyes
19304 then :
19305 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19306 fi ;;
19307 *) if test -z "$PE_ARCHS"
19308 then
19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19310 printf %s "checking for working -mabi=ms... " >&6; }
19311 if test ${ac_cv_mabi_ms+y}
19312 then :
19313 printf %s "(cached) " >&6
19314 else $as_nop
19315 CFLAGS="$CFLAGS -mabi=ms"
19316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19317 /* end confdefs.h. */
19318 #include <stdarg.h>
19319 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19321 main (void)
19325 return 0;
19327 _ACEOF
19328 if ac_fn_c_try_compile "$LINENO"
19329 then :
19330 ac_cv_mabi_ms=yes
19331 else $as_nop
19332 ac_cv_mabi_ms=no
19334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19335 CFLAGS=$saved_CFLAGS
19337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19338 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19339 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
19341 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19342 esac ;;
19343 arm*)
19344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19345 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19346 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19347 then :
19348 printf %s "(cached) " >&6
19349 else $as_nop
19350 ac_wine_try_cflags_saved=$CFLAGS
19351 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h. */
19354 int main(int argc, char **argv) { return 0; }
19355 _ACEOF
19356 if ac_fn_c_try_link "$LINENO"
19357 then :
19358 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19359 else $as_nop
19360 ac_cv_cflags__Wincompatible_function_pointer_types=no
19362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19363 conftest$ac_exeext conftest.$ac_ext
19364 CFLAGS=$ac_wine_try_cflags_saved
19366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19367 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19368 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19369 then :
19370 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19371 fi ;;
19372 esac
19374 CFLAGS=$saved_CFLAGS
19376 if test "x$enable_werror" = "xyes"
19377 then
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19379 printf %s "checking whether the compiler supports -Werror... " >&6; }
19380 if test ${ac_cv_cflags__Werror+y}
19381 then :
19382 printf %s "(cached) " >&6
19383 else $as_nop
19384 ac_wine_try_cflags_saved=$CFLAGS
19385 CFLAGS="$CFLAGS -Werror"
19386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19388 int main(int argc, char **argv) { return 0; }
19389 _ACEOF
19390 if ac_fn_c_try_link "$LINENO"
19391 then :
19392 ac_cv_cflags__Werror=yes
19393 else $as_nop
19394 ac_cv_cflags__Werror=no
19396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19397 conftest$ac_exeext conftest.$ac_ext
19398 CFLAGS=$ac_wine_try_cflags_saved
19400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19401 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19402 if test "x$ac_cv_cflags__Werror" = xyes
19403 then :
19404 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19407 if test "x$enable_build_id" = "xyes"
19408 then
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19410 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19411 if test ${ac_cv_cflags__Wl___build_id+y}
19412 then :
19413 printf %s "(cached) " >&6
19414 else $as_nop
19415 ac_wine_try_cflags_saved=$CFLAGS
19416 CFLAGS="$CFLAGS -Wl,--build-id"
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 int main(int argc, char **argv) { return 0; }
19420 _ACEOF
19421 if ac_fn_c_try_link "$LINENO"
19422 then :
19423 ac_cv_cflags__Wl___build_id=yes
19424 else $as_nop
19425 ac_cv_cflags__Wl___build_id=no
19427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19428 conftest$ac_exeext conftest.$ac_ext
19429 CFLAGS=$ac_wine_try_cflags_saved
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19432 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19433 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19434 then :
19435 CFLAGS="$CFLAGS -Wl,--build-id"
19436 LDFLAGS="$LDFLAGS -Wl,--build-id"
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19443 printf %s "checking for the need to disable Fortify... " >&6; }
19444 if test ${ac_cv_c_fortify_enabled+y}
19445 then :
19446 printf %s "(cached) " >&6
19447 else $as_nop
19448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19450 #include <string.h>
19452 main (void)
19454 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19455 #error Fortify enabled
19456 #endif
19458 return 0;
19460 _ACEOF
19461 if ac_fn_c_try_compile "$LINENO"
19462 then :
19463 ac_cv_c_fortify_enabled=no
19464 else $as_nop
19465 ac_cv_c_fortify_enabled=yes
19467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19470 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19471 if test "$ac_cv_c_fortify_enabled" = yes
19472 then
19473 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19478 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19479 if test ${ac_cv_c_cfi_support+y}
19480 then :
19481 printf %s "(cached) " >&6
19482 else $as_nop
19483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19485 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19487 main (void)
19491 return 0;
19493 _ACEOF
19494 if ac_fn_c_try_compile "$LINENO"
19495 then :
19496 ac_cv_c_cfi_support="yes"
19497 else $as_nop
19498 ac_cv_c_cfi_support="no"
19500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19503 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19504 if test "$ac_cv_c_cfi_support" = "yes"
19505 then
19506 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19507 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19508 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19509 elif test $HOST_ARCH = x86_64
19510 then
19511 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19515 case "$HOST_ARCH,$PE_ARCHS" in
19516 x86_64,*i386*) wine_binary="wine" ;;
19517 x86_64,*) wine_binary="wine64" ;;
19518 *) wine_binary="wine" ;;
19519 esac
19520 WINELOADER_PROGRAMS="$wine_binary"
19523 case $host_os in
19524 linux*)
19525 case $host_cpu in
19526 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19527 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19528 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19530 esac
19532 darwin*|macosx*)
19533 if test "$wine_can_build_preloader" = "yes"
19534 then
19535 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19536 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19539 esac
19542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19543 printf %s "checking for library containing dlopen... " >&6; }
19544 if test ${ac_cv_search_dlopen+y}
19545 then :
19546 printf %s "(cached) " >&6
19547 else $as_nop
19548 ac_func_search_save_LIBS=$LIBS
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19552 /* Override any GCC internal prototype to avoid an error.
19553 Use char because int might match the return type of a GCC
19554 builtin and then its argument prototype would still apply. */
19555 char dlopen ();
19557 main (void)
19559 return dlopen ();
19561 return 0;
19563 _ACEOF
19564 for ac_lib in '' dl
19566 if test -z "$ac_lib"; then
19567 ac_res="none required"
19568 else
19569 ac_res=-l$ac_lib
19570 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19572 if ac_fn_c_try_link "$LINENO"
19573 then :
19574 ac_cv_search_dlopen=$ac_res
19576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19577 conftest$ac_exeext
19578 if test ${ac_cv_search_dlopen+y}
19579 then :
19580 break
19582 done
19583 if test ${ac_cv_search_dlopen+y}
19584 then :
19586 else $as_nop
19587 ac_cv_search_dlopen=no
19589 rm conftest.$ac_ext
19590 LIBS=$ac_func_search_save_LIBS
19592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19593 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19594 ac_res=$ac_cv_search_dlopen
19595 if test "$ac_res" != no
19596 then :
19597 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19603 printf %s "checking for library containing gethostbyname... " >&6; }
19604 if test ${ac_cv_search_gethostbyname+y}
19605 then :
19606 printf %s "(cached) " >&6
19607 else $as_nop
19608 ac_func_search_save_LIBS=$LIBS
19609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19612 /* Override any GCC internal prototype to avoid an error.
19613 Use char because int might match the return type of a GCC
19614 builtin and then its argument prototype would still apply. */
19615 char gethostbyname ();
19617 main (void)
19619 return gethostbyname ();
19621 return 0;
19623 _ACEOF
19624 for ac_lib in '' nsl
19626 if test -z "$ac_lib"; then
19627 ac_res="none required"
19628 else
19629 ac_res=-l$ac_lib
19630 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19632 if ac_fn_c_try_link "$LINENO"
19633 then :
19634 ac_cv_search_gethostbyname=$ac_res
19636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19637 conftest$ac_exeext
19638 if test ${ac_cv_search_gethostbyname+y}
19639 then :
19640 break
19642 done
19643 if test ${ac_cv_search_gethostbyname+y}
19644 then :
19646 else $as_nop
19647 ac_cv_search_gethostbyname=no
19649 rm conftest.$ac_ext
19650 LIBS=$ac_func_search_save_LIBS
19652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19653 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19654 ac_res=$ac_cv_search_gethostbyname
19655 if test "$ac_res" != no
19656 then :
19657 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19663 printf %s "checking for library containing connect... " >&6; }
19664 if test ${ac_cv_search_connect+y}
19665 then :
19666 printf %s "(cached) " >&6
19667 else $as_nop
19668 ac_func_search_save_LIBS=$LIBS
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19672 /* Override any GCC internal prototype to avoid an error.
19673 Use char because int might match the return type of a GCC
19674 builtin and then its argument prototype would still apply. */
19675 char connect ();
19677 main (void)
19679 return connect ();
19681 return 0;
19683 _ACEOF
19684 for ac_lib in '' socket
19686 if test -z "$ac_lib"; then
19687 ac_res="none required"
19688 else
19689 ac_res=-l$ac_lib
19690 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19692 if ac_fn_c_try_link "$LINENO"
19693 then :
19694 ac_cv_search_connect=$ac_res
19696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19697 conftest$ac_exeext
19698 if test ${ac_cv_search_connect+y}
19699 then :
19700 break
19702 done
19703 if test ${ac_cv_search_connect+y}
19704 then :
19706 else $as_nop
19707 ac_cv_search_connect=no
19709 rm conftest.$ac_ext
19710 LIBS=$ac_func_search_save_LIBS
19712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19713 printf "%s\n" "$ac_cv_search_connect" >&6; }
19714 ac_res=$ac_cv_search_connect
19715 if test "$ac_res" != no
19716 then :
19717 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19723 printf %s "checking for library containing inet_aton... " >&6; }
19724 if test ${ac_cv_search_inet_aton+y}
19725 then :
19726 printf %s "(cached) " >&6
19727 else $as_nop
19728 ac_func_search_save_LIBS=$LIBS
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19732 /* Override any GCC internal prototype to avoid an error.
19733 Use char because int might match the return type of a GCC
19734 builtin and then its argument prototype would still apply. */
19735 char inet_aton ();
19737 main (void)
19739 return inet_aton ();
19741 return 0;
19743 _ACEOF
19744 for ac_lib in '' resolv
19746 if test -z "$ac_lib"; then
19747 ac_res="none required"
19748 else
19749 ac_res=-l$ac_lib
19750 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19752 if ac_fn_c_try_link "$LINENO"
19753 then :
19754 ac_cv_search_inet_aton=$ac_res
19756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19757 conftest$ac_exeext
19758 if test ${ac_cv_search_inet_aton+y}
19759 then :
19760 break
19762 done
19763 if test ${ac_cv_search_inet_aton+y}
19764 then :
19766 else $as_nop
19767 ac_cv_search_inet_aton=no
19769 rm conftest.$ac_ext
19770 LIBS=$ac_func_search_save_LIBS
19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19773 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19774 ac_res=$ac_cv_search_inet_aton
19775 if test "$ac_res" != no
19776 then :
19777 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19782 ac_save_CFLAGS="$CFLAGS"
19783 CFLAGS="$CFLAGS $BUILTINFLAG"
19784 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19785 if test "x$ac_cv_func_dladdr1" = xyes
19786 then :
19787 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19790 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19791 if test "x$ac_cv_func_dlinfo" = xyes
19792 then :
19793 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19796 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19797 if test "x$ac_cv_func_epoll_create" = xyes
19798 then :
19799 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19802 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19803 if test "x$ac_cv_func_fstatfs" = xyes
19804 then :
19805 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19808 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19809 if test "x$ac_cv_func_futimens" = xyes
19810 then :
19811 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19814 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19815 if test "x$ac_cv_func_futimes" = xyes
19816 then :
19817 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19820 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19821 if test "x$ac_cv_func_futimesat" = xyes
19822 then :
19823 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19826 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19827 if test "x$ac_cv_func_getaddrinfo" = xyes
19828 then :
19829 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19832 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19833 if test "x$ac_cv_func_getattrlist" = xyes
19834 then :
19835 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19838 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19839 if test "x$ac_cv_func_getauxval" = xyes
19840 then :
19841 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19844 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19845 if test "x$ac_cv_func_getifaddrs" = xyes
19846 then :
19847 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19850 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19851 if test "x$ac_cv_func_getrandom" = xyes
19852 then :
19853 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19856 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19857 if test "x$ac_cv_func_kqueue" = xyes
19858 then :
19859 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19862 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19863 if test "x$ac_cv_func_mach_continuous_time" = xyes
19864 then :
19865 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19868 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19869 if test "x$ac_cv_func_pipe2" = xyes
19870 then :
19871 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19874 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19875 if test "x$ac_cv_func_port_create" = xyes
19876 then :
19877 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19880 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19881 if test "x$ac_cv_func_posix_fadvise" = xyes
19882 then :
19883 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19886 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19887 if test "x$ac_cv_func_posix_fallocate" = xyes
19888 then :
19889 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19892 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19893 if test "x$ac_cv_func_prctl" = xyes
19894 then :
19895 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19898 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19899 if test "x$ac_cv_func_proc_pidinfo" = xyes
19900 then :
19901 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19904 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19905 if test "x$ac_cv_func_sched_yield" = xyes
19906 then :
19907 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19910 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19911 if test "x$ac_cv_func_setproctitle" = xyes
19912 then :
19913 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19916 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19917 if test "x$ac_cv_func_setprogname" = xyes
19918 then :
19919 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19922 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19923 if test "x$ac_cv_func_sigprocmask" = xyes
19924 then :
19925 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19928 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19929 if test "x$ac_cv_func_sysinfo" = xyes
19930 then :
19931 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19934 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19935 if test "x$ac_cv_func_tcdrain" = xyes
19936 then :
19937 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19940 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19941 if test "x$ac_cv_func_thr_kill2" = xyes
19942 then :
19943 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19947 CFLAGS="$ac_save_CFLAGS"
19949 case $host_os in
19950 darwin*|macosx*) ;;
19951 *) ac_save_LIBS=$LIBS
19952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19953 printf %s "checking for library containing clock_gettime... " >&6; }
19954 if test ${ac_cv_search_clock_gettime+y}
19955 then :
19956 printf %s "(cached) " >&6
19957 else $as_nop
19958 ac_func_search_save_LIBS=$LIBS
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19962 /* Override any GCC internal prototype to avoid an error.
19963 Use char because int might match the return type of a GCC
19964 builtin and then its argument prototype would still apply. */
19965 char clock_gettime ();
19967 main (void)
19969 return clock_gettime ();
19971 return 0;
19973 _ACEOF
19974 for ac_lib in '' rt
19976 if test -z "$ac_lib"; then
19977 ac_res="none required"
19978 else
19979 ac_res=-l$ac_lib
19980 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19982 if ac_fn_c_try_link "$LINENO"
19983 then :
19984 ac_cv_search_clock_gettime=$ac_res
19986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19987 conftest$ac_exeext
19988 if test ${ac_cv_search_clock_gettime+y}
19989 then :
19990 break
19992 done
19993 if test ${ac_cv_search_clock_gettime+y}
19994 then :
19996 else $as_nop
19997 ac_cv_search_clock_gettime=no
19999 rm conftest.$ac_ext
20000 LIBS=$ac_func_search_save_LIBS
20002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20003 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20004 ac_res=$ac_cv_search_clock_gettime
20005 if test "$ac_res" != no
20006 then :
20007 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20009 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20011 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20015 LIBS=$ac_save_LIBS
20017 esac
20019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20020 printf %s "checking for sched_setaffinity... " >&6; }
20021 if test ${wine_cv_have_sched_setaffinity+y}
20022 then :
20023 printf %s "(cached) " >&6
20024 else $as_nop
20025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20026 /* end confdefs.h. */
20027 #include <sched.h>
20029 main (void)
20031 sched_setaffinity(0, 0, 0);
20033 return 0;
20035 _ACEOF
20036 if ac_fn_c_try_link "$LINENO"
20037 then :
20038 wine_cv_have_sched_setaffinity=yes
20039 else $as_nop
20040 wine_cv_have_sched_setaffinity=no
20042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20043 conftest$ac_exeext conftest.$ac_ext
20045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20046 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20047 if test "$wine_cv_have_sched_setaffinity" = "yes"
20048 then
20050 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20056 printf %s "checking for inline... " >&6; }
20057 if test ${ac_cv_c_inline+y}
20058 then :
20059 printf %s "(cached) " >&6
20060 else $as_nop
20061 ac_cv_c_inline=no
20062 for ac_kw in inline __inline__ __inline; do
20063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20064 /* end confdefs.h. */
20065 #ifndef __cplusplus
20066 typedef int foo_t;
20067 static $ac_kw foo_t static_foo (void) {return 0; }
20068 $ac_kw foo_t foo (void) {return 0; }
20069 #endif
20071 _ACEOF
20072 if ac_fn_c_try_compile "$LINENO"
20073 then :
20074 ac_cv_c_inline=$ac_kw
20076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20077 test "$ac_cv_c_inline" != no && break
20078 done
20081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20082 printf "%s\n" "$ac_cv_c_inline" >&6; }
20084 case $ac_cv_c_inline in
20085 inline | yes) ;;
20087 case $ac_cv_c_inline in
20088 no) ac_val=;;
20089 *) ac_val=$ac_cv_c_inline;;
20090 esac
20091 cat >>confdefs.h <<_ACEOF
20092 #ifndef __cplusplus
20093 #define inline $ac_val
20094 #endif
20095 _ACEOF
20097 esac
20099 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20101 if test "x$ac_cv_type_request_sense" = xyes
20102 then :
20104 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20110 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20111 #include <sys/socket.h>
20112 #ifdef HAVE_SYS_SOCKETVAR_H
20113 #include <sys/socketvar.h>
20114 #endif
20115 #ifdef HAVE_NET_ROUTE_H
20116 #include <net/route.h>
20117 #endif
20118 #ifdef HAVE_NETINET_IN_H
20119 #include <netinet/in.h>
20120 #endif
20121 #ifdef HAVE_NETINET_IN_SYSTM_H
20122 #include <netinet/in_systm.h>
20123 #endif
20124 #ifdef HAVE_NETINET_IP_H
20125 #include <netinet/ip.h>
20126 #endif
20127 #ifdef HAVE_NETINET_IN_PCB_H
20128 #include <netinet/in_pcb.h>
20129 #endif
20131 if test "x$ac_cv_type_struct_xinpgen" = xyes
20132 then :
20134 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20141 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20142 if test ${wine_cv_linux_gethostbyname_r_6+y}
20143 then :
20144 printf %s "(cached) " >&6
20145 else $as_nop
20146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20148 #include <netdb.h>
20150 main (void)
20153 char *name=0;
20154 struct hostent he;
20155 struct hostent *result;
20156 char *buf=0;
20157 int bufsize=0;
20158 int errnr;
20159 char *addr=0;
20160 int addrlen=0;
20161 int addrtype=0;
20162 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20163 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20166 return 0;
20168 _ACEOF
20169 if ac_fn_c_try_link "$LINENO"
20170 then :
20171 wine_cv_linux_gethostbyname_r_6=yes
20172 else $as_nop
20173 wine_cv_linux_gethostbyname_r_6=no
20176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20177 conftest$ac_exeext conftest.$ac_ext
20180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20181 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20182 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20183 then
20185 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20189 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20190 #include <sys/socket.h>
20191 #ifdef HAVE_SYS_UN_H
20192 # include <sys/un.h>
20193 #endif
20195 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20196 then :
20198 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20202 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20203 #include <sys/socket.h>
20204 #ifdef HAVE_SYS_UN_H
20205 # include <sys/un.h>
20206 #endif
20208 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20209 then :
20211 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20217 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20218 #ifdef HAVE_SCSI_SG_H
20219 #include <scsi/sg.h>
20220 #endif
20222 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20223 then :
20225 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20229 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>
20230 #ifdef HAVE_SCSI_SG_H
20231 #include <scsi/sg.h>
20232 #endif
20234 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20235 then :
20237 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20243 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20245 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20246 then :
20248 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20254 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20255 #ifdef HAVE_SYS_MTIO_H
20256 #include <sys/mtio.h>
20257 #endif
20259 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20260 then :
20262 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20266 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20267 #ifdef HAVE_SYS_MTIO_H
20268 #include <sys/mtio.h>
20269 #endif
20271 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20272 then :
20274 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20278 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20279 #ifdef HAVE_SYS_MTIO_H
20280 #include <sys/mtio.h>
20281 #endif
20283 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20284 then :
20286 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20292 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20293 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20294 then :
20296 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20300 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20301 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20302 then :
20304 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20308 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20309 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20310 then :
20312 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20316 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20317 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20318 then :
20320 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20324 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20325 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20326 then :
20328 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20332 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20333 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20334 then :
20336 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20340 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20341 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20342 then :
20344 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20348 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20349 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20350 then :
20352 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20356 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20357 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20358 then :
20360 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20364 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20365 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20366 then :
20368 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20372 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20373 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20374 then :
20376 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20382 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>
20383 #ifdef HAVE_NETINET_IN_H
20384 #include <netinet/in.h>
20385 #endif
20387 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20388 then :
20390 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20396 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
20397 #include <resolv.h>
20398 #endif
20400 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20410 #include <netinet/in.h>
20411 #endif
20413 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20414 then :
20416 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20422 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20423 #ifdef HAVE_SYS_SOCKETVAR_H
20424 #include <sys/socketvar.h>
20425 #endif
20426 #ifdef HAVE_NETINET_IN_H
20427 #include <netinet/in.h>
20428 #endif
20429 #ifdef HAVE_NETINET_IP_VAR_H
20430 #include <netinet/ip_var.h>
20431 #endif
20433 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20434 then :
20436 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20442 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
20443 #include <netinet/ip_var.h>
20444 #endif
20446 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20447 then :
20449 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20455 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20456 #ifdef HAVE_SYS_SOCKETVAR_H
20457 #include <sys/socketvar.h>
20458 #endif
20459 #ifdef HAVE_NETINET_IN_H
20460 #include <netinet/in.h>
20461 #endif
20462 #ifdef HAVE_NETINET6_IP6_VAR_H
20463 #include <netinet6/ip6_var.h>
20464 #endif
20466 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20467 then :
20469 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20475 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20476 #ifdef HAVE_SYS_SOCKETVAR_H
20477 #include <sys/socketvar.h>
20478 #endif
20479 #ifdef HAVE_NETINET_IN_H
20480 #include <netinet/in.h>
20481 #endif
20482 #ifdef HAVE_NETINET_IP_H
20483 #include <netinet/ip.h>
20484 #endif
20485 #ifdef HAVE_NETINET_IP_ICMP_H
20486 #include <netinet/ip_icmp.h>
20487 #endif
20488 #ifdef HAVE_NETINET_ICMP_VAR_H
20489 #include <netinet/icmp_var.h>
20490 #endif
20492 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20493 then :
20495 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20501 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20502 #ifdef HAVE_SYS_SOCKETVAR_H
20503 #include <sys/socketvar.h>
20504 #endif
20505 #ifdef HAVE_NETINET_IN_H
20506 #include <netinet/in.h>
20507 #endif
20508 #ifdef HAVE_NETINET_ICMP6_H
20509 #include <netinet/icmp6.h>
20510 #endif
20512 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20513 then :
20515 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20521 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20522 #ifdef HAVE_SYS_SOCKETVAR_H
20523 #include <sys/socketvar.h>
20524 #endif
20525 #ifdef HAVE_NETINET_IN_H
20526 #include <netinet/in.h>
20527 #endif
20528 #ifdef HAVE_NETINET_TCP_H
20529 #include <netinet/tcp.h>
20530 #endif
20531 #ifdef HAVE_NETINET_TCP_VAR_H
20532 #include <netinet/tcp_var.h>
20533 #endif
20535 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20536 then :
20538 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20544 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
20545 #include <netinet/tcp_var.h>
20546 #endif
20548 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20549 then :
20551 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20557 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20558 #ifdef HAVE_NETINET_IN_H
20559 #include <netinet/in.h>
20560 #endif
20561 #ifdef HAVE_NETINET_IP_VAR_H
20562 #include <netinet/ip_var.h>
20563 #endif
20564 #ifdef HAVE_NETINET_UDP_H
20565 #include <netinet/udp.h>
20566 #endif
20567 #ifdef HAVE_NETINET_UDP_VAR_H
20568 #include <netinet/udp_var.h>
20569 #endif
20571 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20572 then :
20574 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20580 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20581 #ifdef HAVE_NET_IF_H
20582 # include <net/if.h>
20583 #endif
20585 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20586 then :
20588 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20594 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20595 # include <sys/sysinfo.h>
20596 #endif
20598 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20599 then :
20601 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20605 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20606 # include <sys/sysinfo.h>
20607 #endif
20609 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20610 then :
20612 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20618 LIBS="$ac_save_LIBS"
20620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20621 printf %s "checking for __builtin_popcount... " >&6; }
20622 if test ${ac_cv_have___builtin_popcount+y}
20623 then :
20624 printf %s "(cached) " >&6
20625 else $as_nop
20626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20627 /* end confdefs.h. */
20630 main (void)
20632 return __builtin_popcount(1)
20634 return 0;
20636 _ACEOF
20637 if ac_fn_c_try_link "$LINENO"
20638 then :
20639 ac_cv_have___builtin_popcount="yes"
20640 else $as_nop
20641 ac_cv_have___builtin_popcount="no"
20643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20644 conftest$ac_exeext conftest.$ac_ext
20646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20647 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20648 if test "$ac_cv_have___builtin_popcount" = "yes"
20649 then
20651 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20656 printf %s "checking for __clear_cache... " >&6; }
20657 if test ${ac_cv_have___clear_cache+y}
20658 then :
20659 printf %s "(cached) " >&6
20660 else $as_nop
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20665 main (void)
20667 __clear_cache((void*)0, (void*)0); return 0;
20669 return 0;
20671 _ACEOF
20672 if ac_fn_c_try_link "$LINENO"
20673 then :
20674 ac_cv_have___clear_cache="yes"
20675 else $as_nop
20676 ac_cv_have___clear_cache="no"
20678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20679 conftest$ac_exeext conftest.$ac_ext
20681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20682 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20683 if test "$ac_cv_have___clear_cache" = "yes"
20684 then
20686 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20691 case $host_cpu in
20692 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20693 printf %s "checking whether we need to define __i386__... " >&6; }
20694 if test ${ac_cv_cpp_def___i386__+y}
20695 then :
20696 printf %s "(cached) " >&6
20697 else $as_nop
20698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20699 /* end confdefs.h. */
20700 #ifndef __i386__
20702 #endif
20703 _ACEOF
20704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20705 $EGREP "yes" >/dev/null 2>&1
20706 then :
20707 ac_cv_cpp_def___i386__=yes
20708 else $as_nop
20709 ac_cv_cpp_def___i386__=no
20711 rm -rf conftest*
20714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20715 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20716 if test "x$ac_cv_cpp_def___i386__" = xyes
20717 then :
20718 CFLAGS="$CFLAGS -D__i386__"
20719 LINTFLAGS="$LINTFLAGS -D__i386__"
20720 fi ;;
20721 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20722 printf %s "checking whether we need to define __x86_64__... " >&6; }
20723 if test ${ac_cv_cpp_def___x86_64__+y}
20724 then :
20725 printf %s "(cached) " >&6
20726 else $as_nop
20727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20728 /* end confdefs.h. */
20729 #ifndef __x86_64__
20731 #endif
20732 _ACEOF
20733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20734 $EGREP "yes" >/dev/null 2>&1
20735 then :
20736 ac_cv_cpp_def___x86_64__=yes
20737 else $as_nop
20738 ac_cv_cpp_def___x86_64__=no
20740 rm -rf conftest*
20743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20744 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20745 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20746 then :
20747 CFLAGS="$CFLAGS -D__x86_64__"
20748 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20749 fi ;;
20750 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20751 printf %s "checking whether we need to define __sparc64__... " >&6; }
20752 if test ${ac_cv_cpp_def___sparc64__+y}
20753 then :
20754 printf %s "(cached) " >&6
20755 else $as_nop
20756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20757 /* end confdefs.h. */
20758 #ifndef __sparc64__
20760 #endif
20761 _ACEOF
20762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20763 $EGREP "yes" >/dev/null 2>&1
20764 then :
20765 ac_cv_cpp_def___sparc64__=yes
20766 else $as_nop
20767 ac_cv_cpp_def___sparc64__=no
20769 rm -rf conftest*
20772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20773 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20774 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20775 then :
20776 CFLAGS="$CFLAGS -D__sparc64__"
20777 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20778 fi ;;
20779 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20780 printf %s "checking whether we need to define __sparc__... " >&6; }
20781 if test ${ac_cv_cpp_def___sparc__+y}
20782 then :
20783 printf %s "(cached) " >&6
20784 else $as_nop
20785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20786 /* end confdefs.h. */
20787 #ifndef __sparc__
20789 #endif
20790 _ACEOF
20791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20792 $EGREP "yes" >/dev/null 2>&1
20793 then :
20794 ac_cv_cpp_def___sparc__=yes
20795 else $as_nop
20796 ac_cv_cpp_def___sparc__=no
20798 rm -rf conftest*
20801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20802 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20803 if test "x$ac_cv_cpp_def___sparc__" = xyes
20804 then :
20805 CFLAGS="$CFLAGS -D__sparc__"
20806 LINTFLAGS="$LINTFLAGS -D__sparc__"
20807 fi ;;
20808 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20809 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20810 if test ${ac_cv_cpp_def___powerpc64__+y}
20811 then :
20812 printf %s "(cached) " >&6
20813 else $as_nop
20814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20815 /* end confdefs.h. */
20816 #ifndef __powerpc64__
20818 #endif
20819 _ACEOF
20820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20821 $EGREP "yes" >/dev/null 2>&1
20822 then :
20823 ac_cv_cpp_def___powerpc64__=yes
20824 else $as_nop
20825 ac_cv_cpp_def___powerpc64__=no
20827 rm -rf conftest*
20830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20831 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20832 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20833 then :
20834 CFLAGS="$CFLAGS -D__powerpc64__"
20835 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20836 fi ;;
20837 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20838 printf %s "checking whether we need to define __powerpc__... " >&6; }
20839 if test ${ac_cv_cpp_def___powerpc__+y}
20840 then :
20841 printf %s "(cached) " >&6
20842 else $as_nop
20843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20844 /* end confdefs.h. */
20845 #ifndef __powerpc__
20847 #endif
20848 _ACEOF
20849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20850 $EGREP "yes" >/dev/null 2>&1
20851 then :
20852 ac_cv_cpp_def___powerpc__=yes
20853 else $as_nop
20854 ac_cv_cpp_def___powerpc__=no
20856 rm -rf conftest*
20859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20860 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20861 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20862 then :
20863 CFLAGS="$CFLAGS -D__powerpc__"
20864 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20865 fi ;;
20866 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20867 printf %s "checking whether we need to define __aarch64__... " >&6; }
20868 if test ${ac_cv_cpp_def___aarch64__+y}
20869 then :
20870 printf %s "(cached) " >&6
20871 else $as_nop
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874 #ifndef __aarch64__
20876 #endif
20877 _ACEOF
20878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20879 $EGREP "yes" >/dev/null 2>&1
20880 then :
20881 ac_cv_cpp_def___aarch64__=yes
20882 else $as_nop
20883 ac_cv_cpp_def___aarch64__=no
20885 rm -rf conftest*
20888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20889 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20890 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20891 then :
20892 CFLAGS="$CFLAGS -D__aarch64__"
20893 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20894 fi ;;
20895 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20896 printf %s "checking whether we need to define __arm__... " >&6; }
20897 if test ${ac_cv_cpp_def___arm__+y}
20898 then :
20899 printf %s "(cached) " >&6
20900 else $as_nop
20901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20903 #ifndef __arm__
20905 #endif
20906 _ACEOF
20907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20908 $EGREP "yes" >/dev/null 2>&1
20909 then :
20910 ac_cv_cpp_def___arm__=yes
20911 else $as_nop
20912 ac_cv_cpp_def___arm__=no
20914 rm -rf conftest*
20917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20918 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20919 if test "x$ac_cv_cpp_def___arm__" = xyes
20920 then :
20921 CFLAGS="$CFLAGS -D__arm__"
20922 LINTFLAGS="$LINTFLAGS -D__arm__"
20923 fi ;;
20924 esac
20926 case $host_vendor in
20927 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20928 printf %s "checking whether we need to define __sun__... " >&6; }
20929 if test ${ac_cv_cpp_def___sun__+y}
20930 then :
20931 printf %s "(cached) " >&6
20932 else $as_nop
20933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #ifndef __sun__
20937 #endif
20938 _ACEOF
20939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20940 $EGREP "yes" >/dev/null 2>&1
20941 then :
20942 ac_cv_cpp_def___sun__=yes
20943 else $as_nop
20944 ac_cv_cpp_def___sun__=no
20946 rm -rf conftest*
20949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20950 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20951 if test "x$ac_cv_cpp_def___sun__" = xyes
20952 then :
20953 CFLAGS="$CFLAGS -D__sun__"
20954 LINTFLAGS="$LINTFLAGS -D__sun__"
20955 fi ;;
20956 esac
20962 ac_config_commands="$ac_config_commands include/stamp-h"
20964 printf %s "creating Makefile rules..." >&6
20966 makedep_flags=""
20967 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20969 wine_srcdir=
20970 test "$srcdir" = . || wine_srcdir="$srcdir/"
20972 ac_config_links="$ac_config_links wine:tools/winewrapper"
20973 wine_fn_config_symlink wine
20974 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
20975 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20976 wine_fn_config_symlink wine64
20979 wine_fn_config_makefile dlls/acledit enable_acledit
20980 wine_fn_config_makefile dlls/aclui enable_aclui
20981 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20982 wine_fn_config_makefile dlls/activeds enable_activeds
20983 wine_fn_config_makefile dlls/activeds/tests enable_tests
20984 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20985 wine_fn_config_makefile dlls/adsldp enable_adsldp
20986 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20987 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20988 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20989 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20990 wine_fn_config_makefile dlls/advpack enable_advpack
20991 wine_fn_config_makefile dlls/advpack/tests enable_tests
20992 wine_fn_config_makefile dlls/amsi enable_amsi
20993 wine_fn_config_makefile dlls/amstream enable_amstream
20994 wine_fn_config_makefile dlls/amstream/tests enable_tests
20995 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20996 wine_fn_config_makefile dlls/apphelp enable_apphelp
20997 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20998 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20999 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21000 wine_fn_config_makefile dlls/atl enable_atl
21001 wine_fn_config_makefile dlls/atl/tests enable_tests
21002 wine_fn_config_makefile dlls/atl100 enable_atl100
21003 wine_fn_config_makefile dlls/atl100/tests enable_tests
21004 wine_fn_config_makefile dlls/atl110 enable_atl110
21005 wine_fn_config_makefile dlls/atl110/tests enable_tests
21006 wine_fn_config_makefile dlls/atl80 enable_atl80
21007 wine_fn_config_makefile dlls/atl80/tests enable_tests
21008 wine_fn_config_makefile dlls/atl90 enable_atl90
21009 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21010 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21011 wine_fn_config_makefile dlls/atmlib enable_atmlib
21012 wine_fn_config_makefile dlls/authz enable_authz
21013 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21014 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21015 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21016 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21017 wine_fn_config_makefile dlls/avrt enable_avrt
21018 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21019 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21020 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21021 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21022 wine_fn_config_makefile dlls/browseui enable_browseui
21023 wine_fn_config_makefile dlls/browseui/tests enable_tests
21024 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21025 wine_fn_config_makefile dlls/cabinet enable_cabinet
21026 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21027 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21028 wine_fn_config_makefile dlls/cards enable_cards
21029 wine_fn_config_makefile dlls/cdosys enable_cdosys
21030 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21031 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21032 wine_fn_config_makefile dlls/clusapi enable_clusapi
21033 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21034 wine_fn_config_makefile dlls/combase enable_combase
21035 wine_fn_config_makefile dlls/combase/tests enable_tests
21036 wine_fn_config_makefile dlls/comcat enable_comcat
21037 wine_fn_config_makefile dlls/comcat/tests enable_tests
21038 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21039 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21040 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21041 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21042 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21043 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21044 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21045 wine_fn_config_makefile dlls/compstui enable_compstui
21046 wine_fn_config_makefile dlls/compstui/tests enable_tests
21047 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21048 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21049 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21050 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21051 wine_fn_config_makefile dlls/connect enable_connect
21052 wine_fn_config_makefile dlls/credui enable_credui
21053 wine_fn_config_makefile dlls/credui/tests enable_tests
21054 wine_fn_config_makefile dlls/crtdll enable_crtdll
21055 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21056 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21057 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21058 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21059 wine_fn_config_makefile dlls/cryptext enable_cryptext
21060 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21061 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21062 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21063 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21064 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21065 wine_fn_config_makefile dlls/cryptui enable_cryptui
21066 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21067 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21068 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21069 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21070 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21071 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21072 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21073 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21074 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21075 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21076 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21077 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21078 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21079 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21080 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21081 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21082 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21083 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21084 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21085 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21086 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21087 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21088 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21089 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21090 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21091 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21092 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21093 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21094 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21095 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21096 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21097 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21098 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21099 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21100 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21101 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21102 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21103 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21104 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21105 wine_fn_config_makefile dlls/d3dim enable_d3dim
21106 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21107 wine_fn_config_makefile dlls/d3drm enable_d3drm
21108 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21109 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21110 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21111 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21112 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21113 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21114 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21115 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21116 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21117 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21118 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21119 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21120 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21121 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21122 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21123 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21124 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21125 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21126 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21127 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21128 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21129 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21130 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21131 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21132 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21133 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21134 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21135 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21136 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21137 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21138 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21139 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21140 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21141 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21142 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21143 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21144 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21145 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21146 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21147 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21148 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21149 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21150 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21151 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21152 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21153 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21154 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21155 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21156 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21157 wine_fn_config_makefile dlls/davclnt enable_davclnt
21158 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21159 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21160 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21161 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21162 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21163 wine_fn_config_makefile dlls/dcomp enable_dcomp
21164 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21165 wine_fn_config_makefile dlls/ddraw enable_ddraw
21166 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21167 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21168 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21169 wine_fn_config_makefile dlls/devenum enable_devenum
21170 wine_fn_config_makefile dlls/devenum/tests enable_tests
21171 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21172 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21173 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21174 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21175 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21176 wine_fn_config_makefile dlls/difxapi enable_difxapi
21177 wine_fn_config_makefile dlls/dinput enable_dinput
21178 wine_fn_config_makefile dlls/dinput/tests enable_tests
21179 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21180 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21181 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21182 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21183 wine_fn_config_makefile dlls/dispex enable_dispex
21184 wine_fn_config_makefile dlls/dispex/tests enable_tests
21185 wine_fn_config_makefile dlls/display.drv16 enable_win16
21186 wine_fn_config_makefile dlls/dmband enable_dmband
21187 wine_fn_config_makefile dlls/dmband/tests enable_tests
21188 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21189 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21190 wine_fn_config_makefile dlls/dmime enable_dmime
21191 wine_fn_config_makefile dlls/dmime/tests enable_tests
21192 wine_fn_config_makefile dlls/dmloader enable_dmloader
21193 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21194 wine_fn_config_makefile dlls/dmscript enable_dmscript
21195 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21196 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21197 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21198 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21199 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21200 wine_fn_config_makefile dlls/dmusic enable_dmusic
21201 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21202 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21203 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21204 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21205 wine_fn_config_makefile dlls/dplay enable_dplay
21206 wine_fn_config_makefile dlls/dplayx enable_dplayx
21207 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21208 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21209 wine_fn_config_makefile dlls/dpnet enable_dpnet
21210 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21211 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21212 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21213 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21214 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21215 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21216 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21217 wine_fn_config_makefile dlls/drmclien enable_drmclien
21218 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21219 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21220 wine_fn_config_makefile dlls/dsound enable_dsound
21221 wine_fn_config_makefile dlls/dsound/tests enable_tests
21222 wine_fn_config_makefile dlls/dsquery enable_dsquery
21223 wine_fn_config_makefile dlls/dssenh enable_dssenh
21224 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21225 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21226 wine_fn_config_makefile dlls/dswave enable_dswave
21227 wine_fn_config_makefile dlls/dswave/tests enable_tests
21228 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21229 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21230 wine_fn_config_makefile dlls/dwrite enable_dwrite
21231 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21232 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21233 wine_fn_config_makefile dlls/dxcore enable_dxcore
21234 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21235 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21236 wine_fn_config_makefile dlls/dxgi enable_dxgi
21237 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21238 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21239 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21240 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21241 wine_fn_config_makefile dlls/esent enable_esent
21242 wine_fn_config_makefile dlls/evr enable_evr
21243 wine_fn_config_makefile dlls/evr/tests enable_tests
21244 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21245 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21246 wine_fn_config_makefile dlls/faultrep enable_faultrep
21247 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21248 wine_fn_config_makefile dlls/feclient enable_feclient
21249 wine_fn_config_makefile dlls/fltlib enable_fltlib
21250 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21251 wine_fn_config_makefile dlls/fntcache enable_fntcache
21252 wine_fn_config_makefile dlls/fontsub enable_fontsub
21253 wine_fn_config_makefile dlls/fusion enable_fusion
21254 wine_fn_config_makefile dlls/fusion/tests enable_tests
21255 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21256 wine_fn_config_makefile dlls/gameux enable_gameux
21257 wine_fn_config_makefile dlls/gameux/tests enable_tests
21258 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21259 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21260 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21261 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21262 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21263 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21264 wine_fn_config_makefile dlls/geolocation enable_geolocation
21265 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21266 wine_fn_config_makefile dlls/glu32 enable_glu32
21267 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21268 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21269 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21270 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21271 wine_fn_config_makefile dlls/hal enable_hal
21272 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21273 wine_fn_config_makefile dlls/hid enable_hid
21274 wine_fn_config_makefile dlls/hid/tests enable_tests
21275 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21276 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21277 wine_fn_config_makefile dlls/hlink enable_hlink
21278 wine_fn_config_makefile dlls/hlink/tests enable_tests
21279 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21280 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21281 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21282 wine_fn_config_makefile dlls/http.sys enable_http_sys
21283 wine_fn_config_makefile dlls/httpapi enable_httpapi
21284 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21285 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21286 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21287 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21288 wine_fn_config_makefile dlls/iccvid enable_iccvid
21289 wine_fn_config_makefile dlls/icmp enable_icmp
21290 wine_fn_config_makefile dlls/ieframe enable_ieframe
21291 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21292 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21293 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21294 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21295 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21296 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21297 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21298 wine_fn_config_makefile dlls/imm32 enable_imm32
21299 wine_fn_config_makefile dlls/imm32/tests enable_tests
21300 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21301 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21302 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21303 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21304 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21305 wine_fn_config_makefile dlls/infosoft enable_infosoft
21306 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21307 wine_fn_config_makefile dlls/initpki enable_initpki
21308 wine_fn_config_makefile dlls/inkobj enable_inkobj
21309 wine_fn_config_makefile dlls/inseng enable_inseng
21310 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21311 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21312 wine_fn_config_makefile dlls/iprop enable_iprop
21313 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21314 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21315 wine_fn_config_makefile dlls/itircl enable_itircl
21316 wine_fn_config_makefile dlls/itss enable_itss
21317 wine_fn_config_makefile dlls/itss/tests enable_tests
21318 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21319 wine_fn_config_makefile dlls/jscript enable_jscript
21320 wine_fn_config_makefile dlls/jscript/tests enable_tests
21321 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21322 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21323 wine_fn_config_makefile dlls/kerberos enable_kerberos
21324 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21325 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21326 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21327 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21328 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21329 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21330 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21331 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21332 wine_fn_config_makefile dlls/ksuser enable_ksuser
21333 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21334 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21335 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21336 wine_fn_config_makefile dlls/loadperf enable_loadperf
21337 wine_fn_config_makefile dlls/localspl enable_localspl
21338 wine_fn_config_makefile dlls/localspl/tests enable_tests
21339 wine_fn_config_makefile dlls/localui enable_localui
21340 wine_fn_config_makefile dlls/localui/tests enable_tests
21341 wine_fn_config_makefile dlls/lz32 enable_lz32
21342 wine_fn_config_makefile dlls/lz32/tests enable_tests
21343 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21344 wine_fn_config_makefile dlls/magnification enable_magnification
21345 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21346 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21347 wine_fn_config_makefile dlls/mapistub enable_mapistub
21348 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21349 wine_fn_config_makefile dlls/mcicda enable_mcicda
21350 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21351 wine_fn_config_makefile dlls/mciseq enable_mciseq
21352 wine_fn_config_makefile dlls/mciwave enable_mciwave
21353 wine_fn_config_makefile dlls/mf enable_mf
21354 wine_fn_config_makefile dlls/mf/tests enable_tests
21355 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21356 wine_fn_config_makefile dlls/mferror enable_mferror
21357 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21358 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21359 wine_fn_config_makefile dlls/mfplat enable_mfplat
21360 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21361 wine_fn_config_makefile dlls/mfplay enable_mfplay
21362 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21363 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21364 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21365 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21366 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21367 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21368 wine_fn_config_makefile dlls/midimap enable_midimap
21369 wine_fn_config_makefile dlls/mlang enable_mlang
21370 wine_fn_config_makefile dlls/mlang/tests enable_tests
21371 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21372 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21373 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21374 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21375 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21376 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21377 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21378 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21379 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21380 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21381 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21382 wine_fn_config_makefile dlls/mpr enable_mpr
21383 wine_fn_config_makefile dlls/mpr/tests enable_tests
21384 wine_fn_config_makefile dlls/mprapi enable_mprapi
21385 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21386 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21387 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21388 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21389 wine_fn_config_makefile dlls/msado15 enable_msado15
21390 wine_fn_config_makefile dlls/msado15/tests enable_tests
21391 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21392 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21393 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21394 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21395 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21396 wine_fn_config_makefile dlls/mscms enable_mscms
21397 wine_fn_config_makefile dlls/mscms/tests enable_tests
21398 wine_fn_config_makefile dlls/mscoree enable_mscoree
21399 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21400 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21401 wine_fn_config_makefile dlls/msctf enable_msctf
21402 wine_fn_config_makefile dlls/msctf/tests enable_tests
21403 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21404 wine_fn_config_makefile dlls/msctfp enable_msctfp
21405 wine_fn_config_makefile dlls/msdaps enable_msdaps
21406 wine_fn_config_makefile dlls/msdasql enable_msdasql
21407 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21408 wine_fn_config_makefile dlls/msdelta enable_msdelta
21409 wine_fn_config_makefile dlls/msdmo enable_msdmo
21410 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21411 wine_fn_config_makefile dlls/msdrm enable_msdrm
21412 wine_fn_config_makefile dlls/msftedit enable_msftedit
21413 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21414 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21415 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21416 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21417 wine_fn_config_makefile dlls/mshtml enable_mshtml
21418 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21419 wine_fn_config_makefile dlls/msi enable_msi
21420 wine_fn_config_makefile dlls/msi/tests enable_tests
21421 wine_fn_config_makefile dlls/msident enable_msident
21422 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21423 wine_fn_config_makefile dlls/msimsg enable_msimsg
21424 wine_fn_config_makefile dlls/msimtf enable_msimtf
21425 wine_fn_config_makefile dlls/msisip enable_msisip
21426 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21427 wine_fn_config_makefile dlls/msls31 enable_msls31
21428 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21429 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21430 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21431 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21432 wine_fn_config_makefile dlls/msports enable_msports
21433 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21434 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21435 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21436 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21437 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21438 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21439 wine_fn_config_makefile dlls/mstask enable_mstask
21440 wine_fn_config_makefile dlls/mstask/tests enable_tests
21441 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21442 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21443 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21444 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21445 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21446 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21447 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21448 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21449 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21450 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21451 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21452 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21453 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21454 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21455 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21456 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21457 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21458 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21459 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21460 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21461 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21462 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21463 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21464 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21465 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21466 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21467 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21468 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21469 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21470 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21471 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21472 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21473 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21474 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21475 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21476 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21477 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21478 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21479 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21480 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21481 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21482 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21483 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21484 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21485 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21486 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21487 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21488 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21489 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21490 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21491 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21492 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21493 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21494 wine_fn_config_makefile dlls/mswsock enable_mswsock
21495 wine_fn_config_makefile dlls/msxml enable_msxml
21496 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21497 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21498 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21499 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21500 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21501 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21502 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21503 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21504 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21505 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21506 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21507 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21508 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21509 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21510 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21511 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21512 wine_fn_config_makefile dlls/netprofm enable_netprofm
21513 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21514 wine_fn_config_makefile dlls/netutils enable_netutils
21515 wine_fn_config_makefile dlls/newdev enable_newdev
21516 wine_fn_config_makefile dlls/ninput enable_ninput
21517 wine_fn_config_makefile dlls/ninput/tests enable_tests
21518 wine_fn_config_makefile dlls/normaliz enable_normaliz
21519 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21520 wine_fn_config_makefile dlls/npptools enable_npptools
21521 wine_fn_config_makefile dlls/nsi enable_nsi
21522 wine_fn_config_makefile dlls/nsi/tests enable_tests
21523 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21524 wine_fn_config_makefile dlls/ntdll enable_ntdll
21525 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21526 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21527 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21528 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21529 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21530 wine_fn_config_makefile dlls/ntprint enable_ntprint
21531 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21532 wine_fn_config_makefile dlls/objsel enable_objsel
21533 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21534 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21535 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21536 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21537 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21538 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21539 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21540 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21541 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21542 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21543 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21544 wine_fn_config_makefile dlls/ole32 enable_ole32
21545 wine_fn_config_makefile dlls/ole32/tests enable_tests
21546 wine_fn_config_makefile dlls/oleacc enable_oleacc
21547 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21548 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21549 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21550 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21551 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21552 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21553 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21554 wine_fn_config_makefile dlls/oledlg enable_oledlg
21555 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21556 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21557 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21558 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21559 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21560 wine_fn_config_makefile dlls/opcservices enable_opcservices
21561 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21562 wine_fn_config_makefile dlls/opencl enable_opencl
21563 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21564 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21565 wine_fn_config_makefile dlls/packager enable_packager
21566 wine_fn_config_makefile dlls/packager/tests enable_tests
21567 wine_fn_config_makefile dlls/pdh enable_pdh
21568 wine_fn_config_makefile dlls/pdh/tests enable_tests
21569 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21570 wine_fn_config_makefile dlls/pidgen enable_pidgen
21571 wine_fn_config_makefile dlls/powrprof enable_powrprof
21572 wine_fn_config_makefile dlls/printui enable_printui
21573 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21574 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21575 wine_fn_config_makefile dlls/propsys enable_propsys
21576 wine_fn_config_makefile dlls/propsys/tests enable_tests
21577 wine_fn_config_makefile dlls/psapi enable_psapi
21578 wine_fn_config_makefile dlls/psapi/tests enable_tests
21579 wine_fn_config_makefile dlls/pstorec enable_pstorec
21580 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21581 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21582 wine_fn_config_makefile dlls/qasf enable_qasf
21583 wine_fn_config_makefile dlls/qasf/tests enable_tests
21584 wine_fn_config_makefile dlls/qcap enable_qcap
21585 wine_fn_config_makefile dlls/qcap/tests enable_tests
21586 wine_fn_config_makefile dlls/qdvd enable_qdvd
21587 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21588 wine_fn_config_makefile dlls/qedit enable_qedit
21589 wine_fn_config_makefile dlls/qedit/tests enable_tests
21590 wine_fn_config_makefile dlls/qmgr enable_qmgr
21591 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21592 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21593 wine_fn_config_makefile dlls/quartz enable_quartz
21594 wine_fn_config_makefile dlls/quartz/tests enable_tests
21595 wine_fn_config_makefile dlls/query enable_query
21596 wine_fn_config_makefile dlls/qwave enable_qwave
21597 wine_fn_config_makefile dlls/qwave/tests enable_tests
21598 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21599 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21600 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21601 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21602 wine_fn_config_makefile dlls/regapi enable_regapi
21603 wine_fn_config_makefile dlls/resutils enable_resutils
21604 wine_fn_config_makefile dlls/riched20 enable_riched20
21605 wine_fn_config_makefile dlls/riched20/tests enable_tests
21606 wine_fn_config_makefile dlls/riched32 enable_riched32
21607 wine_fn_config_makefile dlls/riched32/tests enable_tests
21608 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21609 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21610 wine_fn_config_makefile dlls/rsabase enable_rsabase
21611 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21612 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21613 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21614 wine_fn_config_makefile dlls/rtutils enable_rtutils
21615 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21616 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21617 wine_fn_config_makefile dlls/samlib enable_samlib
21618 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21619 wine_fn_config_makefile dlls/sapi enable_sapi
21620 wine_fn_config_makefile dlls/sapi/tests enable_tests
21621 wine_fn_config_makefile dlls/sas enable_sas
21622 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21623 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21624 wine_fn_config_makefile dlls/sccbase enable_sccbase
21625 wine_fn_config_makefile dlls/schannel enable_schannel
21626 wine_fn_config_makefile dlls/schannel/tests enable_tests
21627 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21628 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21629 wine_fn_config_makefile dlls/scrobj enable_scrobj
21630 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21631 wine_fn_config_makefile dlls/scrrun enable_scrrun
21632 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21633 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21634 wine_fn_config_makefile dlls/sechost enable_sechost
21635 wine_fn_config_makefile dlls/secur32 enable_secur32
21636 wine_fn_config_makefile dlls/secur32/tests enable_tests
21637 wine_fn_config_makefile dlls/security enable_security
21638 wine_fn_config_makefile dlls/sensapi enable_sensapi
21639 wine_fn_config_makefile dlls/serialui enable_serialui
21640 wine_fn_config_makefile dlls/serialui/tests enable_tests
21641 wine_fn_config_makefile dlls/setupapi enable_setupapi
21642 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21643 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21644 wine_fn_config_makefile dlls/sfc enable_sfc
21645 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21646 wine_fn_config_makefile dlls/shcore enable_shcore
21647 wine_fn_config_makefile dlls/shcore/tests enable_tests
21648 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21649 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21650 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21651 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21652 wine_fn_config_makefile dlls/shell32 enable_shell32
21653 wine_fn_config_makefile dlls/shell32/tests enable_tests
21654 wine_fn_config_makefile dlls/shfolder enable_shfolder
21655 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21656 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21657 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21658 wine_fn_config_makefile dlls/slc enable_slc
21659 wine_fn_config_makefile dlls/slc/tests enable_tests
21660 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21661 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21662 wine_fn_config_makefile dlls/softpub enable_softpub
21663 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21664 wine_fn_config_makefile dlls/spoolss enable_spoolss
21665 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21666 wine_fn_config_makefile dlls/sppc enable_sppc
21667 wine_fn_config_makefile dlls/srclient enable_srclient
21668 wine_fn_config_makefile dlls/srvcli enable_srvcli
21669 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
21670 wine_fn_config_makefile dlls/sspicli enable_sspicli
21671 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21672 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21673 wine_fn_config_makefile dlls/sti enable_sti
21674 wine_fn_config_makefile dlls/sti/tests enable_tests
21675 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21676 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21677 wine_fn_config_makefile dlls/strmdll enable_strmdll
21678 wine_fn_config_makefile dlls/svrapi enable_svrapi
21679 wine_fn_config_makefile dlls/sxs enable_sxs
21680 wine_fn_config_makefile dlls/sxs/tests enable_tests
21681 wine_fn_config_makefile dlls/system.drv16 enable_win16
21682 wine_fn_config_makefile dlls/t2embed enable_t2embed
21683 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21684 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21685 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21686 wine_fn_config_makefile dlls/taskschd enable_taskschd
21687 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21688 wine_fn_config_makefile dlls/tbs enable_tbs
21689 wine_fn_config_makefile dlls/tdh enable_tdh
21690 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21691 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21692 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21693 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21694 wine_fn_config_makefile dlls/traffic enable_traffic
21695 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21696 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21697 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21698 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21699 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21700 wine_fn_config_makefile dlls/tzres enable_tzres
21701 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21702 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21703 wine_fn_config_makefile dlls/uianimation enable_uianimation
21704 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21705 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21706 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21707 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21708 wine_fn_config_makefile dlls/unicows enable_unicows
21709 wine_fn_config_makefile dlls/updspapi enable_updspapi
21710 wine_fn_config_makefile dlls/url enable_url
21711 wine_fn_config_makefile dlls/urlmon enable_urlmon
21712 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21713 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21714 wine_fn_config_makefile dlls/user.exe16 enable_win16
21715 wine_fn_config_makefile dlls/user32 enable_user32
21716 wine_fn_config_makefile dlls/user32/tests enable_tests
21717 wine_fn_config_makefile dlls/userenv enable_userenv
21718 wine_fn_config_makefile dlls/userenv/tests enable_tests
21719 wine_fn_config_makefile dlls/usp10 enable_usp10
21720 wine_fn_config_makefile dlls/usp10/tests enable_tests
21721 wine_fn_config_makefile dlls/utildll enable_utildll
21722 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21723 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21724 wine_fn_config_makefile dlls/vbscript enable_vbscript
21725 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21726 wine_fn_config_makefile dlls/vcomp enable_vcomp
21727 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21728 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21729 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21730 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21731 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21732 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21733 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21734 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21735 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21736 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21737 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21738 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21739 wine_fn_config_makefile dlls/version enable_version
21740 wine_fn_config_makefile dlls/version/tests enable_tests
21741 wine_fn_config_makefile dlls/vga enable_vga
21742 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21743 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21744 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21745 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21746 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21747 wine_fn_config_makefile dlls/vssapi enable_vssapi
21748 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21749 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21750 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21751 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21752 wine_fn_config_makefile dlls/w32skrnl enable_win16
21753 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21754 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21755 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21756 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21757 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21758 wine_fn_config_makefile dlls/wdscore enable_wdscore
21759 wine_fn_config_makefile dlls/webservices enable_webservices
21760 wine_fn_config_makefile dlls/webservices/tests enable_tests
21761 wine_fn_config_makefile dlls/websocket enable_websocket
21762 wine_fn_config_makefile dlls/wer enable_wer
21763 wine_fn_config_makefile dlls/wer/tests enable_tests
21764 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21765 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21766 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21767 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21768 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21769 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21770 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21771 wine_fn_config_makefile dlls/win32u enable_win32u
21772 wine_fn_config_makefile dlls/win32u/tests enable_tests
21773 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21774 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21775 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21776 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
21777 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
21778 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21779 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21780 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21781 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21782 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21783 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21784 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21785 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21786 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21787 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21788 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21789 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21790 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21791 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21792 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21793 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21794 wine_fn_config_makefile dlls/windows.media enable_windows_media
21795 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21796 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21797 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21798 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21799 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21800 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21801 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
21802 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
21803 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21804 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21805 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21806 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21807 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21808 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21809 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21810 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21811 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21812 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21813 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21814 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21815 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21816 wine_fn_config_makefile dlls/wined3d enable_wined3d
21817 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21818 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21819 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21820 wine_fn_config_makefile dlls/winemapi enable_winemapi
21821 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21822 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21823 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21824 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21825 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21826 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21827 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21828 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21829 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21830 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21831 wine_fn_config_makefile dlls/wing32 enable_wing32
21832 wine_fn_config_makefile dlls/winhttp enable_winhttp
21833 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21834 wine_fn_config_makefile dlls/wininet enable_wininet
21835 wine_fn_config_makefile dlls/wininet/tests enable_tests
21836 wine_fn_config_makefile dlls/winmm enable_winmm
21837 wine_fn_config_makefile dlls/winmm/tests enable_tests
21838 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21839 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21840 wine_fn_config_makefile dlls/winprint enable_winprint
21841 wine_fn_config_makefile dlls/winscard enable_winscard
21842 wine_fn_config_makefile dlls/winscard/tests enable_tests
21843 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21844 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21845 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21846 wine_fn_config_makefile dlls/winsta enable_winsta
21847 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21848 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21849 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21850 wine_fn_config_makefile dlls/wintrust enable_wintrust
21851 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21852 wine_fn_config_makefile dlls/wintypes enable_wintypes
21853 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21854 wine_fn_config_makefile dlls/winusb enable_winusb
21855 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21856 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21857 wine_fn_config_makefile dlls/wlanui enable_wlanui
21858 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21859 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21860 wine_fn_config_makefile dlls/wldp enable_wldp
21861 wine_fn_config_makefile dlls/wmasf enable_wmasf
21862 wine_fn_config_makefile dlls/wmi enable_wmi
21863 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21864 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21865 wine_fn_config_makefile dlls/wmp enable_wmp
21866 wine_fn_config_makefile dlls/wmp/tests enable_tests
21867 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21868 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21869 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21870 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21871 wine_fn_config_makefile dlls/wofutil enable_wofutil
21872 wine_fn_config_makefile dlls/wow32 enable_win16
21873 wine_fn_config_makefile dlls/wow64 enable_wow64
21874 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21875 wine_fn_config_makefile dlls/wow64win enable_wow64win
21876 wine_fn_config_makefile dlls/wpc enable_wpc
21877 wine_fn_config_makefile dlls/wpc/tests enable_tests
21878 wine_fn_config_makefile dlls/wpcap enable_wpcap
21879 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21880 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21881 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21882 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21883 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21884 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21885 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21886 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21887 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21888 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21889 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21890 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21891 wine_fn_config_makefile dlls/wuapi enable_wuapi
21892 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21893 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21894 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21895 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21896 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21897 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21898 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21899 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21900 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21901 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21902 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21903 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21904 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21905 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21906 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21907 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21908 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21909 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21910 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21911 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21912 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21913 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21914 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21915 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21916 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21917 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21918 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21919 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21920 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21921 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21922 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21923 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21924 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21925 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21926 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21927 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21928 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21929 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
21930 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21931 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21932 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21933 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21934 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21935 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21936 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21937 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21938 wine_fn_config_makefile dlls/xmllite enable_xmllite
21939 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21940 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21941 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21942 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21943 wine_fn_config_makefile fonts enable_fonts
21944 wine_fn_config_makefile include enable_include
21945 wine_fn_config_makefile libs/adsiid enable_adsiid
21946 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21947 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21948 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21949 wine_fn_config_makefile libs/dxguid enable_dxguid
21950 wine_fn_config_makefile libs/faudio enable_faudio
21951 wine_fn_config_makefile libs/gsm enable_gsm
21952 wine_fn_config_makefile libs/jpeg enable_jpeg
21953 wine_fn_config_makefile libs/jxr enable_jxr
21954 wine_fn_config_makefile libs/lcms2 enable_lcms2
21955 wine_fn_config_makefile libs/ldap enable_ldap
21956 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21957 wine_fn_config_makefile libs/mpg123 enable_mpg123
21958 wine_fn_config_makefile libs/musl enable_musl
21959 wine_fn_config_makefile libs/png enable_png
21960 wine_fn_config_makefile libs/strmbase enable_strmbase
21961 wine_fn_config_makefile libs/strmiids enable_strmiids
21962 wine_fn_config_makefile libs/tiff enable_tiff
21963 wine_fn_config_makefile libs/uuid enable_uuid
21964 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21965 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21966 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21967 wine_fn_config_makefile libs/xml2 enable_xml2
21968 wine_fn_config_makefile libs/xslt enable_xslt
21969 wine_fn_config_makefile libs/zlib enable_zlib
21970 wine_fn_config_makefile libs/zydis enable_zydis
21971 wine_fn_config_makefile loader enable_loader
21972 wine_fn_config_makefile nls enable_nls
21973 wine_fn_config_makefile po enable_po
21974 wine_fn_config_makefile programs/arp enable_arp
21975 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21976 wine_fn_config_makefile programs/attrib enable_attrib
21977 wine_fn_config_makefile programs/cabarc enable_cabarc
21978 wine_fn_config_makefile programs/cacls enable_cacls
21979 wine_fn_config_makefile programs/certutil enable_certutil
21980 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21981 wine_fn_config_makefile programs/clock enable_clock
21982 wine_fn_config_makefile programs/cmd enable_cmd
21983 wine_fn_config_makefile programs/cmd/tests enable_tests
21984 wine_fn_config_makefile programs/conhost enable_conhost
21985 wine_fn_config_makefile programs/conhost/tests enable_tests
21986 wine_fn_config_makefile programs/control enable_control
21987 wine_fn_config_makefile programs/cscript enable_cscript
21988 wine_fn_config_makefile programs/dism enable_dism
21989 wine_fn_config_makefile programs/dllhost enable_dllhost
21990 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21991 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21992 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21993 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21994 wine_fn_config_makefile programs/eject enable_eject
21995 wine_fn_config_makefile programs/expand enable_expand
21996 wine_fn_config_makefile programs/explorer enable_explorer
21997 wine_fn_config_makefile programs/explorer/tests enable_tests
21998 wine_fn_config_makefile programs/extrac32 enable_extrac32
21999 wine_fn_config_makefile programs/fc enable_fc
22000 wine_fn_config_makefile programs/find enable_find
22001 wine_fn_config_makefile programs/find/tests enable_tests
22002 wine_fn_config_makefile programs/findstr enable_findstr
22003 wine_fn_config_makefile programs/findstr/tests enable_tests
22004 wine_fn_config_makefile programs/fsutil enable_fsutil
22005 wine_fn_config_makefile programs/fsutil/tests enable_tests
22006 wine_fn_config_makefile programs/hh enable_hh
22007 wine_fn_config_makefile programs/hostname enable_hostname
22008 wine_fn_config_makefile programs/icacls enable_icacls
22009 wine_fn_config_makefile programs/icinfo enable_icinfo
22010 wine_fn_config_makefile programs/iexplore enable_iexplore
22011 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22012 wine_fn_config_makefile programs/klist enable_klist
22013 wine_fn_config_makefile programs/lodctr enable_lodctr
22014 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22015 wine_fn_config_makefile programs/mshta enable_mshta
22016 wine_fn_config_makefile programs/msidb enable_msidb
22017 wine_fn_config_makefile programs/msiexec enable_msiexec
22018 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22019 wine_fn_config_makefile programs/net enable_net
22020 wine_fn_config_makefile programs/netsh enable_netsh
22021 wine_fn_config_makefile programs/netstat enable_netstat
22022 wine_fn_config_makefile programs/ngen enable_ngen
22023 wine_fn_config_makefile programs/notepad enable_notepad
22024 wine_fn_config_makefile programs/oleview enable_oleview
22025 wine_fn_config_makefile programs/ping enable_ping
22026 wine_fn_config_makefile programs/plugplay enable_plugplay
22027 wine_fn_config_makefile programs/pnputil enable_pnputil
22028 wine_fn_config_makefile programs/powershell enable_powershell
22029 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22030 wine_fn_config_makefile programs/progman enable_progman
22031 wine_fn_config_makefile programs/reg enable_reg
22032 wine_fn_config_makefile programs/reg/tests enable_tests
22033 wine_fn_config_makefile programs/regasm enable_regasm
22034 wine_fn_config_makefile programs/regedit enable_regedit
22035 wine_fn_config_makefile programs/regedit/tests enable_tests
22036 wine_fn_config_makefile programs/regini enable_regini
22037 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22038 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22039 wine_fn_config_makefile programs/robocopy enable_robocopy
22040 wine_fn_config_makefile programs/rpcss enable_rpcss
22041 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22042 wine_fn_config_makefile programs/rundll32 enable_rundll32
22043 wine_fn_config_makefile programs/sc enable_sc
22044 wine_fn_config_makefile programs/sc/tests enable_tests
22045 wine_fn_config_makefile programs/schtasks enable_schtasks
22046 wine_fn_config_makefile programs/schtasks/tests enable_tests
22047 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22048 wine_fn_config_makefile programs/secedit enable_secedit
22049 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22050 wine_fn_config_makefile programs/services enable_services
22051 wine_fn_config_makefile programs/services/tests enable_tests
22052 wine_fn_config_makefile programs/setx enable_setx
22053 wine_fn_config_makefile programs/shutdown enable_shutdown
22054 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22055 wine_fn_config_makefile programs/start enable_start
22056 wine_fn_config_makefile programs/subst enable_subst
22057 wine_fn_config_makefile programs/svchost enable_svchost
22058 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22059 wine_fn_config_makefile programs/taskkill enable_taskkill
22060 wine_fn_config_makefile programs/tasklist enable_tasklist
22061 wine_fn_config_makefile programs/tasklist/tests enable_tests
22062 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22063 wine_fn_config_makefile programs/termsv enable_termsv
22064 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22065 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22066 wine_fn_config_makefile programs/view enable_view
22067 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22068 wine_fn_config_makefile programs/where enable_where
22069 wine_fn_config_makefile programs/whoami enable_whoami
22070 wine_fn_config_makefile programs/wineboot enable_wineboot
22071 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22072 wine_fn_config_makefile programs/winecfg enable_winecfg
22073 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22074 wine_fn_config_makefile programs/winedbg enable_winedbg
22075 wine_fn_config_makefile programs/winedevice enable_winedevice
22076 wine_fn_config_makefile programs/winefile enable_winefile
22077 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22078 wine_fn_config_makefile programs/winemine enable_winemine
22079 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22080 wine_fn_config_makefile programs/winepath enable_winepath
22081 wine_fn_config_makefile programs/winetest enable_winetest
22082 wine_fn_config_makefile programs/winevdm enable_win16
22083 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22084 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22085 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22086 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22087 wine_fn_config_makefile programs/winver enable_winver
22088 wine_fn_config_makefile programs/wmic enable_wmic
22089 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22090 wine_fn_config_makefile programs/wordpad enable_wordpad
22091 wine_fn_config_makefile programs/write enable_write
22092 wine_fn_config_makefile programs/wscript enable_wscript
22093 wine_fn_config_makefile programs/wscript/tests enable_tests
22094 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22095 wine_fn_config_makefile programs/wusa enable_wusa
22096 wine_fn_config_makefile programs/xcopy enable_xcopy
22097 wine_fn_config_makefile programs/xcopy/tests enable_tests
22098 wine_fn_config_makefile server enable_server
22099 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22100 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22101 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22102 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22103 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22104 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22105 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22106 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22107 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22110 as_fn_append CONFIGURE_TARGETS " TAGS"
22111 as_fn_append CONFIGURE_TARGETS " tags"
22112 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22113 as_fn_append CONFIGURE_TARGETS " config.log"
22114 as_fn_append CONFIGURE_TARGETS " config.status"
22115 as_fn_append CONFIGURE_TARGETS " include/config.h"
22116 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22117 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22119 if test "x$enable_tools" != xno
22120 then
22121 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22122 ac_config_commands="$ac_config_commands tools/makedep"
22126 ac_config_commands="$ac_config_commands Makefile"
22130 SHELL=/bin/sh
22133 as_fn_append wine_rules "
22134 all: wine
22135 @echo \"Wine build complete.\"
22136 .INIT: Makefile
22137 .MAKEFILEDEPS:
22138 all: Makefile
22139 Makefile: config.status \$(MAKEDEP)
22140 @./config.status Makefile
22141 depend: \$(MAKEDEP)
22142 \$(MAKEDEP)$makedep_flags"
22145 as_fn_append wine_rules "
22146 config.status: ${wine_srcdir}configure
22147 @./config.status --recheck
22148 include/config.h: include/stamp-h
22149 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22150 @./config.status include/config.h include/stamp-h"
22152 if test "x$enable_maintainer_mode" = xyes
22153 then
22154 as_fn_append wine_rules "
22155 configure: configure.ac aclocal.m4
22156 autoconf --warnings=all
22157 include/config.h.in: include/stamp-h.in
22158 include/stamp-h.in: configure.ac aclocal.m4
22159 autoheader --warnings=all
22160 @echo timestamp > \$@"
22163 if test "x$enable_tools" != xno
22164 then
22165 as_fn_append wine_rules "
22166 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22167 @./config.status tools/makedep
22168 Makefile: tools/makedep$ac_exeext"
22169 else
22170 as_fn_append wine_rules "
22171 \$(MAKEDEP):
22172 @echo \"You need to run make in $toolsdir first\" && false"
22176 if test -n "$with_wine64"
22177 then
22178 case "$with_wine64" in
22179 /*) reldir="" ;;
22180 *) reldir="../" ;;
22181 esac
22182 rm -f fonts server 2>/dev/null
22183 as_fn_append wine_rules "
22184 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22185 loader/wine64 loader/wine64-preloader:
22186 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22187 $with_wine64/loader/wine:
22188 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22189 $with_wine64/loader/wine-preloader:
22190 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22191 clean::
22192 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22193 else
22194 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22195 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22196 fonts \
22197 loader/wine.inf \
22198 nls \
22199 programs/msidb/msidb \
22200 programs/msiexec/msiexec \
22201 programs/notepad/notepad \
22202 programs/regedit/regedit \
22203 programs/regsvr32/regsvr32 \
22204 programs/wineboot/wineboot \
22205 programs/winecfg/winecfg \
22206 programs/wineconsole/wineconsole \
22207 programs/winedbg/winedbg \
22208 programs/winefile/winefile \
22209 programs/winemine/winemine \
22210 programs/winepath/winepath \
22211 server/wineserver"
22213 case $host_os in
22214 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22215 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22216 esac
22220 as_fn_append wine_rules "
22221 distclean:: clean
22222 rm -rf autom4te.cache
22223 maintainer-clean::
22224 rm -f configure include/config.h.in"
22227 as_fn_append wine_rules "
22228 dlls/ntdll/unix/version.c: dummy
22229 @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)
22230 programs/winetest/build.rc: dummy
22231 @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)
22232 programs/winetest/build.nfo:
22233 @-\$(CC) -v 2>\$@
22234 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
22235 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22236 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22239 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22241 as_fn_append wine_rules "
22242 TAGS etags:
22243 rm -f TAGS
22244 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22245 tags ctags:
22246 rm -f tags
22247 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22248 dummy:
22249 .PHONY: depend dummy install-manpages"
22251 printf "%s\n" " done" >&6
22252 cat >confcache <<\_ACEOF
22253 # This file is a shell script that caches the results of configure
22254 # tests run on this system so they can be shared between configure
22255 # scripts and configure runs, see configure's option --config-cache.
22256 # It is not useful on other systems. If it contains results you don't
22257 # want to keep, you may remove or edit it.
22259 # config.status only pays attention to the cache file if you give it
22260 # the --recheck option to rerun configure.
22262 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22263 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22264 # following values.
22266 _ACEOF
22268 # The following way of writing the cache mishandles newlines in values,
22269 # but we know of no workaround that is simple, portable, and efficient.
22270 # So, we kill variables containing newlines.
22271 # Ultrix sh set writes to stderr and can't be redirected directly,
22272 # and sets the high bit in the cache file unless we assign to the vars.
22274 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22275 eval ac_val=\$$ac_var
22276 case $ac_val in #(
22277 *${as_nl}*)
22278 case $ac_var in #(
22279 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22280 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22281 esac
22282 case $ac_var in #(
22283 _ | IFS | as_nl) ;; #(
22284 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22285 *) { eval $ac_var=; unset $ac_var;} ;;
22286 esac ;;
22287 esac
22288 done
22290 (set) 2>&1 |
22291 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22292 *${as_nl}ac_space=\ *)
22293 # `set' does not quote correctly, so add quotes: double-quote
22294 # substitution turns \\\\ into \\, and sed turns \\ into \.
22295 sed -n \
22296 "s/'/'\\\\''/g;
22297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22298 ;; #(
22300 # `set' quotes correctly as required by POSIX, so do not add quotes.
22301 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22303 esac |
22304 sort
22306 sed '
22307 /^ac_cv_env_/b end
22308 t clear
22309 :clear
22310 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22311 t end
22312 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22313 :end' >>confcache
22314 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22315 if test -w "$cache_file"; then
22316 if test "x$cache_file" != "x/dev/null"; then
22317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22318 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22319 if test ! -f "$cache_file" || test -h "$cache_file"; then
22320 cat confcache >"$cache_file"
22321 else
22322 case $cache_file in #(
22323 */* | ?:*)
22324 mv -f confcache "$cache_file"$$ &&
22325 mv -f "$cache_file"$$ "$cache_file" ;; #(
22327 mv -f confcache "$cache_file" ;;
22328 esac
22331 else
22332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22333 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22336 rm -f confcache
22338 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22339 # Let make expand exec_prefix.
22340 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22342 DEFS=-DHAVE_CONFIG_H
22344 ac_libobjs=
22345 ac_ltlibobjs=
22347 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22348 # 1. Remove the extension, and $U if already installed.
22349 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22350 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22351 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22352 # will be set to the directory where LIBOBJS objects are built.
22353 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22354 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22355 done
22356 LIBOBJS=$ac_libobjs
22358 LTLIBOBJS=$ac_ltlibobjs
22362 : "${CONFIG_STATUS=./config.status}"
22363 ac_write_fail=0
22364 ac_clean_files_save=$ac_clean_files
22365 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22367 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22368 as_write_fail=0
22369 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22370 #! $SHELL
22371 # Generated by $as_me.
22372 # Run this file to recreate the current configuration.
22373 # Compiler output produced by configure, useful for debugging
22374 # configure, is in config.log if it exists.
22376 debug=false
22377 ac_cs_recheck=false
22378 ac_cs_silent=false
22380 SHELL=\${CONFIG_SHELL-$SHELL}
22381 export SHELL
22382 _ASEOF
22383 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22384 ## -------------------- ##
22385 ## M4sh Initialization. ##
22386 ## -------------------- ##
22388 # Be more Bourne compatible
22389 DUALCASE=1; export DUALCASE # for MKS sh
22390 as_nop=:
22391 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22392 then :
22393 emulate sh
22394 NULLCMD=:
22395 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22396 # is contrary to our usage. Disable this feature.
22397 alias -g '${1+"$@"}'='"$@"'
22398 setopt NO_GLOB_SUBST
22399 else $as_nop
22400 case `(set -o) 2>/dev/null` in #(
22401 *posix*) :
22402 set -o posix ;; #(
22403 *) :
22405 esac
22410 # Reset variables that may have inherited troublesome values from
22411 # the environment.
22413 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22414 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22415 # side effect of setting IFS to empty, thus disabling word splitting.)
22416 # Quoting is to prevent editors from complaining about space-tab.
22417 as_nl='
22419 export as_nl
22420 IFS=" "" $as_nl"
22422 PS1='$ '
22423 PS2='> '
22424 PS4='+ '
22426 # Ensure predictable behavior from utilities with locale-dependent output.
22427 LC_ALL=C
22428 export LC_ALL
22429 LANGUAGE=C
22430 export LANGUAGE
22432 # We cannot yet rely on "unset" to work, but we need these variables
22433 # to be unset--not just set to an empty or harmless value--now, to
22434 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22435 # also avoids known problems related to "unset" and subshell syntax
22436 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22437 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22438 do eval test \${$as_var+y} \
22439 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22440 done
22442 # Ensure that fds 0, 1, and 2 are open.
22443 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22444 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22445 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22447 # The user is always right.
22448 if ${PATH_SEPARATOR+false} :; then
22449 PATH_SEPARATOR=:
22450 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22451 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22452 PATH_SEPARATOR=';'
22457 # Find who we are. Look in the path if we contain no directory separator.
22458 as_myself=
22459 case $0 in #((
22460 *[\\/]* ) as_myself=$0 ;;
22461 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22462 for as_dir in $PATH
22464 IFS=$as_save_IFS
22465 case $as_dir in #(((
22466 '') as_dir=./ ;;
22467 */) ;;
22468 *) as_dir=$as_dir/ ;;
22469 esac
22470 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22471 done
22472 IFS=$as_save_IFS
22475 esac
22476 # We did not find ourselves, most probably we were run as `sh COMMAND'
22477 # in which case we are not to be found in the path.
22478 if test "x$as_myself" = x; then
22479 as_myself=$0
22481 if test ! -f "$as_myself"; then
22482 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22483 exit 1
22488 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22489 # ----------------------------------------
22490 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22491 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22492 # script with STATUS, using 1 if that was 0.
22493 as_fn_error ()
22495 as_status=$1; test $as_status -eq 0 && as_status=1
22496 if test "$4"; then
22497 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22500 printf "%s\n" "$as_me: error: $2" >&2
22501 as_fn_exit $as_status
22502 } # as_fn_error
22506 # as_fn_set_status STATUS
22507 # -----------------------
22508 # Set $? to STATUS, without forking.
22509 as_fn_set_status ()
22511 return $1
22512 } # as_fn_set_status
22514 # as_fn_exit STATUS
22515 # -----------------
22516 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22517 as_fn_exit ()
22519 set +e
22520 as_fn_set_status $1
22521 exit $1
22522 } # as_fn_exit
22524 # as_fn_unset VAR
22525 # ---------------
22526 # Portably unset VAR.
22527 as_fn_unset ()
22529 { eval $1=; unset $1;}
22531 as_unset=as_fn_unset
22533 # as_fn_append VAR VALUE
22534 # ----------------------
22535 # Append the text in VALUE to the end of the definition contained in VAR. Take
22536 # advantage of any shell optimizations that allow amortized linear growth over
22537 # repeated appends, instead of the typical quadratic growth present in naive
22538 # implementations.
22539 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22540 then :
22541 eval 'as_fn_append ()
22543 eval $1+=\$2
22545 else $as_nop
22546 as_fn_append ()
22548 eval $1=\$$1\$2
22550 fi # as_fn_append
22552 # as_fn_arith ARG...
22553 # ------------------
22554 # Perform arithmetic evaluation on the ARGs, and store the result in the
22555 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22556 # must be portable across $(()) and expr.
22557 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22558 then :
22559 eval 'as_fn_arith ()
22561 as_val=$(( $* ))
22563 else $as_nop
22564 as_fn_arith ()
22566 as_val=`expr "$@" || test $? -eq 1`
22568 fi # as_fn_arith
22571 if expr a : '\(a\)' >/dev/null 2>&1 &&
22572 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22573 as_expr=expr
22574 else
22575 as_expr=false
22578 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22579 as_basename=basename
22580 else
22581 as_basename=false
22584 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22585 as_dirname=dirname
22586 else
22587 as_dirname=false
22590 as_me=`$as_basename -- "$0" ||
22591 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22592 X"$0" : 'X\(//\)$' \| \
22593 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22594 printf "%s\n" X/"$0" |
22595 sed '/^.*\/\([^/][^/]*\)\/*$/{
22596 s//\1/
22599 /^X\/\(\/\/\)$/{
22600 s//\1/
22603 /^X\/\(\/\).*/{
22604 s//\1/
22607 s/.*/./; q'`
22609 # Avoid depending upon Character Ranges.
22610 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22611 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22612 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22613 as_cr_digits='0123456789'
22614 as_cr_alnum=$as_cr_Letters$as_cr_digits
22617 # Determine whether it's possible to make 'echo' print without a newline.
22618 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22619 # for compatibility with existing Makefiles.
22620 ECHO_C= ECHO_N= ECHO_T=
22621 case `echo -n x` in #(((((
22622 -n*)
22623 case `echo 'xy\c'` in
22624 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22625 xy) ECHO_C='\c';;
22626 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22627 ECHO_T=' ';;
22628 esac;;
22630 ECHO_N='-n';;
22631 esac
22633 # For backward compatibility with old third-party macros, we provide
22634 # the shell variables $as_echo and $as_echo_n. New code should use
22635 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22636 as_echo='printf %s\n'
22637 as_echo_n='printf %s'
22639 rm -f conf$$ conf$$.exe conf$$.file
22640 if test -d conf$$.dir; then
22641 rm -f conf$$.dir/conf$$.file
22642 else
22643 rm -f conf$$.dir
22644 mkdir conf$$.dir 2>/dev/null
22646 if (echo >conf$$.file) 2>/dev/null; then
22647 if ln -s conf$$.file conf$$ 2>/dev/null; then
22648 as_ln_s='ln -s'
22649 # ... but there are two gotchas:
22650 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22651 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22652 # In both cases, we have to default to `cp -pR'.
22653 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22654 as_ln_s='cp -pR'
22655 elif ln conf$$.file conf$$ 2>/dev/null; then
22656 as_ln_s=ln
22657 else
22658 as_ln_s='cp -pR'
22660 else
22661 as_ln_s='cp -pR'
22663 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22664 rmdir conf$$.dir 2>/dev/null
22667 # as_fn_mkdir_p
22668 # -------------
22669 # Create "$as_dir" as a directory, including parents if necessary.
22670 as_fn_mkdir_p ()
22673 case $as_dir in #(
22674 -*) as_dir=./$as_dir;;
22675 esac
22676 test -d "$as_dir" || eval $as_mkdir_p || {
22677 as_dirs=
22678 while :; do
22679 case $as_dir in #(
22680 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22681 *) as_qdir=$as_dir;;
22682 esac
22683 as_dirs="'$as_qdir' $as_dirs"
22684 as_dir=`$as_dirname -- "$as_dir" ||
22685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22686 X"$as_dir" : 'X\(//\)[^/]' \| \
22687 X"$as_dir" : 'X\(//\)$' \| \
22688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22689 printf "%s\n" X"$as_dir" |
22690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22691 s//\1/
22694 /^X\(\/\/\)[^/].*/{
22695 s//\1/
22698 /^X\(\/\/\)$/{
22699 s//\1/
22702 /^X\(\/\).*/{
22703 s//\1/
22706 s/.*/./; q'`
22707 test -d "$as_dir" && break
22708 done
22709 test -z "$as_dirs" || eval "mkdir $as_dirs"
22710 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22713 } # as_fn_mkdir_p
22714 if mkdir -p . 2>/dev/null; then
22715 as_mkdir_p='mkdir -p "$as_dir"'
22716 else
22717 test -d ./-p && rmdir ./-p
22718 as_mkdir_p=false
22722 # as_fn_executable_p FILE
22723 # -----------------------
22724 # Test if FILE is an executable regular file.
22725 as_fn_executable_p ()
22727 test -f "$1" && test -x "$1"
22728 } # as_fn_executable_p
22729 as_test_x='test -x'
22730 as_executable_p=as_fn_executable_p
22732 # Sed expression to map a string onto a valid CPP name.
22733 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22735 # Sed expression to map a string onto a valid variable name.
22736 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22739 exec 6>&1
22740 ## ----------------------------------- ##
22741 ## Main body of $CONFIG_STATUS script. ##
22742 ## ----------------------------------- ##
22743 _ASEOF
22744 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22747 # Save the log message, to keep $0 and so on meaningful, and to
22748 # report actual input values of CONFIG_FILES etc. instead of their
22749 # values after options handling.
22750 ac_log="
22751 This file was extended by Wine $as_me 8.17, which was
22752 generated by GNU Autoconf 2.71. Invocation command line was
22754 CONFIG_FILES = $CONFIG_FILES
22755 CONFIG_HEADERS = $CONFIG_HEADERS
22756 CONFIG_LINKS = $CONFIG_LINKS
22757 CONFIG_COMMANDS = $CONFIG_COMMANDS
22758 $ $0 $@
22760 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22763 _ACEOF
22766 case $ac_config_headers in *"
22767 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22768 esac
22771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22772 # Files that config.status was made for.
22773 config_headers="$ac_config_headers"
22774 config_links="$ac_config_links"
22775 config_commands="$ac_config_commands"
22777 _ACEOF
22779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22780 ac_cs_usage="\
22781 \`$as_me' instantiates files and other configuration actions
22782 from templates according to the current configuration. Unless the files
22783 and actions are specified as TAGs, all are instantiated by default.
22785 Usage: $0 [OPTION]... [TAG]...
22787 -h, --help print this help, then exit
22788 -V, --version print version number and configuration settings, then exit
22789 --config print configuration, then exit
22790 -q, --quiet, --silent
22791 do not print progress messages
22792 -d, --debug don't remove temporary files
22793 --recheck update $as_me by reconfiguring in the same conditions
22794 --header=FILE[:TEMPLATE]
22795 instantiate the configuration header FILE
22797 Configuration headers:
22798 $config_headers
22800 Configuration links:
22801 $config_links
22803 Configuration commands:
22804 $config_commands
22806 Report bugs to <wine-devel@winehq.org>.
22807 Wine home page: <https://www.winehq.org>."
22809 _ACEOF
22810 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22811 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22813 ac_cs_config='$ac_cs_config_escaped'
22814 ac_cs_version="\\
22815 Wine config.status 8.17
22816 configured by $0, generated by GNU Autoconf 2.71,
22817 with options \\"\$ac_cs_config\\"
22819 Copyright (C) 2021 Free Software Foundation, Inc.
22820 This config.status script is free software; the Free Software Foundation
22821 gives unlimited permission to copy, distribute and modify it."
22823 ac_pwd='$ac_pwd'
22824 srcdir='$srcdir'
22825 test -n "\$AWK" || AWK=awk
22826 _ACEOF
22828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22829 # The default lists apply if the user does not specify any file.
22830 ac_need_defaults=:
22831 while test $# != 0
22833 case $1 in
22834 --*=?*)
22835 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22836 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22837 ac_shift=:
22839 --*=)
22840 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22841 ac_optarg=
22842 ac_shift=:
22845 ac_option=$1
22846 ac_optarg=$2
22847 ac_shift=shift
22849 esac
22851 case $ac_option in
22852 # Handling of the options.
22853 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22854 ac_cs_recheck=: ;;
22855 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22856 printf "%s\n" "$ac_cs_version"; exit ;;
22857 --config | --confi | --conf | --con | --co | --c )
22858 printf "%s\n" "$ac_cs_config"; exit ;;
22859 --debug | --debu | --deb | --de | --d | -d )
22860 debug=: ;;
22861 --header | --heade | --head | --hea )
22862 $ac_shift
22863 case $ac_optarg in
22864 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22865 esac
22866 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22867 ac_need_defaults=false;;
22868 --he | --h)
22869 # Conflict between --help and --header
22870 as_fn_error $? "ambiguous option: \`$1'
22871 Try \`$0 --help' for more information.";;
22872 --help | --hel | -h )
22873 printf "%s\n" "$ac_cs_usage"; exit ;;
22874 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22875 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22876 ac_cs_silent=: ;;
22878 # This is an error.
22879 -*) as_fn_error $? "unrecognized option: \`$1'
22880 Try \`$0 --help' for more information." ;;
22882 *) as_fn_append ac_config_targets " $1"
22883 ac_need_defaults=false ;;
22885 esac
22886 shift
22887 done
22889 ac_configure_extra_args=
22891 if $ac_cs_silent; then
22892 exec 6>/dev/null
22893 ac_configure_extra_args="$ac_configure_extra_args --silent"
22896 _ACEOF
22897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22898 if \$ac_cs_recheck; then
22899 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22900 shift
22901 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22902 CONFIG_SHELL='$SHELL'
22903 export CONFIG_SHELL
22904 exec "\$@"
22907 _ACEOF
22908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22909 exec 5>>config.log
22911 echo
22912 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22913 ## Running $as_me. ##
22914 _ASBOX
22915 printf "%s\n" "$ac_log"
22916 } >&5
22918 _ACEOF
22919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22921 # INIT-COMMANDS
22923 wine_fn_output_makedep ()
22925 as_dir=tools; as_fn_mkdir_p
22926 $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
22928 wine_fn_output_makefile ()
22930 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22931 # This Makefile understands the following targets:
22933 # all (default): build wine
22934 # clean: remove all intermediate files
22935 # distclean: also remove all files created by configure
22936 # test: run tests
22937 # testclean: clean test results to force running all tests again
22938 # install-lib: install libraries needed to run applications
22939 # install-dev: install development environment
22940 # install: install everything
22941 # uninstall: uninstall everything
22942 # ctags: create a tags file for vim and others.
22943 # etags: create a TAGS file for Emacs.
22945 SHELL = $SHELL
22946 PATH_SEPARATOR = $PATH_SEPARATOR
22947 PACKAGE_NAME = $PACKAGE_NAME
22948 PACKAGE_TARNAME = $PACKAGE_TARNAME
22949 PACKAGE_VERSION = $PACKAGE_VERSION
22950 PACKAGE_STRING = $PACKAGE_STRING
22951 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22952 PACKAGE_URL = $PACKAGE_URL
22953 exec_prefix = $exec_prefix
22954 prefix = $prefix
22955 program_transform_name = $program_transform_name
22956 bindir = $bindir
22957 sbindir = $sbindir
22958 libexecdir = $libexecdir
22959 datarootdir = $datarootdir
22960 datadir = $datadir
22961 sysconfdir = $sysconfdir
22962 sharedstatedir = $sharedstatedir
22963 localstatedir = $localstatedir
22964 runstatedir = $runstatedir
22965 includedir = $includedir
22966 oldincludedir = $oldincludedir
22967 docdir = $docdir
22968 infodir = $infodir
22969 htmldir = $htmldir
22970 dvidir = $dvidir
22971 pdfdir = $pdfdir
22972 psdir = $psdir
22973 libdir = $libdir
22974 localedir = $localedir
22975 mandir = $mandir
22976 DEFS = $DEFS
22977 ECHO_C = $ECHO_C
22978 ECHO_N = $ECHO_N
22979 ECHO_T = $ECHO_T
22980 LIBS = $LIBS
22981 build_alias = $build_alias
22982 host_alias = $host_alias
22983 target_alias = $target_alias
22984 system_dllpath = $system_dllpath
22985 build = $build
22986 build_cpu = $build_cpu
22987 build_vendor = $build_vendor
22988 build_os = $build_os
22989 host = $host
22990 host_cpu = $host_cpu
22991 host_vendor = $host_vendor
22992 host_os = $host_os
22993 dlldir = $dlldir
22994 fontdir = $fontdir
22995 nlsdir = $nlsdir
22996 srcdir = $srcdir
22997 SET_MAKE = $SET_MAKE
22998 CC = $CC
22999 CFLAGS = $CFLAGS
23000 LDFLAGS = $LDFLAGS
23001 CPPFLAGS = $CPPFLAGS
23002 ac_ct_CC = $ac_ct_CC
23003 EXEEXT = $EXEEXT
23004 OBJEXT = $OBJEXT
23005 CXX = $CXX
23006 CXXFLAGS = $CXXFLAGS
23007 ac_ct_CXX = $ac_ct_CXX
23008 CPPBIN = $CPPBIN
23009 LD = $LD
23010 TARGETFLAGS = $TARGETFLAGS
23011 toolsext = $toolsext
23012 HOST_ARCH = $HOST_ARCH
23013 aarch64_CC = $aarch64_CC
23014 aarch64_CFLAGS = $aarch64_CFLAGS
23015 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23016 aarch64_LDFLAGS = $aarch64_LDFLAGS
23017 aarch64_DEBUG = $aarch64_DEBUG
23018 aarch64_TARGET = $aarch64_TARGET
23019 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23020 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23021 arm_CC = $arm_CC
23022 arm_CFLAGS = $arm_CFLAGS
23023 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23024 arm_LDFLAGS = $arm_LDFLAGS
23025 arm_DEBUG = $arm_DEBUG
23026 arm_TARGET = $arm_TARGET
23027 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23028 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23029 i386_CC = $i386_CC
23030 i386_CFLAGS = $i386_CFLAGS
23031 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23032 i386_LDFLAGS = $i386_LDFLAGS
23033 i386_DEBUG = $i386_DEBUG
23034 i386_TARGET = $i386_TARGET
23035 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23036 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23037 x86_64_CC = $x86_64_CC
23038 x86_64_CFLAGS = $x86_64_CFLAGS
23039 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23040 x86_64_LDFLAGS = $x86_64_LDFLAGS
23041 x86_64_DEBUG = $x86_64_DEBUG
23042 x86_64_TARGET = $x86_64_TARGET
23043 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23044 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23045 toolsdir = $toolsdir
23046 MAKEDEP = $MAKEDEP
23047 RUNTESTFLAGS = $RUNTESTFLAGS
23048 SED_CMD = $SED_CMD
23049 FLEX = $FLEX
23050 BISON = $BISON
23051 AR = $AR
23052 ac_ct_AR = $ac_ct_AR
23053 STRIP = $STRIP
23054 RANLIB = $RANLIB
23055 LN_S = $LN_S
23056 GREP = $GREP
23057 EGREP = $EGREP
23058 LDCONFIG = $LDCONFIG
23059 MSGFMT = $MSGFMT
23060 PKG_CONFIG = $PKG_CONFIG
23061 FONTFORGE = $FONTFORGE
23062 RSVG = $RSVG
23063 CONVERT = $CONVERT
23064 ICOTOOL = $ICOTOOL
23065 I386_LIBS = $I386_LIBS
23066 OPENGL_LIBS = $OPENGL_LIBS
23067 DLLFLAGS = $DLLFLAGS
23068 LDDLLFLAGS = $LDDLLFLAGS
23069 LDEXECFLAGS = $LDEXECFLAGS
23070 EXTRACFLAGS = $EXTRACFLAGS
23071 UNIXDLLFLAGS = $UNIXDLLFLAGS
23072 UNIXLDFLAGS = $UNIXLDFLAGS
23073 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23074 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23075 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23076 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23077 DLLEXT = $DLLEXT
23078 LDD = $LDD
23079 OTOOL = $OTOOL
23080 READELF = $READELF
23081 SUBDIRS = $SUBDIRS
23082 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23083 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23084 CARBON_LIBS = $CARBON_LIBS
23085 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23086 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23087 IOKIT_LIBS = $IOKIT_LIBS
23088 METAL_LIBS = $METAL_LIBS
23089 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23090 CORESERVICES_LIBS = $CORESERVICES_LIBS
23091 APPKIT_LIBS = $APPKIT_LIBS
23092 SECURITY_LIBS = $SECURITY_LIBS
23093 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23094 COREAUDIO_LIBS = $COREAUDIO_LIBS
23095 OPENCL_LIBS = $OPENCL_LIBS
23096 OBJC = $OBJC
23097 OBJCFLAGS = $OBJCFLAGS
23098 ac_ct_OBJC = $ac_ct_OBJC
23099 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23100 PE_ARCHS = $PE_ARCHS
23101 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23102 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23103 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23104 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23105 GSM_PE_LIBS = $GSM_PE_LIBS
23106 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23107 JPEG_PE_LIBS = $JPEG_PE_LIBS
23108 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23109 JXR_PE_LIBS = $JXR_PE_LIBS
23110 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23111 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23112 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23113 LDAP_PE_LIBS = $LDAP_PE_LIBS
23114 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23115 MPG123_PE_LIBS = $MPG123_PE_LIBS
23116 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23117 MUSL_PE_LIBS = $MUSL_PE_LIBS
23118 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23119 PNG_PE_LIBS = $PNG_PE_LIBS
23120 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23121 TIFF_PE_LIBS = $TIFF_PE_LIBS
23122 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23123 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23124 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23125 XML2_PE_LIBS = $XML2_PE_LIBS
23126 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23127 XSLT_PE_LIBS = $XSLT_PE_LIBS
23128 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23129 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23130 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23131 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23132 PTHREAD_LIBS = $PTHREAD_LIBS
23133 XMKMF = $XMKMF
23134 CPP = $CPP
23135 X_CFLAGS = $X_CFLAGS
23136 X_PRE_LIBS = $X_PRE_LIBS
23137 X_LIBS = $X_LIBS
23138 X_EXTRA_LIBS = $X_EXTRA_LIBS
23139 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23140 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23141 WAYLAND_SCANNER = $WAYLAND_SCANNER
23142 PCAP_LIBS = $PCAP_LIBS
23143 PCSCLITE_LIBS = $PCSCLITE_LIBS
23144 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23145 INOTIFY_LIBS = $INOTIFY_LIBS
23146 DBUS_CFLAGS = $DBUS_CFLAGS
23147 DBUS_LIBS = $DBUS_LIBS
23148 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23149 GNUTLS_LIBS = $GNUTLS_LIBS
23150 SANE_CFLAGS = $SANE_CFLAGS
23151 SANE_LIBS = $SANE_LIBS
23152 USB_CFLAGS = $USB_CFLAGS
23153 USB_LIBS = $USB_LIBS
23154 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23155 GPHOTO2_LIBS = $GPHOTO2_LIBS
23156 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23157 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23158 RESOLV_LIBS = $RESOLV_LIBS
23159 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23160 FREETYPE_LIBS = $FREETYPE_LIBS
23161 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23162 PULSE_CFLAGS = $PULSE_CFLAGS
23163 PULSE_LIBS = $PULSE_LIBS
23164 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23165 GSTREAMER_LIBS = $GSTREAMER_LIBS
23166 ALSA_LIBS = $ALSA_LIBS
23167 OSS4_CFLAGS = $OSS4_CFLAGS
23168 OSS4_LIBS = $OSS4_LIBS
23169 UDEV_CFLAGS = $UDEV_CFLAGS
23170 UDEV_LIBS = $UDEV_LIBS
23171 UNWIND_CFLAGS = $UNWIND_CFLAGS
23172 UNWIND_LIBS = $UNWIND_LIBS
23173 SDL2_CFLAGS = $SDL2_CFLAGS
23174 SDL2_LIBS = $SDL2_LIBS
23175 CAPI20_CFLAGS = $CAPI20_CFLAGS
23176 CAPI20_LIBS = $CAPI20_LIBS
23177 CUPS_CFLAGS = $CUPS_CFLAGS
23178 CUPS_LIBS = $CUPS_LIBS
23179 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23180 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23181 KRB5_CFLAGS = $KRB5_CFLAGS
23182 KRB5_LIBS = $KRB5_LIBS
23183 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23184 GSSAPI_LIBS = $GSSAPI_LIBS
23185 PROCSTAT_LIBS = $PROCSTAT_LIBS
23186 NETAPI_CFLAGS = $NETAPI_CFLAGS
23187 NETAPI_LIBS = $NETAPI_LIBS
23188 MSVCRTFLAGS = $MSVCRTFLAGS
23189 DELAYLOADFLAG = $DELAYLOADFLAG
23190 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23191 RT_LIBS = $RT_LIBS
23192 TAGSFLAGS = $TAGSFLAGS
23193 LIBOBJS = $LIBOBJS
23194 LTLIBOBJS = $LTLIBOBJS
23195 $SET_MAKE
23196 $wine_rules
23197 _WINE_EOF
23198 as_fn_error $? "could not create Makefile" "$LINENO" 5
23201 _ACEOF
23203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23205 # Handling of arguments.
23206 for ac_config_target in $ac_config_targets
23208 case $ac_config_target in
23209 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23210 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23211 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23212 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23213 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23214 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23216 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23217 esac
23218 done
23221 # If the user did not use the arguments to specify the items to instantiate,
23222 # then the envvar interface is used. Set only those that are not.
23223 # We use the long form for the default assignment because of an extremely
23224 # bizarre bug on SunOS 4.1.3.
23225 if $ac_need_defaults; then
23226 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23227 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23228 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23231 # Have a temporary directory for convenience. Make it in the build tree
23232 # simply because there is no reason against having it here, and in addition,
23233 # creating and moving files from /tmp can sometimes cause problems.
23234 # Hook for its removal unless debugging.
23235 # Note that there is a small window in which the directory will not be cleaned:
23236 # after its creation but before its name has been assigned to `$tmp'.
23237 $debug ||
23239 tmp= ac_tmp=
23240 trap 'exit_status=$?
23241 : "${ac_tmp:=$tmp}"
23242 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23244 trap 'as_fn_exit 1' 1 2 13 15
23246 # Create a (secure) tmp directory for tmp files.
23249 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23250 test -d "$tmp"
23251 } ||
23253 tmp=./conf$$-$RANDOM
23254 (umask 077 && mkdir "$tmp")
23255 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23256 ac_tmp=$tmp
23258 # Set up the scripts for CONFIG_HEADERS section.
23259 # No need to generate them if there are no CONFIG_HEADERS.
23260 # This happens for instance with `./config.status Makefile'.
23261 if test -n "$CONFIG_HEADERS"; then
23262 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23263 BEGIN {
23264 _ACEOF
23266 # Transform confdefs.h into an awk script `defines.awk', embedded as
23267 # here-document in config.status, that substitutes the proper values into
23268 # config.h.in to produce config.h.
23270 # Create a delimiter string that does not exist in confdefs.h, to ease
23271 # handling of long lines.
23272 ac_delim='%!_!# '
23273 for ac_last_try in false false :; do
23274 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23275 if test -z "$ac_tt"; then
23276 break
23277 elif $ac_last_try; then
23278 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23279 else
23280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23282 done
23284 # For the awk script, D is an array of macro values keyed by name,
23285 # likewise P contains macro parameters if any. Preserve backslash
23286 # newline sequences.
23288 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23289 sed -n '
23290 s/.\{148\}/&'"$ac_delim"'/g
23291 t rset
23292 :rset
23293 s/^[ ]*#[ ]*define[ ][ ]*/ /
23294 t def
23296 :def
23297 s/\\$//
23298 t bsnl
23299 s/["\\]/\\&/g
23300 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23301 D["\1"]=" \3"/p
23302 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23304 :bsnl
23305 s/["\\]/\\&/g
23306 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23307 D["\1"]=" \3\\\\\\n"\\/p
23308 t cont
23309 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23310 t cont
23312 :cont
23314 s/.\{148\}/&'"$ac_delim"'/g
23315 t clear
23316 :clear
23317 s/\\$//
23318 t bsnlc
23319 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23321 :bsnlc
23322 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23323 b cont
23324 ' <confdefs.h | sed '
23325 s/'"$ac_delim"'/"\\\
23326 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23329 for (key in D) D_is_set[key] = 1
23330 FS = "\a"
23332 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23333 line = \$ 0
23334 split(line, arg, " ")
23335 if (arg[1] == "#") {
23336 defundef = arg[2]
23337 mac1 = arg[3]
23338 } else {
23339 defundef = substr(arg[1], 2)
23340 mac1 = arg[2]
23342 split(mac1, mac2, "(") #)
23343 macro = mac2[1]
23344 prefix = substr(line, 1, index(line, defundef) - 1)
23345 if (D_is_set[macro]) {
23346 # Preserve the white space surrounding the "#".
23347 print prefix "define", macro P[macro] D[macro]
23348 next
23349 } else {
23350 # Replace #undef with comments. This is necessary, for example,
23351 # in the case of _POSIX_SOURCE, which is predefined and required
23352 # on some systems where configure will not decide to define it.
23353 if (defundef == "undef") {
23354 print "/*", prefix defundef, macro, "*/"
23355 next
23359 { print }
23360 _ACAWK
23361 _ACEOF
23362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23363 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23364 fi # test -n "$CONFIG_HEADERS"
23367 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23368 shift
23369 for ac_tag
23371 case $ac_tag in
23372 :[FHLC]) ac_mode=$ac_tag; continue;;
23373 esac
23374 case $ac_mode$ac_tag in
23375 :[FHL]*:*);;
23376 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23377 :[FH]-) ac_tag=-:-;;
23378 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23379 esac
23380 ac_save_IFS=$IFS
23381 IFS=:
23382 set x $ac_tag
23383 IFS=$ac_save_IFS
23384 shift
23385 ac_file=$1
23386 shift
23388 case $ac_mode in
23389 :L) ac_source=$1;;
23390 :[FH])
23391 ac_file_inputs=
23392 for ac_f
23394 case $ac_f in
23395 -) ac_f="$ac_tmp/stdin";;
23396 *) # Look for the file first in the build tree, then in the source tree
23397 # (if the path is not absolute). The absolute path cannot be DOS-style,
23398 # because $ac_f cannot contain `:'.
23399 test -f "$ac_f" ||
23400 case $ac_f in
23401 [\\/$]*) false;;
23402 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23403 esac ||
23404 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23405 esac
23406 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23407 as_fn_append ac_file_inputs " '$ac_f'"
23408 done
23410 # Let's still pretend it is `configure' which instantiates (i.e., don't
23411 # use $as_me), people would be surprised to read:
23412 # /* config.h. Generated by config.status. */
23413 configure_input='Generated from '`
23414 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23415 `' by configure.'
23416 if test x"$ac_file" != x-; then
23417 configure_input="$ac_file. $configure_input"
23418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23419 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23421 # Neutralize special characters interpreted by sed in replacement strings.
23422 case $configure_input in #(
23423 *\&* | *\|* | *\\* )
23424 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23425 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23426 *) ac_sed_conf_input=$configure_input;;
23427 esac
23429 case $ac_tag in
23430 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23431 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23432 esac
23434 esac
23436 ac_dir=`$as_dirname -- "$ac_file" ||
23437 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23438 X"$ac_file" : 'X\(//\)[^/]' \| \
23439 X"$ac_file" : 'X\(//\)$' \| \
23440 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23441 printf "%s\n" X"$ac_file" |
23442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23443 s//\1/
23446 /^X\(\/\/\)[^/].*/{
23447 s//\1/
23450 /^X\(\/\/\)$/{
23451 s//\1/
23454 /^X\(\/\).*/{
23455 s//\1/
23458 s/.*/./; q'`
23459 as_dir="$ac_dir"; as_fn_mkdir_p
23460 ac_builddir=.
23462 case "$ac_dir" in
23463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23465 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23466 # A ".." for each directory in $ac_dir_suffix.
23467 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23468 case $ac_top_builddir_sub in
23469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23471 esac ;;
23472 esac
23473 ac_abs_top_builddir=$ac_pwd
23474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23475 # for backward compatibility:
23476 ac_top_builddir=$ac_top_build_prefix
23478 case $srcdir in
23479 .) # We are building in place.
23480 ac_srcdir=.
23481 ac_top_srcdir=$ac_top_builddir_sub
23482 ac_abs_top_srcdir=$ac_pwd ;;
23483 [\\/]* | ?:[\\/]* ) # Absolute name.
23484 ac_srcdir=$srcdir$ac_dir_suffix;
23485 ac_top_srcdir=$srcdir
23486 ac_abs_top_srcdir=$srcdir ;;
23487 *) # Relative name.
23488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23489 ac_top_srcdir=$ac_top_build_prefix$srcdir
23490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23491 esac
23492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23495 case $ac_mode in
23499 # CONFIG_HEADER
23501 if test x"$ac_file" != x-; then
23503 printf "%s\n" "/* $configure_input */" >&1 \
23504 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23505 } >"$ac_tmp/config.h" \
23506 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23507 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23509 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23510 else
23511 rm -f "$ac_file"
23512 mv "$ac_tmp/config.h" "$ac_file" \
23513 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23515 else
23516 printf "%s\n" "/* $configure_input */" >&1 \
23517 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23518 || as_fn_error $? "could not create -" "$LINENO" 5
23523 # CONFIG_LINK
23526 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23528 else
23529 # Prefer the file from the source tree if names are identical.
23530 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23531 ac_source=$srcdir/$ac_source
23534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23535 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23537 if test ! -r "$ac_source"; then
23538 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23540 rm -f "$ac_file"
23542 # Try a relative symlink, then a hard link, then a copy.
23543 case $ac_source in
23544 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23545 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23546 esac
23547 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23548 ln "$ac_source" "$ac_file" 2>/dev/null ||
23549 cp -p "$ac_source" "$ac_file" ||
23550 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23553 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23554 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23556 esac
23559 case $ac_file$ac_mode in
23560 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23561 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23562 "Makefile":C) wine_fn_output_makefile Makefile ;;
23564 esac
23565 done # for ac_tag
23568 as_fn_exit 0
23569 _ACEOF
23570 ac_clean_files=$ac_clean_files_save
23572 test $ac_write_fail = 0 ||
23573 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23576 # configure is writing to config.log, and then calls config.status.
23577 # config.status does its own redirection, appending to config.log.
23578 # Unfortunately, on DOS this fails, as config.log is still kept open
23579 # by configure, so config.status won't be able to write to it; its
23580 # output is simply discarded. So we exec the FD to /dev/null,
23581 # effectively closing config.log, so it can be properly (re)opened and
23582 # appended to by config.status. When coming back to configure, we
23583 # need to make the FD available again.
23584 if test "$no_create" != yes; then
23585 ac_cs_success=:
23586 ac_config_status_args=
23587 test "$silent" = yes &&
23588 ac_config_status_args="$ac_config_status_args --quiet"
23589 exec 5>/dev/null
23590 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23591 exec 5>>config.log
23592 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23593 # would make configure fail if this is the last instruction.
23594 $ac_cs_success || as_fn_exit 1
23596 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23598 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23602 if test "$no_create" = "yes"
23603 then
23604 exit 0
23607 ac_save_IFS="$IFS"
23608 if test "x$wine_notices" != x; then
23609 echo >&6
23610 IFS="|"
23611 for msg in $wine_notices; do
23612 IFS="$ac_save_IFS"
23613 if ${msg:+false} :
23614 then :
23616 else $as_nop
23617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23618 printf "%s\n" "$as_me: $msg" >&6;}
23620 done
23622 IFS="|"
23623 for msg in $wine_warnings; do
23624 IFS="$ac_save_IFS"
23625 if ${msg:+false} :
23626 then :
23628 else $as_nop
23629 echo >&2
23630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23631 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23633 done
23634 IFS="$ac_save_IFS"
23636 printf "%s\n" "
23637 $as_me: Finished. Do '${ac_make}' to compile Wine.
23638 " >&6