setupapi: Use lowercase device paths.
[wine.git] / configure
blob6915942245639c8bbcf4f1ffc791c17a4a685760
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.0-rc2.
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='7.0-rc2'
615 PACKAGE_STRING='Wine 7.0-rc2'
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 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 MSVCRTFLAGS
659 VKD3D_SHADER_LIBS
660 VKD3D_SHADER_CFLAGS
661 VKD3D_LIBS
662 VKD3D_CFLAGS
663 NETAPI_LIBS
664 NETAPI_CFLAGS
665 PROCSTAT_LIBS
666 GSSAPI_LIBS
667 GSSAPI_CFLAGS
668 KRB5_LIBS
669 KRB5_CFLAGS
670 FONTCONFIG_LIBS
671 FONTCONFIG_CFLAGS
672 CUPS_LIBS
673 CUPS_CFLAGS
674 CAPI20_LIBS
675 CAPI20_CFLAGS
676 SDL2_LIBS
677 SDL2_CFLAGS
678 UNWIND_LIBS
679 UNWIND_CFLAGS
680 UDEV_LIBS
681 UDEV_CFLAGS
682 OSS4_LIBS
683 OSS4_CFLAGS
684 ALSA_LIBS
685 GSTREAMER_LIBS
686 GSTREAMER_CFLAGS
687 PULSE_LIBS
688 PULSE_CFLAGS
689 GETTEXTPO_LIBS
690 FREETYPE_LIBS
691 FREETYPE_CFLAGS
692 RESOLV_LIBS
693 GPHOTO2_PORT_LIBS
694 GPHOTO2_PORT_CFLAGS
695 GPHOTO2_LIBS
696 GPHOTO2_CFLAGS
697 USB_LIBS
698 USB_CFLAGS
699 SANE_LIBS
700 SANE_CFLAGS
701 GNUTLS_LIBS
702 GNUTLS_CFLAGS
703 DBUS_LIBS
704 DBUS_CFLAGS
705 INOTIFY_LIBS
706 INOTIFY_CFLAGS
707 PCAP_LIBS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZLIB_PE_LIBS
716 ZLIB_PE_CFLAGS
717 XSLT_PE_LIBS
718 XSLT_PE_CFLAGS
719 XML2_PE_LIBS
720 XML2_PE_CFLAGS
721 TIFF_PE_LIBS
722 TIFF_PE_CFLAGS
723 PNG_PE_LIBS
724 PNG_PE_CFLAGS
725 MPG123_PE_LIBS
726 MPG123_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 EXCESS_PRECISION_CFLAGS
739 CROSSDEBUG
740 DELAYLOADFLAG
741 CROSSLDFLAGS
742 EXTRACROSSCFLAGS
743 CROSSCFLAGS
744 CROSSCC
745 CROSSTARGET
746 LIBWINE_DEPENDS
747 PRELINK
748 WINELOADER_DEPENDS
749 LIBWINE_LDFLAGS
750 LIBWINE_SHAREDLIB
751 METAL_LIBS
752 CARBON_LIBS
753 OPENCL_LIBS
754 OPENAL_LIBS
755 COREAUDIO_LIBS
756 SECURITY_LIBS
757 DISKARBITRATION_LIBS
758 SYSTEMCONFIGURATION_LIBS
759 APPKIT_LIBS
760 CORESERVICES_LIBS
761 APPLICATIONSERVICES_LIBS
762 IOKIT_LIBS
763 COREFOUNDATION_LIBS
764 ac_ct_OBJC
765 OBJCFLAGS
766 OBJC
767 DLLTOOL
768 WINELOADER_PROGRAMS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 WINEPRELOADER_LDFLAGS
776 WINELOADER_LDFLAGS
777 TOP_INSTALL_DEV
778 TOP_INSTALL_LIB
779 UNIXLDFLAGS
780 UNIXDLLFLAGS
781 EXTRACFLAGS
782 LDEXECFLAGS
783 LDDLLFLAGS
784 DLLFLAGS
785 OPENGL_LIBS
786 I386_LIBS
787 ICOTOOL
788 CONVERT
789 RSVG
790 FONTFORGE
791 PKG_CONFIG
792 MSGFMT
793 LDCONFIG
794 EGREP
795 GREP
796 LN_S
797 RANLIB
798 STRIP
799 ac_ct_AR
801 BISON
802 FLEX
803 api_manext
804 SED_CMD
805 RUNTESTFLAGS
806 MAKEDEP
807 toolsdir
808 toolsext
809 TARGETFLAGS
811 CPPBIN
812 ac_ct_CXX
813 CXXFLAGS
815 OBJEXT
816 EXEEXT
817 ac_ct_CC
818 CPPFLAGS
819 LDFLAGS
820 CFLAGS
822 SET_MAKE
823 srcdir
824 nlsdir
825 fontdir
826 dlldir
827 host_os
828 host_vendor
829 host_cpu
830 host
831 build_os
832 build_vendor
833 build_cpu
834 build
835 system_dllpath
836 target_alias
837 host_alias
838 build_alias
839 LIBS
840 ECHO_T
841 ECHO_N
842 ECHO_C
843 DEFS
844 mandir
845 localedir
846 libdir
847 psdir
848 pdfdir
849 dvidir
850 htmldir
851 infodir
852 docdir
853 oldincludedir
854 includedir
855 runstatedir
856 localstatedir
857 sharedstatedir
858 sysconfdir
859 datadir
860 datarootdir
861 libexecdir
862 sbindir
863 bindir
864 program_transform_name
865 prefix
866 exec_prefix
867 PACKAGE_URL
868 PACKAGE_BUGREPORT
869 PACKAGE_STRING
870 PACKAGE_VERSION
871 PACKAGE_TARNAME
872 PACKAGE_NAME
873 PATH_SEPARATOR
874 SHELL'
875 ac_subst_files=''
876 ac_user_opts='
877 enable_option_checking
878 enable_win16
879 enable_win64
880 enable_tests
881 enable_build_id
882 enable_maintainer_mode
883 enable_silent_rules
884 enable_werror
885 with_alsa
886 with_capi
887 with_coreaudio
888 with_cups
889 with_dbus
890 with_float_abi
891 with_fontconfig
892 with_freetype
893 with_gettext
894 with_gettextpo
895 with_gphoto
896 with_gnutls
897 with_gssapi
898 with_gstreamer
899 with_inotify
900 with_krb5
901 with_ldap
902 with_mingw
903 with_netapi
904 with_openal
905 with_opencl
906 with_opengl
907 with_osmesa
908 with_oss
909 with_pcap
910 with_pthread
911 with_pulse
912 with_sane
913 with_sdl
914 with_udev
915 with_unwind
916 with_usb
917 with_v4l2
918 with_vkd3d
919 with_vulkan
920 with_xcomposite
921 with_xcursor
922 with_xfixes
923 with_xinerama
924 with_xinput
925 with_xinput2
926 with_xrandr
927 with_xrender
928 with_xshape
929 with_xshm
930 with_xxf86vm
931 with_system_dllpath
932 with_wine_tools
933 with_wine64
934 enable_largefile
935 with_x
936 enable_acledit
937 enable_aclui
938 enable_activeds_tlb
939 enable_activeds
940 enable_actxprxy
941 enable_adsldp
942 enable_adsldpc
943 enable_advapi32
944 enable_advpack
945 enable_amsi
946 enable_amstream
947 enable_api_ms_win_appmodel_identity_l1_1_0
948 enable_api_ms_win_appmodel_runtime_l1_1_0
949 enable_api_ms_win_appmodel_runtime_l1_1_1
950 enable_api_ms_win_appmodel_runtime_l1_1_2
951 enable_api_ms_win_core_apiquery_l1_1_0
952 enable_api_ms_win_core_appcompat_l1_1_1
953 enable_api_ms_win_core_appinit_l1_1_0
954 enable_api_ms_win_core_atoms_l1_1_0
955 enable_api_ms_win_core_bem_l1_1_0
956 enable_api_ms_win_core_com_l1_1_0
957 enable_api_ms_win_core_com_l1_1_1
958 enable_api_ms_win_core_com_private_l1_1_0
959 enable_api_ms_win_core_comm_l1_1_0
960 enable_api_ms_win_core_console_l1_1_0
961 enable_api_ms_win_core_console_l1_2_0
962 enable_api_ms_win_core_console_l2_1_0
963 enable_api_ms_win_core_console_l3_2_0
964 enable_api_ms_win_core_crt_l1_1_0
965 enable_api_ms_win_core_crt_l2_1_0
966 enable_api_ms_win_core_datetime_l1_1_0
967 enable_api_ms_win_core_datetime_l1_1_1
968 enable_api_ms_win_core_debug_l1_1_0
969 enable_api_ms_win_core_debug_l1_1_1
970 enable_api_ms_win_core_delayload_l1_1_0
971 enable_api_ms_win_core_delayload_l1_1_1
972 enable_api_ms_win_core_errorhandling_l1_1_0
973 enable_api_ms_win_core_errorhandling_l1_1_1
974 enable_api_ms_win_core_errorhandling_l1_1_2
975 enable_api_ms_win_core_errorhandling_l1_1_3
976 enable_api_ms_win_core_featurestaging_l1_1_0
977 enable_api_ms_win_core_fibers_l1_1_0
978 enable_api_ms_win_core_fibers_l1_1_1
979 enable_api_ms_win_core_file_ansi_l2_1_0
980 enable_api_ms_win_core_file_fromapp_l1_1_0
981 enable_api_ms_win_core_file_l1_1_0
982 enable_api_ms_win_core_file_l1_2_0
983 enable_api_ms_win_core_file_l1_2_1
984 enable_api_ms_win_core_file_l1_2_2
985 enable_api_ms_win_core_file_l2_1_0
986 enable_api_ms_win_core_file_l2_1_1
987 enable_api_ms_win_core_file_l2_1_2
988 enable_api_ms_win_core_handle_l1_1_0
989 enable_api_ms_win_core_heap_l1_1_0
990 enable_api_ms_win_core_heap_l1_2_0
991 enable_api_ms_win_core_heap_l2_1_0
992 enable_api_ms_win_core_heap_obsolete_l1_1_0
993 enable_api_ms_win_core_interlocked_l1_1_0
994 enable_api_ms_win_core_interlocked_l1_2_0
995 enable_api_ms_win_core_io_l1_1_0
996 enable_api_ms_win_core_io_l1_1_1
997 enable_api_ms_win_core_job_l1_1_0
998 enable_api_ms_win_core_job_l2_1_0
999 enable_api_ms_win_core_kernel32_legacy_l1_1_0
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1002 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1003 enable_api_ms_win_core_kernel32_private_l1_1_1
1004 enable_api_ms_win_core_largeinteger_l1_1_0
1005 enable_api_ms_win_core_libraryloader_l1_1_0
1006 enable_api_ms_win_core_libraryloader_l1_1_1
1007 enable_api_ms_win_core_libraryloader_l1_2_0
1008 enable_api_ms_win_core_libraryloader_l1_2_1
1009 enable_api_ms_win_core_libraryloader_l1_2_2
1010 enable_api_ms_win_core_libraryloader_l2_1_0
1011 enable_api_ms_win_core_localization_l1_1_0
1012 enable_api_ms_win_core_localization_l1_2_0
1013 enable_api_ms_win_core_localization_l1_2_1
1014 enable_api_ms_win_core_localization_l1_2_2
1015 enable_api_ms_win_core_localization_l2_1_0
1016 enable_api_ms_win_core_localization_obsolete_l1_1_0
1017 enable_api_ms_win_core_localization_obsolete_l1_2_0
1018 enable_api_ms_win_core_localization_obsolete_l1_3_0
1019 enable_api_ms_win_core_localization_private_l1_1_0
1020 enable_api_ms_win_core_localregistry_l1_1_0
1021 enable_api_ms_win_core_memory_l1_1_0
1022 enable_api_ms_win_core_memory_l1_1_1
1023 enable_api_ms_win_core_memory_l1_1_2
1024 enable_api_ms_win_core_memory_l1_1_3
1025 enable_api_ms_win_core_memory_l1_1_4
1026 enable_api_ms_win_core_misc_l1_1_0
1027 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1028 enable_api_ms_win_core_namedpipe_l1_1_0
1029 enable_api_ms_win_core_namedpipe_l1_2_0
1030 enable_api_ms_win_core_namespace_l1_1_0
1031 enable_api_ms_win_core_normalization_l1_1_0
1032 enable_api_ms_win_core_path_l1_1_0
1033 enable_api_ms_win_core_privateprofile_l1_1_1
1034 enable_api_ms_win_core_processenvironment_l1_1_0
1035 enable_api_ms_win_core_processenvironment_l1_2_0
1036 enable_api_ms_win_core_processthreads_l1_1_0
1037 enable_api_ms_win_core_processthreads_l1_1_1
1038 enable_api_ms_win_core_processthreads_l1_1_2
1039 enable_api_ms_win_core_processthreads_l1_1_3
1040 enable_api_ms_win_core_processtopology_l1_1_0
1041 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1042 enable_api_ms_win_core_profile_l1_1_0
1043 enable_api_ms_win_core_psapi_ansi_l1_1_0
1044 enable_api_ms_win_core_psapi_l1_1_0
1045 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1046 enable_api_ms_win_core_psm_appnotify_l1_1_0
1047 enable_api_ms_win_core_quirks_l1_1_0
1048 enable_api_ms_win_core_realtime_l1_1_0
1049 enable_api_ms_win_core_realtime_l1_1_1
1050 enable_api_ms_win_core_registry_l1_1_0
1051 enable_api_ms_win_core_registry_l2_1_0
1052 enable_api_ms_win_core_registry_l2_2_0
1053 enable_api_ms_win_core_registryuserspecific_l1_1_0
1054 enable_api_ms_win_core_rtlsupport_l1_1_0
1055 enable_api_ms_win_core_rtlsupport_l1_2_0
1056 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1057 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1058 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1059 enable_api_ms_win_core_shutdown_l1_1_0
1060 enable_api_ms_win_core_sidebyside_l1_1_0
1061 enable_api_ms_win_core_string_l1_1_0
1062 enable_api_ms_win_core_string_l2_1_0
1063 enable_api_ms_win_core_string_obsolete_l1_1_0
1064 enable_api_ms_win_core_stringansi_l1_1_0
1065 enable_api_ms_win_core_stringloader_l1_1_1
1066 enable_api_ms_win_core_synch_ansi_l1_1_0
1067 enable_api_ms_win_core_synch_l1_1_0
1068 enable_api_ms_win_core_synch_l1_2_0
1069 enable_api_ms_win_core_synch_l1_2_1
1070 enable_api_ms_win_core_sysinfo_l1_1_0
1071 enable_api_ms_win_core_sysinfo_l1_2_0
1072 enable_api_ms_win_core_sysinfo_l1_2_1
1073 enable_api_ms_win_core_systemtopology_l1_1_0
1074 enable_api_ms_win_core_threadpool_l1_1_0
1075 enable_api_ms_win_core_threadpool_l1_2_0
1076 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1077 enable_api_ms_win_core_threadpool_private_l1_1_0
1078 enable_api_ms_win_core_timezone_l1_1_0
1079 enable_api_ms_win_core_toolhelp_l1_1_0
1080 enable_api_ms_win_core_url_l1_1_0
1081 enable_api_ms_win_core_util_l1_1_0
1082 enable_api_ms_win_core_version_l1_1_0
1083 enable_api_ms_win_core_version_l1_1_1
1084 enable_api_ms_win_core_version_private_l1_1_0
1085 enable_api_ms_win_core_versionansi_l1_1_0
1086 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1087 enable_api_ms_win_core_winrt_error_l1_1_0
1088 enable_api_ms_win_core_winrt_error_l1_1_1
1089 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1090 enable_api_ms_win_core_winrt_l1_1_0
1091 enable_api_ms_win_core_winrt_registration_l1_1_0
1092 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1093 enable_api_ms_win_core_winrt_string_l1_1_0
1094 enable_api_ms_win_core_winrt_string_l1_1_1
1095 enable_api_ms_win_core_wow64_l1_1_0
1096 enable_api_ms_win_core_wow64_l1_1_1
1097 enable_api_ms_win_core_xstate_l1_1_0
1098 enable_api_ms_win_core_xstate_l2_1_0
1099 enable_api_ms_win_crt_conio_l1_1_0
1100 enable_api_ms_win_crt_convert_l1_1_0
1101 enable_api_ms_win_crt_environment_l1_1_0
1102 enable_api_ms_win_crt_filesystem_l1_1_0
1103 enable_api_ms_win_crt_heap_l1_1_0
1104 enable_api_ms_win_crt_locale_l1_1_0
1105 enable_api_ms_win_crt_math_l1_1_0
1106 enable_api_ms_win_crt_multibyte_l1_1_0
1107 enable_api_ms_win_crt_private_l1_1_0
1108 enable_api_ms_win_crt_process_l1_1_0
1109 enable_api_ms_win_crt_runtime_l1_1_0
1110 enable_api_ms_win_crt_stdio_l1_1_0
1111 enable_api_ms_win_crt_string_l1_1_0
1112 enable_api_ms_win_crt_time_l1_1_0
1113 enable_api_ms_win_crt_utility_l1_1_0
1114 enable_api_ms_win_devices_config_l1_1_0
1115 enable_api_ms_win_devices_config_l1_1_1
1116 enable_api_ms_win_devices_query_l1_1_1
1117 enable_api_ms_win_downlevel_advapi32_l1_1_0
1118 enable_api_ms_win_downlevel_advapi32_l2_1_0
1119 enable_api_ms_win_downlevel_kernel32_l2_1_0
1120 enable_api_ms_win_downlevel_normaliz_l1_1_0
1121 enable_api_ms_win_downlevel_ole32_l1_1_0
1122 enable_api_ms_win_downlevel_shell32_l1_1_0
1123 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1124 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1125 enable_api_ms_win_downlevel_user32_l1_1_0
1126 enable_api_ms_win_downlevel_version_l1_1_0
1127 enable_api_ms_win_dx_d3dkmt_l1_1_0
1128 enable_api_ms_win_eventing_classicprovider_l1_1_0
1129 enable_api_ms_win_eventing_consumer_l1_1_0
1130 enable_api_ms_win_eventing_controller_l1_1_0
1131 enable_api_ms_win_eventing_legacy_l1_1_0
1132 enable_api_ms_win_eventing_provider_l1_1_0
1133 enable_api_ms_win_eventlog_legacy_l1_1_0
1134 enable_api_ms_win_gaming_tcui_l1_1_0
1135 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1136 enable_api_ms_win_mm_joystick_l1_1_0
1137 enable_api_ms_win_mm_misc_l1_1_1
1138 enable_api_ms_win_mm_mme_l1_1_0
1139 enable_api_ms_win_mm_time_l1_1_0
1140 enable_api_ms_win_ntuser_dc_access_l1_1_0
1141 enable_api_ms_win_ntuser_rectangle_l1_1_0
1142 enable_api_ms_win_ntuser_sysparams_l1_1_0
1143 enable_api_ms_win_perf_legacy_l1_1_0
1144 enable_api_ms_win_power_base_l1_1_0
1145 enable_api_ms_win_power_setting_l1_1_0
1146 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1147 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1148 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1149 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1150 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1152 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1153 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1154 enable_api_ms_win_security_audit_l1_1_1
1155 enable_api_ms_win_security_base_l1_1_0
1156 enable_api_ms_win_security_base_l1_2_0
1157 enable_api_ms_win_security_base_private_l1_1_1
1158 enable_api_ms_win_security_credentials_l1_1_0
1159 enable_api_ms_win_security_cryptoapi_l1_1_0
1160 enable_api_ms_win_security_grouppolicy_l1_1_0
1161 enable_api_ms_win_security_lsalookup_l1_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_1
1163 enable_api_ms_win_security_lsalookup_l2_1_0
1164 enable_api_ms_win_security_lsalookup_l2_1_1
1165 enable_api_ms_win_security_lsapolicy_l1_1_0
1166 enable_api_ms_win_security_provider_l1_1_0
1167 enable_api_ms_win_security_sddl_l1_1_0
1168 enable_api_ms_win_security_systemfunctions_l1_1_0
1169 enable_api_ms_win_service_core_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_1
1171 enable_api_ms_win_service_management_l1_1_0
1172 enable_api_ms_win_service_management_l2_1_0
1173 enable_api_ms_win_service_private_l1_1_1
1174 enable_api_ms_win_service_winsvc_l1_1_0
1175 enable_api_ms_win_service_winsvc_l1_2_0
1176 enable_api_ms_win_shcore_obsolete_l1_1_0
1177 enable_api_ms_win_shcore_scaling_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_1
1179 enable_api_ms_win_shcore_stream_l1_1_0
1180 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1181 enable_api_ms_win_shcore_thread_l1_1_0
1182 enable_api_ms_win_shell_shellcom_l1_1_0
1183 enable_api_ms_win_shell_shellfolders_l1_1_0
1184 enable_apphelp
1185 enable_appwiz_cpl
1186 enable_atl
1187 enable_atl100
1188 enable_atl110
1189 enable_atl80
1190 enable_atl90
1191 enable_atlthunk
1192 enable_atmlib
1193 enable_authz
1194 enable_avicap32
1195 enable_avifil32
1196 enable_avrt
1197 enable_bcrypt
1198 enable_bluetoothapis
1199 enable_browseui
1200 enable_bthprops_cpl
1201 enable_cabinet
1202 enable_capi2032
1203 enable_cards
1204 enable_cdosys
1205 enable_cfgmgr32
1206 enable_clusapi
1207 enable_cng_sys
1208 enable_combase
1209 enable_comcat
1210 enable_comctl32
1211 enable_comdlg32
1212 enable_compstui
1213 enable_comsvcs
1214 enable_concrt140
1215 enable_connect
1216 enable_credui
1217 enable_crtdll
1218 enable_crypt32
1219 enable_cryptdlg
1220 enable_cryptdll
1221 enable_cryptext
1222 enable_cryptnet
1223 enable_cryptsp
1224 enable_cryptui
1225 enable_ctapi32
1226 enable_ctl3d32
1227 enable_d2d1
1228 enable_d3d10
1229 enable_d3d10_1
1230 enable_d3d10core
1231 enable_d3d11
1232 enable_d3d12
1233 enable_d3d8
1234 enable_d3d8thk
1235 enable_d3d9
1236 enable_d3dcompiler_33
1237 enable_d3dcompiler_34
1238 enable_d3dcompiler_35
1239 enable_d3dcompiler_36
1240 enable_d3dcompiler_37
1241 enable_d3dcompiler_38
1242 enable_d3dcompiler_39
1243 enable_d3dcompiler_40
1244 enable_d3dcompiler_41
1245 enable_d3dcompiler_42
1246 enable_d3dcompiler_43
1247 enable_d3dcompiler_46
1248 enable_d3dcompiler_47
1249 enable_d3dim
1250 enable_d3dim700
1251 enable_d3drm
1252 enable_d3dx10_33
1253 enable_d3dx10_34
1254 enable_d3dx10_35
1255 enable_d3dx10_36
1256 enable_d3dx10_37
1257 enable_d3dx10_38
1258 enable_d3dx10_39
1259 enable_d3dx10_40
1260 enable_d3dx10_41
1261 enable_d3dx10_42
1262 enable_d3dx10_43
1263 enable_d3dx11_42
1264 enable_d3dx11_43
1265 enable_d3dx9_24
1266 enable_d3dx9_25
1267 enable_d3dx9_26
1268 enable_d3dx9_27
1269 enable_d3dx9_28
1270 enable_d3dx9_29
1271 enable_d3dx9_30
1272 enable_d3dx9_31
1273 enable_d3dx9_32
1274 enable_d3dx9_33
1275 enable_d3dx9_34
1276 enable_d3dx9_35
1277 enable_d3dx9_36
1278 enable_d3dx9_37
1279 enable_d3dx9_38
1280 enable_d3dx9_39
1281 enable_d3dx9_40
1282 enable_d3dx9_41
1283 enable_d3dx9_42
1284 enable_d3dx9_43
1285 enable_d3dxof
1286 enable_davclnt
1287 enable_dbgeng
1288 enable_dbghelp
1289 enable_dciman32
1290 enable_dcomp
1291 enable_ddraw
1292 enable_ddrawex
1293 enable_devenum
1294 enable_dhcpcsvc
1295 enable_dhcpcsvc6
1296 enable_dhtmled_ocx
1297 enable_difxapi
1298 enable_dinput
1299 enable_dinput8
1300 enable_directmanipulation
1301 enable_dispex
1302 enable_dmband
1303 enable_dmcompos
1304 enable_dmime
1305 enable_dmloader
1306 enable_dmscript
1307 enable_dmstyle
1308 enable_dmsynth
1309 enable_dmusic
1310 enable_dmusic32
1311 enable_dnsapi
1312 enable_dplay
1313 enable_dplayx
1314 enable_dpnaddr
1315 enable_dpnet
1316 enable_dpnhpast
1317 enable_dpnhupnp
1318 enable_dpnlobby
1319 enable_dpvoice
1320 enable_dpwsockx
1321 enable_drmclien
1322 enable_dsdmo
1323 enable_dsound
1324 enable_dsquery
1325 enable_dssenh
1326 enable_dsuiext
1327 enable_dswave
1328 enable_dwmapi
1329 enable_dwrite
1330 enable_dx8vb
1331 enable_dxdiagn
1332 enable_dxgi
1333 enable_dxtrans
1334 enable_dxva2
1335 enable_esent
1336 enable_evr
1337 enable_explorerframe
1338 enable_ext_ms_win_authz_context_l1_1_0
1339 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1340 enable_ext_ms_win_dwmapi_ext_l1_1_0
1341 enable_ext_ms_win_gdi_dc_create_l1_1_0
1342 enable_ext_ms_win_gdi_dc_create_l1_1_1
1343 enable_ext_ms_win_gdi_dc_l1_2_0
1344 enable_ext_ms_win_gdi_devcaps_l1_1_0
1345 enable_ext_ms_win_gdi_draw_l1_1_0
1346 enable_ext_ms_win_gdi_draw_l1_1_1
1347 enable_ext_ms_win_gdi_font_l1_1_0
1348 enable_ext_ms_win_gdi_font_l1_1_1
1349 enable_ext_ms_win_gdi_render_l1_1_0
1350 enable_ext_ms_win_kernel32_package_current_l1_1_0
1351 enable_ext_ms_win_kernel32_package_l1_1_1
1352 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1353 enable_ext_ms_win_ntuser_draw_l1_1_0
1354 enable_ext_ms_win_ntuser_gui_l1_1_0
1355 enable_ext_ms_win_ntuser_gui_l1_3_0
1356 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1357 enable_ext_ms_win_ntuser_message_l1_1_0
1358 enable_ext_ms_win_ntuser_message_l1_1_1
1359 enable_ext_ms_win_ntuser_misc_l1_1_0
1360 enable_ext_ms_win_ntuser_misc_l1_2_0
1361 enable_ext_ms_win_ntuser_misc_l1_5_1
1362 enable_ext_ms_win_ntuser_mouse_l1_1_0
1363 enable_ext_ms_win_ntuser_private_l1_1_1
1364 enable_ext_ms_win_ntuser_private_l1_3_1
1365 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1366 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1367 enable_ext_ms_win_ntuser_window_l1_1_0
1368 enable_ext_ms_win_ntuser_window_l1_1_1
1369 enable_ext_ms_win_ntuser_window_l1_1_4
1370 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1371 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1372 enable_ext_ms_win_oleacc_l1_1_0
1373 enable_ext_ms_win_ras_rasapi32_l1_1_0
1374 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1375 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1376 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1377 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1378 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1381 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1382 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1384 enable_ext_ms_win_security_credui_l1_1_0
1385 enable_ext_ms_win_security_cryptui_l1_1_0
1386 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1387 enable_ext_ms_win_shell_comdlg32_l1_1_0
1388 enable_ext_ms_win_shell_shell32_l1_2_0
1389 enable_ext_ms_win_uxtheme_themes_l1_1_0
1390 enable_faultrep
1391 enable_feclient
1392 enable_fltlib
1393 enable_fltmgr_sys
1394 enable_fntcache
1395 enable_fontsub
1396 enable_fusion
1397 enable_fwpuclnt
1398 enable_gameux
1399 enable_gamingtcui
1400 enable_gdi32
1401 enable_gdiplus
1402 enable_glu32
1403 enable_gphoto2_ds
1404 enable_gpkcsp
1405 enable_hal
1406 enable_hhctrl_ocx
1407 enable_hid
1408 enable_hidclass_sys
1409 enable_hidparse_sys
1410 enable_hlink
1411 enable_hnetcfg
1412 enable_http_sys
1413 enable_httpapi
1414 enable_iccvid
1415 enable_icmp
1416 enable_ieframe
1417 enable_ieproxy
1418 enable_imaadp32_acm
1419 enable_imagehlp
1420 enable_imm32
1421 enable_inetcomm
1422 enable_inetcpl_cpl
1423 enable_inetmib1
1424 enable_infosoft
1425 enable_initpki
1426 enable_inkobj
1427 enable_inseng
1428 enable_iphlpapi
1429 enable_iprop
1430 enable_irprops_cpl
1431 enable_itircl
1432 enable_itss
1433 enable_joy_cpl
1434 enable_jscript
1435 enable_jsproxy
1436 enable_kerberos
1437 enable_kernel32
1438 enable_kernelbase
1439 enable_ksecdd_sys
1440 enable_ksproxy_ax
1441 enable_ksuser
1442 enable_ktmw32
1443 enable_l3codeca_acm
1444 enable_light_msstyles
1445 enable_loadperf
1446 enable_localspl
1447 enable_localui
1448 enable_lz32
1449 enable_mapi32
1450 enable_mapistub
1451 enable_mciavi32
1452 enable_mcicda
1453 enable_mciqtz32
1454 enable_mciseq
1455 enable_mciwave
1456 enable_mf
1457 enable_mf3216
1458 enable_mferror
1459 enable_mfmediaengine
1460 enable_mfplat
1461 enable_mfplay
1462 enable_mfreadwrite
1463 enable_mgmtapi
1464 enable_midimap
1465 enable_mlang
1466 enable_mmcndmgr
1467 enable_mmdevapi
1468 enable_mountmgr_sys
1469 enable_mp3dmod
1470 enable_mpr
1471 enable_mprapi
1472 enable_msacm32_drv
1473 enable_msacm32
1474 enable_msado15
1475 enable_msadp32_acm
1476 enable_msasn1
1477 enable_mscat32
1478 enable_mscms
1479 enable_mscoree
1480 enable_mscorwks
1481 enable_msctf
1482 enable_msctfmonitor
1483 enable_msctfp
1484 enable_msdaps
1485 enable_msdasql
1486 enable_msdelta
1487 enable_msdmo
1488 enable_msdrm
1489 enable_msftedit
1490 enable_msg711_acm
1491 enable_msgsm32_acm
1492 enable_mshtml_tlb
1493 enable_mshtml
1494 enable_msi
1495 enable_msident
1496 enable_msimg32
1497 enable_msimsg
1498 enable_msimtf
1499 enable_msisip
1500 enable_msisys_ocx
1501 enable_msls31
1502 enable_msnet32
1503 enable_mspatcha
1504 enable_msports
1505 enable_msrle32
1506 enable_msscript_ocx
1507 enable_mssign32
1508 enable_mssip32
1509 enable_mstask
1510 enable_msv1_0
1511 enable_msvcirt
1512 enable_msvcm80
1513 enable_msvcm90
1514 enable_msvcp100
1515 enable_msvcp110
1516 enable_msvcp120
1517 enable_msvcp120_app
1518 enable_msvcp140
1519 enable_msvcp140_1
1520 enable_msvcp60
1521 enable_msvcp70
1522 enable_msvcp71
1523 enable_msvcp80
1524 enable_msvcp90
1525 enable_msvcp_win
1526 enable_msvcr100
1527 enable_msvcr110
1528 enable_msvcr120
1529 enable_msvcr120_app
1530 enable_msvcr70
1531 enable_msvcr71
1532 enable_msvcr80
1533 enable_msvcr90
1534 enable_msvcrt
1535 enable_msvcrt20
1536 enable_msvcrt40
1537 enable_msvcrtd
1538 enable_msvfw32
1539 enable_msvidc32
1540 enable_mswsock
1541 enable_msxml
1542 enable_msxml2
1543 enable_msxml3
1544 enable_msxml4
1545 enable_msxml6
1546 enable_mtxdm
1547 enable_ncrypt
1548 enable_nddeapi
1549 enable_ndis_sys
1550 enable_netapi32
1551 enable_netcfgx
1552 enable_netio_sys
1553 enable_netprofm
1554 enable_netutils
1555 enable_newdev
1556 enable_ninput
1557 enable_normaliz
1558 enable_npmshtml
1559 enable_npptools
1560 enable_nsi
1561 enable_nsiproxy_sys
1562 enable_ntdll
1563 enable_ntdsapi
1564 enable_ntoskrnl_exe
1565 enable_ntprint
1566 enable_objsel
1567 enable_odbc32
1568 enable_odbcbcp
1569 enable_odbccp32
1570 enable_odbccu32
1571 enable_ole32
1572 enable_oleacc
1573 enable_oleaut32
1574 enable_olecli32
1575 enable_oledb32
1576 enable_oledlg
1577 enable_olepro32
1578 enable_olesvr32
1579 enable_olethk32
1580 enable_opcservices
1581 enable_openal32
1582 enable_opencl
1583 enable_opengl32
1584 enable_packager
1585 enable_pdh
1586 enable_photometadatahandler
1587 enable_pidgen
1588 enable_powrprof
1589 enable_printui
1590 enable_prntvpt
1591 enable_propsys
1592 enable_psapi
1593 enable_pstorec
1594 enable_pwrshplugin
1595 enable_qasf
1596 enable_qcap
1597 enable_qdvd
1598 enable_qedit
1599 enable_qmgr
1600 enable_qmgrprxy
1601 enable_quartz
1602 enable_query
1603 enable_qwave
1604 enable_rasapi32
1605 enable_rasdlg
1606 enable_regapi
1607 enable_resutils
1608 enable_riched20
1609 enable_riched32
1610 enable_rpcrt4
1611 enable_rsabase
1612 enable_rsaenh
1613 enable_rstrtmgr
1614 enable_rtutils
1615 enable_rtworkq
1616 enable_samlib
1617 enable_sane_ds
1618 enable_sapi
1619 enable_sas
1620 enable_scarddlg
1621 enable_sccbase
1622 enable_schannel
1623 enable_schedsvc
1624 enable_scrobj
1625 enable_scrrun
1626 enable_scsiport_sys
1627 enable_sechost
1628 enable_secur32
1629 enable_security
1630 enable_sensapi
1631 enable_serialui
1632 enable_setupapi
1633 enable_sfc
1634 enable_sfc_os
1635 enable_shcore
1636 enable_shdoclc
1637 enable_shdocvw
1638 enable_shell32
1639 enable_shfolder
1640 enable_shlwapi
1641 enable_slbcsp
1642 enable_slc
1643 enable_snmpapi
1644 enable_softpub
1645 enable_spoolss
1646 enable_sppc
1647 enable_srclient
1648 enable_srvcli
1649 enable_sspicli
1650 enable_stdole2_tlb
1651 enable_stdole32_tlb
1652 enable_sti
1653 enable_strmdll
1654 enable_svrapi
1655 enable_sxs
1656 enable_t2embed
1657 enable_tapi32
1658 enable_taskschd
1659 enable_tbs
1660 enable_tdh
1661 enable_tdi_sys
1662 enable_traffic
1663 enable_twain_32
1664 enable_tzres
1665 enable_ucrtbase
1666 enable_uianimation
1667 enable_uiautomationcore
1668 enable_uiribbon
1669 enable_unicows
1670 enable_updspapi
1671 enable_url
1672 enable_urlmon
1673 enable_usbd_sys
1674 enable_user32
1675 enable_userenv
1676 enable_usp10
1677 enable_utildll
1678 enable_uxtheme
1679 enable_vbscript
1680 enable_vcomp
1681 enable_vcomp100
1682 enable_vcomp110
1683 enable_vcomp120
1684 enable_vcomp140
1685 enable_vcomp90
1686 enable_vcruntime140
1687 enable_vcruntime140_1
1688 enable_vdmdbg
1689 enable_version
1690 enable_vga
1691 enable_virtdisk
1692 enable_vssapi
1693 enable_vulkan_1
1694 enable_wbemdisp
1695 enable_wbemprox
1696 enable_wdscore
1697 enable_webservices
1698 enable_websocket
1699 enable_wer
1700 enable_wevtapi
1701 enable_wevtsvc
1702 enable_wiaservc
1703 enable_wimgapi
1704 enable_win32u
1705 enable_windows_devices_enumeration
1706 enable_windows_gaming_input
1707 enable_windows_globalization
1708 enable_windows_media_devices
1709 enable_windows_media_speech
1710 enable_windowscodecs
1711 enable_windowscodecsext
1712 enable_winealsa_drv
1713 enable_wineandroid_drv
1714 enable_winebus_sys
1715 enable_winecoreaudio_drv
1716 enable_winecrt0
1717 enable_wined3d
1718 enable_winegstreamer
1719 enable_winehid_sys
1720 enable_winemac_drv
1721 enable_winemapi
1722 enable_wineoss_drv
1723 enable_wineps_drv
1724 enable_winepulse_drv
1725 enable_wineusb_sys
1726 enable_winevulkan
1727 enable_winex11_drv
1728 enable_winexinput_sys
1729 enable_wing32
1730 enable_winhttp
1731 enable_wininet
1732 enable_winmm
1733 enable_winnls32
1734 enable_winscard
1735 enable_winspool_drv
1736 enable_winsta
1737 enable_wintab32
1738 enable_wintrust
1739 enable_winusb
1740 enable_wlanapi
1741 enable_wlanui
1742 enable_wldap32
1743 enable_wmasf
1744 enable_wmi
1745 enable_wmiutils
1746 enable_wmp
1747 enable_wmphoto
1748 enable_wmvcore
1749 enable_wnaspi32
1750 enable_wow64
1751 enable_wow64cpu
1752 enable_wow64win
1753 enable_wpc
1754 enable_wpcap
1755 enable_ws2_32
1756 enable_wsdapi
1757 enable_wshom_ocx
1758 enable_wsnmp32
1759 enable_wsock32
1760 enable_wtsapi32
1761 enable_wuapi
1762 enable_wuaueng
1763 enable_x3daudio1_0
1764 enable_x3daudio1_1
1765 enable_x3daudio1_2
1766 enable_x3daudio1_3
1767 enable_x3daudio1_4
1768 enable_x3daudio1_5
1769 enable_x3daudio1_6
1770 enable_x3daudio1_7
1771 enable_xactengine2_0
1772 enable_xactengine2_4
1773 enable_xactengine2_7
1774 enable_xactengine2_9
1775 enable_xactengine3_0
1776 enable_xactengine3_1
1777 enable_xactengine3_2
1778 enable_xactengine3_3
1779 enable_xactengine3_4
1780 enable_xactengine3_5
1781 enable_xactengine3_6
1782 enable_xactengine3_7
1783 enable_xapofx1_1
1784 enable_xapofx1_2
1785 enable_xapofx1_3
1786 enable_xapofx1_4
1787 enable_xapofx1_5
1788 enable_xaudio2_0
1789 enable_xaudio2_1
1790 enable_xaudio2_2
1791 enable_xaudio2_3
1792 enable_xaudio2_4
1793 enable_xaudio2_5
1794 enable_xaudio2_6
1795 enable_xaudio2_7
1796 enable_xaudio2_8
1797 enable_xaudio2_9
1798 enable_xinput1_1
1799 enable_xinput1_2
1800 enable_xinput1_3
1801 enable_xinput1_4
1802 enable_xinput9_1_0
1803 enable_xmllite
1804 enable_xolehlp
1805 enable_xpsprint
1806 enable_xpssvcs
1807 enable_fonts
1808 enable_include
1809 enable_adsiid
1810 enable_dmoguids
1811 enable_dxerr8
1812 enable_dxerr9
1813 enable_dxguid
1814 enable_faudio
1815 enable_gsm
1816 enable_jpeg
1817 enable_jxr
1818 enable_lcms2
1819 enable_mfuuid
1820 enable_mpg123
1821 enable_png
1822 enable_strmbase
1823 enable_strmiids
1824 enable_tiff
1825 enable_uuid
1826 enable_wbemuuid
1827 enable_wine
1828 enable_wmcodecdspuuid
1829 enable_xml2
1830 enable_xslt
1831 enable_zlib
1832 enable_loader
1833 enable_nls
1834 enable_po
1835 enable_arp
1836 enable_aspnet_regiis
1837 enable_attrib
1838 enable_cabarc
1839 enable_cacls
1840 enable_chcp_com
1841 enable_clock
1842 enable_cmd
1843 enable_conhost
1844 enable_control
1845 enable_cscript
1846 enable_dism
1847 enable_dplaysvr
1848 enable_dpnsvr
1849 enable_dpvsetup
1850 enable_dxdiag
1851 enable_eject
1852 enable_expand
1853 enable_explorer
1854 enable_extrac32
1855 enable_fc
1856 enable_find
1857 enable_findstr
1858 enable_fsutil
1859 enable_hh
1860 enable_hostname
1861 enable_icacls
1862 enable_icinfo
1863 enable_iexplore
1864 enable_ipconfig
1865 enable_lodctr
1866 enable_mofcomp
1867 enable_mshta
1868 enable_msidb
1869 enable_msiexec
1870 enable_msinfo32
1871 enable_net
1872 enable_netsh
1873 enable_netstat
1874 enable_ngen
1875 enable_notepad
1876 enable_oleview
1877 enable_ping
1878 enable_plugplay
1879 enable_powershell
1880 enable_presentationfontcache
1881 enable_progman
1882 enable_reg
1883 enable_regasm
1884 enable_regedit
1885 enable_regini
1886 enable_regsvcs
1887 enable_regsvr32
1888 enable_robocopy
1889 enable_rpcss
1890 enable_rundll32
1891 enable_sc
1892 enable_schtasks
1893 enable_sdbinst
1894 enable_secedit
1895 enable_servicemodelreg
1896 enable_services
1897 enable_shutdown
1898 enable_spoolsv
1899 enable_start
1900 enable_subst
1901 enable_svchost
1902 enable_systeminfo
1903 enable_taskkill
1904 enable_tasklist
1905 enable_taskmgr
1906 enable_termsv
1907 enable_uninstaller
1908 enable_unlodctr
1909 enable_view
1910 enable_wevtutil
1911 enable_where
1912 enable_whoami
1913 enable_wineboot
1914 enable_winebrowser
1915 enable_winecfg
1916 enable_wineconsole
1917 enable_winedbg
1918 enable_winedevice
1919 enable_winefile
1920 enable_winemenubuilder
1921 enable_winemine
1922 enable_winemsibuilder
1923 enable_winepath
1924 enable_winetest
1925 enable_winhlp32
1926 enable_winmgmt
1927 enable_winver
1928 enable_wmic
1929 enable_wmplayer
1930 enable_wordpad
1931 enable_write
1932 enable_wscript
1933 enable_wuauserv
1934 enable_wusa
1935 enable_xcopy
1936 enable_server
1937 enable_tools
1938 enable_sfnt2fon
1939 enable_widl
1940 enable_winebuild
1941 enable_winedump
1942 enable_winegcc
1943 enable_winemaker
1944 enable_wmc
1945 enable_wrc
1947 ac_precious_vars='build_alias
1948 host_alias
1949 target_alias
1951 CFLAGS
1952 LDFLAGS
1953 LIBS
1954 CPPFLAGS
1956 CXXFLAGS
1958 OBJC
1959 OBJCFLAGS
1960 FAUDIO_PE_CFLAGS
1961 FAUDIO_PE_LIBS
1962 GSM_PE_CFLAGS
1963 GSM_PE_LIBS
1964 JPEG_PE_CFLAGS
1965 JPEG_PE_LIBS
1966 JXR_PE_CFLAGS
1967 JXR_PE_LIBS
1968 LCMS2_PE_CFLAGS
1969 LCMS2_PE_LIBS
1970 MPG123_PE_CFLAGS
1971 MPG123_PE_LIBS
1972 PNG_PE_CFLAGS
1973 PNG_PE_LIBS
1974 TIFF_PE_CFLAGS
1975 TIFF_PE_LIBS
1976 XML2_PE_CFLAGS
1977 XML2_PE_LIBS
1978 XSLT_PE_CFLAGS
1979 XSLT_PE_LIBS
1980 ZLIB_PE_CFLAGS
1981 ZLIB_PE_LIBS
1982 XMKMF
1984 INOTIFY_CFLAGS
1985 INOTIFY_LIBS
1986 DBUS_CFLAGS
1987 DBUS_LIBS
1988 GNUTLS_CFLAGS
1989 GNUTLS_LIBS
1990 SANE_CFLAGS
1991 SANE_LIBS
1992 USB_CFLAGS
1993 USB_LIBS
1994 GPHOTO2_CFLAGS
1995 GPHOTO2_LIBS
1996 GPHOTO2_PORT_CFLAGS
1997 GPHOTO2_PORT_LIBS
1998 FREETYPE_CFLAGS
1999 FREETYPE_LIBS
2000 PULSE_CFLAGS
2001 PULSE_LIBS
2002 GSTREAMER_CFLAGS
2003 GSTREAMER_LIBS
2004 UDEV_CFLAGS
2005 UDEV_LIBS
2006 UNWIND_CFLAGS
2007 UNWIND_LIBS
2008 SDL2_CFLAGS
2009 SDL2_LIBS
2010 CAPI20_CFLAGS
2011 CAPI20_LIBS
2012 CUPS_CFLAGS
2013 CUPS_LIBS
2014 FONTCONFIG_CFLAGS
2015 FONTCONFIG_LIBS
2016 KRB5_CFLAGS
2017 KRB5_LIBS
2018 GSSAPI_CFLAGS
2019 GSSAPI_LIBS
2020 NETAPI_CFLAGS
2021 NETAPI_LIBS
2022 VKD3D_CFLAGS
2023 VKD3D_LIBS
2024 VKD3D_SHADER_CFLAGS
2025 VKD3D_SHADER_LIBS
2026 LDAP_CFLAGS
2027 LDAP_LIBS'
2030 # Initialize some variables set by options.
2031 ac_init_help=
2032 ac_init_version=false
2033 ac_unrecognized_opts=
2034 ac_unrecognized_sep=
2035 # The variables have the same names as the options, with
2036 # dashes changed to underlines.
2037 cache_file=/dev/null
2038 exec_prefix=NONE
2039 no_create=
2040 no_recursion=
2041 prefix=NONE
2042 program_prefix=NONE
2043 program_suffix=NONE
2044 program_transform_name=s,x,x,
2045 silent=
2046 site=
2047 srcdir=
2048 verbose=
2049 x_includes=NONE
2050 x_libraries=NONE
2052 # Installation directory options.
2053 # These are left unexpanded so users can "make install exec_prefix=/foo"
2054 # and all the variables that are supposed to be based on exec_prefix
2055 # by default will actually change.
2056 # Use braces instead of parens because sh, perl, etc. also accept them.
2057 # (The list follows the same order as the GNU Coding Standards.)
2058 bindir='${exec_prefix}/bin'
2059 sbindir='${exec_prefix}/sbin'
2060 libexecdir='${exec_prefix}/libexec'
2061 datarootdir='${prefix}/share'
2062 datadir='${datarootdir}'
2063 sysconfdir='${prefix}/etc'
2064 sharedstatedir='${prefix}/com'
2065 localstatedir='${prefix}/var'
2066 runstatedir='${localstatedir}/run'
2067 includedir='${prefix}/include'
2068 oldincludedir='/usr/include'
2069 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2070 infodir='${datarootdir}/info'
2071 htmldir='${docdir}'
2072 dvidir='${docdir}'
2073 pdfdir='${docdir}'
2074 psdir='${docdir}'
2075 libdir='${exec_prefix}/lib'
2076 localedir='${datarootdir}/locale'
2077 mandir='${datarootdir}/man'
2079 ac_prev=
2080 ac_dashdash=
2081 for ac_option
2083 # If the previous option needs an argument, assign it.
2084 if test -n "$ac_prev"; then
2085 eval $ac_prev=\$ac_option
2086 ac_prev=
2087 continue
2090 case $ac_option in
2091 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2092 *=) ac_optarg= ;;
2093 *) ac_optarg=yes ;;
2094 esac
2096 case $ac_dashdash$ac_option in
2098 ac_dashdash=yes ;;
2100 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2101 ac_prev=bindir ;;
2102 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2103 bindir=$ac_optarg ;;
2105 -build | --build | --buil | --bui | --bu)
2106 ac_prev=build_alias ;;
2107 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2108 build_alias=$ac_optarg ;;
2110 -cache-file | --cache-file | --cache-fil | --cache-fi \
2111 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2112 ac_prev=cache_file ;;
2113 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2114 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2115 cache_file=$ac_optarg ;;
2117 --config-cache | -C)
2118 cache_file=config.cache ;;
2120 -datadir | --datadir | --datadi | --datad)
2121 ac_prev=datadir ;;
2122 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2123 datadir=$ac_optarg ;;
2125 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2126 | --dataroo | --dataro | --datar)
2127 ac_prev=datarootdir ;;
2128 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2129 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2130 datarootdir=$ac_optarg ;;
2132 -disable-* | --disable-*)
2133 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2134 # Reject names that are not valid shell variable names.
2135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2136 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2137 ac_useropt_orig=$ac_useropt
2138 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2139 case $ac_user_opts in
2141 "enable_$ac_useropt"
2142 "*) ;;
2143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2144 ac_unrecognized_sep=', ';;
2145 esac
2146 eval enable_$ac_useropt=no ;;
2148 -docdir | --docdir | --docdi | --doc | --do)
2149 ac_prev=docdir ;;
2150 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2151 docdir=$ac_optarg ;;
2153 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2154 ac_prev=dvidir ;;
2155 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2156 dvidir=$ac_optarg ;;
2158 -enable-* | --enable-*)
2159 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2160 # Reject names that are not valid shell variable names.
2161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2162 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2163 ac_useropt_orig=$ac_useropt
2164 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2165 case $ac_user_opts in
2167 "enable_$ac_useropt"
2168 "*) ;;
2169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2170 ac_unrecognized_sep=', ';;
2171 esac
2172 eval enable_$ac_useropt=\$ac_optarg ;;
2174 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2175 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2176 | --exec | --exe | --ex)
2177 ac_prev=exec_prefix ;;
2178 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2179 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2180 | --exec=* | --exe=* | --ex=*)
2181 exec_prefix=$ac_optarg ;;
2183 -gas | --gas | --ga | --g)
2184 # Obsolete; use --with-gas.
2185 with_gas=yes ;;
2187 -help | --help | --hel | --he | -h)
2188 ac_init_help=long ;;
2189 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2190 ac_init_help=recursive ;;
2191 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2192 ac_init_help=short ;;
2194 -host | --host | --hos | --ho)
2195 ac_prev=host_alias ;;
2196 -host=* | --host=* | --hos=* | --ho=*)
2197 host_alias=$ac_optarg ;;
2199 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2200 ac_prev=htmldir ;;
2201 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2202 | --ht=*)
2203 htmldir=$ac_optarg ;;
2205 -includedir | --includedir | --includedi | --included | --include \
2206 | --includ | --inclu | --incl | --inc)
2207 ac_prev=includedir ;;
2208 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2209 | --includ=* | --inclu=* | --incl=* | --inc=*)
2210 includedir=$ac_optarg ;;
2212 -infodir | --infodir | --infodi | --infod | --info | --inf)
2213 ac_prev=infodir ;;
2214 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2215 infodir=$ac_optarg ;;
2217 -libdir | --libdir | --libdi | --libd)
2218 ac_prev=libdir ;;
2219 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2220 libdir=$ac_optarg ;;
2222 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2223 | --libexe | --libex | --libe)
2224 ac_prev=libexecdir ;;
2225 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2226 | --libexe=* | --libex=* | --libe=*)
2227 libexecdir=$ac_optarg ;;
2229 -localedir | --localedir | --localedi | --localed | --locale)
2230 ac_prev=localedir ;;
2231 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2232 localedir=$ac_optarg ;;
2234 -localstatedir | --localstatedir | --localstatedi | --localstated \
2235 | --localstate | --localstat | --localsta | --localst | --locals)
2236 ac_prev=localstatedir ;;
2237 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2238 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2239 localstatedir=$ac_optarg ;;
2241 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2242 ac_prev=mandir ;;
2243 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2244 mandir=$ac_optarg ;;
2246 -nfp | --nfp | --nf)
2247 # Obsolete; use --without-fp.
2248 with_fp=no ;;
2250 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2251 | --no-cr | --no-c | -n)
2252 no_create=yes ;;
2254 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2255 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2256 no_recursion=yes ;;
2258 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2259 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2260 | --oldin | --oldi | --old | --ol | --o)
2261 ac_prev=oldincludedir ;;
2262 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2263 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2264 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2265 oldincludedir=$ac_optarg ;;
2267 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2268 ac_prev=prefix ;;
2269 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2270 prefix=$ac_optarg ;;
2272 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2273 | --program-pre | --program-pr | --program-p)
2274 ac_prev=program_prefix ;;
2275 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2276 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2277 program_prefix=$ac_optarg ;;
2279 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2280 | --program-suf | --program-su | --program-s)
2281 ac_prev=program_suffix ;;
2282 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2283 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2284 program_suffix=$ac_optarg ;;
2286 -program-transform-name | --program-transform-name \
2287 | --program-transform-nam | --program-transform-na \
2288 | --program-transform-n | --program-transform- \
2289 | --program-transform | --program-transfor \
2290 | --program-transfo | --program-transf \
2291 | --program-trans | --program-tran \
2292 | --progr-tra | --program-tr | --program-t)
2293 ac_prev=program_transform_name ;;
2294 -program-transform-name=* | --program-transform-name=* \
2295 | --program-transform-nam=* | --program-transform-na=* \
2296 | --program-transform-n=* | --program-transform-=* \
2297 | --program-transform=* | --program-transfor=* \
2298 | --program-transfo=* | --program-transf=* \
2299 | --program-trans=* | --program-tran=* \
2300 | --progr-tra=* | --program-tr=* | --program-t=*)
2301 program_transform_name=$ac_optarg ;;
2303 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2304 ac_prev=pdfdir ;;
2305 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2306 pdfdir=$ac_optarg ;;
2308 -psdir | --psdir | --psdi | --psd | --ps)
2309 ac_prev=psdir ;;
2310 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2311 psdir=$ac_optarg ;;
2313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2314 | -silent | --silent | --silen | --sile | --sil)
2315 silent=yes ;;
2317 -runstatedir | --runstatedir | --runstatedi | --runstated \
2318 | --runstate | --runstat | --runsta | --runst | --runs \
2319 | --run | --ru | --r)
2320 ac_prev=runstatedir ;;
2321 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2322 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2323 | --run=* | --ru=* | --r=*)
2324 runstatedir=$ac_optarg ;;
2326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2327 ac_prev=sbindir ;;
2328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2329 | --sbi=* | --sb=*)
2330 sbindir=$ac_optarg ;;
2332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2334 | --sharedst | --shareds | --shared | --share | --shar \
2335 | --sha | --sh)
2336 ac_prev=sharedstatedir ;;
2337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2340 | --sha=* | --sh=*)
2341 sharedstatedir=$ac_optarg ;;
2343 -site | --site | --sit)
2344 ac_prev=site ;;
2345 -site=* | --site=* | --sit=*)
2346 site=$ac_optarg ;;
2348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2349 ac_prev=srcdir ;;
2350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2351 srcdir=$ac_optarg ;;
2353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2354 | --syscon | --sysco | --sysc | --sys | --sy)
2355 ac_prev=sysconfdir ;;
2356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2358 sysconfdir=$ac_optarg ;;
2360 -target | --target | --targe | --targ | --tar | --ta | --t)
2361 ac_prev=target_alias ;;
2362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2363 target_alias=$ac_optarg ;;
2365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2366 verbose=yes ;;
2368 -version | --version | --versio | --versi | --vers | -V)
2369 ac_init_version=: ;;
2371 -with-* | --with-*)
2372 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2373 # Reject names that are not valid shell variable names.
2374 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2375 as_fn_error $? "invalid package name: \`$ac_useropt'"
2376 ac_useropt_orig=$ac_useropt
2377 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2378 case $ac_user_opts in
2380 "with_$ac_useropt"
2381 "*) ;;
2382 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2383 ac_unrecognized_sep=', ';;
2384 esac
2385 eval with_$ac_useropt=\$ac_optarg ;;
2387 -without-* | --without-*)
2388 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2389 # Reject names that are not valid shell variable names.
2390 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2391 as_fn_error $? "invalid package name: \`$ac_useropt'"
2392 ac_useropt_orig=$ac_useropt
2393 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2394 case $ac_user_opts in
2396 "with_$ac_useropt"
2397 "*) ;;
2398 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2399 ac_unrecognized_sep=', ';;
2400 esac
2401 eval with_$ac_useropt=no ;;
2403 --x)
2404 # Obsolete; use --with-x.
2405 with_x=yes ;;
2407 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2408 | --x-incl | --x-inc | --x-in | --x-i)
2409 ac_prev=x_includes ;;
2410 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2411 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2412 x_includes=$ac_optarg ;;
2414 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2415 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2416 ac_prev=x_libraries ;;
2417 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2418 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2419 x_libraries=$ac_optarg ;;
2421 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2422 Try \`$0 --help' for more information"
2425 *=*)
2426 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2427 # Reject names that are not valid shell variable names.
2428 case $ac_envvar in #(
2429 '' | [0-9]* | *[!_$as_cr_alnum]* )
2430 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2431 esac
2432 eval $ac_envvar=\$ac_optarg
2433 export $ac_envvar ;;
2436 # FIXME: should be removed in autoconf 3.0.
2437 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2438 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2439 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2440 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2443 esac
2444 done
2446 if test -n "$ac_prev"; then
2447 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2448 as_fn_error $? "missing argument to $ac_option"
2451 if test -n "$ac_unrecognized_opts"; then
2452 case $enable_option_checking in
2453 no) ;;
2454 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2455 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2456 esac
2459 # Check all directory arguments for consistency.
2460 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2461 datadir sysconfdir sharedstatedir localstatedir includedir \
2462 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2463 libdir localedir mandir runstatedir
2465 eval ac_val=\$$ac_var
2466 # Remove trailing slashes.
2467 case $ac_val in
2468 */ )
2469 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2470 eval $ac_var=\$ac_val;;
2471 esac
2472 # Be sure to have absolute directory names.
2473 case $ac_val in
2474 [\\/$]* | ?:[\\/]* ) continue;;
2475 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2476 esac
2477 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2478 done
2480 # There might be people who depend on the old broken behavior: `$host'
2481 # used to hold the argument of --host etc.
2482 # FIXME: To remove some day.
2483 build=$build_alias
2484 host=$host_alias
2485 target=$target_alias
2487 # FIXME: To remove some day.
2488 if test "x$host_alias" != x; then
2489 if test "x$build_alias" = x; then
2490 cross_compiling=maybe
2491 elif test "x$build_alias" != "x$host_alias"; then
2492 cross_compiling=yes
2496 ac_tool_prefix=
2497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2499 test "$silent" = yes && exec 6>/dev/null
2502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2503 ac_ls_di=`ls -di .` &&
2504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2505 as_fn_error $? "working directory cannot be determined"
2506 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2507 as_fn_error $? "pwd does not report name of working directory"
2510 # Find the source files, if location was not specified.
2511 if test -z "$srcdir"; then
2512 ac_srcdir_defaulted=yes
2513 # Try the directory containing this script, then the parent directory.
2514 ac_confdir=`$as_dirname -- "$as_myself" ||
2515 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2516 X"$as_myself" : 'X\(//\)[^/]' \| \
2517 X"$as_myself" : 'X\(//\)$' \| \
2518 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2519 printf "%s\n" X"$as_myself" |
2520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2521 s//\1/
2524 /^X\(\/\/\)[^/].*/{
2525 s//\1/
2528 /^X\(\/\/\)$/{
2529 s//\1/
2532 /^X\(\/\).*/{
2533 s//\1/
2536 s/.*/./; q'`
2537 srcdir=$ac_confdir
2538 if test ! -r "$srcdir/$ac_unique_file"; then
2539 srcdir=..
2541 else
2542 ac_srcdir_defaulted=no
2544 if test ! -r "$srcdir/$ac_unique_file"; then
2545 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2546 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2548 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2549 ac_abs_confdir=`(
2550 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2551 pwd)`
2552 # When building in place, set srcdir=.
2553 if test "$ac_abs_confdir" = "$ac_pwd"; then
2554 srcdir=.
2556 # Remove unnecessary trailing slashes from srcdir.
2557 # Double slashes in file names in object file debugging info
2558 # mess up M-x gdb in Emacs.
2559 case $srcdir in
2560 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2561 esac
2562 for ac_var in $ac_precious_vars; do
2563 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2564 eval ac_env_${ac_var}_value=\$${ac_var}
2565 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2566 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2567 done
2570 # Report the --help message.
2572 if test "$ac_init_help" = "long"; then
2573 # Omit some internal or obsolete options to make the list less imposing.
2574 # This message is too long to be a string in the A/UX 3.1 sh.
2575 cat <<_ACEOF
2576 \`configure' configures Wine 7.0-rc2 to adapt to many kinds of systems.
2578 Usage: $0 [OPTION]... [VAR=VALUE]...
2580 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2581 VAR=VALUE. See below for descriptions of some of the useful variables.
2583 Defaults for the options are specified in brackets.
2585 Configuration:
2586 -h, --help display this help and exit
2587 --help=short display options specific to this package
2588 --help=recursive display the short help of all the included packages
2589 -V, --version display version information and exit
2590 -q, --quiet, --silent do not print \`checking ...' messages
2591 --cache-file=FILE cache test results in FILE [disabled]
2592 -C, --config-cache alias for \`--cache-file=config.cache'
2593 -n, --no-create do not create output files
2594 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2596 Installation directories:
2597 --prefix=PREFIX install architecture-independent files in PREFIX
2598 [$ac_default_prefix]
2599 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2600 [PREFIX]
2602 By default, \`make install' will install all the files in
2603 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2604 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2605 for instance \`--prefix=\$HOME'.
2607 For better control, use the options below.
2609 Fine tuning of the installation directories:
2610 --bindir=DIR user executables [EPREFIX/bin]
2611 --sbindir=DIR system admin executables [EPREFIX/sbin]
2612 --libexecdir=DIR program executables [EPREFIX/libexec]
2613 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2614 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2615 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2616 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2617 --libdir=DIR object code libraries [EPREFIX/lib]
2618 --includedir=DIR C header files [PREFIX/include]
2619 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2620 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2621 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2622 --infodir=DIR info documentation [DATAROOTDIR/info]
2623 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2624 --mandir=DIR man documentation [DATAROOTDIR/man]
2625 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2626 --htmldir=DIR html documentation [DOCDIR]
2627 --dvidir=DIR dvi documentation [DOCDIR]
2628 --pdfdir=DIR pdf documentation [DOCDIR]
2629 --psdir=DIR ps documentation [DOCDIR]
2630 _ACEOF
2632 cat <<\_ACEOF
2634 X features:
2635 --x-includes=DIR X include files are in DIR
2636 --x-libraries=DIR X library files are in DIR
2638 System types:
2639 --build=BUILD configure for building on BUILD [guessed]
2640 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2641 _ACEOF
2644 if test -n "$ac_init_help"; then
2645 case $ac_init_help in
2646 short | recursive ) echo "Configuration of Wine 7.0-rc2:";;
2647 esac
2648 cat <<\_ACEOF
2650 Optional Features:
2651 --disable-option-checking ignore unrecognized --enable/--with options
2652 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2653 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2654 --disable-win16 do not include Win16 support
2655 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2656 binaries)
2657 --disable-tests do not build the regression tests
2658 --enable-build-id include .buildid section in output objects
2659 --enable-maintainer-mode
2660 enable maintainer-specific build rules
2661 --enable-silent-rules use silent build rules (override: "make V=1")
2662 --enable-werror treat compilation warnings as errors
2663 --disable-largefile omit support for large files
2665 Optional Packages:
2666 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2667 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2668 --without-alsa do not use the Alsa sound support
2669 --without-capi do not use CAPI (ISDN support)
2670 --without-coreaudio do not use the CoreAudio sound support
2671 --without-cups do not use CUPS
2672 --without-dbus do not use DBus (dynamic device support)
2673 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2674 --without-fontconfig do not use fontconfig
2675 --without-freetype do not use the FreeType library
2676 --without-gettext do not use gettext
2677 --with-gettextpo use the GetTextPO library to rebuild po files
2678 --without-gphoto do not use gphoto (Digital Camera support)
2679 --without-gnutls do not use GnuTLS (schannel support)
2680 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2681 --without-gstreamer do not use GStreamer (codecs support)
2682 --without-inotify do not use inotify (filesystem change notifications)
2683 --without-krb5 do not use krb5 (Kerberos)
2684 --without-ldap do not use LDAP
2685 --without-mingw do not use the MinGW cross-compiler
2686 --without-netapi do not use the Samba NetAPI library
2687 --without-openal do not use OpenAL
2688 --without-opencl do not use OpenCL
2689 --without-opengl do not use OpenGL
2690 --without-osmesa do not use the OSMesa library
2691 --without-oss do not use the OSS sound support
2692 --without-pcap do not use the Packet Capture library
2693 --without-pthread do not use the pthread library
2694 --without-pulse do not use PulseAudio sound support
2695 --without-sane do not use SANE (scanner support)
2696 --without-sdl do not use SDL
2697 --without-udev do not use udev (plug and play support)
2698 --without-unwind do not use the libunwind library (exception
2699 handling)
2700 --without-usb do not use the libusb library
2701 --without-v4l2 do not use v4l2 (video capture)
2702 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2703 --without-vulkan do not use Vulkan
2704 --without-xcomposite do not use the Xcomposite extension
2705 --without-xcursor do not use the Xcursor extension
2706 --without-xfixes do not use Xfixes for clipboard change notifications
2707 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2708 --without-xinput do not use the Xinput extension
2709 --without-xinput2 do not use the Xinput 2 extension
2710 --without-xrandr do not use Xrandr (multi-monitor support)
2711 --without-xrender do not use the Xrender extension
2712 --without-xshape do not use the Xshape extension
2713 --without-xshm do not use XShm (shared memory extension)
2714 --without-xxf86vm do not use XFree video mode extension
2715 --with-system-dllpath=PATH
2716 load external PE dependencies from colon-separated
2717 path PATH
2718 --with-wine-tools=DIR use Wine tools from directory DIR
2719 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2720 --with-x use the X Window System
2722 Some influential environment variables:
2723 CC C compiler command
2724 CFLAGS C compiler flags
2725 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2726 nonstandard directory <lib dir>
2727 LIBS libraries to pass to the linker, e.g. -l<library>
2728 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2729 you have headers in a nonstandard directory <include dir>
2730 CXX C++ compiler command
2731 CXXFLAGS C++ compiler flags
2732 OBJC Objective C compiler command
2733 OBJCFLAGS Objective C compiler flags
2734 FAUDIO_PE_CFLAGS
2735 C compiler flags for the PE faudio, overriding the bundled
2736 version
2737 FAUDIO_PE_LIBS
2738 Linker flags for the PE faudio, overriding the bundled version
2739 GSM_PE_CFLAGS
2740 C compiler flags for the PE gsm, overriding the bundled version
2741 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2742 JPEG_PE_CFLAGS
2743 C compiler flags for the PE jpeg, overriding the bundled version
2744 JPEG_PE_LIBS
2745 Linker flags for the PE jpeg, overriding the bundled version
2746 JXR_PE_CFLAGS
2747 C compiler flags for the PE jxr, overriding the bundled version
2748 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2749 LCMS2_PE_CFLAGS
2750 C compiler flags for the PE lcms2, overriding the bundled
2751 version
2752 LCMS2_PE_LIBS
2753 Linker flags for the PE lcms2, overriding the bundled version
2754 MPG123_PE_CFLAGS
2755 C compiler flags for the PE mpg123, overriding the bundled
2756 version
2757 MPG123_PE_LIBS
2758 Linker flags for the PE mpg123, overriding the bundled version
2759 PNG_PE_CFLAGS
2760 C compiler flags for the PE png, overriding the bundled version
2761 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2762 TIFF_PE_CFLAGS
2763 C compiler flags for the PE tiff, overriding the bundled version
2764 TIFF_PE_LIBS
2765 Linker flags for the PE tiff, overriding the bundled version
2766 XML2_PE_CFLAGS
2767 C compiler flags for the PE xml2, overriding the bundled version
2768 XML2_PE_LIBS
2769 Linker flags for the PE xml2, overriding the bundled version
2770 XSLT_PE_CFLAGS
2771 C compiler flags for the PE xslt, overriding the bundled version
2772 XSLT_PE_LIBS
2773 Linker flags for the PE xslt, overriding the bundled version
2774 ZLIB_PE_CFLAGS
2775 C compiler flags for the PE zlib, overriding the bundled version
2776 ZLIB_PE_LIBS
2777 Linker flags for the PE zlib, overriding the bundled version
2778 XMKMF Path to xmkmf, Makefile generator for X Window System
2779 CPP C preprocessor
2780 INOTIFY_CFLAGS
2781 C compiler flags for libinotify, overriding pkg-config
2782 INOTIFY_LIBS
2783 Linker flags for libinotify, overriding pkg-config
2784 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2785 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2786 GNUTLS_CFLAGS
2787 C compiler flags for gnutls, overriding pkg-config
2788 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2789 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2790 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2791 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2792 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2793 GPHOTO2_CFLAGS
2794 C compiler flags for libgphoto2, overriding pkg-config
2795 GPHOTO2_LIBS
2796 Linker flags for libgphoto2, overriding pkg-config
2797 GPHOTO2_PORT_CFLAGS
2798 C compiler flags for libgphoto2_port, overriding pkg-config
2799 GPHOTO2_PORT_LIBS
2800 Linker flags for libgphoto2_port, overriding pkg-config
2801 FREETYPE_CFLAGS
2802 C compiler flags for freetype2, overriding pkg-config
2803 FREETYPE_LIBS
2804 Linker flags for freetype2, overriding pkg-config
2805 PULSE_CFLAGS
2806 C compiler flags for libpulse, overriding pkg-config
2807 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2808 GSTREAMER_CFLAGS
2809 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2810 gstreamer-audio-1.0, overriding pkg-config
2811 GSTREAMER_LIBS
2812 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2813 gstreamer-audio-1.0, overriding pkg-config
2814 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2815 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2816 UNWIND_CFLAGS
2817 C compiler flags for libunwind, overriding pkg-config
2818 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2819 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2820 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2821 CAPI20_CFLAGS
2822 C compiler flags for capi20, overriding pkg-config
2823 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2824 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2825 CUPS_LIBS Linker flags for cups, overriding pkg-config
2826 FONTCONFIG_CFLAGS
2827 C compiler flags for fontconfig, overriding pkg-config
2828 FONTCONFIG_LIBS
2829 Linker flags for fontconfig, overriding pkg-config
2830 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2831 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2832 GSSAPI_CFLAGS
2833 C compiler flags for krb5-gssapi, overriding pkg-config
2834 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2835 NETAPI_CFLAGS
2836 C compiler flags for netapi, overriding pkg-config
2837 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2838 VKD3D_CFLAGS
2839 C compiler flags for libvkd3d, overriding pkg-config
2840 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2841 VKD3D_SHADER_CFLAGS
2842 C compiler flags for libvkd3d-shader, overriding pkg-config
2843 VKD3D_SHADER_LIBS
2844 Linker flags for libvkd3d-shader, overriding pkg-config
2845 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2846 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2848 Use these variables to override the choices made by `configure' or to help
2849 it to find libraries and programs with nonstandard names/locations.
2851 Report bugs to <wine-devel@winehq.org>.
2852 Wine home page: <https://www.winehq.org>.
2853 _ACEOF
2854 ac_status=$?
2857 if test "$ac_init_help" = "recursive"; then
2858 # If there are subdirs, report their specific --help.
2859 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2860 test -d "$ac_dir" ||
2861 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2862 continue
2863 ac_builddir=.
2865 case "$ac_dir" in
2866 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2868 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2869 # A ".." for each directory in $ac_dir_suffix.
2870 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2871 case $ac_top_builddir_sub in
2872 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2873 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2874 esac ;;
2875 esac
2876 ac_abs_top_builddir=$ac_pwd
2877 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2878 # for backward compatibility:
2879 ac_top_builddir=$ac_top_build_prefix
2881 case $srcdir in
2882 .) # We are building in place.
2883 ac_srcdir=.
2884 ac_top_srcdir=$ac_top_builddir_sub
2885 ac_abs_top_srcdir=$ac_pwd ;;
2886 [\\/]* | ?:[\\/]* ) # Absolute name.
2887 ac_srcdir=$srcdir$ac_dir_suffix;
2888 ac_top_srcdir=$srcdir
2889 ac_abs_top_srcdir=$srcdir ;;
2890 *) # Relative name.
2891 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2892 ac_top_srcdir=$ac_top_build_prefix$srcdir
2893 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2894 esac
2895 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2897 cd "$ac_dir" || { ac_status=$?; continue; }
2898 # Check for configure.gnu first; this name is used for a wrapper for
2899 # Metaconfig's "Configure" on case-insensitive file systems.
2900 if test -f "$ac_srcdir/configure.gnu"; then
2901 echo &&
2902 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2903 elif test -f "$ac_srcdir/configure"; then
2904 echo &&
2905 $SHELL "$ac_srcdir/configure" --help=recursive
2906 else
2907 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2908 fi || ac_status=$?
2909 cd "$ac_pwd" || { ac_status=$?; break; }
2910 done
2913 test -n "$ac_init_help" && exit $ac_status
2914 if $ac_init_version; then
2915 cat <<\_ACEOF
2916 Wine configure 7.0-rc2
2917 generated by GNU Autoconf 2.71
2919 Copyright (C) 2021 Free Software Foundation, Inc.
2920 This configure script is free software; the Free Software Foundation
2921 gives unlimited permission to copy, distribute and modify it.
2922 _ACEOF
2923 exit
2926 ## ------------------------ ##
2927 ## Autoconf initialization. ##
2928 ## ------------------------ ##
2930 # ac_fn_c_try_compile LINENO
2931 # --------------------------
2932 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2933 ac_fn_c_try_compile ()
2935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2936 rm -f conftest.$ac_objext conftest.beam
2937 if { { ac_try="$ac_compile"
2938 case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941 esac
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 printf "%s\n" "$ac_try_echo"; } >&5
2944 (eval "$ac_compile") 2>conftest.err
2945 ac_status=$?
2946 if test -s conftest.err; then
2947 grep -v '^ *+' conftest.err >conftest.er1
2948 cat conftest.er1 >&5
2949 mv -f conftest.er1 conftest.err
2951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2952 test $ac_status = 0; } && {
2953 test -z "$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest.$ac_objext
2956 then :
2957 ac_retval=0
2958 else $as_nop
2959 printf "%s\n" "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 ac_retval=1
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 as_fn_set_status $ac_retval
2967 } # ac_fn_c_try_compile
2969 # ac_fn_cxx_try_compile LINENO
2970 # ----------------------------
2971 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2972 ac_fn_cxx_try_compile ()
2974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2975 rm -f conftest.$ac_objext conftest.beam
2976 if { { ac_try="$ac_compile"
2977 case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2982 printf "%s\n" "$ac_try_echo"; } >&5
2983 (eval "$ac_compile") 2>conftest.err
2984 ac_status=$?
2985 if test -s conftest.err; then
2986 grep -v '^ *+' conftest.err >conftest.er1
2987 cat conftest.er1 >&5
2988 mv -f conftest.er1 conftest.err
2990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2991 test $ac_status = 0; } && {
2992 test -z "$ac_cxx_werror_flag" ||
2993 test ! -s conftest.err
2994 } && test -s conftest.$ac_objext
2995 then :
2996 ac_retval=0
2997 else $as_nop
2998 printf "%s\n" "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 ac_retval=1
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 as_fn_set_status $ac_retval
3006 } # ac_fn_cxx_try_compile
3008 # ac_fn_c_try_link LINENO
3009 # -----------------------
3010 # Try to link conftest.$ac_ext, and return whether this succeeded.
3011 ac_fn_c_try_link ()
3013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3014 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3015 if { { ac_try="$ac_link"
3016 case "(($ac_try" in
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3019 esac
3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 printf "%s\n" "$ac_try_echo"; } >&5
3022 (eval "$ac_link") 2>conftest.err
3023 ac_status=$?
3024 if test -s conftest.err; then
3025 grep -v '^ *+' conftest.err >conftest.er1
3026 cat conftest.er1 >&5
3027 mv -f conftest.er1 conftest.err
3029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; } && {
3031 test -z "$ac_c_werror_flag" ||
3032 test ! -s conftest.err
3033 } && test -s conftest$ac_exeext && {
3034 test "$cross_compiling" = yes ||
3035 test -x conftest$ac_exeext
3037 then :
3038 ac_retval=0
3039 else $as_nop
3040 printf "%s\n" "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 ac_retval=1
3045 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3046 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3047 # interfere with the next link command; also delete a directory that is
3048 # left behind by Apple's compiler. We do this before executing the actions.
3049 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3051 as_fn_set_status $ac_retval
3053 } # ac_fn_c_try_link
3055 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3056 # -------------------------------------------------------
3057 # Tests whether HEADER exists and can be compiled using the include files in
3058 # INCLUDES, setting the cache variable VAR accordingly.
3059 ac_fn_c_check_header_compile ()
3061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3063 printf %s "checking for $2... " >&6; }
3064 if eval test \${$3+y}
3065 then :
3066 printf %s "(cached) " >&6
3067 else $as_nop
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3071 #include <$2>
3072 _ACEOF
3073 if ac_fn_c_try_compile "$LINENO"
3074 then :
3075 eval "$3=yes"
3076 else $as_nop
3077 eval "$3=no"
3079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 eval ac_res=\$$3
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3083 printf "%s\n" "$ac_res" >&6; }
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3086 } # ac_fn_c_check_header_compile
3088 # ac_fn_objc_try_compile LINENO
3089 # -----------------------------
3090 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3091 ac_fn_objc_try_compile ()
3093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3094 rm -f conftest.$ac_objext conftest.beam
3095 if { { ac_try="$ac_compile"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 printf "%s\n" "$ac_try_echo"; } >&5
3102 (eval "$ac_compile") 2>conftest.err
3103 ac_status=$?
3104 if test -s conftest.err; then
3105 grep -v '^ *+' conftest.err >conftest.er1
3106 cat conftest.er1 >&5
3107 mv -f conftest.er1 conftest.err
3109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; } && {
3111 test -z "$ac_objc_werror_flag" ||
3112 test ! -s conftest.err
3113 } && test -s conftest.$ac_objext
3114 then :
3115 ac_retval=0
3116 else $as_nop
3117 printf "%s\n" "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 ac_retval=1
3122 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3123 as_fn_set_status $ac_retval
3125 } # ac_fn_objc_try_compile
3127 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3128 # ----------------------------------------------------------
3129 # Tests whether HEADER exists and can be compiled using the include files in
3130 # INCLUDES, setting the cache variable VAR accordingly.
3131 ac_fn_objc_check_header_compile ()
3133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3135 printf %s "checking for $2... " >&6; }
3136 if eval test \${$3+y}
3137 then :
3138 printf %s "(cached) " >&6
3139 else $as_nop
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3143 #include <$2>
3144 _ACEOF
3145 if ac_fn_objc_try_compile "$LINENO"
3146 then :
3147 eval "$3=yes"
3148 else $as_nop
3149 eval "$3=no"
3151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3153 eval ac_res=\$$3
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3155 printf "%s\n" "$ac_res" >&6; }
3156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3158 } # ac_fn_objc_check_header_compile
3160 # ac_fn_c_check_func LINENO FUNC VAR
3161 # ----------------------------------
3162 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3163 ac_fn_c_check_func ()
3165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3167 printf %s "checking for $2... " >&6; }
3168 if eval test \${$3+y}
3169 then :
3170 printf %s "(cached) " >&6
3171 else $as_nop
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3174 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3176 #define $2 innocuous_$2
3178 /* System header to define __stub macros and hopefully few prototypes,
3179 which can conflict with char $2 (); below. */
3181 #include <limits.h>
3182 #undef $2
3184 /* Override any GCC internal prototype to avoid an error.
3185 Use char because int might match the return type of a GCC
3186 builtin and then its argument prototype would still apply. */
3187 #ifdef __cplusplus
3188 extern "C"
3189 #endif
3190 char $2 ();
3191 /* The GNU C library defines this for functions which it implements
3192 to always fail with ENOSYS. Some functions are actually named
3193 something starting with __ and the normal name is an alias. */
3194 #if defined __stub_$2 || defined __stub___$2
3195 choke me
3196 #endif
3199 main (void)
3201 return $2 ();
3203 return 0;
3205 _ACEOF
3206 if ac_fn_c_try_link "$LINENO"
3207 then :
3208 eval "$3=yes"
3209 else $as_nop
3210 eval "$3=no"
3212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3213 conftest$ac_exeext conftest.$ac_ext
3215 eval ac_res=\$$3
3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3217 printf "%s\n" "$ac_res" >&6; }
3218 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3220 } # ac_fn_c_check_func
3222 # ac_fn_c_try_cpp LINENO
3223 # ----------------------
3224 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3225 ac_fn_c_try_cpp ()
3227 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3228 if { { ac_try="$ac_cpp conftest.$ac_ext"
3229 case "(($ac_try" in
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3232 esac
3233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234 printf "%s\n" "$ac_try_echo"; } >&5
3235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3236 ac_status=$?
3237 if test -s conftest.err; then
3238 grep -v '^ *+' conftest.err >conftest.er1
3239 cat conftest.er1 >&5
3240 mv -f conftest.er1 conftest.err
3242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243 test $ac_status = 0; } > conftest.i && {
3244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3245 test ! -s conftest.err
3247 then :
3248 ac_retval=0
3249 else $as_nop
3250 printf "%s\n" "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 ac_retval=1
3255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3256 as_fn_set_status $ac_retval
3258 } # ac_fn_c_try_cpp
3260 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3261 # ----------------------------------------------------
3262 # Tries to find if the field MEMBER exists in type AGGR, after including
3263 # INCLUDES, setting cache variable VAR accordingly.
3264 ac_fn_c_check_member ()
3266 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3268 printf %s "checking for $2.$3... " >&6; }
3269 if eval test \${$4+y}
3270 then :
3271 printf %s "(cached) " >&6
3272 else $as_nop
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3277 main (void)
3279 static $2 ac_aggr;
3280 if (ac_aggr.$3)
3281 return 0;
3283 return 0;
3285 _ACEOF
3286 if ac_fn_c_try_compile "$LINENO"
3287 then :
3288 eval "$4=yes"
3289 else $as_nop
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3294 main (void)
3296 static $2 ac_aggr;
3297 if (sizeof ac_aggr.$3)
3298 return 0;
3300 return 0;
3302 _ACEOF
3303 if ac_fn_c_try_compile "$LINENO"
3304 then :
3305 eval "$4=yes"
3306 else $as_nop
3307 eval "$4=no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3313 eval ac_res=\$$4
3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3315 printf "%s\n" "$ac_res" >&6; }
3316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3318 } # ac_fn_c_check_member
3320 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3321 # -------------------------------------------
3322 # Tests whether TYPE exists after having included INCLUDES, setting cache
3323 # variable VAR accordingly.
3324 ac_fn_c_check_type ()
3326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 printf %s "checking for $2... " >&6; }
3329 if eval test \${$3+y}
3330 then :
3331 printf %s "(cached) " >&6
3332 else $as_nop
3333 eval "$3=no"
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main (void)
3340 if (sizeof ($2))
3341 return 0;
3343 return 0;
3345 _ACEOF
3346 if ac_fn_c_try_compile "$LINENO"
3347 then :
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main (void)
3354 if (sizeof (($2)))
3355 return 0;
3357 return 0;
3359 _ACEOF
3360 if ac_fn_c_try_compile "$LINENO"
3361 then :
3363 else $as_nop
3364 eval "$3=yes"
3366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3370 eval ac_res=\$$3
3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3372 printf "%s\n" "$ac_res" >&6; }
3373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3375 } # ac_fn_c_check_type
3376 ac_configure_args_raw=
3377 for ac_arg
3379 case $ac_arg in
3380 *\'*)
3381 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3382 esac
3383 as_fn_append ac_configure_args_raw " '$ac_arg'"
3384 done
3386 case $ac_configure_args_raw in
3387 *$as_nl*)
3388 ac_safe_unquote= ;;
3390 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3391 ac_unsafe_a="$ac_unsafe_z#~"
3392 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3393 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3394 esac
3396 cat >config.log <<_ACEOF
3397 This file contains any messages produced by compilers while
3398 running configure, to aid debugging if configure makes a mistake.
3400 It was created by Wine $as_me 7.0-rc2, which was
3401 generated by GNU Autoconf 2.71. Invocation command line was
3403 $ $0$ac_configure_args_raw
3405 _ACEOF
3406 exec 5>>config.log
3408 cat <<_ASUNAME
3409 ## --------- ##
3410 ## Platform. ##
3411 ## --------- ##
3413 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3414 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3415 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3416 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3417 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3419 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3420 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3422 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3423 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3424 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3425 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3426 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3427 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3428 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3430 _ASUNAME
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3435 IFS=$as_save_IFS
3436 case $as_dir in #(((
3437 '') as_dir=./ ;;
3438 */) ;;
3439 *) as_dir=$as_dir/ ;;
3440 esac
3441 printf "%s\n" "PATH: $as_dir"
3442 done
3443 IFS=$as_save_IFS
3445 } >&5
3447 cat >&5 <<_ACEOF
3450 ## ----------- ##
3451 ## Core tests. ##
3452 ## ----------- ##
3454 _ACEOF
3457 # Keep a trace of the command line.
3458 # Strip out --no-create and --no-recursion so they do not pile up.
3459 # Strip out --silent because we don't want to record it for future runs.
3460 # Also quote any args containing shell meta-characters.
3461 # Make two passes to allow for proper duplicate-argument suppression.
3462 ac_configure_args=
3463 ac_configure_args0=
3464 ac_configure_args1=
3465 ac_must_keep_next=false
3466 for ac_pass in 1 2
3468 for ac_arg
3470 case $ac_arg in
3471 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3473 | -silent | --silent | --silen | --sile | --sil)
3474 continue ;;
3475 *\'*)
3476 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3477 esac
3478 case $ac_pass in
3479 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3481 as_fn_append ac_configure_args1 " '$ac_arg'"
3482 if test $ac_must_keep_next = true; then
3483 ac_must_keep_next=false # Got value, back to normal.
3484 else
3485 case $ac_arg in
3486 *=* | --config-cache | -C | -disable-* | --disable-* \
3487 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3488 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3489 | -with-* | --with-* | -without-* | --without-* | --x)
3490 case "$ac_configure_args0 " in
3491 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3492 esac
3494 -* ) ac_must_keep_next=true ;;
3495 esac
3497 as_fn_append ac_configure_args " '$ac_arg'"
3499 esac
3500 done
3501 done
3502 { ac_configure_args0=; unset ac_configure_args0;}
3503 { ac_configure_args1=; unset ac_configure_args1;}
3505 # When interrupted or exit'd, cleanup temporary files, and complete
3506 # config.log. We remove comments because anyway the quotes in there
3507 # would cause problems or look ugly.
3508 # WARNING: Use '\'' to represent an apostrophe within the trap.
3509 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3510 trap 'exit_status=$?
3511 # Sanitize IFS.
3512 IFS=" "" $as_nl"
3513 # Save into config.log some information that might help in debugging.
3515 echo
3517 printf "%s\n" "## ---------------- ##
3518 ## Cache variables. ##
3519 ## ---------------- ##"
3520 echo
3521 # The following way of writing the cache mishandles newlines in values,
3523 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3524 eval ac_val=\$$ac_var
3525 case $ac_val in #(
3526 *${as_nl}*)
3527 case $ac_var in #(
3528 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3529 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3530 esac
3531 case $ac_var in #(
3532 _ | IFS | as_nl) ;; #(
3533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3534 *) { eval $ac_var=; unset $ac_var;} ;;
3535 esac ;;
3536 esac
3537 done
3538 (set) 2>&1 |
3539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3540 *${as_nl}ac_space=\ *)
3541 sed -n \
3542 "s/'\''/'\''\\\\'\'''\''/g;
3543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3544 ;; #(
3546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3548 esac |
3549 sort
3551 echo
3553 printf "%s\n" "## ----------------- ##
3554 ## Output variables. ##
3555 ## ----------------- ##"
3556 echo
3557 for ac_var in $ac_subst_vars
3559 eval ac_val=\$$ac_var
3560 case $ac_val in
3561 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3562 esac
3563 printf "%s\n" "$ac_var='\''$ac_val'\''"
3564 done | sort
3565 echo
3567 if test -n "$ac_subst_files"; then
3568 printf "%s\n" "## ------------------- ##
3569 ## File substitutions. ##
3570 ## ------------------- ##"
3571 echo
3572 for ac_var in $ac_subst_files
3574 eval ac_val=\$$ac_var
3575 case $ac_val in
3576 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3577 esac
3578 printf "%s\n" "$ac_var='\''$ac_val'\''"
3579 done | sort
3580 echo
3583 if test -s confdefs.h; then
3584 printf "%s\n" "## ----------- ##
3585 ## confdefs.h. ##
3586 ## ----------- ##"
3587 echo
3588 cat confdefs.h
3589 echo
3591 test "$ac_signal" != 0 &&
3592 printf "%s\n" "$as_me: caught signal $ac_signal"
3593 printf "%s\n" "$as_me: exit $exit_status"
3594 } >&5
3595 rm -f core *.core core.conftest.* &&
3596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3597 exit $exit_status
3599 for ac_signal in 1 2 13 15; do
3600 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3601 done
3602 ac_signal=0
3604 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3605 rm -f -r conftest* confdefs.h
3607 printf "%s\n" "/* confdefs.h */" > confdefs.h
3609 # Predefined preprocessor variables.
3611 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3613 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3615 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3617 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3619 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3621 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3624 # Let the site file select an alternate cache file if it wants to.
3625 # Prefer an explicitly selected file to automatically selected ones.
3626 if test -n "$CONFIG_SITE"; then
3627 ac_site_files="$CONFIG_SITE"
3628 elif test "x$prefix" != xNONE; then
3629 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3630 else
3631 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3634 for ac_site_file in $ac_site_files
3636 case $ac_site_file in #(
3637 */*) :
3638 ;; #(
3639 *) :
3640 ac_site_file=./$ac_site_file ;;
3641 esac
3642 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3644 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3645 sed 's/^/| /' "$ac_site_file" >&5
3646 . "$ac_site_file" \
3647 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3648 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3649 as_fn_error $? "failed to load site script $ac_site_file
3650 See \`config.log' for more details" "$LINENO" 5; }
3652 done
3654 if test -r "$cache_file"; then
3655 # Some versions of bash will fail to source /dev/null (special files
3656 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3657 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3659 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3660 case $cache_file in
3661 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3662 *) . "./$cache_file";;
3663 esac
3665 else
3666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3667 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3668 >$cache_file
3671 # Test code for whether the C compiler supports C89 (global declarations)
3672 ac_c_conftest_c89_globals='
3673 /* Does the compiler advertise C89 conformance?
3674 Do not test the value of __STDC__, because some compilers set it to 0
3675 while being otherwise adequately conformant. */
3676 #if !defined __STDC__
3677 # error "Compiler does not advertise C89 conformance"
3678 #endif
3680 #include <stddef.h>
3681 #include <stdarg.h>
3682 struct stat;
3683 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3684 struct buf { int x; };
3685 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3686 static char *e (p, i)
3687 char **p;
3688 int i;
3690 return p[i];
3692 static char *f (char * (*g) (char **, int), char **p, ...)
3694 char *s;
3695 va_list v;
3696 va_start (v,p);
3697 s = g (p, va_arg (v,int));
3698 va_end (v);
3699 return s;
3702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3703 function prototypes and stuff, but not \xHH hex character constants.
3704 These do not provoke an error unfortunately, instead are silently treated
3705 as an "x". The following induces an error, until -std is added to get
3706 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3707 array size at least. It is necessary to write \x00 == 0 to get something
3708 that is true only with -std. */
3709 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3711 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3712 inside strings and character constants. */
3713 #define FOO(x) '\''x'\''
3714 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3716 int test (int i, double x);
3717 struct s1 {int (*f) (int a);};
3718 struct s2 {int (*f) (double a);};
3719 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3720 int, int);'
3722 # Test code for whether the C compiler supports C89 (body of main).
3723 ac_c_conftest_c89_main='
3724 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3727 # Test code for whether the C compiler supports C99 (global declarations)
3728 ac_c_conftest_c99_globals='
3729 // Does the compiler advertise C99 conformance?
3730 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3731 # error "Compiler does not advertise C99 conformance"
3732 #endif
3734 #include <stdbool.h>
3735 extern int puts (const char *);
3736 extern int printf (const char *, ...);
3737 extern int dprintf (int, const char *, ...);
3738 extern void *malloc (size_t);
3740 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3741 // dprintf is used instead of fprintf to avoid needing to declare
3742 // FILE and stderr.
3743 #define debug(...) dprintf (2, __VA_ARGS__)
3744 #define showlist(...) puts (#__VA_ARGS__)
3745 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3746 static void
3747 test_varargs_macros (void)
3749 int x = 1234;
3750 int y = 5678;
3751 debug ("Flag");
3752 debug ("X = %d\n", x);
3753 showlist (The first, second, and third items.);
3754 report (x>y, "x is %d but y is %d", x, y);
3757 // Check long long types.
3758 #define BIG64 18446744073709551615ull
3759 #define BIG32 4294967295ul
3760 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3761 #if !BIG_OK
3762 #error "your preprocessor is broken"
3763 #endif
3764 #if BIG_OK
3765 #else
3766 #error "your preprocessor is broken"
3767 #endif
3768 static long long int bignum = -9223372036854775807LL;
3769 static unsigned long long int ubignum = BIG64;
3771 struct incomplete_array
3773 int datasize;
3774 double data[];
3777 struct named_init {
3778 int number;
3779 const wchar_t *name;
3780 double average;
3783 typedef const char *ccp;
3785 static inline int
3786 test_restrict (ccp restrict text)
3788 // See if C++-style comments work.
3789 // Iterate through items via the restricted pointer.
3790 // Also check for declarations in for loops.
3791 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3792 continue;
3793 return 0;
3796 // Check varargs and va_copy.
3797 static bool
3798 test_varargs (const char *format, ...)
3800 va_list args;
3801 va_start (args, format);
3802 va_list args_copy;
3803 va_copy (args_copy, args);
3805 const char *str = "";
3806 int number = 0;
3807 float fnumber = 0;
3809 while (*format)
3811 switch (*format++)
3813 case '\''s'\'': // string
3814 str = va_arg (args_copy, const char *);
3815 break;
3816 case '\''d'\'': // int
3817 number = va_arg (args_copy, int);
3818 break;
3819 case '\''f'\'': // float
3820 fnumber = va_arg (args_copy, double);
3821 break;
3822 default:
3823 break;
3826 va_end (args_copy);
3827 va_end (args);
3829 return *str && number && fnumber;
3833 # Test code for whether the C compiler supports C99 (body of main).
3834 ac_c_conftest_c99_main='
3835 // Check bool.
3836 _Bool success = false;
3837 success |= (argc != 0);
3839 // Check restrict.
3840 if (test_restrict ("String literal") == 0)
3841 success = true;
3842 char *restrict newvar = "Another string";
3844 // Check varargs.
3845 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3846 test_varargs_macros ();
3848 // Check flexible array members.
3849 struct incomplete_array *ia =
3850 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3851 ia->datasize = 10;
3852 for (int i = 0; i < ia->datasize; ++i)
3853 ia->data[i] = i * 1.234;
3855 // Check named initializers.
3856 struct named_init ni = {
3857 .number = 34,
3858 .name = L"Test wide string",
3859 .average = 543.34343,
3862 ni.number = 58;
3864 int dynamic_array[ni.number];
3865 dynamic_array[0] = argv[0][0];
3866 dynamic_array[ni.number - 1] = 543;
3868 // work around unused variable warnings
3869 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3870 || dynamic_array[ni.number - 1] != 543);
3873 # Test code for whether the C compiler supports C11 (global declarations)
3874 ac_c_conftest_c11_globals='
3875 // Does the compiler advertise C11 conformance?
3876 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3877 # error "Compiler does not advertise C11 conformance"
3878 #endif
3880 // Check _Alignas.
3881 char _Alignas (double) aligned_as_double;
3882 char _Alignas (0) no_special_alignment;
3883 extern char aligned_as_int;
3884 char _Alignas (0) _Alignas (int) aligned_as_int;
3886 // Check _Alignof.
3887 enum
3889 int_alignment = _Alignof (int),
3890 int_array_alignment = _Alignof (int[100]),
3891 char_alignment = _Alignof (char)
3893 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3895 // Check _Noreturn.
3896 int _Noreturn does_not_return (void) { for (;;) continue; }
3898 // Check _Static_assert.
3899 struct test_static_assert
3901 int x;
3902 _Static_assert (sizeof (int) <= sizeof (long int),
3903 "_Static_assert does not work in struct");
3904 long int y;
3907 // Check UTF-8 literals.
3908 #define u8 syntax error!
3909 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3911 // Check duplicate typedefs.
3912 typedef long *long_ptr;
3913 typedef long int *long_ptr;
3914 typedef long_ptr long_ptr;
3916 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3917 struct anonymous
3919 union {
3920 struct { int i; int j; };
3921 struct { int k; long int l; } w;
3923 int m;
3924 } v1;
3927 # Test code for whether the C compiler supports C11 (body of main).
3928 ac_c_conftest_c11_main='
3929 _Static_assert ((offsetof (struct anonymous, i)
3930 == offsetof (struct anonymous, w.k)),
3931 "Anonymous union alignment botch");
3932 v1.i = 2;
3933 v1.w.k = 5;
3934 ok |= v1.i != 5;
3937 # Test code for whether the C compiler supports C11 (complete).
3938 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3939 ${ac_c_conftest_c99_globals}
3940 ${ac_c_conftest_c11_globals}
3943 main (int argc, char **argv)
3945 int ok = 0;
3946 ${ac_c_conftest_c89_main}
3947 ${ac_c_conftest_c99_main}
3948 ${ac_c_conftest_c11_main}
3949 return ok;
3953 # Test code for whether the C compiler supports C99 (complete).
3954 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3955 ${ac_c_conftest_c99_globals}
3958 main (int argc, char **argv)
3960 int ok = 0;
3961 ${ac_c_conftest_c89_main}
3962 ${ac_c_conftest_c99_main}
3963 return ok;
3967 # Test code for whether the C compiler supports C89 (complete).
3968 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3971 main (int argc, char **argv)
3973 int ok = 0;
3974 ${ac_c_conftest_c89_main}
3975 return ok;
3979 # Test code for whether the C++ compiler supports C++98 (global declarations)
3980 ac_cxx_conftest_cxx98_globals='
3981 // Does the compiler advertise C++98 conformance?
3982 #if !defined __cplusplus || __cplusplus < 199711L
3983 # error "Compiler does not advertise C++98 conformance"
3984 #endif
3986 // These inclusions are to reject old compilers that
3987 // lack the unsuffixed header files.
3988 #include <cstdlib>
3989 #include <exception>
3991 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3992 extern void assert (int);
3993 namespace std {
3994 extern int strcmp (const char *, const char *);
3997 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3998 using std::exception;
3999 using std::strcmp;
4001 namespace {
4003 void test_exception_syntax()
4005 try {
4006 throw "test";
4007 } catch (const char *s) {
4008 // Extra parentheses suppress a warning when building autoconf itself,
4009 // due to lint rules shared with more typical C programs.
4010 assert (!(strcmp) (s, "test"));
4014 template <typename T> struct test_template
4016 T const val;
4017 explicit test_template(T t) : val(t) {}
4018 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4021 } // anonymous namespace
4024 # Test code for whether the C++ compiler supports C++98 (body of main)
4025 ac_cxx_conftest_cxx98_main='
4026 assert (argc);
4027 assert (! argv[0]);
4029 test_exception_syntax ();
4030 test_template<double> tt (2.0);
4031 assert (tt.add (4) == 6.0);
4032 assert (true && !false);
4036 # Test code for whether the C++ compiler supports C++11 (global declarations)
4037 ac_cxx_conftest_cxx11_globals='
4038 // Does the compiler advertise C++ 2011 conformance?
4039 #if !defined __cplusplus || __cplusplus < 201103L
4040 # error "Compiler does not advertise C++11 conformance"
4041 #endif
4043 namespace cxx11test
4045 constexpr int get_val() { return 20; }
4047 struct testinit
4049 int i;
4050 double d;
4053 class delegate
4055 public:
4056 delegate(int n) : n(n) {}
4057 delegate(): delegate(2354) {}
4059 virtual int getval() { return this->n; };
4060 protected:
4061 int n;
4064 class overridden : public delegate
4066 public:
4067 overridden(int n): delegate(n) {}
4068 virtual int getval() override final { return this->n * 2; }
4071 class nocopy
4073 public:
4074 nocopy(int i): i(i) {}
4075 nocopy() = default;
4076 nocopy(const nocopy&) = delete;
4077 nocopy & operator=(const nocopy&) = delete;
4078 private:
4079 int i;
4082 // for testing lambda expressions
4083 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4085 return f(v);
4088 // for testing variadic templates and trailing return types
4089 template <typename V> auto sum(V first) -> V
4091 return first;
4093 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4095 return first + sum(rest...);
4100 # Test code for whether the C++ compiler supports C++11 (body of main)
4101 ac_cxx_conftest_cxx11_main='
4103 // Test auto and decltype
4104 auto a1 = 6538;
4105 auto a2 = 48573953.4;
4106 auto a3 = "String literal";
4108 int total = 0;
4109 for (auto i = a3; *i; ++i) { total += *i; }
4111 decltype(a2) a4 = 34895.034;
4114 // Test constexpr
4115 short sa[cxx11test::get_val()] = { 0 };
4118 // Test initializer lists
4119 cxx11test::testinit il = { 4323, 435234.23544 };
4122 // Test range-based for
4123 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4124 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4125 for (auto &x : array) { x += 23; }
4128 // Test lambda expressions
4129 using cxx11test::eval;
4130 assert (eval ([](int x) { return x*2; }, 21) == 42);
4131 double d = 2.0;
4132 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4133 assert (d == 5.0);
4134 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4135 assert (d == 5.0);
4138 // Test use of variadic templates
4139 using cxx11test::sum;
4140 auto a = sum(1);
4141 auto b = sum(1, 2);
4142 auto c = sum(1.0, 2.0, 3.0);
4145 // Test constructor delegation
4146 cxx11test::delegate d1;
4147 cxx11test::delegate d2();
4148 cxx11test::delegate d3(45);
4151 // Test override and final
4152 cxx11test::overridden o1(55464);
4155 // Test nullptr
4156 char *c = nullptr;
4159 // Test template brackets
4160 test_template<::test_template<int>> v(test_template<int>(12));
4163 // Unicode literals
4164 char const *utf8 = u8"UTF-8 string \u2500";
4165 char16_t const *utf16 = u"UTF-8 string \u2500";
4166 char32_t const *utf32 = U"UTF-32 string \u2500";
4170 # Test code for whether the C compiler supports C++11 (complete).
4171 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4172 ${ac_cxx_conftest_cxx11_globals}
4175 main (int argc, char **argv)
4177 int ok = 0;
4178 ${ac_cxx_conftest_cxx98_main}
4179 ${ac_cxx_conftest_cxx11_main}
4180 return ok;
4184 # Test code for whether the C compiler supports C++98 (complete).
4185 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4187 main (int argc, char **argv)
4189 int ok = 0;
4190 ${ac_cxx_conftest_cxx98_main}
4191 return ok;
4195 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4196 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4197 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4198 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4199 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4200 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4201 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4202 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4203 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4205 # Auxiliary files required by this configure script.
4206 ac_aux_files="config.guess config.sub"
4208 # Locations in which to look for auxiliary files.
4209 ac_aux_dir_candidates="${srcdir}/tools"
4211 # Search for a directory containing all of the required auxiliary files,
4212 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4213 # If we don't find one directory that contains all the files we need,
4214 # we report the set of missing files from the *first* directory in
4215 # $ac_aux_dir_candidates and give up.
4216 ac_missing_aux_files=""
4217 ac_first_candidate=:
4218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 as_found=false
4221 for as_dir in $ac_aux_dir_candidates
4223 IFS=$as_save_IFS
4224 case $as_dir in #(((
4225 '') as_dir=./ ;;
4226 */) ;;
4227 *) as_dir=$as_dir/ ;;
4228 esac
4229 as_found=:
4231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4232 ac_aux_dir_found=yes
4233 ac_install_sh=
4234 for ac_aux in $ac_aux_files
4236 # As a special case, if "install-sh" is required, that requirement
4237 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4238 # and $ac_install_sh is set appropriately for whichever one is found.
4239 if test x"$ac_aux" = x"install-sh"
4240 then
4241 if test -f "${as_dir}install-sh"; then
4242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4243 ac_install_sh="${as_dir}install-sh -c"
4244 elif test -f "${as_dir}install.sh"; then
4245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4246 ac_install_sh="${as_dir}install.sh -c"
4247 elif test -f "${as_dir}shtool"; then
4248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4249 ac_install_sh="${as_dir}shtool install -c"
4250 else
4251 ac_aux_dir_found=no
4252 if $ac_first_candidate; then
4253 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4254 else
4255 break
4258 else
4259 if test -f "${as_dir}${ac_aux}"; then
4260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4261 else
4262 ac_aux_dir_found=no
4263 if $ac_first_candidate; then
4264 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4265 else
4266 break
4270 done
4271 if test "$ac_aux_dir_found" = yes; then
4272 ac_aux_dir="$as_dir"
4273 break
4275 ac_first_candidate=false
4277 as_found=false
4278 done
4279 IFS=$as_save_IFS
4280 if $as_found
4281 then :
4283 else $as_nop
4284 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4288 # These three variables are undocumented and unsupported,
4289 # and are intended to be withdrawn in a future Autoconf release.
4290 # They can cause serious problems if a builder's source tree is in a directory
4291 # whose full name contains unusual characters.
4292 if test -f "${ac_aux_dir}config.guess"; then
4293 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4295 if test -f "${ac_aux_dir}config.sub"; then
4296 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4298 if test -f "$ac_aux_dir/configure"; then
4299 ac_configure="$SHELL ${ac_aux_dir}configure"
4302 # Check that the precious variables saved in the cache have kept the same
4303 # value.
4304 ac_cache_corrupted=false
4305 for ac_var in $ac_precious_vars; do
4306 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4307 eval ac_new_set=\$ac_env_${ac_var}_set
4308 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4309 eval ac_new_val=\$ac_env_${ac_var}_value
4310 case $ac_old_set,$ac_new_set in
4311 set,)
4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4313 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4314 ac_cache_corrupted=: ;;
4315 ,set)
4316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4317 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4318 ac_cache_corrupted=: ;;
4319 ,);;
4321 if test "x$ac_old_val" != "x$ac_new_val"; then
4322 # differences in whitespace do not lead to failure.
4323 ac_old_val_w=`echo x $ac_old_val`
4324 ac_new_val_w=`echo x $ac_new_val`
4325 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4327 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4328 ac_cache_corrupted=:
4329 else
4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4331 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4332 eval $ac_var=\$ac_old_val
4334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4335 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4337 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4338 fi;;
4339 esac
4340 # Pass precious variables to config.status.
4341 if test "$ac_new_set" = set; then
4342 case $ac_new_val in
4343 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4344 *) ac_arg=$ac_var=$ac_new_val ;;
4345 esac
4346 case " $ac_configure_args " in
4347 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4348 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4349 esac
4351 done
4352 if $ac_cache_corrupted; then
4353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4354 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4356 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4357 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4358 and start over" "$LINENO" 5
4360 ## -------------------- ##
4361 ## Main body of script. ##
4362 ## -------------------- ##
4364 ac_ext=c
4365 ac_cpp='$CPP $CPPFLAGS'
4366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4372 ac_config_headers="$ac_config_headers include/config.h"
4376 libwine_version="1.0"
4379 # Check whether --enable-win16 was given.
4380 if test ${enable_win16+y}
4381 then :
4382 enableval=$enable_win16;
4385 # Check whether --enable-win64 was given.
4386 if test ${enable_win64+y}
4387 then :
4388 enableval=$enable_win64;
4391 # Check whether --enable-tests was given.
4392 if test ${enable_tests+y}
4393 then :
4394 enableval=$enable_tests;
4397 # Check whether --enable-build-id was given.
4398 if test ${enable_build_id+y}
4399 then :
4400 enableval=$enable_build_id;
4403 # Check whether --enable-maintainer-mode was given.
4404 if test ${enable_maintainer_mode+y}
4405 then :
4406 enableval=$enable_maintainer_mode;
4409 # Check whether --enable-silent-rules was given.
4410 if test ${enable_silent_rules+y}
4411 then :
4412 enableval=$enable_silent_rules;
4415 # Check whether --enable-werror was given.
4416 if test ${enable_werror+y}
4417 then :
4418 enableval=$enable_werror;
4423 # Check whether --with-alsa was given.
4424 if test ${with_alsa+y}
4425 then :
4426 withval=$with_alsa;
4430 # Check whether --with-capi was given.
4431 if test ${with_capi+y}
4432 then :
4433 withval=$with_capi;
4437 # Check whether --with-coreaudio was given.
4438 if test ${with_coreaudio+y}
4439 then :
4440 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4444 # Check whether --with-cups was given.
4445 if test ${with_cups+y}
4446 then :
4447 withval=$with_cups;
4451 # Check whether --with-dbus was given.
4452 if test ${with_dbus+y}
4453 then :
4454 withval=$with_dbus;
4458 # Check whether --with-float-abi was given.
4459 if test ${with_float_abi+y}
4460 then :
4461 withval=$with_float_abi;
4465 # Check whether --with-fontconfig was given.
4466 if test ${with_fontconfig+y}
4467 then :
4468 withval=$with_fontconfig;
4472 # Check whether --with-freetype was given.
4473 if test ${with_freetype+y}
4474 then :
4475 withval=$with_freetype;
4479 # Check whether --with-gettext was given.
4480 if test ${with_gettext+y}
4481 then :
4482 withval=$with_gettext;
4486 # Check whether --with-gettextpo was given.
4487 if test ${with_gettextpo+y}
4488 then :
4489 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4493 # Check whether --with-gphoto was given.
4494 if test ${with_gphoto+y}
4495 then :
4496 withval=$with_gphoto;
4500 # Check whether --with-gnutls was given.
4501 if test ${with_gnutls+y}
4502 then :
4503 withval=$with_gnutls;
4507 # Check whether --with-gssapi was given.
4508 if test ${with_gssapi+y}
4509 then :
4510 withval=$with_gssapi;
4514 # Check whether --with-gstreamer was given.
4515 if test ${with_gstreamer+y}
4516 then :
4517 withval=$with_gstreamer;
4521 # Check whether --with-inotify was given.
4522 if test ${with_inotify+y}
4523 then :
4524 withval=$with_inotify;
4528 # Check whether --with-krb5 was given.
4529 if test ${with_krb5+y}
4530 then :
4531 withval=$with_krb5;
4535 # Check whether --with-ldap was given.
4536 if test ${with_ldap+y}
4537 then :
4538 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4542 # Check whether --with-mingw was given.
4543 if test ${with_mingw+y}
4544 then :
4545 withval=$with_mingw;
4549 # Check whether --with-netapi was given.
4550 if test ${with_netapi+y}
4551 then :
4552 withval=$with_netapi;
4556 # Check whether --with-openal was given.
4557 if test ${with_openal+y}
4558 then :
4559 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4563 # Check whether --with-opencl was given.
4564 if test ${with_opencl+y}
4565 then :
4566 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4570 # Check whether --with-opengl was given.
4571 if test ${with_opengl+y}
4572 then :
4573 withval=$with_opengl;
4577 # Check whether --with-osmesa was given.
4578 if test ${with_osmesa+y}
4579 then :
4580 withval=$with_osmesa;
4584 # Check whether --with-oss was given.
4585 if test ${with_oss+y}
4586 then :
4587 withval=$with_oss;
4591 # Check whether --with-pcap was given.
4592 if test ${with_pcap+y}
4593 then :
4594 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4598 # Check whether --with-pthread was given.
4599 if test ${with_pthread+y}
4600 then :
4601 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4605 # Check whether --with-pulse was given.
4606 if test ${with_pulse+y}
4607 then :
4608 withval=$with_pulse;
4612 # Check whether --with-sane was given.
4613 if test ${with_sane+y}
4614 then :
4615 withval=$with_sane;
4619 # Check whether --with-sdl was given.
4620 if test ${with_sdl+y}
4621 then :
4622 withval=$with_sdl;
4626 # Check whether --with-udev was given.
4627 if test ${with_udev+y}
4628 then :
4629 withval=$with_udev;
4633 # Check whether --with-unwind was given.
4634 if test ${with_unwind+y}
4635 then :
4636 withval=$with_unwind;
4640 # Check whether --with-usb was given.
4641 if test ${with_usb+y}
4642 then :
4643 withval=$with_usb;
4647 # Check whether --with-v4l2 was given.
4648 if test ${with_v4l2+y}
4649 then :
4650 withval=$with_v4l2;
4654 # Check whether --with-vkd3d was given.
4655 if test ${with_vkd3d+y}
4656 then :
4657 withval=$with_vkd3d;
4661 # Check whether --with-vulkan was given.
4662 if test ${with_vulkan+y}
4663 then :
4664 withval=$with_vulkan;
4668 # Check whether --with-xcomposite was given.
4669 if test ${with_xcomposite+y}
4670 then :
4671 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4675 # Check whether --with-xcursor was given.
4676 if test ${with_xcursor+y}
4677 then :
4678 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4682 # Check whether --with-xfixes was given.
4683 if test ${with_xfixes+y}
4684 then :
4685 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4689 # Check whether --with-xinerama was given.
4690 if test ${with_xinerama+y}
4691 then :
4692 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4696 # Check whether --with-xinput was given.
4697 if test ${with_xinput+y}
4698 then :
4699 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4703 # Check whether --with-xinput2 was given.
4704 if test ${with_xinput2+y}
4705 then :
4706 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4710 # Check whether --with-xrandr was given.
4711 if test ${with_xrandr+y}
4712 then :
4713 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4717 # Check whether --with-xrender was given.
4718 if test ${with_xrender+y}
4719 then :
4720 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4724 # Check whether --with-xshape was given.
4725 if test ${with_xshape+y}
4726 then :
4727 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4731 # Check whether --with-xshm was given.
4732 if test ${with_xshm+y}
4733 then :
4734 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4738 # Check whether --with-xxf86vm was given.
4739 if test ${with_xxf86vm+y}
4740 then :
4741 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
4746 # Check whether --with-system-dllpath was given.
4747 if test ${with_system_dllpath+y}
4748 then :
4749 withval=$with_system_dllpath; system_dllpath=$withval
4754 # Check whether --with-wine-tools was given.
4755 if test ${with_wine_tools+y}
4756 then :
4757 withval=$with_wine_tools;
4761 # Check whether --with-wine64 was given.
4762 if test ${with_wine64+y}
4763 then :
4764 withval=$with_wine64;
4771 # Make sure we can run config.sub.
4772 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4773 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4776 printf %s "checking build system type... " >&6; }
4777 if test ${ac_cv_build+y}
4778 then :
4779 printf %s "(cached) " >&6
4780 else $as_nop
4781 ac_build_alias=$build_alias
4782 test "x$ac_build_alias" = x &&
4783 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4784 test "x$ac_build_alias" = x &&
4785 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4786 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4787 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4791 printf "%s\n" "$ac_cv_build" >&6; }
4792 case $ac_cv_build in
4793 *-*-*) ;;
4794 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4795 esac
4796 build=$ac_cv_build
4797 ac_save_IFS=$IFS; IFS='-'
4798 set x $ac_cv_build
4799 shift
4800 build_cpu=$1
4801 build_vendor=$2
4802 shift; shift
4803 # Remember, the first character of IFS is used to create $*,
4804 # except with old shells:
4805 build_os=$*
4806 IFS=$ac_save_IFS
4807 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4811 printf %s "checking host system type... " >&6; }
4812 if test ${ac_cv_host+y}
4813 then :
4814 printf %s "(cached) " >&6
4815 else $as_nop
4816 if test "x$host_alias" = x; then
4817 ac_cv_host=$ac_cv_build
4818 else
4819 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4820 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4825 printf "%s\n" "$ac_cv_host" >&6; }
4826 case $ac_cv_host in
4827 *-*-*) ;;
4828 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4829 esac
4830 host=$ac_cv_host
4831 ac_save_IFS=$IFS; IFS='-'
4832 set x $ac_cv_host
4833 shift
4834 host_cpu=$1
4835 host_vendor=$2
4836 shift; shift
4837 # Remember, the first character of IFS is used to create $*,
4838 # except with old shells:
4839 host_os=$*
4840 IFS=$ac_save_IFS
4841 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4845 dlldir=\${libdir}/wine
4847 fontdir=\${datadir}/wine/fonts
4849 nlsdir=\${datadir}/wine/nls
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4855 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4856 set x ${MAKE-make}
4857 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4858 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4859 then :
4860 printf %s "(cached) " >&6
4861 else $as_nop
4862 cat >conftest.make <<\_ACEOF
4863 SHELL = /bin/sh
4864 all:
4865 @echo '@@@%%%=$(MAKE)=@@@%%%'
4866 _ACEOF
4867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4868 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4869 *@@@%%%=?*=@@@%%%*)
4870 eval ac_cv_prog_make_${ac_make}_set=yes;;
4872 eval ac_cv_prog_make_${ac_make}_set=no;;
4873 esac
4874 rm -f conftest.make
4876 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4878 printf "%s\n" "yes" >&6; }
4879 SET_MAKE=
4880 else
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 printf "%s\n" "no" >&6; }
4883 SET_MAKE="MAKE=${MAKE-make}"
4895 ac_ext=c
4896 ac_cpp='$CPP $CPPFLAGS'
4897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4900 if test -n "$ac_tool_prefix"; then
4901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4902 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 printf %s "checking for $ac_word... " >&6; }
4905 if test ${ac_cv_prog_CC+y}
4906 then :
4907 printf %s "(cached) " >&6
4908 else $as_nop
4909 if test -n "$CC"; then
4910 ac_cv_prog_CC="$CC" # Let the user override the test.
4911 else
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 for as_dir in $PATH
4915 IFS=$as_save_IFS
4916 case $as_dir in #(((
4917 '') as_dir=./ ;;
4918 */) ;;
4919 *) as_dir=$as_dir/ ;;
4920 esac
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4923 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4925 break 2
4927 done
4928 done
4929 IFS=$as_save_IFS
4933 CC=$ac_cv_prog_CC
4934 if test -n "$CC"; then
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4936 printf "%s\n" "$CC" >&6; }
4937 else
4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 printf "%s\n" "no" >&6; }
4944 if test -z "$ac_cv_prog_CC"; then
4945 ac_ct_CC=$CC
4946 # Extract the first word of "gcc", so it can be a program name with args.
4947 set dummy gcc; ac_word=$2
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 printf %s "checking for $ac_word... " >&6; }
4950 if test ${ac_cv_prog_ac_ct_CC+y}
4951 then :
4952 printf %s "(cached) " >&6
4953 else $as_nop
4954 if test -n "$ac_ct_CC"; then
4955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 case $as_dir in #(((
4962 '') as_dir=./ ;;
4963 */) ;;
4964 *) as_dir=$as_dir/ ;;
4965 esac
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_CC="gcc"
4969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4970 break 2
4972 done
4973 done
4974 IFS=$as_save_IFS
4978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4979 if test -n "$ac_ct_CC"; then
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4981 printf "%s\n" "$ac_ct_CC" >&6; }
4982 else
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 printf "%s\n" "no" >&6; }
4987 if test "x$ac_ct_CC" = x; then
4988 CC=""
4989 else
4990 case $cross_compiling:$ac_tool_warned in
4991 yes:)
4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned=yes ;;
4995 esac
4996 CC=$ac_ct_CC
4998 else
4999 CC="$ac_cv_prog_CC"
5002 if test -z "$CC"; then
5003 if test -n "$ac_tool_prefix"; then
5004 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5005 set dummy ${ac_tool_prefix}cc; ac_word=$2
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 printf %s "checking for $ac_word... " >&6; }
5008 if test ${ac_cv_prog_CC+y}
5009 then :
5010 printf %s "(cached) " >&6
5011 else $as_nop
5012 if test -n "$CC"; then
5013 ac_cv_prog_CC="$CC" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5018 IFS=$as_save_IFS
5019 case $as_dir in #(((
5020 '') as_dir=./ ;;
5021 */) ;;
5022 *) as_dir=$as_dir/ ;;
5023 esac
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_CC="${ac_tool_prefix}cc"
5027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5028 break 2
5030 done
5031 done
5032 IFS=$as_save_IFS
5036 CC=$ac_cv_prog_CC
5037 if test -n "$CC"; then
5038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5039 printf "%s\n" "$CC" >&6; }
5040 else
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 printf "%s\n" "no" >&6; }
5048 if test -z "$CC"; then
5049 # Extract the first word of "cc", so it can be a program name with args.
5050 set dummy cc; ac_word=$2
5051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 printf %s "checking for $ac_word... " >&6; }
5053 if test ${ac_cv_prog_CC+y}
5054 then :
5055 printf %s "(cached) " >&6
5056 else $as_nop
5057 if test -n "$CC"; then
5058 ac_cv_prog_CC="$CC" # Let the user override the test.
5059 else
5060 ac_prog_rejected=no
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 case $as_dir in #(((
5066 '') as_dir=./ ;;
5067 */) ;;
5068 *) as_dir=$as_dir/ ;;
5069 esac
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5072 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5073 ac_prog_rejected=yes
5074 continue
5076 ac_cv_prog_CC="cc"
5077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5078 break 2
5080 done
5081 done
5082 IFS=$as_save_IFS
5084 if test $ac_prog_rejected = yes; then
5085 # We found a bogon in the path, so make sure we never use it.
5086 set dummy $ac_cv_prog_CC
5087 shift
5088 if test $# != 0; then
5089 # We chose a different compiler from the bogus one.
5090 # However, it has the same basename, so the bogon will be chosen
5091 # first if we set CC to just the basename; use the full file name.
5092 shift
5093 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5098 CC=$ac_cv_prog_CC
5099 if test -n "$CC"; then
5100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5101 printf "%s\n" "$CC" >&6; }
5102 else
5103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 printf "%s\n" "no" >&6; }
5109 if test -z "$CC"; then
5110 if test -n "$ac_tool_prefix"; then
5111 for ac_prog in cl.exe
5113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 printf %s "checking for $ac_word... " >&6; }
5117 if test ${ac_cv_prog_CC+y}
5118 then :
5119 printf %s "(cached) " >&6
5120 else $as_nop
5121 if test -n "$CC"; then
5122 ac_cv_prog_CC="$CC" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 case $as_dir in #(((
5129 '') as_dir=./ ;;
5130 */) ;;
5131 *) as_dir=$as_dir/ ;;
5132 esac
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5135 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 CC=$ac_cv_prog_CC
5146 if test -n "$CC"; then
5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5148 printf "%s\n" "$CC" >&6; }
5149 else
5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 printf "%s\n" "no" >&6; }
5155 test -n "$CC" && break
5156 done
5158 if test -z "$CC"; then
5159 ac_ct_CC=$CC
5160 for ac_prog in cl.exe
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy $ac_prog; ac_word=$2
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 printf %s "checking for $ac_word... " >&6; }
5166 if test ${ac_cv_prog_ac_ct_CC+y}
5167 then :
5168 printf %s "(cached) " >&6
5169 else $as_nop
5170 if test -n "$ac_ct_CC"; then
5171 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 case $as_dir in #(((
5178 '') as_dir=./ ;;
5179 */) ;;
5180 *) as_dir=$as_dir/ ;;
5181 esac
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_ac_ct_CC="$ac_prog"
5185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5195 if test -n "$ac_ct_CC"; then
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5197 printf "%s\n" "$ac_ct_CC" >&6; }
5198 else
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 printf "%s\n" "no" >&6; }
5204 test -n "$ac_ct_CC" && break
5205 done
5207 if test "x$ac_ct_CC" = x; then
5208 CC=""
5209 else
5210 case $cross_compiling:$ac_tool_warned in
5211 yes:)
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216 CC=$ac_ct_CC
5221 if test -z "$CC"; then
5222 if test -n "$ac_tool_prefix"; then
5223 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5224 set dummy ${ac_tool_prefix}clang; ac_word=$2
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 printf %s "checking for $ac_word... " >&6; }
5227 if test ${ac_cv_prog_CC+y}
5228 then :
5229 printf %s "(cached) " >&6
5230 else $as_nop
5231 if test -n "$CC"; then
5232 ac_cv_prog_CC="$CC" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 case $as_dir in #(((
5239 '') as_dir=./ ;;
5240 */) ;;
5241 *) as_dir=$as_dir/ ;;
5242 esac
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_CC="${ac_tool_prefix}clang"
5246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5247 break 2
5249 done
5250 done
5251 IFS=$as_save_IFS
5255 CC=$ac_cv_prog_CC
5256 if test -n "$CC"; then
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5258 printf "%s\n" "$CC" >&6; }
5259 else
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 printf "%s\n" "no" >&6; }
5266 if test -z "$ac_cv_prog_CC"; then
5267 ac_ct_CC=$CC
5268 # Extract the first word of "clang", so it can be a program name with args.
5269 set dummy clang; ac_word=$2
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 printf %s "checking for $ac_word... " >&6; }
5272 if test ${ac_cv_prog_ac_ct_CC+y}
5273 then :
5274 printf %s "(cached) " >&6
5275 else $as_nop
5276 if test -n "$ac_ct_CC"; then
5277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5278 else
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH
5282 IFS=$as_save_IFS
5283 case $as_dir in #(((
5284 '') as_dir=./ ;;
5285 */) ;;
5286 *) as_dir=$as_dir/ ;;
5287 esac
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_CC="clang"
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5292 break 2
5294 done
5295 done
5296 IFS=$as_save_IFS
5300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5301 if test -n "$ac_ct_CC"; then
5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5303 printf "%s\n" "$ac_ct_CC" >&6; }
5304 else
5305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 printf "%s\n" "no" >&6; }
5309 if test "x$ac_ct_CC" = x; then
5310 CC=""
5311 else
5312 case $cross_compiling:$ac_tool_warned in
5313 yes:)
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned=yes ;;
5317 esac
5318 CC=$ac_ct_CC
5320 else
5321 CC="$ac_cv_prog_CC"
5327 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5328 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5329 as_fn_error $? "no acceptable C compiler found in \$PATH
5330 See \`config.log' for more details" "$LINENO" 5; }
5332 # Provide some information about the compiler.
5333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5334 set X $ac_compile
5335 ac_compiler=$2
5336 for ac_option in --version -v -V -qversion -version; do
5337 { { ac_try="$ac_compiler $ac_option >&5"
5338 case "(($ac_try" in
5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5341 esac
5342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5343 printf "%s\n" "$ac_try_echo"; } >&5
5344 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5345 ac_status=$?
5346 if test -s conftest.err; then
5347 sed '10a\
5348 ... rest of stderr output deleted ...
5349 10q' conftest.err >conftest.er1
5350 cat conftest.er1 >&5
5352 rm -f conftest.er1 conftest.err
5353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5354 test $ac_status = 0; }
5355 done
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main (void)
5365 return 0;
5367 _ACEOF
5368 ac_clean_files_save=$ac_clean_files
5369 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5370 # Try to create an executable without -o first, disregard a.out.
5371 # It will help us diagnose broken compilers, and finding out an intuition
5372 # of exeext.
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5374 printf %s "checking whether the C compiler works... " >&6; }
5375 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5377 # The possible output files:
5378 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5380 ac_rmfiles=
5381 for ac_file in $ac_files
5383 case $ac_file in
5384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5385 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5386 esac
5387 done
5388 rm -f $ac_rmfiles
5390 if { { ac_try="$ac_link_default"
5391 case "(($ac_try" in
5392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5393 *) ac_try_echo=$ac_try;;
5394 esac
5395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5396 printf "%s\n" "$ac_try_echo"; } >&5
5397 (eval "$ac_link_default") 2>&5
5398 ac_status=$?
5399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5400 test $ac_status = 0; }
5401 then :
5402 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5403 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5404 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5405 # so that the user can short-circuit this test for compilers unknown to
5406 # Autoconf.
5407 for ac_file in $ac_files ''
5409 test -f "$ac_file" || continue
5410 case $ac_file in
5411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5413 [ab].out )
5414 # We found the default executable, but exeext='' is most
5415 # certainly right.
5416 break;;
5417 *.* )
5418 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5419 then :; else
5420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5422 # We set ac_cv_exeext here because the later test for it is not
5423 # safe: cross compilers may not add the suffix if given an `-o'
5424 # argument, so we may need to know it at that point already.
5425 # Even if this section looks crufty: it has the advantage of
5426 # actually working.
5427 break;;
5429 break;;
5430 esac
5431 done
5432 test "$ac_cv_exeext" = no && ac_cv_exeext=
5434 else $as_nop
5435 ac_file=''
5437 if test -z "$ac_file"
5438 then :
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 printf "%s\n" "no" >&6; }
5441 printf "%s\n" "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.$ac_ext >&5
5444 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5445 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5446 as_fn_error 77 "C compiler cannot create executables
5447 See \`config.log' for more details" "$LINENO" 5; }
5448 else $as_nop
5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 printf "%s\n" "yes" >&6; }
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5453 printf %s "checking for C compiler default output file name... " >&6; }
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5455 printf "%s\n" "$ac_file" >&6; }
5456 ac_exeext=$ac_cv_exeext
5458 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5459 ac_clean_files=$ac_clean_files_save
5460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5461 printf %s "checking for suffix of executables... " >&6; }
5462 if { { ac_try="$ac_link"
5463 case "(($ac_try" in
5464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465 *) ac_try_echo=$ac_try;;
5466 esac
5467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5468 printf "%s\n" "$ac_try_echo"; } >&5
5469 (eval "$ac_link") 2>&5
5470 ac_status=$?
5471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5472 test $ac_status = 0; }
5473 then :
5474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5476 # work properly (i.e., refer to `conftest.exe'), while it won't with
5477 # `rm'.
5478 for ac_file in conftest.exe conftest conftest.*; do
5479 test -f "$ac_file" || continue
5480 case $ac_file in
5481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5483 break;;
5484 * ) break;;
5485 esac
5486 done
5487 else $as_nop
5488 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5489 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5490 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5491 See \`config.log' for more details" "$LINENO" 5; }
5493 rm -f conftest conftest$ac_cv_exeext
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5495 printf "%s\n" "$ac_cv_exeext" >&6; }
5497 rm -f conftest.$ac_ext
5498 EXEEXT=$ac_cv_exeext
5499 ac_exeext=$EXEEXT
5500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5502 #include <stdio.h>
5504 main (void)
5506 FILE *f = fopen ("conftest.out", "w");
5507 return ferror (f) || fclose (f) != 0;
5510 return 0;
5512 _ACEOF
5513 ac_clean_files="$ac_clean_files conftest.out"
5514 # Check that the compiler produces executables we can run. If not, either
5515 # the compiler is broken, or we cross compile.
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5517 printf %s "checking whether we are cross compiling... " >&6; }
5518 if test "$cross_compiling" != yes; then
5519 { { ac_try="$ac_link"
5520 case "(($ac_try" in
5521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5522 *) ac_try_echo=$ac_try;;
5523 esac
5524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5525 printf "%s\n" "$ac_try_echo"; } >&5
5526 (eval "$ac_link") 2>&5
5527 ac_status=$?
5528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5529 test $ac_status = 0; }
5530 if { ac_try='./conftest$ac_cv_exeext'
5531 { { case "(($ac_try" in
5532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5533 *) ac_try_echo=$ac_try;;
5534 esac
5535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5536 printf "%s\n" "$ac_try_echo"; } >&5
5537 (eval "$ac_try") 2>&5
5538 ac_status=$?
5539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5540 test $ac_status = 0; }; }; then
5541 cross_compiling=no
5542 else
5543 if test "$cross_compiling" = maybe; then
5544 cross_compiling=yes
5545 else
5546 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5547 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5548 as_fn_error 77 "cannot run C compiled programs.
5549 If you meant to cross compile, use \`--host'.
5550 See \`config.log' for more details" "$LINENO" 5; }
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5555 printf "%s\n" "$cross_compiling" >&6; }
5557 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5558 ac_clean_files=$ac_clean_files_save
5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5560 printf %s "checking for suffix of object files... " >&6; }
5561 if test ${ac_cv_objext+y}
5562 then :
5563 printf %s "(cached) " >&6
5564 else $as_nop
5565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5569 main (void)
5573 return 0;
5575 _ACEOF
5576 rm -f conftest.o conftest.obj
5577 if { { ac_try="$ac_compile"
5578 case "(($ac_try" in
5579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5580 *) ac_try_echo=$ac_try;;
5581 esac
5582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5583 printf "%s\n" "$ac_try_echo"; } >&5
5584 (eval "$ac_compile") 2>&5
5585 ac_status=$?
5586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5587 test $ac_status = 0; }
5588 then :
5589 for ac_file in conftest.o conftest.obj conftest.*; do
5590 test -f "$ac_file" || continue;
5591 case $ac_file in
5592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5594 break;;
5595 esac
5596 done
5597 else $as_nop
5598 printf "%s\n" "$as_me: failed program was:" >&5
5599 sed 's/^/| /' conftest.$ac_ext >&5
5601 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5602 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5603 as_fn_error $? "cannot compute suffix of object files: cannot compile
5604 See \`config.log' for more details" "$LINENO" 5; }
5606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5609 printf "%s\n" "$ac_cv_objext" >&6; }
5610 OBJEXT=$ac_cv_objext
5611 ac_objext=$OBJEXT
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5613 printf %s "checking whether the compiler supports GNU C... " >&6; }
5614 if test ${ac_cv_c_compiler_gnu+y}
5615 then :
5616 printf %s "(cached) " >&6
5617 else $as_nop
5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5622 main (void)
5624 #ifndef __GNUC__
5625 choke me
5626 #endif
5629 return 0;
5631 _ACEOF
5632 if ac_fn_c_try_compile "$LINENO"
5633 then :
5634 ac_compiler_gnu=yes
5635 else $as_nop
5636 ac_compiler_gnu=no
5638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5643 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5646 if test $ac_compiler_gnu = yes; then
5647 GCC=yes
5648 else
5649 GCC=
5651 ac_test_CFLAGS=${CFLAGS+y}
5652 ac_save_CFLAGS=$CFLAGS
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5654 printf %s "checking whether $CC accepts -g... " >&6; }
5655 if test ${ac_cv_prog_cc_g+y}
5656 then :
5657 printf %s "(cached) " >&6
5658 else $as_nop
5659 ac_save_c_werror_flag=$ac_c_werror_flag
5660 ac_c_werror_flag=yes
5661 ac_cv_prog_cc_g=no
5662 CFLAGS="-g"
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5667 main (void)
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_compile "$LINENO"
5675 then :
5676 ac_cv_prog_cc_g=yes
5677 else $as_nop
5678 CFLAGS=""
5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5683 main (void)
5687 return 0;
5689 _ACEOF
5690 if ac_fn_c_try_compile "$LINENO"
5691 then :
5693 else $as_nop
5694 ac_c_werror_flag=$ac_save_c_werror_flag
5695 CFLAGS="-g"
5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5700 main (void)
5704 return 0;
5706 _ACEOF
5707 if ac_fn_c_try_compile "$LINENO"
5708 then :
5709 ac_cv_prog_cc_g=yes
5711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5716 ac_c_werror_flag=$ac_save_c_werror_flag
5718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5719 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5720 if test $ac_test_CFLAGS; then
5721 CFLAGS=$ac_save_CFLAGS
5722 elif test $ac_cv_prog_cc_g = yes; then
5723 if test "$GCC" = yes; then
5724 CFLAGS="-g -O2"
5725 else
5726 CFLAGS="-g"
5728 else
5729 if test "$GCC" = yes; then
5730 CFLAGS="-O2"
5731 else
5732 CFLAGS=
5735 ac_prog_cc_stdc=no
5736 if test x$ac_prog_cc_stdc = xno
5737 then :
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5739 printf %s "checking for $CC option to enable C11 features... " >&6; }
5740 if test ${ac_cv_prog_cc_c11+y}
5741 then :
5742 printf %s "(cached) " >&6
5743 else $as_nop
5744 ac_cv_prog_cc_c11=no
5745 ac_save_CC=$CC
5746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5748 $ac_c_conftest_c11_program
5749 _ACEOF
5750 for ac_arg in '' -std=gnu11
5752 CC="$ac_save_CC $ac_arg"
5753 if ac_fn_c_try_compile "$LINENO"
5754 then :
5755 ac_cv_prog_cc_c11=$ac_arg
5757 rm -f core conftest.err conftest.$ac_objext conftest.beam
5758 test "x$ac_cv_prog_cc_c11" != "xno" && break
5759 done
5760 rm -f conftest.$ac_ext
5761 CC=$ac_save_CC
5764 if test "x$ac_cv_prog_cc_c11" = xno
5765 then :
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5767 printf "%s\n" "unsupported" >&6; }
5768 else $as_nop
5769 if test "x$ac_cv_prog_cc_c11" = x
5770 then :
5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5772 printf "%s\n" "none needed" >&6; }
5773 else $as_nop
5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5775 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5776 CC="$CC $ac_cv_prog_cc_c11"
5778 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5779 ac_prog_cc_stdc=c11
5782 if test x$ac_prog_cc_stdc = xno
5783 then :
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5785 printf %s "checking for $CC option to enable C99 features... " >&6; }
5786 if test ${ac_cv_prog_cc_c99+y}
5787 then :
5788 printf %s "(cached) " >&6
5789 else $as_nop
5790 ac_cv_prog_cc_c99=no
5791 ac_save_CC=$CC
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5794 $ac_c_conftest_c99_program
5795 _ACEOF
5796 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5798 CC="$ac_save_CC $ac_arg"
5799 if ac_fn_c_try_compile "$LINENO"
5800 then :
5801 ac_cv_prog_cc_c99=$ac_arg
5803 rm -f core conftest.err conftest.$ac_objext conftest.beam
5804 test "x$ac_cv_prog_cc_c99" != "xno" && break
5805 done
5806 rm -f conftest.$ac_ext
5807 CC=$ac_save_CC
5810 if test "x$ac_cv_prog_cc_c99" = xno
5811 then :
5812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5813 printf "%s\n" "unsupported" >&6; }
5814 else $as_nop
5815 if test "x$ac_cv_prog_cc_c99" = x
5816 then :
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5818 printf "%s\n" "none needed" >&6; }
5819 else $as_nop
5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5821 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5822 CC="$CC $ac_cv_prog_cc_c99"
5824 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5825 ac_prog_cc_stdc=c99
5828 if test x$ac_prog_cc_stdc = xno
5829 then :
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5831 printf %s "checking for $CC option to enable C89 features... " >&6; }
5832 if test ${ac_cv_prog_cc_c89+y}
5833 then :
5834 printf %s "(cached) " >&6
5835 else $as_nop
5836 ac_cv_prog_cc_c89=no
5837 ac_save_CC=$CC
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5840 $ac_c_conftest_c89_program
5841 _ACEOF
5842 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5844 CC="$ac_save_CC $ac_arg"
5845 if ac_fn_c_try_compile "$LINENO"
5846 then :
5847 ac_cv_prog_cc_c89=$ac_arg
5849 rm -f core conftest.err conftest.$ac_objext conftest.beam
5850 test "x$ac_cv_prog_cc_c89" != "xno" && break
5851 done
5852 rm -f conftest.$ac_ext
5853 CC=$ac_save_CC
5856 if test "x$ac_cv_prog_cc_c89" = xno
5857 then :
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5859 printf "%s\n" "unsupported" >&6; }
5860 else $as_nop
5861 if test "x$ac_cv_prog_cc_c89" = x
5862 then :
5863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5864 printf "%s\n" "none needed" >&6; }
5865 else $as_nop
5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5867 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5868 CC="$CC $ac_cv_prog_cc_c89"
5870 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5871 ac_prog_cc_stdc=c89
5875 ac_ext=c
5876 ac_cpp='$CPP $CPPFLAGS'
5877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5887 ac_ext=cpp
5888 ac_cpp='$CXXCPP $CPPFLAGS'
5889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5892 if test -z "$CXX"; then
5893 if test -n "$CCC"; then
5894 CXX=$CCC
5895 else
5896 if test -n "$ac_tool_prefix"; then
5897 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 printf %s "checking for $ac_word... " >&6; }
5903 if test ${ac_cv_prog_CXX+y}
5904 then :
5905 printf %s "(cached) " >&6
5906 else $as_nop
5907 if test -n "$CXX"; then
5908 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 case $as_dir in #(((
5915 '') as_dir=./ ;;
5916 */) ;;
5917 *) as_dir=$as_dir/ ;;
5918 esac
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5923 break 2
5925 done
5926 done
5927 IFS=$as_save_IFS
5931 CXX=$ac_cv_prog_CXX
5932 if test -n "$CXX"; then
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5934 printf "%s\n" "$CXX" >&6; }
5935 else
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 printf "%s\n" "no" >&6; }
5941 test -n "$CXX" && break
5942 done
5944 if test -z "$CXX"; then
5945 ac_ct_CXX=$CXX
5946 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5948 # Extract the first word of "$ac_prog", so it can be a program name with args.
5949 set dummy $ac_prog; ac_word=$2
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 printf %s "checking for $ac_word... " >&6; }
5952 if test ${ac_cv_prog_ac_ct_CXX+y}
5953 then :
5954 printf %s "(cached) " >&6
5955 else $as_nop
5956 if test -n "$ac_ct_CXX"; then
5957 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5962 IFS=$as_save_IFS
5963 case $as_dir in #(((
5964 '') as_dir=./ ;;
5965 */) ;;
5966 *) as_dir=$as_dir/ ;;
5967 esac
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_ac_ct_CXX="$ac_prog"
5971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5981 if test -n "$ac_ct_CXX"; then
5982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5983 printf "%s\n" "$ac_ct_CXX" >&6; }
5984 else
5985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 printf "%s\n" "no" >&6; }
5990 test -n "$ac_ct_CXX" && break
5991 done
5993 if test "x$ac_ct_CXX" = x; then
5994 CXX="g++"
5995 else
5996 case $cross_compiling:$ac_tool_warned in
5997 yes:)
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5999 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6000 ac_tool_warned=yes ;;
6001 esac
6002 CXX=$ac_ct_CXX
6008 # Provide some information about the compiler.
6009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6010 set X $ac_compile
6011 ac_compiler=$2
6012 for ac_option in --version -v -V -qversion; do
6013 { { ac_try="$ac_compiler $ac_option >&5"
6014 case "(($ac_try" in
6015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016 *) ac_try_echo=$ac_try;;
6017 esac
6018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6019 printf "%s\n" "$ac_try_echo"; } >&5
6020 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6021 ac_status=$?
6022 if test -s conftest.err; then
6023 sed '10a\
6024 ... rest of stderr output deleted ...
6025 10q' conftest.err >conftest.er1
6026 cat conftest.er1 >&5
6028 rm -f conftest.er1 conftest.err
6029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6030 test $ac_status = 0; }
6031 done
6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6034 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6035 if test ${ac_cv_cxx_compiler_gnu+y}
6036 then :
6037 printf %s "(cached) " >&6
6038 else $as_nop
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6043 main (void)
6045 #ifndef __GNUC__
6046 choke me
6047 #endif
6050 return 0;
6052 _ACEOF
6053 if ac_fn_cxx_try_compile "$LINENO"
6054 then :
6055 ac_compiler_gnu=yes
6056 else $as_nop
6057 ac_compiler_gnu=no
6059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6060 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6064 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6067 if test $ac_compiler_gnu = yes; then
6068 GXX=yes
6069 else
6070 GXX=
6072 ac_test_CXXFLAGS=${CXXFLAGS+y}
6073 ac_save_CXXFLAGS=$CXXFLAGS
6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6075 printf %s "checking whether $CXX accepts -g... " >&6; }
6076 if test ${ac_cv_prog_cxx_g+y}
6077 then :
6078 printf %s "(cached) " >&6
6079 else $as_nop
6080 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6081 ac_cxx_werror_flag=yes
6082 ac_cv_prog_cxx_g=no
6083 CXXFLAGS="-g"
6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6088 main (void)
6092 return 0;
6094 _ACEOF
6095 if ac_fn_cxx_try_compile "$LINENO"
6096 then :
6097 ac_cv_prog_cxx_g=yes
6098 else $as_nop
6099 CXXFLAGS=""
6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6104 main (void)
6108 return 0;
6110 _ACEOF
6111 if ac_fn_cxx_try_compile "$LINENO"
6112 then :
6114 else $as_nop
6115 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6116 CXXFLAGS="-g"
6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6121 main (void)
6125 return 0;
6127 _ACEOF
6128 if ac_fn_cxx_try_compile "$LINENO"
6129 then :
6130 ac_cv_prog_cxx_g=yes
6132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6137 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6140 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6141 if test $ac_test_CXXFLAGS; then
6142 CXXFLAGS=$ac_save_CXXFLAGS
6143 elif test $ac_cv_prog_cxx_g = yes; then
6144 if test "$GXX" = yes; then
6145 CXXFLAGS="-g -O2"
6146 else
6147 CXXFLAGS="-g"
6149 else
6150 if test "$GXX" = yes; then
6151 CXXFLAGS="-O2"
6152 else
6153 CXXFLAGS=
6156 ac_prog_cxx_stdcxx=no
6157 if test x$ac_prog_cxx_stdcxx = xno
6158 then :
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6160 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6161 if test ${ac_cv_prog_cxx_11+y}
6162 then :
6163 printf %s "(cached) " >&6
6164 else $as_nop
6165 ac_cv_prog_cxx_11=no
6166 ac_save_CXX=$CXX
6167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6169 $ac_cxx_conftest_cxx11_program
6170 _ACEOF
6171 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6173 CXX="$ac_save_CXX $ac_arg"
6174 if ac_fn_cxx_try_compile "$LINENO"
6175 then :
6176 ac_cv_prog_cxx_cxx11=$ac_arg
6178 rm -f core conftest.err conftest.$ac_objext conftest.beam
6179 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6180 done
6181 rm -f conftest.$ac_ext
6182 CXX=$ac_save_CXX
6185 if test "x$ac_cv_prog_cxx_cxx11" = xno
6186 then :
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6188 printf "%s\n" "unsupported" >&6; }
6189 else $as_nop
6190 if test "x$ac_cv_prog_cxx_cxx11" = x
6191 then :
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6193 printf "%s\n" "none needed" >&6; }
6194 else $as_nop
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6196 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6197 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6199 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6200 ac_prog_cxx_stdcxx=cxx11
6203 if test x$ac_prog_cxx_stdcxx = xno
6204 then :
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6206 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6207 if test ${ac_cv_prog_cxx_98+y}
6208 then :
6209 printf %s "(cached) " >&6
6210 else $as_nop
6211 ac_cv_prog_cxx_98=no
6212 ac_save_CXX=$CXX
6213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h. */
6215 $ac_cxx_conftest_cxx98_program
6216 _ACEOF
6217 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6219 CXX="$ac_save_CXX $ac_arg"
6220 if ac_fn_cxx_try_compile "$LINENO"
6221 then :
6222 ac_cv_prog_cxx_cxx98=$ac_arg
6224 rm -f core conftest.err conftest.$ac_objext conftest.beam
6225 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6226 done
6227 rm -f conftest.$ac_ext
6228 CXX=$ac_save_CXX
6231 if test "x$ac_cv_prog_cxx_cxx98" = xno
6232 then :
6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6234 printf "%s\n" "unsupported" >&6; }
6235 else $as_nop
6236 if test "x$ac_cv_prog_cxx_cxx98" = x
6237 then :
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6239 printf "%s\n" "none needed" >&6; }
6240 else $as_nop
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6242 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6243 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6245 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6246 ac_prog_cxx_stdcxx=cxx98
6250 ac_ext=c
6251 ac_cpp='$CPP $CPPFLAGS'
6252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6256 if test -n "$ac_tool_prefix"; then
6257 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6258 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 printf %s "checking for $ac_word... " >&6; }
6261 if test ${ac_cv_prog_CPPBIN+y}
6262 then :
6263 printf %s "(cached) " >&6
6264 else $as_nop
6265 if test -n "$CPPBIN"; then
6266 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6271 IFS=$as_save_IFS
6272 case $as_dir in #(((
6273 '') as_dir=./ ;;
6274 */) ;;
6275 *) as_dir=$as_dir/ ;;
6276 esac
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6279 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6281 break 2
6283 done
6284 done
6285 IFS=$as_save_IFS
6289 CPPBIN=$ac_cv_prog_CPPBIN
6290 if test -n "$CPPBIN"; then
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6292 printf "%s\n" "$CPPBIN" >&6; }
6293 else
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 printf "%s\n" "no" >&6; }
6300 if test -z "$ac_cv_prog_CPPBIN"; then
6301 ac_ct_CPPBIN=$CPPBIN
6302 # Extract the first word of "cpp", so it can be a program name with args.
6303 set dummy cpp; ac_word=$2
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6305 printf %s "checking for $ac_word... " >&6; }
6306 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6307 then :
6308 printf %s "(cached) " >&6
6309 else $as_nop
6310 if test -n "$ac_ct_CPPBIN"; then
6311 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6312 else
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 for as_dir in $PATH
6316 IFS=$as_save_IFS
6317 case $as_dir in #(((
6318 '') as_dir=./ ;;
6319 */) ;;
6320 *) as_dir=$as_dir/ ;;
6321 esac
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_ac_ct_CPPBIN="cpp"
6325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6326 break 2
6328 done
6329 done
6330 IFS=$as_save_IFS
6334 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6335 if test -n "$ac_ct_CPPBIN"; then
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6337 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6338 else
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 printf "%s\n" "no" >&6; }
6343 if test "x$ac_ct_CPPBIN" = x; then
6344 CPPBIN="cpp"
6345 else
6346 case $cross_compiling:$ac_tool_warned in
6347 yes:)
6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6349 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6350 ac_tool_warned=yes ;;
6351 esac
6352 CPPBIN=$ac_ct_CPPBIN
6354 else
6355 CPPBIN="$ac_cv_prog_CPPBIN"
6359 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6361 if test -n "$ac_tool_prefix"; then
6362 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6363 set dummy ${ac_tool_prefix}ld; ac_word=$2
6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 printf %s "checking for $ac_word... " >&6; }
6366 if test ${ac_cv_prog_LD+y}
6367 then :
6368 printf %s "(cached) " >&6
6369 else $as_nop
6370 if test -n "$LD"; then
6371 ac_cv_prog_LD="$LD" # Let the user override the test.
6372 else
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 for as_dir in $PATH
6376 IFS=$as_save_IFS
6377 case $as_dir in #(((
6378 '') as_dir=./ ;;
6379 */) ;;
6380 *) as_dir=$as_dir/ ;;
6381 esac
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6384 ac_cv_prog_LD="${ac_tool_prefix}ld"
6385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6386 break 2
6388 done
6389 done
6390 IFS=$as_save_IFS
6394 LD=$ac_cv_prog_LD
6395 if test -n "$LD"; then
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6397 printf "%s\n" "$LD" >&6; }
6398 else
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 printf "%s\n" "no" >&6; }
6405 if test -z "$ac_cv_prog_LD"; then
6406 ac_ct_LD=$LD
6407 # Extract the first word of "ld", so it can be a program name with args.
6408 set dummy ld; ac_word=$2
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6410 printf %s "checking for $ac_word... " >&6; }
6411 if test ${ac_cv_prog_ac_ct_LD+y}
6412 then :
6413 printf %s "(cached) " >&6
6414 else $as_nop
6415 if test -n "$ac_ct_LD"; then
6416 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 case $as_dir in #(((
6423 '') as_dir=./ ;;
6424 */) ;;
6425 *) as_dir=$as_dir/ ;;
6426 esac
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6429 ac_cv_prog_ac_ct_LD="ld"
6430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6431 break 2
6433 done
6434 done
6435 IFS=$as_save_IFS
6439 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6440 if test -n "$ac_ct_LD"; then
6441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6442 printf "%s\n" "$ac_ct_LD" >&6; }
6443 else
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 printf "%s\n" "no" >&6; }
6448 if test "x$ac_ct_LD" = x; then
6449 LD=""
6450 else
6451 case $cross_compiling:$ac_tool_warned in
6452 yes:)
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6456 esac
6457 LD=$ac_ct_LD
6459 else
6460 LD="$ac_cv_prog_LD"
6464 case $host in
6465 *-darwin*)
6466 with_fontconfig=${with_fontconfig:-no}
6468 *-mingw32*|*-cygwin*)
6469 enable_win16=${enable_win16:-no}
6470 with_mingw=${with_mingw:-no}
6472 esac
6475 case $host in
6476 x86_64*|amd64*)
6477 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6478 then
6479 CC="$CC -m32"
6480 CXX="$CXX -m32"
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6483 printf %s "checking whether $CC works... " >&6; }
6484 if test ${wine_cv_cc_m32+y}
6485 then :
6486 printf %s "(cached) " >&6
6487 else $as_nop
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6492 main (void)
6496 return 0;
6498 _ACEOF
6499 if ac_fn_c_try_link "$LINENO"
6500 then :
6501 wine_cv_cc_m32=yes
6502 else $as_nop
6503 wine_cv_cc_m32=no
6505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6506 conftest$ac_exeext conftest.$ac_ext
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6509 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6510 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
6511 host_cpu="i386"
6512 notice_platform="32-bit "
6513 TARGETFLAGS="$TARGETFLAGS -m32"
6514 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6515 export PKG_CONFIG_PATH
6516 enable_win16=${enable_win16:-yes}
6517 with_unwind=${with_unwind:-no}
6518 else
6519 if test "x${GCC}" = "xyes"
6520 then
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6522 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6523 if test ${wine_cv_builtin_ms_va_list+y}
6524 then :
6525 printf %s "(cached) " >&6
6526 else $as_nop
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 /* end confdefs.h. */
6529 #include <stdarg.h>
6531 main (void)
6533 void func(__builtin_ms_va_list *args);
6535 return 0;
6537 _ACEOF
6538 if ac_fn_c_try_compile "$LINENO"
6539 then :
6540 wine_cv_builtin_ms_va_list=yes
6541 else $as_nop
6542 wine_cv_builtin_ms_va_list=no
6544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6547 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6548 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6550 CC="$CC -m64"
6551 CXX="$CXX -m64"
6552 host_cpu="x86_64"
6553 notice_platform="64-bit "
6554 TARGETFLAGS="$TARGETFLAGS -m64"
6555 enable_wow64=${enable_wow64:-yes}
6556 enable_wow64win=${enable_wow64win:-yes}
6557 enable_wow64cpu=${enable_wow64cpu:-yes}
6560 arm*)
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6562 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6563 if test ${wine_cv_thumb2+y}
6564 then :
6565 printf %s "(cached) " >&6
6566 else $as_nop
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6571 main (void)
6573 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6575 return 0;
6577 _ACEOF
6578 if ac_fn_c_try_link "$LINENO"
6579 then :
6580 wine_cv_thumb2=yes
6581 else $as_nop
6582 wine_cv_thumb2=no
6584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6585 conftest$ac_exeext conftest.$ac_ext
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6588 printf "%s\n" "$wine_cv_thumb2" >&6; }
6589 if test x"$wine_cv_thumb2" = xyes
6590 then
6591 CFLAGS="$CFLAGS -mthumb"
6592 TARGETFLAGS="$TARGETFLAGS -mthumb"
6593 else
6594 CFLAGS="$CFLAGS -marm"
6595 TARGETFLAGS="$TARGETFLAGS -marm"
6597 case $with_float_abi in
6598 soft|softfp|hard)
6599 float_abi=$with_float_abi ;;
6601 case $host_os in
6602 *eabihf)
6603 float_abi=hard ;;
6605 float_abi=softfp
6606 saved_CFLAGS=$CFLAGS
6607 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6609 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6610 if test ${wine_cv_float_abi+y}
6611 then :
6612 printf %s "(cached) " >&6
6613 else $as_nop
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6618 main (void)
6620 asm("vmrs r2,fpscr");
6622 return 0;
6624 _ACEOF
6625 if ac_fn_c_try_link "$LINENO"
6626 then :
6627 wine_cv_float_abi=yes
6628 else $as_nop
6629 wine_cv_float_abi=no
6631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6632 conftest$ac_exeext conftest.$ac_ext
6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6635 printf "%s\n" "$wine_cv_float_abi" >&6; }
6636 if test $wine_cv_float_abi = no
6637 then
6638 float_abi=soft
6639 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6641 CFLAGS=$saved_CFLAGS
6642 esac
6644 esac
6645 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6646 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6648 aarch64*)
6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6650 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6651 if test ${wine_cv_builtin_ms_va_list+y}
6652 then :
6653 printf %s "(cached) " >&6
6654 else $as_nop
6655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6657 #include <stdarg.h>
6659 main (void)
6661 void func(__builtin_ms_va_list *args);
6663 return 0;
6665 _ACEOF
6666 if ac_fn_c_try_compile "$LINENO"
6667 then :
6668 wine_cv_builtin_ms_va_list=yes
6669 else $as_nop
6670 wine_cv_builtin_ms_va_list=no
6672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6675 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6676 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6677 enable_wow64=${enable_wow64:-yes}
6678 enable_wow64win=${enable_wow64win:-yes}
6680 i[3456789]86*)
6681 enable_win16=${enable_win16:-yes}
6682 with_unwind=${with_unwind:-no}
6684 esac
6686 enable_win16=${enable_win16:-no}
6687 enable_win64=${enable_win64:-no}
6688 enable_wow64=${enable_wow64:-no}
6689 enable_wow64win=${enable_wow64win:-no}
6690 enable_wow64cpu=${enable_wow64cpu:-no}
6692 enable_winetest=${enable_winetest:-$enable_tests}
6694 if test "x$enable_win64" = "xyes"
6695 then
6696 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6697 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6700 case $build_os in
6701 cygwin*|mingw32*) toolsext=".exe"
6703 *) toolsext=""
6705 esac
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6708 printf %s "checking for the directory containing the Wine tools... " >&6; }
6709 if test ${wine_cv_toolsdir+y}
6710 then :
6711 printf %s "(cached) " >&6
6712 else $as_nop
6713 wine_cv_toolsdir="$with_wine_tools"
6714 if test -z "$with_wine_tools"; then
6715 if test "$cross_compiling" = "yes"; then
6716 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6717 elif test -n "$with_wine64"; then
6718 wine_cv_toolsdir="$with_wine64"
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6723 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6724 if test -z "$wine_cv_toolsdir"; then
6725 wine_makedep=tools/makedep$toolsext
6726 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6727 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6728 enable_tools=${enable_tools:-no}
6729 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6730 else
6731 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6733 toolsdir=$wine_cv_toolsdir
6735 MAKEDEP=$wine_makedep
6737 RUNTESTFLAGS="-q -P wine"
6739 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'"
6741 api_manext=3w
6744 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6745 then
6746 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6749 for ac_prog in flex
6751 # Extract the first word of "$ac_prog", so it can be a program name with args.
6752 set dummy $ac_prog; ac_word=$2
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 printf %s "checking for $ac_word... " >&6; }
6755 if test ${ac_cv_prog_FLEX+y}
6756 then :
6757 printf %s "(cached) " >&6
6758 else $as_nop
6759 if test -n "$FLEX"; then
6760 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6761 else
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $PATH
6765 IFS=$as_save_IFS
6766 case $as_dir in #(((
6767 '') as_dir=./ ;;
6768 */) ;;
6769 *) as_dir=$as_dir/ ;;
6770 esac
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_FLEX="$ac_prog"
6774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 FLEX=$ac_cv_prog_FLEX
6784 if test -n "$FLEX"; then
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6786 printf "%s\n" "$FLEX" >&6; }
6787 else
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 printf "%s\n" "no" >&6; }
6793 test -n "$FLEX" && break
6794 done
6795 test -n "$FLEX" || FLEX="none"
6797 if test "$FLEX" = "none"
6798 then
6799 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6802 printf %s "checking whether flex is recent enough... " >&6; }
6803 if test ${wine_cv_recent_flex+y}
6804 then :
6805 printf %s "(cached) " >&6
6806 else $as_nop
6807 cat >conftest.l <<EOF
6808 %top{
6809 #include "prediluvian.h"
6813 if $FLEX -t conftest.l >/dev/null 2>&5
6814 then
6815 wine_cv_recent_flex=yes
6816 else
6817 wine_cv_recent_flex=no
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6821 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6822 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
6824 for ac_prog in bison
6826 # Extract the first word of "$ac_prog", so it can be a program name with args.
6827 set dummy $ac_prog; ac_word=$2
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 printf %s "checking for $ac_word... " >&6; }
6830 if test ${ac_cv_prog_BISON+y}
6831 then :
6832 printf %s "(cached) " >&6
6833 else $as_nop
6834 if test -n "$BISON"; then
6835 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6836 else
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 for as_dir in $PATH
6840 IFS=$as_save_IFS
6841 case $as_dir in #(((
6842 '') as_dir=./ ;;
6843 */) ;;
6844 *) as_dir=$as_dir/ ;;
6845 esac
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_BISON="$ac_prog"
6849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6850 break 2
6852 done
6853 done
6854 IFS=$as_save_IFS
6858 BISON=$ac_cv_prog_BISON
6859 if test -n "$BISON"; then
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6861 printf "%s\n" "$BISON" >&6; }
6862 else
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 printf "%s\n" "no" >&6; }
6868 test -n "$BISON" && break
6869 done
6870 test -n "$BISON" || BISON="none"
6872 if test "$BISON" = "none"
6873 then
6874 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6877 printf %s "checking whether bison is recent enough... " >&6; }
6878 if test ${wine_cv_recent_bison+y}
6879 then :
6880 printf %s "(cached) " >&6
6881 else $as_nop
6882 cat >conftest.y <<EOF
6883 %define parse.error verbose
6885 empty: ;
6887 if $BISON conftest.y >/dev/null 2>&5
6888 then
6889 wine_cv_recent_bison=yes
6890 else
6891 wine_cv_recent_bison=no
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6895 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6896 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
6898 if test -n "$ac_tool_prefix"; then
6899 for ac_prog in ar gar
6901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904 printf %s "checking for $ac_word... " >&6; }
6905 if test ${ac_cv_prog_AR+y}
6906 then :
6907 printf %s "(cached) " >&6
6908 else $as_nop
6909 if test -n "$AR"; then
6910 ac_cv_prog_AR="$AR" # Let the user override the test.
6911 else
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 for as_dir in $PATH
6915 IFS=$as_save_IFS
6916 case $as_dir in #(((
6917 '') as_dir=./ ;;
6918 */) ;;
6919 *) as_dir=$as_dir/ ;;
6920 esac
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6923 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6925 break 2
6927 done
6928 done
6929 IFS=$as_save_IFS
6933 AR=$ac_cv_prog_AR
6934 if test -n "$AR"; then
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6936 printf "%s\n" "$AR" >&6; }
6937 else
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 printf "%s\n" "no" >&6; }
6943 test -n "$AR" && break
6944 done
6946 if test -z "$AR"; then
6947 ac_ct_AR=$AR
6948 for ac_prog in ar gar
6950 # Extract the first word of "$ac_prog", so it can be a program name with args.
6951 set dummy $ac_prog; ac_word=$2
6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953 printf %s "checking for $ac_word... " >&6; }
6954 if test ${ac_cv_prog_ac_ct_AR+y}
6955 then :
6956 printf %s "(cached) " >&6
6957 else $as_nop
6958 if test -n "$ac_ct_AR"; then
6959 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6960 else
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 for as_dir in $PATH
6964 IFS=$as_save_IFS
6965 case $as_dir in #(((
6966 '') as_dir=./ ;;
6967 */) ;;
6968 *) as_dir=$as_dir/ ;;
6969 esac
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6972 ac_cv_prog_ac_ct_AR="$ac_prog"
6973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6974 break 2
6976 done
6977 done
6978 IFS=$as_save_IFS
6982 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6983 if test -n "$ac_ct_AR"; then
6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6985 printf "%s\n" "$ac_ct_AR" >&6; }
6986 else
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 printf "%s\n" "no" >&6; }
6992 test -n "$ac_ct_AR" && break
6993 done
6995 if test "x$ac_ct_AR" = x; then
6996 AR="ar"
6997 else
6998 case $cross_compiling:$ac_tool_warned in
6999 yes:)
7000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7001 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7002 ac_tool_warned=yes ;;
7003 esac
7004 AR=$ac_ct_AR
7008 if test -n "$ac_tool_prefix"; then
7009 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7010 set dummy ${ac_tool_prefix}strip; ac_word=$2
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7012 printf %s "checking for $ac_word... " >&6; }
7013 if test ${ac_cv_prog_STRIP+y}
7014 then :
7015 printf %s "(cached) " >&6
7016 else $as_nop
7017 if test -n "$STRIP"; then
7018 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7019 else
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 for as_dir in $PATH
7023 IFS=$as_save_IFS
7024 case $as_dir in #(((
7025 '') as_dir=./ ;;
7026 */) ;;
7027 *) as_dir=$as_dir/ ;;
7028 esac
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7031 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7033 break 2
7035 done
7036 done
7037 IFS=$as_save_IFS
7041 STRIP=$ac_cv_prog_STRIP
7042 if test -n "$STRIP"; then
7043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7044 printf "%s\n" "$STRIP" >&6; }
7045 else
7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 printf "%s\n" "no" >&6; }
7052 if test -z "$ac_cv_prog_STRIP"; then
7053 ac_ct_STRIP=$STRIP
7054 # Extract the first word of "strip", so it can be a program name with args.
7055 set dummy strip; ac_word=$2
7056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 printf %s "checking for $ac_word... " >&6; }
7058 if test ${ac_cv_prog_ac_ct_STRIP+y}
7059 then :
7060 printf %s "(cached) " >&6
7061 else $as_nop
7062 if test -n "$ac_ct_STRIP"; then
7063 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7064 else
7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 for as_dir in $PATH
7068 IFS=$as_save_IFS
7069 case $as_dir in #(((
7070 '') as_dir=./ ;;
7071 */) ;;
7072 *) as_dir=$as_dir/ ;;
7073 esac
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7076 ac_cv_prog_ac_ct_STRIP="strip"
7077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7078 break 2
7080 done
7081 done
7082 IFS=$as_save_IFS
7086 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7087 if test -n "$ac_ct_STRIP"; then
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7089 printf "%s\n" "$ac_ct_STRIP" >&6; }
7090 else
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 printf "%s\n" "no" >&6; }
7095 if test "x$ac_ct_STRIP" = x; then
7096 STRIP="strip"
7097 else
7098 case $cross_compiling:$ac_tool_warned in
7099 yes:)
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7101 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7102 ac_tool_warned=yes ;;
7103 esac
7104 STRIP=$ac_ct_STRIP
7106 else
7107 STRIP="$ac_cv_prog_STRIP"
7110 if test -n "$ac_tool_prefix"; then
7111 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7112 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 printf %s "checking for $ac_word... " >&6; }
7115 if test ${ac_cv_prog_RANLIB+y}
7116 then :
7117 printf %s "(cached) " >&6
7118 else $as_nop
7119 if test -n "$RANLIB"; then
7120 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7121 else
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 for as_dir in $PATH
7125 IFS=$as_save_IFS
7126 case $as_dir in #(((
7127 '') as_dir=./ ;;
7128 */) ;;
7129 *) as_dir=$as_dir/ ;;
7130 esac
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7135 break 2
7137 done
7138 done
7139 IFS=$as_save_IFS
7143 RANLIB=$ac_cv_prog_RANLIB
7144 if test -n "$RANLIB"; then
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7146 printf "%s\n" "$RANLIB" >&6; }
7147 else
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 printf "%s\n" "no" >&6; }
7154 if test -z "$ac_cv_prog_RANLIB"; then
7155 ac_ct_RANLIB=$RANLIB
7156 # Extract the first word of "ranlib", so it can be a program name with args.
7157 set dummy ranlib; ac_word=$2
7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 printf %s "checking for $ac_word... " >&6; }
7160 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7161 then :
7162 printf %s "(cached) " >&6
7163 else $as_nop
7164 if test -n "$ac_ct_RANLIB"; then
7165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7166 else
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 for as_dir in $PATH
7170 IFS=$as_save_IFS
7171 case $as_dir in #(((
7172 '') as_dir=./ ;;
7173 */) ;;
7174 *) as_dir=$as_dir/ ;;
7175 esac
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7178 ac_cv_prog_ac_ct_RANLIB="ranlib"
7179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7180 break 2
7182 done
7183 done
7184 IFS=$as_save_IFS
7188 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7189 if test -n "$ac_ct_RANLIB"; then
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7191 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7192 else
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 printf "%s\n" "no" >&6; }
7197 if test "x$ac_ct_RANLIB" = x; then
7198 RANLIB=":"
7199 else
7200 case $cross_compiling:$ac_tool_warned in
7201 yes:)
7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7203 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7204 ac_tool_warned=yes ;;
7205 esac
7206 RANLIB=$ac_ct_RANLIB
7208 else
7209 RANLIB="$ac_cv_prog_RANLIB"
7212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7213 printf %s "checking whether ln -s works... " >&6; }
7214 LN_S=$as_ln_s
7215 if test "$LN_S" = "ln -s"; then
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7217 printf "%s\n" "yes" >&6; }
7218 else
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7220 printf "%s\n" "no, using $LN_S" >&6; }
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7224 printf %s "checking for grep that handles long lines and -e... " >&6; }
7225 if test ${ac_cv_path_GREP+y}
7226 then :
7227 printf %s "(cached) " >&6
7228 else $as_nop
7229 if test -z "$GREP"; then
7230 ac_path_GREP_found=false
7231 # Loop through the user's path and test for each of PROGNAME-LIST
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7235 IFS=$as_save_IFS
7236 case $as_dir in #(((
7237 '') as_dir=./ ;;
7238 */) ;;
7239 *) as_dir=$as_dir/ ;;
7240 esac
7241 for ac_prog in grep ggrep
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7245 as_fn_executable_p "$ac_path_GREP" || continue
7246 # Check for GNU ac_path_GREP and select it if it is found.
7247 # Check for GNU $ac_path_GREP
7248 case `"$ac_path_GREP" --version 2>&1` in
7249 *GNU*)
7250 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7252 ac_count=0
7253 printf %s 0123456789 >"conftest.in"
7254 while :
7256 cat "conftest.in" "conftest.in" >"conftest.tmp"
7257 mv "conftest.tmp" "conftest.in"
7258 cp "conftest.in" "conftest.nl"
7259 printf "%s\n" 'GREP' >> "conftest.nl"
7260 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7261 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7262 as_fn_arith $ac_count + 1 && ac_count=$as_val
7263 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7264 # Best one so far, save it but keep looking for a better one
7265 ac_cv_path_GREP="$ac_path_GREP"
7266 ac_path_GREP_max=$ac_count
7268 # 10*(2^10) chars as input seems more than enough
7269 test $ac_count -gt 10 && break
7270 done
7271 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7272 esac
7274 $ac_path_GREP_found && break 3
7275 done
7276 done
7277 done
7278 IFS=$as_save_IFS
7279 if test -z "$ac_cv_path_GREP"; then
7280 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7282 else
7283 ac_cv_path_GREP=$GREP
7287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7288 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7289 GREP="$ac_cv_path_GREP"
7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7293 printf %s "checking for egrep... " >&6; }
7294 if test ${ac_cv_path_EGREP+y}
7295 then :
7296 printf %s "(cached) " >&6
7297 else $as_nop
7298 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7299 then ac_cv_path_EGREP="$GREP -E"
7300 else
7301 if test -z "$EGREP"; then
7302 ac_path_EGREP_found=false
7303 # Loop through the user's path and test for each of PROGNAME-LIST
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7307 IFS=$as_save_IFS
7308 case $as_dir in #(((
7309 '') as_dir=./ ;;
7310 */) ;;
7311 *) as_dir=$as_dir/ ;;
7312 esac
7313 for ac_prog in egrep
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7317 as_fn_executable_p "$ac_path_EGREP" || continue
7318 # Check for GNU ac_path_EGREP and select it if it is found.
7319 # Check for GNU $ac_path_EGREP
7320 case `"$ac_path_EGREP" --version 2>&1` in
7321 *GNU*)
7322 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7324 ac_count=0
7325 printf %s 0123456789 >"conftest.in"
7326 while :
7328 cat "conftest.in" "conftest.in" >"conftest.tmp"
7329 mv "conftest.tmp" "conftest.in"
7330 cp "conftest.in" "conftest.nl"
7331 printf "%s\n" 'EGREP' >> "conftest.nl"
7332 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7334 as_fn_arith $ac_count + 1 && ac_count=$as_val
7335 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7336 # Best one so far, save it but keep looking for a better one
7337 ac_cv_path_EGREP="$ac_path_EGREP"
7338 ac_path_EGREP_max=$ac_count
7340 # 10*(2^10) chars as input seems more than enough
7341 test $ac_count -gt 10 && break
7342 done
7343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7344 esac
7346 $ac_path_EGREP_found && break 3
7347 done
7348 done
7349 done
7350 IFS=$as_save_IFS
7351 if test -z "$ac_cv_path_EGREP"; then
7352 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7354 else
7355 ac_cv_path_EGREP=$EGREP
7360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7361 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7362 EGREP="$ac_cv_path_EGREP"
7365 # Extract the first word of "ldconfig", so it can be a program name with args.
7366 set dummy ldconfig; ac_word=$2
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 printf %s "checking for $ac_word... " >&6; }
7369 if test ${ac_cv_path_LDCONFIG+y}
7370 then :
7371 printf %s "(cached) " >&6
7372 else $as_nop
7373 case $LDCONFIG in
7374 [\\/]* | ?:[\\/]*)
7375 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 for as_dir in /sbin /usr/sbin $PATH
7381 IFS=$as_save_IFS
7382 case $as_dir in #(((
7383 '') as_dir=./ ;;
7384 */) ;;
7385 *) as_dir=$as_dir/ ;;
7386 esac
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7389 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7391 break 2
7393 done
7394 done
7395 IFS=$as_save_IFS
7397 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7399 esac
7401 LDCONFIG=$ac_cv_path_LDCONFIG
7402 if test -n "$LDCONFIG"; then
7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7404 printf "%s\n" "$LDCONFIG" >&6; }
7405 else
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 printf "%s\n" "no" >&6; }
7411 for ac_prog in msgfmt
7413 # Extract the first word of "$ac_prog", so it can be a program name with args.
7414 set dummy $ac_prog; ac_word=$2
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 printf %s "checking for $ac_word... " >&6; }
7417 if test ${ac_cv_prog_MSGFMT+y}
7418 then :
7419 printf %s "(cached) " >&6
7420 else $as_nop
7421 if test -n "$MSGFMT"; then
7422 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 case $as_dir in #(((
7429 '') as_dir=./ ;;
7430 */) ;;
7431 *) as_dir=$as_dir/ ;;
7432 esac
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_MSGFMT="$ac_prog"
7436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7437 break 2
7439 done
7440 done
7441 IFS=$as_save_IFS
7445 MSGFMT=$ac_cv_prog_MSGFMT
7446 if test -n "$MSGFMT"; then
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7448 printf "%s\n" "$MSGFMT" >&6; }
7449 else
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 printf "%s\n" "no" >&6; }
7455 test -n "$MSGFMT" && break
7456 done
7457 test -n "$MSGFMT" || MSGFMT="false"
7459 if test ${ac_tool_prefix+y}
7460 then :
7461 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7462 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464 printf %s "checking for $ac_word... " >&6; }
7465 if test ${ac_cv_prog_PKG_CONFIG+y}
7466 then :
7467 printf %s "(cached) " >&6
7468 else $as_nop
7469 if test -n "$PKG_CONFIG"; then
7470 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7471 else
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 for as_dir in $PATH
7475 IFS=$as_save_IFS
7476 case $as_dir in #(((
7477 '') as_dir=./ ;;
7478 */) ;;
7479 *) as_dir=$as_dir/ ;;
7480 esac
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7483 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7485 break 2
7487 done
7488 done
7489 IFS=$as_save_IFS
7493 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7494 if test -n "$PKG_CONFIG"; then
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7496 printf "%s\n" "$PKG_CONFIG" >&6; }
7497 else
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 printf "%s\n" "no" >&6; }
7504 if ${ac_cv_prog_PKG_CONFIG:+false} :
7505 then :
7506 if test "x$cross_compiling" = xyes
7507 then :
7509 else $as_nop
7510 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7511 # Extract the first word of "pkg-config", so it can be a program name with args.
7512 set dummy pkg-config; ac_word=$2
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 printf %s "checking for $ac_word... " >&6; }
7515 if test ${ac_cv_prog_PKG_CONFIG+y}
7516 then :
7517 printf %s "(cached) " >&6
7518 else $as_nop
7519 if test -n "$PKG_CONFIG"; then
7520 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7521 else
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523 for as_dir in $PATH
7525 IFS=$as_save_IFS
7526 case $as_dir in #(((
7527 '') as_dir=./ ;;
7528 */) ;;
7529 *) as_dir=$as_dir/ ;;
7530 esac
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7533 ac_cv_prog_PKG_CONFIG="pkg-config"
7534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7535 break 2
7537 done
7538 done
7539 IFS=$as_save_IFS
7543 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7544 if test -n "$PKG_CONFIG"; then
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7546 printf "%s\n" "$PKG_CONFIG" >&6; }
7547 else
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 printf "%s\n" "no" >&6; }
7554 else $as_nop
7555 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7558 if test "x$enable_maintainer_mode" != "xyes"
7559 then
7560 FONTFORGE=""
7561 RSVG=""
7562 CONVERT=""
7563 ICOTOOL=""
7564 else
7565 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7566 for ac_prog in fontforge
7568 # Extract the first word of "$ac_prog", so it can be a program name with args.
7569 set dummy $ac_prog; ac_word=$2
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 printf %s "checking for $ac_word... " >&6; }
7572 if test ${ac_cv_prog_FONTFORGE+y}
7573 then :
7574 printf %s "(cached) " >&6
7575 else $as_nop
7576 if test -n "$FONTFORGE"; then
7577 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7578 else
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 for as_dir in $PATH
7582 IFS=$as_save_IFS
7583 case $as_dir in #(((
7584 '') as_dir=./ ;;
7585 */) ;;
7586 *) as_dir=$as_dir/ ;;
7587 esac
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7590 ac_cv_prog_FONTFORGE="$ac_prog"
7591 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7592 break 2
7594 done
7595 done
7596 IFS=$as_save_IFS
7600 FONTFORGE=$ac_cv_prog_FONTFORGE
7601 if test -n "$FONTFORGE"; then
7602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7603 printf "%s\n" "$FONTFORGE" >&6; }
7604 else
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 printf "%s\n" "no" >&6; }
7610 test -n "$FONTFORGE" && break
7611 done
7612 test -n "$FONTFORGE" || FONTFORGE="false"
7614 for ac_prog in rsvg-convert rsvg
7616 # Extract the first word of "$ac_prog", so it can be a program name with args.
7617 set dummy $ac_prog; ac_word=$2
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619 printf %s "checking for $ac_word... " >&6; }
7620 if test ${ac_cv_prog_RSVG+y}
7621 then :
7622 printf %s "(cached) " >&6
7623 else $as_nop
7624 if test -n "$RSVG"; then
7625 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7626 else
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 for as_dir in $PATH
7630 IFS=$as_save_IFS
7631 case $as_dir in #(((
7632 '') as_dir=./ ;;
7633 */) ;;
7634 *) as_dir=$as_dir/ ;;
7635 esac
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7638 ac_cv_prog_RSVG="$ac_prog"
7639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7640 break 2
7642 done
7643 done
7644 IFS=$as_save_IFS
7648 RSVG=$ac_cv_prog_RSVG
7649 if test -n "$RSVG"; then
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7651 printf "%s\n" "$RSVG" >&6; }
7652 else
7653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 printf "%s\n" "no" >&6; }
7658 test -n "$RSVG" && break
7659 done
7660 test -n "$RSVG" || RSVG="false"
7662 for ac_prog in convert
7664 # Extract the first word of "$ac_prog", so it can be a program name with args.
7665 set dummy $ac_prog; ac_word=$2
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667 printf %s "checking for $ac_word... " >&6; }
7668 if test ${ac_cv_prog_CONVERT+y}
7669 then :
7670 printf %s "(cached) " >&6
7671 else $as_nop
7672 if test -n "$CONVERT"; then
7673 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7678 IFS=$as_save_IFS
7679 case $as_dir in #(((
7680 '') as_dir=./ ;;
7681 */) ;;
7682 *) as_dir=$as_dir/ ;;
7683 esac
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7686 ac_cv_prog_CONVERT="$ac_prog"
7687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7688 break 2
7690 done
7691 done
7692 IFS=$as_save_IFS
7696 CONVERT=$ac_cv_prog_CONVERT
7697 if test -n "$CONVERT"; then
7698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7699 printf "%s\n" "$CONVERT" >&6; }
7700 else
7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7702 printf "%s\n" "no" >&6; }
7706 test -n "$CONVERT" && break
7707 done
7708 test -n "$CONVERT" || CONVERT="false"
7710 for ac_prog in icotool
7712 # Extract the first word of "$ac_prog", so it can be a program name with args.
7713 set dummy $ac_prog; ac_word=$2
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7715 printf %s "checking for $ac_word... " >&6; }
7716 if test ${ac_cv_prog_ICOTOOL+y}
7717 then :
7718 printf %s "(cached) " >&6
7719 else $as_nop
7720 if test -n "$ICOTOOL"; then
7721 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7722 else
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 for as_dir in $PATH
7726 IFS=$as_save_IFS
7727 case $as_dir in #(((
7728 '') as_dir=./ ;;
7729 */) ;;
7730 *) as_dir=$as_dir/ ;;
7731 esac
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_ICOTOOL="$ac_prog"
7735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7736 break 2
7738 done
7739 done
7740 IFS=$as_save_IFS
7744 ICOTOOL=$ac_cv_prog_ICOTOOL
7745 if test -n "$ICOTOOL"; then
7746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7747 printf "%s\n" "$ICOTOOL" >&6; }
7748 else
7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 printf "%s\n" "no" >&6; }
7754 test -n "$ICOTOOL" && break
7755 done
7756 test -n "$ICOTOOL" || ICOTOOL="false"
7758 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7759 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7761 if test "$CONVERT" = false
7762 then
7763 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7764 else
7765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7766 printf %s "checking for recent enough imagemagick... " >&6; }
7767 convert_version=`convert --version | head -n1`
7768 if test "x$convert_version" != "x"
7769 then
7770 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7771 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7772 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7773 then
7774 CONVERT=false
7777 if test "$CONVERT" = false
7778 then
7779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7780 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7781 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7782 else
7783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7784 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7788 if test "$ICOTOOL" = false
7789 then
7790 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7791 else
7792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7793 printf %s "checking for recent enough icotool... " >&6; }
7794 icotool_version=`icotool --version | head -n1`
7795 if test "x$icotool_version" != "x"
7796 then
7797 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7798 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7799 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7800 then
7801 ICOTOOL=false
7802 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7805 if test "$ICOTOOL" = false
7806 then
7807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7808 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7809 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7810 else
7811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7812 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7816 with_gettext=yes
7817 with_gettextpo=yes
7819 enable_werror=yes
7822 test "x$with_gettext" != xno || MSGFMT=false
7823 if test "$MSGFMT" != "false"
7824 then
7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7826 printf %s "checking whether msgfmt supports contexts... " >&6; }
7827 if test ${wine_cv_msgfmt_contexts+y}
7828 then :
7829 printf %s "(cached) " >&6
7830 else $as_nop
7831 cat >conftest.po <<EOF
7832 # comment
7833 msgctxt "ctxt"
7834 msgid "id"
7835 msgstr "str"
7837 if $MSGFMT -o /dev/null conftest.po 2>&5
7838 then
7839 wine_cv_msgfmt_contexts=yes
7840 else
7841 wine_cv_msgfmt_contexts=no
7844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7845 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7846 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7848 if test "$MSGFMT" = false
7849 then :
7850 case "x$with_gettext" in
7851 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7852 xno) ;;
7853 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7854 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7855 esac
7856 enable_po=${enable_po:-no}
7860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7861 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7862 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7863 then :
7864 printf %s "(cached) " >&6
7865 else $as_nop
7866 ac_check_lib_save_LIBS=$LIBS
7867 LIBS="-li386 $LIBS"
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7871 /* Override any GCC internal prototype to avoid an error.
7872 Use char because int might match the return type of a GCC
7873 builtin and then its argument prototype would still apply. */
7874 char i386_set_ldt ();
7876 main (void)
7878 return i386_set_ldt ();
7880 return 0;
7882 _ACEOF
7883 if ac_fn_c_try_link "$LINENO"
7884 then :
7885 ac_cv_lib_i386_i386_set_ldt=yes
7886 else $as_nop
7887 ac_cv_lib_i386_i386_set_ldt=no
7889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7890 conftest$ac_exeext conftest.$ac_ext
7891 LIBS=$ac_check_lib_save_LIBS
7893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7894 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7895 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7896 then :
7897 I386_LIBS="-li386"
7902 OPENGL_LIBS=""
7906 # Check whether --enable-largefile was given.
7907 if test ${enable_largefile+y}
7908 then :
7909 enableval=$enable_largefile;
7912 if test "$enable_largefile" != no; then
7914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7915 printf %s "checking for special C compiler options needed for large files... " >&6; }
7916 if test ${ac_cv_sys_largefile_CC+y}
7917 then :
7918 printf %s "(cached) " >&6
7919 else $as_nop
7920 ac_cv_sys_largefile_CC=no
7921 if test "$GCC" != yes; then
7922 ac_save_CC=$CC
7923 while :; do
7924 # IRIX 6.2 and later do not support large files by default,
7925 # so use the C compiler's -n32 option if that helps.
7926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7927 /* end confdefs.h. */
7928 #include <sys/types.h>
7929 /* Check that off_t can represent 2**63 - 1 correctly.
7930 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7931 since some C++ compilers masquerading as C compilers
7932 incorrectly reject 9223372036854775807. */
7933 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7934 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7935 && LARGE_OFF_T % 2147483647 == 1)
7936 ? 1 : -1];
7938 main (void)
7942 return 0;
7944 _ACEOF
7945 if ac_fn_c_try_compile "$LINENO"
7946 then :
7947 break
7949 rm -f core conftest.err conftest.$ac_objext conftest.beam
7950 CC="$CC -n32"
7951 if ac_fn_c_try_compile "$LINENO"
7952 then :
7953 ac_cv_sys_largefile_CC=' -n32'; break
7955 rm -f core conftest.err conftest.$ac_objext conftest.beam
7956 break
7957 done
7958 CC=$ac_save_CC
7959 rm -f conftest.$ac_ext
7962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7963 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7964 if test "$ac_cv_sys_largefile_CC" != no; then
7965 CC=$CC$ac_cv_sys_largefile_CC
7968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7969 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7970 if test ${ac_cv_sys_file_offset_bits+y}
7971 then :
7972 printf %s "(cached) " >&6
7973 else $as_nop
7974 while :; do
7975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7976 /* end confdefs.h. */
7977 #include <sys/types.h>
7978 /* Check that off_t can represent 2**63 - 1 correctly.
7979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7980 since some C++ compilers masquerading as C compilers
7981 incorrectly reject 9223372036854775807. */
7982 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7984 && LARGE_OFF_T % 2147483647 == 1)
7985 ? 1 : -1];
7987 main (void)
7991 return 0;
7993 _ACEOF
7994 if ac_fn_c_try_compile "$LINENO"
7995 then :
7996 ac_cv_sys_file_offset_bits=no; break
7998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 #define _FILE_OFFSET_BITS 64
8002 #include <sys/types.h>
8003 /* Check that off_t can represent 2**63 - 1 correctly.
8004 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8005 since some C++ compilers masquerading as C compilers
8006 incorrectly reject 9223372036854775807. */
8007 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8008 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8009 && LARGE_OFF_T % 2147483647 == 1)
8010 ? 1 : -1];
8012 main (void)
8016 return 0;
8018 _ACEOF
8019 if ac_fn_c_try_compile "$LINENO"
8020 then :
8021 ac_cv_sys_file_offset_bits=64; break
8023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8024 ac_cv_sys_file_offset_bits=unknown
8025 break
8026 done
8028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8029 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8030 case $ac_cv_sys_file_offset_bits in #(
8031 no | unknown) ;;
8033 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8035 esac
8036 rm -rf conftest*
8037 if test $ac_cv_sys_file_offset_bits = unknown; then
8038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8039 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8040 if test ${ac_cv_sys_large_files+y}
8041 then :
8042 printf %s "(cached) " >&6
8043 else $as_nop
8044 while :; do
8045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8046 /* end confdefs.h. */
8047 #include <sys/types.h>
8048 /* Check that off_t can represent 2**63 - 1 correctly.
8049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8050 since some C++ compilers masquerading as C compilers
8051 incorrectly reject 9223372036854775807. */
8052 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8054 && LARGE_OFF_T % 2147483647 == 1)
8055 ? 1 : -1];
8057 main (void)
8061 return 0;
8063 _ACEOF
8064 if ac_fn_c_try_compile "$LINENO"
8065 then :
8066 ac_cv_sys_large_files=no; break
8068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8071 #define _LARGE_FILES 1
8072 #include <sys/types.h>
8073 /* Check that off_t can represent 2**63 - 1 correctly.
8074 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8075 since some C++ compilers masquerading as C compilers
8076 incorrectly reject 9223372036854775807. */
8077 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8078 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8079 && LARGE_OFF_T % 2147483647 == 1)
8080 ? 1 : -1];
8082 main (void)
8086 return 0;
8088 _ACEOF
8089 if ac_fn_c_try_compile "$LINENO"
8090 then :
8091 ac_cv_sys_large_files=1; break
8093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8094 ac_cv_sys_large_files=unknown
8095 break
8096 done
8098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8099 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8100 case $ac_cv_sys_large_files in #(
8101 no | unknown) ;;
8103 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8105 esac
8106 rm -rf conftest*
8111 ac_header= ac_cache=
8112 for ac_item in $ac_header_c_list
8114 if test $ac_cache; then
8115 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8116 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8117 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8119 ac_header= ac_cache=
8120 elif test $ac_header; then
8121 ac_cache=$ac_item
8122 else
8123 ac_header=$ac_item
8125 done
8134 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8135 then :
8137 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_AL_al_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_CL_cl_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_EGL_egl_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_Security_Security_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_arpa_inet_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_asm_types_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_asm_user_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_elf_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_float_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_gettext_po_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_ieeefp_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_libproc_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_link_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_linux_filter_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_linux_input_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_linux_major_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_linux_param_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_linux_serial_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_linux_types_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8346 then :
8347 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_lwp_h" = xyes
8352 then :
8353 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8358 then :
8359 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_mach_mach_h" = xyes
8364 then :
8365 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8368 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8369 if test "x$ac_cv_header_machine_cpu_h" = xyes
8370 then :
8371 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8374 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8375 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8376 then :
8377 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8381 if test "x$ac_cv_header_mntent_h" = xyes
8382 then :
8383 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8387 if test "x$ac_cv_header_netdb_h" = xyes
8388 then :
8389 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8392 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8393 if test "x$ac_cv_header_netinet_in_h" = xyes
8394 then :
8395 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8398 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8399 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8400 then :
8401 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8404 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8405 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8411 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8412 then :
8413 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8416 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8417 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8418 then :
8419 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8423 if test "x$ac_cv_header_port_h" = xyes
8424 then :
8425 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8428 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8429 if test "x$ac_cv_header_pthread_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8435 if test "x$ac_cv_header_pwd_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8441 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8447 if test "x$ac_cv_header_sched_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8452 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8453 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8454 then :
8455 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8458 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8459 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8464 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8465 if test "x$ac_cv_header_scsi_sg_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8471 if test "x$ac_cv_header_stdint_h" = xyes
8472 then :
8473 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8476 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8477 if test "x$ac_cv_header_sys_attr_h" = xyes
8478 then :
8479 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8482 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8483 if test "x$ac_cv_header_sys_auxv_h" = xyes
8484 then :
8485 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8488 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8489 if test "x$ac_cv_header_sys_cdio_h" = xyes
8490 then :
8491 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8494 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8495 if test "x$ac_cv_header_sys_epoll_h" = xyes
8496 then :
8497 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8500 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8501 if test "x$ac_cv_header_sys_event_h" = xyes
8502 then :
8503 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8506 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8507 if test "x$ac_cv_header_sys_filio_h" = xyes
8508 then :
8509 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8512 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8513 if test "x$ac_cv_header_sys_ipc_h" = xyes
8514 then :
8515 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8518 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8519 if test "x$ac_cv_header_sys_link_h" = xyes
8520 then :
8521 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8524 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8525 if test "x$ac_cv_header_sys_modem_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8531 if test "x$ac_cv_header_sys_mtio_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8537 if test "x$ac_cv_header_sys_param_h" = xyes
8538 then :
8539 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8542 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8543 if test "x$ac_cv_header_sys_prctl_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8549 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8550 then :
8551 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8554 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8555 if test "x$ac_cv_header_sys_queue_h" = xyes
8556 then :
8557 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8560 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8561 if test "x$ac_cv_header_sys_random_h" = xyes
8562 then :
8563 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8566 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8567 if test "x$ac_cv_header_sys_resource_h" = xyes
8568 then :
8569 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8572 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8573 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8574 then :
8575 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8578 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8579 if test "x$ac_cv_header_sys_shm_h" = xyes
8580 then :
8581 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8584 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8585 if test "x$ac_cv_header_sys_signal_h" = xyes
8586 then :
8587 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8590 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8591 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8592 then :
8593 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8596 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8597 if test "x$ac_cv_header_sys_sockio_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8603 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8609 if test "x$ac_cv_header_sys_strtio_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8615 if test "x$ac_cv_header_sys_syscall_h" = xyes
8616 then :
8617 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8620 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8621 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8627 if test "x$ac_cv_header_sys_times_h" = xyes
8628 then :
8629 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8632 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8633 if test "x$ac_cv_header_sys_uio_h" = xyes
8634 then :
8635 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8638 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8639 if test "x$ac_cv_header_sys_user_h" = xyes
8640 then :
8641 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8644 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8645 if test "x$ac_cv_header_sys_utsname_h" = xyes
8646 then :
8647 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8650 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8651 if test "x$ac_cv_header_sys_vnode_h" = xyes
8652 then :
8653 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8656 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8657 if test "x$ac_cv_header_syscall_h" = xyes
8658 then :
8659 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8662 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8663 if test "x$ac_cv_header_utime_h" = xyes
8664 then :
8665 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8668 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8669 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8670 then :
8671 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8674 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8675 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8681 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8682 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8683 then :
8685 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8689 if test $ac_cv_header_sys_mkdev_h = no; then
8690 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8691 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8692 then :
8694 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8700 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8701 if test ${ac_cv_header_stat_broken+y}
8702 then :
8703 printf %s "(cached) " >&6
8704 else $as_nop
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 #include <sys/types.h>
8708 #include <sys/stat.h>
8710 #if defined S_ISBLK && defined S_IFDIR
8711 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8712 #endif
8714 #if defined S_ISBLK && defined S_IFCHR
8715 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8716 #endif
8718 #if defined S_ISLNK && defined S_IFREG
8719 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8720 #endif
8722 #if defined S_ISSOCK && defined S_IFREG
8723 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8724 #endif
8726 _ACEOF
8727 if ac_fn_c_try_compile "$LINENO"
8728 then :
8729 ac_cv_header_stat_broken=no
8730 else $as_nop
8731 ac_cv_header_stat_broken=yes
8733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8736 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8737 if test $ac_cv_header_stat_broken = yes; then
8739 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8745 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8746 #ifdef HAVE_SYS_PARAM_H
8747 # include <sys/param.h>
8748 #endif
8750 if test "x$ac_cv_header_sys_conf_h" = xyes
8751 then :
8752 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8756 #ifdef HAVE_SYS_PARAM_H
8757 # include <sys/param.h>
8758 #endif
8760 if test "x$ac_cv_header_sys_mount_h" = xyes
8761 then :
8762 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8765 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8766 #ifdef HAVE_SYS_PARAM_H
8767 # include <sys/param.h>
8768 #endif
8770 if test "x$ac_cv_header_sys_statfs_h" = xyes
8771 then :
8772 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8775 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8776 #ifdef HAVE_SYS_PARAM_H
8777 # include <sys/param.h>
8778 #endif
8780 if test "x$ac_cv_header_sys_user_h" = xyes
8781 then :
8782 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8785 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8786 #ifdef HAVE_SYS_PARAM_H
8787 # include <sys/param.h>
8788 #endif
8790 if test "x$ac_cv_header_sys_vfs_h" = xyes
8791 then :
8792 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8797 saved_sysctl_h_CFLAGS=$CFLAGS
8798 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8799 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8800 #ifdef HAVE_SYS_PARAM_H
8801 # include <sys/param.h>
8802 #endif
8804 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8805 then :
8806 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8810 CFLAGS=$saved_sysctl_h_CFLAGS
8812 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8813 #include <sys/socket.h>
8814 #ifdef HAVE_SYS_SOCKETVAR_H
8815 # include <sys/socketvar.h>
8816 #endif
8817 #ifdef HAVE_NET_ROUTE_H
8818 # include <net/route.h>
8819 #endif
8820 #ifdef HAVE_NETINET_IN_H
8821 # include <netinet/in.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IN_SYSTM_H
8824 # include <netinet/in_systm.h>
8825 #endif
8826 #ifdef HAVE_NET_IF_H
8827 # include <net/if.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IP_H
8830 # include <netinet/ip.h>
8831 #endif
8833 if test "x$ac_cv_header_netinet_ip_h" = xyes
8834 then :
8835 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8838 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8839 #include <sys/socket.h>
8840 #ifdef HAVE_SYS_SOCKETVAR_H
8841 # include <sys/socketvar.h>
8842 #endif
8843 #ifdef HAVE_NET_ROUTE_H
8844 # include <net/route.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IN_H
8847 # include <netinet/in.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_SYSTM_H
8850 # include <netinet/in_systm.h>
8851 #endif
8852 #ifdef HAVE_NET_IF_H
8853 # include <net/if.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IP_H
8856 # include <netinet/ip.h>
8857 #endif
8859 if test "x$ac_cv_header_net_if_h" = xyes
8860 then :
8861 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8864 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8865 #include <sys/socket.h>
8866 #ifdef HAVE_SYS_SOCKETVAR_H
8867 # include <sys/socketvar.h>
8868 #endif
8869 #ifdef HAVE_NET_ROUTE_H
8870 # include <net/route.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IN_H
8873 # include <netinet/in.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_SYSTM_H
8876 # include <netinet/in_systm.h>
8877 #endif
8878 #ifdef HAVE_NET_IF_H
8879 # include <net/if.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_H
8882 # include <netinet/ip.h>
8883 #endif
8885 if test "x$ac_cv_header_net_if_arp_h" = xyes
8886 then :
8887 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8890 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8891 #include <sys/socket.h>
8892 #ifdef HAVE_SYS_SOCKETVAR_H
8893 # include <sys/socketvar.h>
8894 #endif
8895 #ifdef HAVE_NET_ROUTE_H
8896 # include <net/route.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IN_H
8899 # include <netinet/in.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IN_SYSTM_H
8902 # include <netinet/in_systm.h>
8903 #endif
8904 #ifdef HAVE_NET_IF_H
8905 # include <net/if.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IP_H
8908 # include <netinet/ip.h>
8909 #endif
8911 if test "x$ac_cv_header_net_if_dl_h" = xyes
8912 then :
8913 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8916 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8917 #include <sys/socket.h>
8918 #ifdef HAVE_SYS_SOCKETVAR_H
8919 # include <sys/socketvar.h>
8920 #endif
8921 #ifdef HAVE_NET_ROUTE_H
8922 # include <net/route.h>
8923 #endif
8924 #ifdef HAVE_NETINET_IN_H
8925 # include <netinet/in.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IN_SYSTM_H
8928 # include <netinet/in_systm.h>
8929 #endif
8930 #ifdef HAVE_NET_IF_H
8931 # include <net/if.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IP_H
8934 # include <netinet/ip.h>
8935 #endif
8937 if test "x$ac_cv_header_net_if_types_h" = xyes
8938 then :
8939 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8942 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8943 #include <sys/socket.h>
8944 #ifdef HAVE_SYS_SOCKETVAR_H
8945 # include <sys/socketvar.h>
8946 #endif
8947 #ifdef HAVE_NET_ROUTE_H
8948 # include <net/route.h>
8949 #endif
8950 #ifdef HAVE_NETINET_IN_H
8951 # include <netinet/in.h>
8952 #endif
8953 #ifdef HAVE_NETINET_IN_SYSTM_H
8954 # include <netinet/in_systm.h>
8955 #endif
8956 #ifdef HAVE_NET_IF_H
8957 # include <net/if.h>
8958 #endif
8959 #ifdef HAVE_NETINET_IP_H
8960 # include <netinet/ip.h>
8961 #endif
8963 if test "x$ac_cv_header_net_route_h" = xyes
8964 then :
8965 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_SYS_SOCKETVAR_H
8971 # include <sys/socketvar.h>
8972 #endif
8973 #ifdef HAVE_NET_ROUTE_H
8974 # include <net/route.h>
8975 #endif
8976 #ifdef HAVE_NETINET_IN_H
8977 # include <netinet/in.h>
8978 #endif
8979 #ifdef HAVE_NETINET_IN_SYSTM_H
8980 # include <netinet/in_systm.h>
8981 #endif
8982 #ifdef HAVE_NET_IF_H
8983 # include <net/if.h>
8984 #endif
8985 #ifdef HAVE_NETINET_IP_H
8986 # include <netinet/ip.h>
8987 #endif
8989 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8990 then :
8991 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8995 #include <sys/socket.h>
8996 #ifdef HAVE_SYS_SOCKETVAR_H
8997 # include <sys/socketvar.h>
8998 #endif
8999 #ifdef HAVE_NET_ROUTE_H
9000 # include <net/route.h>
9001 #endif
9002 #ifdef HAVE_NETINET_IN_H
9003 # include <netinet/in.h>
9004 #endif
9005 #ifdef HAVE_NETINET_IN_SYSTM_H
9006 # include <netinet/in_systm.h>
9007 #endif
9008 #ifdef HAVE_NET_IF_H
9009 # include <net/if.h>
9010 #endif
9011 #ifdef HAVE_NETINET_IP_H
9012 # include <netinet/ip.h>
9013 #endif
9015 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9016 then :
9017 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9021 #include <sys/socket.h>
9022 #ifdef HAVE_SYS_SOCKETVAR_H
9023 # include <sys/socketvar.h>
9024 #endif
9025 #ifdef HAVE_NET_ROUTE_H
9026 # include <net/route.h>
9027 #endif
9028 #ifdef HAVE_NETINET_IN_H
9029 # include <netinet/in.h>
9030 #endif
9031 #ifdef HAVE_NETINET_IN_SYSTM_H
9032 # include <netinet/in_systm.h>
9033 #endif
9034 #ifdef HAVE_NET_IF_H
9035 # include <net/if.h>
9036 #endif
9037 #ifdef HAVE_NETINET_IP_H
9038 # include <netinet/ip.h>
9039 #endif
9041 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9042 then :
9043 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9046 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9047 #include <sys/socket.h>
9048 #ifdef HAVE_SYS_SOCKETVAR_H
9049 # include <sys/socketvar.h>
9050 #endif
9051 #ifdef HAVE_NET_ROUTE_H
9052 # include <net/route.h>
9053 #endif
9054 #ifdef HAVE_NETINET_IN_H
9055 # include <netinet/in.h>
9056 #endif
9057 #ifdef HAVE_NETINET_IN_SYSTM_H
9058 # include <netinet/in_systm.h>
9059 #endif
9060 #ifdef HAVE_NET_IF_H
9061 # include <net/if.h>
9062 #endif
9063 #ifdef HAVE_NETINET_IP_H
9064 # include <netinet/ip.h>
9065 #endif
9067 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9068 then :
9069 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9072 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9073 #include <sys/socket.h>
9074 #ifdef HAVE_SYS_SOCKETVAR_H
9075 # include <sys/socketvar.h>
9076 #endif
9077 #ifdef HAVE_NET_ROUTE_H
9078 # include <net/route.h>
9079 #endif
9080 #ifdef HAVE_NETINET_IN_H
9081 # include <netinet/in.h>
9082 #endif
9083 #ifdef HAVE_NETINET_IN_SYSTM_H
9084 # include <netinet/in_systm.h>
9085 #endif
9086 #ifdef HAVE_NET_IF_H
9087 # include <net/if.h>
9088 #endif
9089 #ifdef HAVE_NETINET_IP_H
9090 # include <netinet/ip.h>
9091 #endif
9093 if test "x$ac_cv_header_netinet_udp_h" = xyes
9094 then :
9095 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9098 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9099 #include <sys/socket.h>
9100 #ifdef HAVE_SYS_SOCKETVAR_H
9101 # include <sys/socketvar.h>
9102 #endif
9103 #ifdef HAVE_NET_ROUTE_H
9104 # include <net/route.h>
9105 #endif
9106 #ifdef HAVE_NETINET_IN_H
9107 # include <netinet/in.h>
9108 #endif
9109 #ifdef HAVE_NETINET_IN_SYSTM_H
9110 # include <netinet/in_systm.h>
9111 #endif
9112 #ifdef HAVE_NET_IF_H
9113 # include <net/if.h>
9114 #endif
9115 #ifdef HAVE_NETINET_IP_H
9116 # include <netinet/ip.h>
9117 #endif
9119 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9120 then :
9121 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9124 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9125 #include <sys/socket.h>
9126 #ifdef HAVE_SYS_SOCKETVAR_H
9127 # include <sys/socketvar.h>
9128 #endif
9129 #ifdef HAVE_NET_ROUTE_H
9130 # include <net/route.h>
9131 #endif
9132 #ifdef HAVE_NETINET_IN_H
9133 # include <netinet/in.h>
9134 #endif
9135 #ifdef HAVE_NETINET_IN_SYSTM_H
9136 # include <netinet/in_systm.h>
9137 #endif
9138 #ifdef HAVE_NET_IF_H
9139 # include <net/if.h>
9140 #endif
9141 #ifdef HAVE_NETINET_IP_H
9142 # include <netinet/ip.h>
9143 #endif
9145 if test "x$ac_cv_header_sys_un_h" = xyes
9146 then :
9147 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9152 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9153 #include <sys/socket.h>
9154 #ifdef HAVE_SYS_SOCKETVAR_H
9155 # include <sys/socketvar.h>
9156 #endif
9157 #ifdef HAVE_NETINET_IN_H
9158 # include <netinet/in.h>
9159 #endif
9160 #ifdef HAVE_NETINET_IN_SYSTM_H
9161 # include <netinet/in_systm.h>
9162 #endif
9163 #ifdef HAVE_NETINET_IP_H
9164 # include <netinet/ip.h>
9165 #endif
9166 #ifdef HAVE_NETINET_IP_VAR_H
9167 # include <netinet/ip_var.h>
9168 #endif
9169 #ifdef HAVE_NETINET_IP_ICMP_H
9170 # include <netinet/ip_icmp.h>
9171 #endif
9172 #ifdef HAVE_NETINET_UDP_H
9173 # include <netinet/udp.h>
9174 #endif
9175 #ifdef HAVE_NETINET_TCP_H
9176 # include <netinet/tcp.h>
9177 #endif
9179 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9180 then :
9181 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9184 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9185 #include <sys/socket.h>
9186 #ifdef HAVE_SYS_SOCKETVAR_H
9187 # include <sys/socketvar.h>
9188 #endif
9189 #ifdef HAVE_NETINET_IN_H
9190 # include <netinet/in.h>
9191 #endif
9192 #ifdef HAVE_NETINET_IN_SYSTM_H
9193 # include <netinet/in_systm.h>
9194 #endif
9195 #ifdef HAVE_NETINET_IP_H
9196 # include <netinet/ip.h>
9197 #endif
9198 #ifdef HAVE_NETINET_IP_VAR_H
9199 # include <netinet/ip_var.h>
9200 #endif
9201 #ifdef HAVE_NETINET_IP_ICMP_H
9202 # include <netinet/ip_icmp.h>
9203 #endif
9204 #ifdef HAVE_NETINET_UDP_H
9205 # include <netinet/udp.h>
9206 #endif
9207 #ifdef HAVE_NETINET_TCP_H
9208 # include <netinet/tcp.h>
9209 #endif
9211 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9212 then :
9213 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9216 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9217 #include <sys/socket.h>
9218 #ifdef HAVE_SYS_SOCKETVAR_H
9219 # include <sys/socketvar.h>
9220 #endif
9221 #ifdef HAVE_NETINET_IN_H
9222 # include <netinet/in.h>
9223 #endif
9224 #ifdef HAVE_NETINET_IN_SYSTM_H
9225 # include <netinet/in_systm.h>
9226 #endif
9227 #ifdef HAVE_NETINET_IP_H
9228 # include <netinet/ip.h>
9229 #endif
9230 #ifdef HAVE_NETINET_IP_VAR_H
9231 # include <netinet/ip_var.h>
9232 #endif
9233 #ifdef HAVE_NETINET_IP_ICMP_H
9234 # include <netinet/ip_icmp.h>
9235 #endif
9236 #ifdef HAVE_NETINET_UDP_H
9237 # include <netinet/udp.h>
9238 #endif
9239 #ifdef HAVE_NETINET_TCP_H
9240 # include <netinet/tcp.h>
9241 #endif
9243 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9244 then :
9245 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9250 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9251 #include <sys/socket.h>
9252 #ifdef HAVE_ASM_TYPES_H
9253 # include <asm/types.h>
9254 #endif
9255 #ifdef HAVE_LINUX_TYPES_H
9256 # include <linux/types.h>
9257 #endif
9259 if test "x$ac_cv_header_linux_ipx_h" = xyes
9260 then :
9261 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9264 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9265 #include <sys/socket.h>
9266 #ifdef HAVE_ASM_TYPES_H
9267 # include <asm/types.h>
9268 #endif
9269 #ifdef HAVE_LINUX_TYPES_H
9270 # include <linux/types.h>
9271 #endif
9273 if test "x$ac_cv_header_linux_irda_h" = xyes
9274 then :
9275 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9278 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9279 #include <sys/socket.h>
9280 #ifdef HAVE_ASM_TYPES_H
9281 # include <asm/types.h>
9282 #endif
9283 #ifdef HAVE_LINUX_TYPES_H
9284 # include <linux/types.h>
9285 #endif
9287 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9288 then :
9289 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9294 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9295 #include <sys/socket.h>
9296 #ifdef HAVE_NETINET_IN_H
9297 # include <netinet/in.h>
9298 #endif
9299 #ifdef HAVE_ARPA_NAMESER_H
9300 # include <arpa/nameser.h>
9301 #endif
9303 if test "x$ac_cv_header_resolv_h" = xyes
9304 then :
9305 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9310 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9312 if test "x$ac_cv_header_ifaddrs_h" = xyes
9313 then :
9314 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9319 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9321 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9322 then :
9323 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9328 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9329 #ifdef HAVE_SYS_UCONTEXT_H
9330 #include <sys/ucontext.h>
9331 #endif
9333 if test "x$ac_cv_header_sys_thr_h" = xyes
9334 then :
9335 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9340 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9341 #include <pthread.h>
9342 #endif
9344 if test "x$ac_cv_header_pthread_np_h" = xyes
9345 then :
9346 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9351 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9352 #include <sys/types.h>
9353 #ifdef HAVE_ASM_TYPES_H
9354 #include <asm/types.h>
9355 #endif
9357 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9358 then :
9359 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9364 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9365 #include <sys/param.h>
9366 #endif
9367 #include <sys/socket.h>
9368 #ifdef HAVE_SYS_QUEUE_H
9369 #include <sys/queue.h>
9370 #endif
9372 if test "x$ac_cv_header_libprocstat_h" = xyes
9373 then :
9374 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9380 DLLFLAGS=""
9382 LDDLLFLAGS=""
9384 LDEXECFLAGS=""
9386 EXTRACFLAGS=""
9388 UNIXDLLFLAGS="-fPIC"
9390 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9392 TOP_INSTALL_LIB=""
9394 TOP_INSTALL_DEV=""
9396 WINELOADER_LDFLAGS=""
9398 WINEPRELOADER_LDFLAGS=""
9400 LIBEXT="so"
9401 # Extract the first word of "ldd", so it can be a program name with args.
9402 set dummy ldd; ac_word=$2
9403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9404 printf %s "checking for $ac_word... " >&6; }
9405 if test ${ac_cv_path_LDD+y}
9406 then :
9407 printf %s "(cached) " >&6
9408 else $as_nop
9409 case $LDD in
9410 [\\/]* | ?:[\\/]*)
9411 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9415 as_dummy="/sbin:/usr/sbin:$PATH"
9416 for as_dir in $as_dummy
9418 IFS=$as_save_IFS
9419 case $as_dir in #(((
9420 '') as_dir=./ ;;
9421 */) ;;
9422 *) as_dir=$as_dir/ ;;
9423 esac
9424 for ac_exec_ext in '' $ac_executable_extensions; do
9425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9426 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9428 break 2
9430 done
9431 done
9432 IFS=$as_save_IFS
9434 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9436 esac
9438 LDD=$ac_cv_path_LDD
9439 if test -n "$LDD"; then
9440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9441 printf "%s\n" "$LDD" >&6; }
9442 else
9443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9444 printf "%s\n" "no" >&6; }
9448 if test -n "$ac_tool_prefix"; then
9449 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9450 set dummy ${ac_tool_prefix}otool; ac_word=$2
9451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9452 printf %s "checking for $ac_word... " >&6; }
9453 if test ${ac_cv_prog_OTOOL+y}
9454 then :
9455 printf %s "(cached) " >&6
9456 else $as_nop
9457 if test -n "$OTOOL"; then
9458 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9459 else
9460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9461 for as_dir in $PATH
9463 IFS=$as_save_IFS
9464 case $as_dir in #(((
9465 '') as_dir=./ ;;
9466 */) ;;
9467 *) as_dir=$as_dir/ ;;
9468 esac
9469 for ac_exec_ext in '' $ac_executable_extensions; do
9470 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9471 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9473 break 2
9475 done
9476 done
9477 IFS=$as_save_IFS
9481 OTOOL=$ac_cv_prog_OTOOL
9482 if test -n "$OTOOL"; then
9483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9484 printf "%s\n" "$OTOOL" >&6; }
9485 else
9486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9487 printf "%s\n" "no" >&6; }
9492 if test -z "$ac_cv_prog_OTOOL"; then
9493 ac_ct_OTOOL=$OTOOL
9494 # Extract the first word of "otool", so it can be a program name with args.
9495 set dummy otool; ac_word=$2
9496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9497 printf %s "checking for $ac_word... " >&6; }
9498 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9499 then :
9500 printf %s "(cached) " >&6
9501 else $as_nop
9502 if test -n "$ac_ct_OTOOL"; then
9503 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9504 else
9505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9506 for as_dir in $PATH
9508 IFS=$as_save_IFS
9509 case $as_dir in #(((
9510 '') as_dir=./ ;;
9511 */) ;;
9512 *) as_dir=$as_dir/ ;;
9513 esac
9514 for ac_exec_ext in '' $ac_executable_extensions; do
9515 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9516 ac_cv_prog_ac_ct_OTOOL="otool"
9517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9518 break 2
9520 done
9521 done
9522 IFS=$as_save_IFS
9526 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9527 if test -n "$ac_ct_OTOOL"; then
9528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9529 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9530 else
9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9532 printf "%s\n" "no" >&6; }
9535 if test "x$ac_ct_OTOOL" = x; then
9536 OTOOL="otool"
9537 else
9538 case $cross_compiling:$ac_tool_warned in
9539 yes:)
9540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9541 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9542 ac_tool_warned=yes ;;
9543 esac
9544 OTOOL=$ac_ct_OTOOL
9546 else
9547 OTOOL="$ac_cv_prog_OTOOL"
9550 if test -n "$ac_tool_prefix"; then
9551 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9552 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9554 printf %s "checking for $ac_word... " >&6; }
9555 if test ${ac_cv_prog_READELF+y}
9556 then :
9557 printf %s "(cached) " >&6
9558 else $as_nop
9559 if test -n "$READELF"; then
9560 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9561 else
9562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9563 for as_dir in $PATH
9565 IFS=$as_save_IFS
9566 case $as_dir in #(((
9567 '') as_dir=./ ;;
9568 */) ;;
9569 *) as_dir=$as_dir/ ;;
9570 esac
9571 for ac_exec_ext in '' $ac_executable_extensions; do
9572 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9573 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9575 break 2
9577 done
9578 done
9579 IFS=$as_save_IFS
9583 READELF=$ac_cv_prog_READELF
9584 if test -n "$READELF"; then
9585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9586 printf "%s\n" "$READELF" >&6; }
9587 else
9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9589 printf "%s\n" "no" >&6; }
9594 if test -z "$ac_cv_prog_READELF"; then
9595 ac_ct_READELF=$READELF
9596 # Extract the first word of "readelf", so it can be a program name with args.
9597 set dummy readelf; ac_word=$2
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9599 printf %s "checking for $ac_word... " >&6; }
9600 if test ${ac_cv_prog_ac_ct_READELF+y}
9601 then :
9602 printf %s "(cached) " >&6
9603 else $as_nop
9604 if test -n "$ac_ct_READELF"; then
9605 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9606 else
9607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9608 for as_dir in $PATH
9610 IFS=$as_save_IFS
9611 case $as_dir in #(((
9612 '') as_dir=./ ;;
9613 */) ;;
9614 *) as_dir=$as_dir/ ;;
9615 esac
9616 for ac_exec_ext in '' $ac_executable_extensions; do
9617 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9618 ac_cv_prog_ac_ct_READELF="readelf"
9619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9620 break 2
9622 done
9623 done
9624 IFS=$as_save_IFS
9628 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9629 if test -n "$ac_ct_READELF"; then
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9631 printf "%s\n" "$ac_ct_READELF" >&6; }
9632 else
9633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9634 printf "%s\n" "no" >&6; }
9637 if test "x$ac_ct_READELF" = x; then
9638 READELF="true"
9639 else
9640 case $cross_compiling:$ac_tool_warned in
9641 yes:)
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9643 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9644 ac_tool_warned=yes ;;
9645 esac
9646 READELF=$ac_ct_READELF
9648 else
9649 READELF="$ac_cv_prog_READELF"
9652 wine_rules="all:"
9653 SUBDIRS=""
9655 DISABLED_SUBDIRS=""
9657 CONFIGURE_TARGETS=""
9660 wine_fn_append_file ()
9662 as_fn_append $1 " \\$as_nl $2"
9665 wine_fn_append_rule ()
9667 as_fn_append wine_rules "$as_nl$1"
9670 wine_fn_config_makefile ()
9672 wine_fn_append_file SUBDIRS $1
9673 if eval test \"x\$"$2"\" = x"no"
9674 then :
9675 wine_fn_append_file DISABLED_SUBDIRS $1
9679 wine_fn_config_symlink ()
9681 ac_links=$@
9682 wine_fn_append_rule \
9683 "$ac_links:
9684 @./config.status \$@"
9685 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9688 wine_binary="wine"
9689 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9690 WINELOADER_PROGRAMS="$wine_binary"
9692 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9694 case $host_os in
9695 cygwin*|mingw32*)
9696 if test -n "$ac_tool_prefix"; then
9697 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9698 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9700 printf %s "checking for $ac_word... " >&6; }
9701 if test ${ac_cv_prog_DLLTOOL+y}
9702 then :
9703 printf %s "(cached) " >&6
9704 else $as_nop
9705 if test -n "$DLLTOOL"; then
9706 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9707 else
9708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9709 for as_dir in $PATH
9711 IFS=$as_save_IFS
9712 case $as_dir in #(((
9713 '') as_dir=./ ;;
9714 */) ;;
9715 *) as_dir=$as_dir/ ;;
9716 esac
9717 for ac_exec_ext in '' $ac_executable_extensions; do
9718 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9719 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9721 break 2
9723 done
9724 done
9725 IFS=$as_save_IFS
9729 DLLTOOL=$ac_cv_prog_DLLTOOL
9730 if test -n "$DLLTOOL"; then
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9732 printf "%s\n" "$DLLTOOL" >&6; }
9733 else
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9735 printf "%s\n" "no" >&6; }
9740 if test -z "$ac_cv_prog_DLLTOOL"; then
9741 ac_ct_DLLTOOL=$DLLTOOL
9742 # Extract the first word of "dlltool", so it can be a program name with args.
9743 set dummy dlltool; ac_word=$2
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9745 printf %s "checking for $ac_word... " >&6; }
9746 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9747 then :
9748 printf %s "(cached) " >&6
9749 else $as_nop
9750 if test -n "$ac_ct_DLLTOOL"; then
9751 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9752 else
9753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9754 for as_dir in $PATH
9756 IFS=$as_save_IFS
9757 case $as_dir in #(((
9758 '') as_dir=./ ;;
9759 */) ;;
9760 *) as_dir=$as_dir/ ;;
9761 esac
9762 for ac_exec_ext in '' $ac_executable_extensions; do
9763 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9764 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9766 break 2
9768 done
9769 done
9770 IFS=$as_save_IFS
9774 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9775 if test -n "$ac_ct_DLLTOOL"; then
9776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9777 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9778 else
9779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9780 printf "%s\n" "no" >&6; }
9783 if test "x$ac_ct_DLLTOOL" = x; then
9784 DLLTOOL="false"
9785 else
9786 case $cross_compiling:$ac_tool_warned in
9787 yes:)
9788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9789 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9790 ac_tool_warned=yes ;;
9791 esac
9792 DLLTOOL=$ac_ct_DLLTOOL
9794 else
9795 DLLTOOL="$ac_cv_prog_DLLTOOL"
9798 LIBEXT="dll"
9799 EXTRACFLAGS="-D__WINE_PE_BUILD"
9800 case $host_cpu in
9801 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9802 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9803 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9804 then :
9805 printf %s "(cached) " >&6
9806 else $as_nop
9807 ac_wine_try_cflags_saved=$CFLAGS
9808 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9811 int main(int argc, char **argv) { return 0; }
9812 _ACEOF
9813 if ac_fn_c_try_link "$LINENO"
9814 then :
9815 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9816 else $as_nop
9817 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9820 conftest$ac_exeext conftest.$ac_ext
9821 CFLAGS=$ac_wine_try_cflags_saved
9823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9824 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9825 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9826 then :
9827 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9828 fi ;;
9829 esac
9830 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
9831 enable_loader=${enable_loader:-no}
9832 enable_server=${enable_server:-no}
9833 with_x=${with_x:-no}
9834 with_pthread=${with_pthread:-no}
9837 darwin*|macosx*)
9838 ac_ext=m
9839 ac_cpp='$OBJCPP $CPPFLAGS'
9840 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9841 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9842 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9844 ac_ext=m
9845 ac_cpp='$OBJCPP $CPPFLAGS'
9846 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9847 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9848 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9849 if test -n "$ac_tool_prefix"; then
9850 for ac_prog in gcc objcc objc cc CC clang
9852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9855 printf %s "checking for $ac_word... " >&6; }
9856 if test ${ac_cv_prog_OBJC+y}
9857 then :
9858 printf %s "(cached) " >&6
9859 else $as_nop
9860 if test -n "$OBJC"; then
9861 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9862 else
9863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9864 for as_dir in $PATH
9866 IFS=$as_save_IFS
9867 case $as_dir in #(((
9868 '') as_dir=./ ;;
9869 */) ;;
9870 *) as_dir=$as_dir/ ;;
9871 esac
9872 for ac_exec_ext in '' $ac_executable_extensions; do
9873 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9874 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9875 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9876 break 2
9878 done
9879 done
9880 IFS=$as_save_IFS
9884 OBJC=$ac_cv_prog_OBJC
9885 if test -n "$OBJC"; then
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9887 printf "%s\n" "$OBJC" >&6; }
9888 else
9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9890 printf "%s\n" "no" >&6; }
9894 test -n "$OBJC" && break
9895 done
9897 if test -z "$OBJC"; then
9898 ac_ct_OBJC=$OBJC
9899 for ac_prog in gcc objcc objc cc CC clang
9901 # Extract the first word of "$ac_prog", so it can be a program name with args.
9902 set dummy $ac_prog; ac_word=$2
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9904 printf %s "checking for $ac_word... " >&6; }
9905 if test ${ac_cv_prog_ac_ct_OBJC+y}
9906 then :
9907 printf %s "(cached) " >&6
9908 else $as_nop
9909 if test -n "$ac_ct_OBJC"; then
9910 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9911 else
9912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9913 for as_dir in $PATH
9915 IFS=$as_save_IFS
9916 case $as_dir in #(((
9917 '') as_dir=./ ;;
9918 */) ;;
9919 *) as_dir=$as_dir/ ;;
9920 esac
9921 for ac_exec_ext in '' $ac_executable_extensions; do
9922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9923 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9925 break 2
9927 done
9928 done
9929 IFS=$as_save_IFS
9933 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9934 if test -n "$ac_ct_OBJC"; then
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9936 printf "%s\n" "$ac_ct_OBJC" >&6; }
9937 else
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939 printf "%s\n" "no" >&6; }
9943 test -n "$ac_ct_OBJC" && break
9944 done
9946 if test "x$ac_ct_OBJC" = x; then
9947 OBJC="gcc"
9948 else
9949 case $cross_compiling:$ac_tool_warned in
9950 yes:)
9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9953 ac_tool_warned=yes ;;
9954 esac
9955 OBJC=$ac_ct_OBJC
9959 # Provide some information about the compiler.
9960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9961 set X $ac_compile
9962 ac_compiler=$2
9963 for ac_option in --version -v -V -qversion; do
9964 { { ac_try="$ac_compiler $ac_option >&5"
9965 case "(($ac_try" in
9966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9967 *) ac_try_echo=$ac_try;;
9968 esac
9969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9970 printf "%s\n" "$ac_try_echo"; } >&5
9971 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9972 ac_status=$?
9973 if test -s conftest.err; then
9974 sed '10a\
9975 ... rest of stderr output deleted ...
9976 10q' conftest.err >conftest.er1
9977 cat conftest.er1 >&5
9979 rm -f conftest.er1 conftest.err
9980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9981 test $ac_status = 0; }
9982 done
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9985 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9986 if test ${ac_cv_objc_compiler_gnu+y}
9987 then :
9988 printf %s "(cached) " >&6
9989 else $as_nop
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9994 main (void)
9996 #ifndef __GNUC__
9997 choke me
9998 #endif
10001 return 0;
10003 _ACEOF
10004 if ac_fn_objc_try_compile "$LINENO"
10005 then :
10006 ac_compiler_gnu=yes
10007 else $as_nop
10008 ac_compiler_gnu=no
10010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10011 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10015 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10016 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10018 if test $ac_compiler_gnu = yes; then
10019 GOBJC=yes
10020 else
10021 GOBJC=
10023 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10024 ac_save_OBJCFLAGS=$OBJCFLAGS
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10026 printf %s "checking whether $OBJC accepts -g... " >&6; }
10027 if test ${ac_cv_prog_objc_g+y}
10028 then :
10029 printf %s "(cached) " >&6
10030 else $as_nop
10031 ac_save_objc_werror_flag=$ac_objc_werror_flag
10032 ac_objc_werror_flag=yes
10033 ac_cv_prog_objc_g=no
10034 OBJCFLAGS="-g"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10039 main (void)
10043 return 0;
10045 _ACEOF
10046 if ac_fn_objc_try_compile "$LINENO"
10047 then :
10048 ac_cv_prog_objc_g=yes
10049 else $as_nop
10050 OBJCFLAGS=""
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10055 main (void)
10059 return 0;
10061 _ACEOF
10062 if ac_fn_objc_try_compile "$LINENO"
10063 then :
10065 else $as_nop
10066 ac_objc_werror_flag=$ac_save_objc_werror_flag
10067 OBJCFLAGS="-g"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10072 main (void)
10076 return 0;
10078 _ACEOF
10079 if ac_fn_objc_try_compile "$LINENO"
10080 then :
10081 ac_cv_prog_objc_g=yes
10083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10088 ac_objc_werror_flag=$ac_save_objc_werror_flag
10090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10091 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10092 if test $ac_test_OBJCFLAGS; then
10093 OBJCFLAGS=$ac_save_OBJCFLAGS
10094 elif test $ac_cv_prog_objc_g = yes; then
10095 if test "$GOBJC" = yes; then
10096 OBJCFLAGS="-g -O2"
10097 else
10098 OBJCFLAGS="-g"
10100 else
10101 if test "$GOBJC" = yes; then
10102 OBJCFLAGS="-O2"
10103 else
10104 OBJCFLAGS=
10107 ac_ext=m
10108 ac_cpp='$OBJCPP $CPPFLAGS'
10109 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10110 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10111 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10114 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10115 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10116 then :
10117 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10121 ac_ext=c
10122 ac_cpp='$CPP $CPPFLAGS'
10123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10127 LIBEXT="dylib"
10128 DLLFLAGS="$DLLFLAGS -fPIC"
10129 LDDLLFLAGS="-fPIC"
10130 COREFOUNDATION_LIBS="-framework CoreFoundation"
10132 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10134 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10136 CORESERVICES_LIBS="-framework CoreServices"
10138 APPKIT_LIBS="-framework AppKit"
10140 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10143 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10145 wine_can_build_preloader=yes
10146 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10148 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10149 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10150 then :
10151 printf %s "(cached) " >&6
10152 else $as_nop
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"
10160 then :
10161 ac_cv_cflags__Wl__no_new_main__e__main=yes
10162 else $as_nop
10163 ac_cv_cflags__Wl__no_new_main__e__main=no
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10170 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10171 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10172 then :
10173 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10175 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10176 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10177 then :
10178 printf %s "(cached) " >&6
10179 else $as_nop
10180 ac_wine_try_cflags_saved=$CFLAGS
10181 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 int main(int argc, char **argv) { return 0; }
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"
10187 then :
10188 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10189 else $as_nop
10190 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10197 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10198 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10199 then :
10200 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10201 else $as_nop
10202 wine_can_build_preloader=no
10204 else $as_nop
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10206 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10207 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10208 then :
10209 printf %s "(cached) " >&6
10210 else $as_nop
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10220 else $as_nop
10221 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10228 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10229 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10230 then :
10231 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10232 else $as_nop
10233 wine_can_build_preloader=no
10236 if test "$wine_can_build_preloader" = "yes"
10237 then
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10239 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10240 if test ${ac_cv_cflags__Wl__no_pie+y}
10241 then :
10242 printf %s "(cached) " >&6
10243 else $as_nop
10244 ac_wine_try_cflags_saved=$CFLAGS
10245 CFLAGS="$CFLAGS -Wl,-no_pie"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int main(int argc, char **argv) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"
10251 then :
10252 ac_cv_cflags__Wl__no_pie=yes
10253 else $as_nop
10254 ac_cv_cflags__Wl__no_pie=no
10256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10261 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10262 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10263 then :
10264 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10266 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10267 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10268 else
10269 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10272 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10273 then
10274 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10277 if test "$ac_cv_header_Security_Security_h" = "yes"
10278 then
10279 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10282 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10283 then
10284 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10286 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10288 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10289 then
10290 OPENAL_LIBS="-framework OpenAL"
10293 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10295 ac_cv_lib_openal=yes
10297 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10298 then
10299 OPENCL_LIBS="-framework OpenCL"
10301 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10303 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10304 then
10305 ac_save_LIBS="$LIBS"
10306 LIBS="$LIBS $IOKIT_LIBS"
10307 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10308 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10309 then :
10310 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10314 LIBS="$ac_save_LIBS"
10317 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10318 then
10319 CARBON_LIBS="-framework Carbon"
10322 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10323 then
10324 METAL_LIBS="-framework Metal -framework QuartzCore"
10328 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10329 then
10330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10331 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10332 ac_ext=m
10333 ac_cpp='$OBJCPP $CPPFLAGS'
10334 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10335 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10336 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 #include <Metal/Metal.h>
10342 main (void)
10344 id<MTLDevice> device; device.registryID;
10346 return 0;
10348 _ACEOF
10349 if ac_fn_objc_try_compile "$LINENO"
10350 then :
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10352 printf "%s\n" "yes" >&6; }
10354 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10356 else $as_nop
10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10358 printf "%s\n" "no" >&6; }
10360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10361 ac_ext=c
10362 ac_cpp='$CPP $CPPFLAGS'
10363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10369 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10370 then
10371 ac_save_LIBS="$LIBS"
10372 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10373 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10374 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10375 then :
10376 enable_winemac_drv=${enable_winemac_drv:-yes}
10379 LIBS="$ac_save_LIBS"
10382 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10383 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10385 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10387 WINELOADER_DEPENDS="wine_info.plist"
10389 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10392 linux-android*)
10394 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10396 DLLFLAGS="$DLLFLAGS -fPIC"
10397 LDDLLFLAGS="-fPIC"
10398 LDEXECFLAGS="-Wl,-pie"
10399 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10401 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10402 if test ${ac_cv_cflags__Wl__z_defs+y}
10403 then :
10404 printf %s "(cached) " >&6
10405 else $as_nop
10406 ac_wine_try_cflags_saved=$CFLAGS
10407 CFLAGS="$CFLAGS -Wl,-z,defs"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 int main(int argc, char **argv) { return 0; }
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"
10413 then :
10414 ac_cv_cflags__Wl__z_defs=yes
10415 else $as_nop
10416 ac_cv_cflags__Wl__z_defs=no
10418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10419 conftest$ac_exeext conftest.$ac_ext
10420 CFLAGS=$ac_wine_try_cflags_saved
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10423 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10424 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10425 then :
10426 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10429 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10430 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10431 then :
10432 printf %s "(cached) " >&6
10433 else $as_nop
10434 ac_wine_try_cflags_saved=$CFLAGS
10435 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int main(int argc, char **argv) { return 0; }
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"
10441 then :
10442 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10443 else $as_nop
10444 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10447 conftest$ac_exeext conftest.$ac_ext
10448 CFLAGS=$ac_wine_try_cflags_saved
10450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10451 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10452 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10453 then :
10454 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10456 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10459 printf %s "checking for -lEGL... " >&6; }
10460 if test ${ac_cv_lib_soname_EGL+y}
10461 then :
10462 printf %s "(cached) " >&6
10463 else $as_nop
10464 ac_check_soname_save_LIBS=$LIBS
10465 LIBS="-lEGL $LIBS"
10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10472 char eglGetProcAddress ();
10474 main (void)
10476 return eglGetProcAddress ();
10478 return 0;
10480 _ACEOF
10481 if ac_fn_c_try_link "$LINENO"
10482 then :
10483 case "$LIBEXT" in
10484 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10485 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'` ;;
10486 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10487 if ${ac_cv_lib_soname_EGL:+false} :
10488 then :
10489 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10490 fi ;;
10491 esac
10492 else $as_nop
10493 ac_cv_lib_soname_EGL=
10495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10496 conftest$ac_exeext conftest.$ac_ext
10497 LIBS=$ac_check_soname_save_LIBS
10499 if ${ac_cv_lib_soname_EGL:+false} :
10500 then :
10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10502 printf "%s\n" "not found" >&6; }
10504 else $as_nop
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10506 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10508 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10513 printf %s "checking for -lGLESv2... " >&6; }
10514 if test ${ac_cv_lib_soname_GLESv2+y}
10515 then :
10516 printf %s "(cached) " >&6
10517 else $as_nop
10518 ac_check_soname_save_LIBS=$LIBS
10519 LIBS="-lGLESv2 $LIBS"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 char glFlush ();
10528 main (void)
10530 return glFlush ();
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"
10536 then :
10537 case "$LIBEXT" in
10538 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 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'` ;;
10540 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_GLESv2:+false} :
10542 then :
10543 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10544 fi ;;
10545 esac
10546 else $as_nop
10547 ac_cv_lib_soname_GLESv2=
10549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_soname_save_LIBS
10553 if ${ac_cv_lib_soname_GLESv2:+false} :
10554 then :
10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10556 printf "%s\n" "not found" >&6; }
10558 else $as_nop
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10560 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10562 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10567 if test "x$exec_prefix" = xNONE
10568 then
10569 case $host_cpu in
10570 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10571 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10572 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10573 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10574 esac
10580 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10582 case $host_cpu in
10583 *i[3456789]86*)
10584 DLLFLAGS="$DLLFLAGS -fno-PIC"
10585 LDDLLFLAGS="-fno-PIC"
10586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10587 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10588 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10589 then :
10590 printf %s "(cached) " >&6
10591 else $as_nop
10592 ac_wine_try_cflags_saved=$CFLAGS
10593 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10596 int main(int argc, char **argv) { return 0; }
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"
10599 then :
10600 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10601 else $as_nop
10602 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10605 conftest$ac_exeext conftest.$ac_ext
10606 CFLAGS=$ac_wine_try_cflags_saved
10608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10609 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10610 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10611 then :
10612 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10616 DLLFLAGS="$DLLFLAGS -fPIC"
10617 LDDLLFLAGS="-fPIC" ;;
10618 esac
10619 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10621 echo '{ global: *; };' >conftest.map
10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10623 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10624 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10625 then :
10626 printf %s "(cached) " >&6
10627 else $as_nop
10628 ac_wine_try_cflags_saved=$CFLAGS
10629 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10632 int main(int argc, char **argv) { return 0; }
10633 _ACEOF
10634 if ac_fn_c_try_link "$LINENO"
10635 then :
10636 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10637 else $as_nop
10638 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10641 conftest$ac_exeext conftest.$ac_ext
10642 CFLAGS=$ac_wine_try_cflags_saved
10644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10645 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10646 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10647 then :
10648 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10650 rm -f conftest.map
10652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10653 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10654 if test ${ac_cv_cflags__Wl__z_defs+y}
10655 then :
10656 printf %s "(cached) " >&6
10657 else $as_nop
10658 ac_wine_try_cflags_saved=$CFLAGS
10659 CFLAGS="$CFLAGS -Wl,-z,defs"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10662 int main(int argc, char **argv) { return 0; }
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"
10665 then :
10666 ac_cv_cflags__Wl__z_defs=yes
10667 else $as_nop
10668 ac_cv_cflags__Wl__z_defs=no
10670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10671 conftest$ac_exeext conftest.$ac_ext
10672 CFLAGS=$ac_wine_try_cflags_saved
10674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10675 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10676 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10677 then :
10678 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10681 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10682 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10683 then :
10684 printf %s "(cached) " >&6
10685 else $as_nop
10686 ac_wine_try_cflags_saved=$CFLAGS
10687 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10690 int main(int argc, char **argv) { return 0; }
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"
10693 then :
10694 ac_cv_cflags__Wl___export_dynamic=yes
10695 else $as_nop
10696 ac_cv_cflags__Wl___export_dynamic=no
10698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10699 conftest$ac_exeext conftest.$ac_ext
10700 CFLAGS=$ac_wine_try_cflags_saved
10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10703 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10704 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10705 then :
10706 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10708 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10710 case $host_cpu in
10711 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10713 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10714 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10715 then :
10716 printf %s "(cached) " >&6
10717 else $as_nop
10718 ac_wine_try_cflags_saved=$CFLAGS
10719 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10722 int main(int argc, char **argv) { return 0; }
10723 _ACEOF
10724 if ac_fn_c_try_link "$LINENO"
10725 then :
10726 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10727 else $as_nop
10728 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10731 conftest$ac_exeext conftest.$ac_ext
10732 CFLAGS=$ac_wine_try_cflags_saved
10734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10735 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10736 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10737 then :
10738 case $host_os in
10739 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10740 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10741 esac
10742 else $as_nop
10743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10744 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10745 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10746 then :
10747 printf %s "(cached) " >&6
10748 else $as_nop
10749 ac_wine_try_cflags_saved=$CFLAGS
10750 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10753 int main(int argc, char **argv) { return 0; }
10754 _ACEOF
10755 if ac_fn_c_try_link "$LINENO"
10756 then :
10757 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10758 else $as_nop
10759 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10762 conftest$ac_exeext conftest.$ac_ext
10763 CFLAGS=$ac_wine_try_cflags_saved
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10766 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10767 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10768 then :
10769 case $host_os in
10770 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10771 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10772 esac
10774 # Extract the first word of "prelink", so it can be a program name with args.
10775 set dummy prelink; ac_word=$2
10776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10777 printf %s "checking for $ac_word... " >&6; }
10778 if test ${ac_cv_path_PRELINK+y}
10779 then :
10780 printf %s "(cached) " >&6
10781 else $as_nop
10782 case $PRELINK in
10783 [\\/]* | ?:[\\/]*)
10784 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10788 for as_dir in /sbin /usr/sbin $PATH
10790 IFS=$as_save_IFS
10791 case $as_dir in #(((
10792 '') as_dir=./ ;;
10793 */) ;;
10794 *) as_dir=$as_dir/ ;;
10795 esac
10796 for ac_exec_ext in '' $ac_executable_extensions; do
10797 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10798 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10800 break 2
10802 done
10803 done
10804 IFS=$as_save_IFS
10806 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10808 esac
10810 PRELINK=$ac_cv_path_PRELINK
10811 if test -n "$PRELINK"; then
10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10813 printf "%s\n" "$PRELINK" >&6; }
10814 else
10815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10816 printf "%s\n" "no" >&6; }
10820 if test "x$PRELINK" = xfalse
10821 then
10822 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10826 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10827 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10828 then :
10829 printf %s "(cached) " >&6
10830 else $as_nop
10831 ac_wine_try_cflags_saved=$CFLAGS
10832 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10835 int main(int argc, char **argv) { return 0; }
10836 _ACEOF
10837 if ac_fn_c_try_link "$LINENO"
10838 then :
10839 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10840 else $as_nop
10841 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10844 conftest$ac_exeext conftest.$ac_ext
10845 CFLAGS=$ac_wine_try_cflags_saved
10847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10848 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10849 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10850 then :
10851 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10854 esac
10855 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10857 LIBWINE_DEPENDS="wine.map"
10859 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10861 esac
10863 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10864 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10865 enable_winemac_drv=${enable_winemac_drv:-no}
10868 if test "x$with_mingw" != xno
10869 then
10870 case "x$with_mingw" in
10871 x|xyes) case "$host_cpu" in
10872 aarch64*)
10873 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10874 arm*)
10875 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10876 i[3456789]86*)
10877 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
10878 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10879 mingw32-gcc clang" ;;
10880 x86_64)
10881 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
10882 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10884 ac_prefix_list="" ;;
10885 esac
10886 for ac_prog in $ac_prefix_list
10888 # Extract the first word of "$ac_prog", so it can be a program name with args.
10889 set dummy $ac_prog; ac_word=$2
10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10891 printf %s "checking for $ac_word... " >&6; }
10892 if test ${ac_cv_prog_CROSSCC+y}
10893 then :
10894 printf %s "(cached) " >&6
10895 else $as_nop
10896 if test -n "$CROSSCC"; then
10897 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10898 else
10899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10900 for as_dir in $PATH
10902 IFS=$as_save_IFS
10903 case $as_dir in #(((
10904 '') as_dir=./ ;;
10905 */) ;;
10906 *) as_dir=$as_dir/ ;;
10907 esac
10908 for ac_exec_ext in '' $ac_executable_extensions; do
10909 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10910 ac_cv_prog_CROSSCC="$ac_prog"
10911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10912 break 2
10914 done
10915 done
10916 IFS=$as_save_IFS
10920 CROSSCC=$ac_cv_prog_CROSSCC
10921 if test -n "$CROSSCC"; then
10922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10923 printf "%s\n" "$CROSSCC" >&6; }
10924 else
10925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10926 printf "%s\n" "no" >&6; }
10930 test -n "$CROSSCC" && break
10931 done
10932 test -n "$CROSSCC" || CROSSCC="false"
10934 *) CROSSCC=$with_mingw ;;
10935 esac
10936 if test "$CROSSCC" != "false"
10937 then
10938 ac_save_CC="$CC"
10939 saved_CFLAGS=$CFLAGS
10940 saved_LDFLAGS=$LDFLAGS
10941 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10943 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10947 CC="$CROSSCC"
10948 CFLAGS=$CROSSCFLAGS
10949 LDFLAGS=$CROSSLDFLAGS
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10951 printf %s "checking whether $CROSSCC works... " >&6; }
10952 if test ${wine_cv_crosscc+y}
10953 then :
10954 printf %s "(cached) " >&6
10955 else $as_nop
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10960 main (void)
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_compile "$LINENO"
10968 then :
10969 wine_cv_crosscc=yes
10970 else $as_nop
10971 wine_cv_crosscc=no
10973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10976 printf "%s\n" "$wine_cv_crosscc" >&6; }
10977 if test $wine_cv_crosscc = yes
10978 then
10979 set x $CROSSCC
10980 shift
10981 while test $# -ge 1
10983 case "$1" in
10984 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10985 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10986 esac
10987 shift
10988 done
10990 llvm_target=$CROSSTARGET
10991 llvm_cflags="-fuse-ld=lld"
10992 if test -z "$llvm_target"
10993 then
10994 case $host_cpu in
10995 *i[3456789]86*) llvm_target=i686-windows ;;
10996 *) llvm_target=$host_cpu-windows ;;
10997 esac
10999 case $llvm_target in
11000 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11001 esac
11002 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11004 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11005 if eval test \${$as_ac_var+y}
11006 then :
11007 printf %s "(cached) " >&6
11008 else $as_nop
11009 ac_wine_try_cflags_saved=$CFLAGS
11010 ac_wine_try_cflags_saved_cc=$CC
11011 ac_wine_try_cflags_saved_exeext=$ac_exeext
11012 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11013 CC="$CROSSCC"
11014 ac_exeext=".exe"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11017 int __cdecl mainCRTStartup(void) { return 0; }
11018 _ACEOF
11019 if ac_fn_c_try_link "$LINENO"
11020 then :
11021 eval "$as_ac_var=yes"
11022 else $as_nop
11023 eval "$as_ac_var=no"
11025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11026 conftest$ac_exeext conftest.$ac_ext
11027 CFLAGS=$ac_wine_try_cflags_saved
11028 CC=$ac_wine_try_cflags_saved_cc
11029 ac_exeext=$ac_wine_try_cflags_saved_exeext
11031 eval ac_res=\$$as_ac_var
11032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11033 printf "%s\n" "$ac_res" >&6; }
11034 if eval test \"x\$"$as_ac_var"\" = x"yes"
11035 then :
11036 CROSSTARGET=$llvm_target
11037 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11038 DELAYLOADFLAG="-Wl,-delayload,"
11040 CFLAGS="$CFLAGS $llvm_cflags"
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11044 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11045 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11046 then :
11047 printf %s "(cached) " >&6
11048 else $as_nop
11049 ac_wine_try_cflags_saved=$CFLAGS
11050 ac_wine_try_cflags_saved_cc=$CC
11051 ac_wine_try_cflags_saved_exeext=$ac_exeext
11052 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11053 CC="$CROSSCC"
11054 ac_exeext=".exe"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11057 int __cdecl mainCRTStartup(void) { return 0; }
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"
11060 then :
11061 ac_cv_crosscflags__fno_strict_aliasing=yes
11062 else $as_nop
11063 ac_cv_crosscflags__fno_strict_aliasing=no
11065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11066 conftest$ac_exeext conftest.$ac_ext
11067 CFLAGS=$ac_wine_try_cflags_saved
11068 CC=$ac_wine_try_cflags_saved_cc
11069 ac_exeext=$ac_wine_try_cflags_saved_exeext
11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11072 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11073 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11074 then :
11075 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11078 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11079 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11080 then :
11081 printf %s "(cached) " >&6
11082 else $as_nop
11083 ac_wine_try_cflags_saved=$CFLAGS
11084 ac_wine_try_cflags_saved_cc=$CC
11085 ac_wine_try_cflags_saved_exeext=$ac_exeext
11086 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11087 CC="$CROSSCC"
11088 ac_exeext=".exe"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11091 int __cdecl mainCRTStartup(void) { return 0; }
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"
11094 then :
11095 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11096 else $as_nop
11097 ac_cv_crosscflags__Werror_unknown_warning_option=no
11099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11100 conftest$ac_exeext conftest.$ac_ext
11101 CFLAGS=$ac_wine_try_cflags_saved
11102 CC=$ac_wine_try_cflags_saved_cc
11103 ac_exeext=$ac_wine_try_cflags_saved_exeext
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11106 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11107 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11108 then :
11109 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11112 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11113 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11114 then :
11115 printf %s "(cached) " >&6
11116 else $as_nop
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_cc=$CC
11119 ac_wine_try_cflags_saved_exeext=$ac_exeext
11120 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11121 CC="$CROSSCC"
11122 ac_exeext=".exe"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125 int __cdecl mainCRTStartup(void) { return 0; }
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"
11128 then :
11129 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11130 else $as_nop
11131 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11134 conftest$ac_exeext conftest.$ac_ext
11135 CFLAGS=$ac_wine_try_cflags_saved
11136 CC=$ac_wine_try_cflags_saved_cc
11137 ac_exeext=$ac_wine_try_cflags_saved_exeext
11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11140 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11141 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11142 then :
11143 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11146 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11147 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11148 then :
11149 printf %s "(cached) " >&6
11150 else $as_nop
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_cc=$CC
11153 ac_wine_try_cflags_saved_exeext=$ac_exeext
11154 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11155 CC="$CROSSCC"
11156 ac_exeext=".exe"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11159 int __cdecl mainCRTStartup(void) { return 0; }
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"
11162 then :
11163 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11164 else $as_nop
11165 ac_cv_crosscflags__Wdeclaration_after_statement=no
11167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11168 conftest$ac_exeext conftest.$ac_ext
11169 CFLAGS=$ac_wine_try_cflags_saved
11170 CC=$ac_wine_try_cflags_saved_cc
11171 ac_exeext=$ac_wine_try_cflags_saved_exeext
11173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11174 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11175 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11176 then :
11177 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11180 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11181 if test ${ac_cv_crosscflags__Wempty_body+y}
11182 then :
11183 printf %s "(cached) " >&6
11184 else $as_nop
11185 ac_wine_try_cflags_saved=$CFLAGS
11186 ac_wine_try_cflags_saved_cc=$CC
11187 ac_wine_try_cflags_saved_exeext=$ac_exeext
11188 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11189 CC="$CROSSCC"
11190 ac_exeext=".exe"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11193 int __cdecl mainCRTStartup(void) { return 0; }
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"
11196 then :
11197 ac_cv_crosscflags__Wempty_body=yes
11198 else $as_nop
11199 ac_cv_crosscflags__Wempty_body=no
11201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11202 conftest$ac_exeext conftest.$ac_ext
11203 CFLAGS=$ac_wine_try_cflags_saved
11204 CC=$ac_wine_try_cflags_saved_cc
11205 ac_exeext=$ac_wine_try_cflags_saved_exeext
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11208 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11209 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11210 then :
11211 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11214 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11215 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11216 then :
11217 printf %s "(cached) " >&6
11218 else $as_nop
11219 ac_wine_try_cflags_saved=$CFLAGS
11220 ac_wine_try_cflags_saved_cc=$CC
11221 ac_wine_try_cflags_saved_exeext=$ac_exeext
11222 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11223 CC="$CROSSCC"
11224 ac_exeext=".exe"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11227 int __cdecl mainCRTStartup(void) { return 0; }
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"
11230 then :
11231 ac_cv_crosscflags__Wignored_qualifiers=yes
11232 else $as_nop
11233 ac_cv_crosscflags__Wignored_qualifiers=no
11235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11236 conftest$ac_exeext conftest.$ac_ext
11237 CFLAGS=$ac_wine_try_cflags_saved
11238 CC=$ac_wine_try_cflags_saved_cc
11239 ac_exeext=$ac_wine_try_cflags_saved_exeext
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11242 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11243 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11244 then :
11245 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11248 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11249 if test ${ac_cv_crosscflags__Winit_self+y}
11250 then :
11251 printf %s "(cached) " >&6
11252 else $as_nop
11253 ac_wine_try_cflags_saved=$CFLAGS
11254 ac_wine_try_cflags_saved_cc=$CC
11255 ac_wine_try_cflags_saved_exeext=$ac_exeext
11256 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11257 CC="$CROSSCC"
11258 ac_exeext=".exe"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11261 int __cdecl mainCRTStartup(void) { return 0; }
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"
11264 then :
11265 ac_cv_crosscflags__Winit_self=yes
11266 else $as_nop
11267 ac_cv_crosscflags__Winit_self=no
11269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11270 conftest$ac_exeext conftest.$ac_ext
11271 CFLAGS=$ac_wine_try_cflags_saved
11272 CC=$ac_wine_try_cflags_saved_cc
11273 ac_exeext=$ac_wine_try_cflags_saved_exeext
11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11276 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11277 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11278 then :
11279 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11282 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11283 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11284 then :
11285 printf %s "(cached) " >&6
11286 else $as_nop
11287 ac_wine_try_cflags_saved=$CFLAGS
11288 ac_wine_try_cflags_saved_cc=$CC
11289 ac_wine_try_cflags_saved_exeext=$ac_exeext
11290 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11291 CC="$CROSSCC"
11292 ac_exeext=".exe"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11295 int __cdecl mainCRTStartup(void) { return 0; }
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"
11298 then :
11299 ac_cv_crosscflags__Wpacked_not_aligned=yes
11300 else $as_nop
11301 ac_cv_crosscflags__Wpacked_not_aligned=no
11303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11304 conftest$ac_exeext conftest.$ac_ext
11305 CFLAGS=$ac_wine_try_cflags_saved
11306 CC=$ac_wine_try_cflags_saved_cc
11307 ac_exeext=$ac_wine_try_cflags_saved_exeext
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11310 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11311 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11312 then :
11313 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11316 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11317 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11318 then :
11319 printf %s "(cached) " >&6
11320 else $as_nop
11321 ac_wine_try_cflags_saved=$CFLAGS
11322 ac_wine_try_cflags_saved_cc=$CC
11323 ac_wine_try_cflags_saved_exeext=$ac_exeext
11324 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11325 CC="$CROSSCC"
11326 ac_exeext=".exe"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11329 int __cdecl mainCRTStartup(void) { return 0; }
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"
11332 then :
11333 ac_cv_crosscflags__Wpragma_pack=yes
11334 else $as_nop
11335 ac_cv_crosscflags__Wpragma_pack=no
11337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11338 conftest$ac_exeext conftest.$ac_ext
11339 CFLAGS=$ac_wine_try_cflags_saved
11340 CC=$ac_wine_try_cflags_saved_cc
11341 ac_exeext=$ac_wine_try_cflags_saved_exeext
11343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11344 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11345 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11346 then :
11347 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11350 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11351 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11352 then :
11353 printf %s "(cached) " >&6
11354 else $as_nop
11355 ac_wine_try_cflags_saved=$CFLAGS
11356 ac_wine_try_cflags_saved_cc=$CC
11357 ac_wine_try_cflags_saved_exeext=$ac_exeext
11358 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11359 CC="$CROSSCC"
11360 ac_exeext=".exe"
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11363 int __cdecl mainCRTStartup(void) { return 0; }
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"
11366 then :
11367 ac_cv_crosscflags__Wshift_overflow_2=yes
11368 else $as_nop
11369 ac_cv_crosscflags__Wshift_overflow_2=no
11371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11372 conftest$ac_exeext conftest.$ac_ext
11373 CFLAGS=$ac_wine_try_cflags_saved
11374 CC=$ac_wine_try_cflags_saved_cc
11375 ac_exeext=$ac_wine_try_cflags_saved_exeext
11377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11378 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11379 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11380 then :
11381 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11384 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11385 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11386 then :
11387 printf %s "(cached) " >&6
11388 else $as_nop
11389 ac_wine_try_cflags_saved=$CFLAGS
11390 ac_wine_try_cflags_saved_cc=$CC
11391 ac_wine_try_cflags_saved_exeext=$ac_exeext
11392 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11393 CC="$CROSSCC"
11394 ac_exeext=".exe"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397 int __cdecl mainCRTStartup(void) { return 0; }
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"
11400 then :
11401 ac_cv_crosscflags__Wstrict_prototypes=yes
11402 else $as_nop
11403 ac_cv_crosscflags__Wstrict_prototypes=no
11405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11406 conftest$ac_exeext conftest.$ac_ext
11407 CFLAGS=$ac_wine_try_cflags_saved
11408 CC=$ac_wine_try_cflags_saved_cc
11409 ac_exeext=$ac_wine_try_cflags_saved_exeext
11411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11412 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11413 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11414 then :
11415 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11418 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11419 if test ${ac_cv_crosscflags__Wtype_limits+y}
11420 then :
11421 printf %s "(cached) " >&6
11422 else $as_nop
11423 ac_wine_try_cflags_saved=$CFLAGS
11424 ac_wine_try_cflags_saved_cc=$CC
11425 ac_wine_try_cflags_saved_exeext=$ac_exeext
11426 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11427 CC="$CROSSCC"
11428 ac_exeext=".exe"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11431 int __cdecl mainCRTStartup(void) { return 0; }
11432 _ACEOF
11433 if ac_fn_c_try_link "$LINENO"
11434 then :
11435 ac_cv_crosscflags__Wtype_limits=yes
11436 else $as_nop
11437 ac_cv_crosscflags__Wtype_limits=no
11439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11440 conftest$ac_exeext conftest.$ac_ext
11441 CFLAGS=$ac_wine_try_cflags_saved
11442 CC=$ac_wine_try_cflags_saved_cc
11443 ac_exeext=$ac_wine_try_cflags_saved_exeext
11445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11446 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11447 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11448 then :
11449 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11452 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11453 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11454 then :
11455 printf %s "(cached) " >&6
11456 else $as_nop
11457 ac_wine_try_cflags_saved=$CFLAGS
11458 ac_wine_try_cflags_saved_cc=$CC
11459 ac_wine_try_cflags_saved_exeext=$ac_exeext
11460 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11461 CC="$CROSSCC"
11462 ac_exeext=".exe"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11465 int __cdecl mainCRTStartup(void) { return 0; }
11466 _ACEOF
11467 if ac_fn_c_try_link "$LINENO"
11468 then :
11469 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11470 else $as_nop
11471 ac_cv_crosscflags__Wunused_but_set_parameter=no
11473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11474 conftest$ac_exeext conftest.$ac_ext
11475 CFLAGS=$ac_wine_try_cflags_saved
11476 CC=$ac_wine_try_cflags_saved_cc
11477 ac_exeext=$ac_wine_try_cflags_saved_exeext
11479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11480 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11481 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11482 then :
11483 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11486 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11487 if test ${ac_cv_crosscflags__Wvla+y}
11488 then :
11489 printf %s "(cached) " >&6
11490 else $as_nop
11491 ac_wine_try_cflags_saved=$CFLAGS
11492 ac_wine_try_cflags_saved_cc=$CC
11493 ac_wine_try_cflags_saved_exeext=$ac_exeext
11494 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11495 CC="$CROSSCC"
11496 ac_exeext=".exe"
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11499 int __cdecl mainCRTStartup(void) { return 0; }
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"
11502 then :
11503 ac_cv_crosscflags__Wvla=yes
11504 else $as_nop
11505 ac_cv_crosscflags__Wvla=no
11507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11508 conftest$ac_exeext conftest.$ac_ext
11509 CFLAGS=$ac_wine_try_cflags_saved
11510 CC=$ac_wine_try_cflags_saved_cc
11511 ac_exeext=$ac_wine_try_cflags_saved_exeext
11513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11514 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11515 if test "x$ac_cv_crosscflags__Wvla" = xyes
11516 then :
11517 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11520 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11521 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11522 then :
11523 printf %s "(cached) " >&6
11524 else $as_nop
11525 ac_wine_try_cflags_saved=$CFLAGS
11526 ac_wine_try_cflags_saved_cc=$CC
11527 ac_wine_try_cflags_saved_exeext=$ac_exeext
11528 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11529 CC="$CROSSCC"
11530 ac_exeext=".exe"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11533 int __cdecl mainCRTStartup(void) { return 0; }
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"
11536 then :
11537 ac_cv_crosscflags__Wwrite_strings=yes
11538 else $as_nop
11539 ac_cv_crosscflags__Wwrite_strings=no
11541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11542 conftest$ac_exeext conftest.$ac_ext
11543 CFLAGS=$ac_wine_try_cflags_saved
11544 CC=$ac_wine_try_cflags_saved_cc
11545 ac_exeext=$ac_wine_try_cflags_saved_exeext
11547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11548 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11549 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11550 then :
11551 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11554 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11555 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11556 then :
11557 printf %s "(cached) " >&6
11558 else $as_nop
11559 ac_wine_try_cflags_saved=$CFLAGS
11560 ac_wine_try_cflags_saved_cc=$CC
11561 ac_wine_try_cflags_saved_exeext=$ac_exeext
11562 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11563 CC="$CROSSCC"
11564 ac_exeext=".exe"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11567 int __cdecl mainCRTStartup(void) { return 0; }
11568 _ACEOF
11569 if ac_fn_c_try_link "$LINENO"
11570 then :
11571 ac_cv_crosscflags__Wpointer_arith=yes
11572 else $as_nop
11573 ac_cv_crosscflags__Wpointer_arith=no
11575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11576 conftest$ac_exeext conftest.$ac_ext
11577 CFLAGS=$ac_wine_try_cflags_saved
11578 CC=$ac_wine_try_cflags_saved_cc
11579 ac_exeext=$ac_wine_try_cflags_saved_exeext
11581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11582 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11583 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11584 then :
11585 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11588 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11589 if test ${ac_cv_crosscflags__Wlogical_op+y}
11590 then :
11591 printf %s "(cached) " >&6
11592 else $as_nop
11593 ac_wine_try_cflags_saved=$CFLAGS
11594 ac_wine_try_cflags_saved_cc=$CC
11595 ac_wine_try_cflags_saved_exeext=$ac_exeext
11596 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11597 CC="$CROSSCC"
11598 ac_exeext=".exe"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11601 int __cdecl mainCRTStartup(void) { return 0; }
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"
11604 then :
11605 ac_cv_crosscflags__Wlogical_op=yes
11606 else $as_nop
11607 ac_cv_crosscflags__Wlogical_op=no
11609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11610 conftest$ac_exeext conftest.$ac_ext
11611 CFLAGS=$ac_wine_try_cflags_saved
11612 CC=$ac_wine_try_cflags_saved_cc
11613 ac_exeext=$ac_wine_try_cflags_saved_exeext
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11616 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11617 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11618 then :
11619 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11622 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11623 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11624 then :
11625 printf %s "(cached) " >&6
11626 else $as_nop
11627 ac_wine_try_cflags_saved=$CFLAGS
11628 ac_wine_try_cflags_saved_cc=$CC
11629 ac_wine_try_cflags_saved_exeext=$ac_exeext
11630 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11631 CC="$CROSSCC"
11632 ac_exeext=".exe"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11635 int __cdecl mainCRTStartup(void) { return 0; }
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"
11638 then :
11639 ac_cv_crosscflags__Wabsolute_value=yes
11640 else $as_nop
11641 ac_cv_crosscflags__Wabsolute_value=no
11643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11644 conftest$ac_exeext conftest.$ac_ext
11645 CFLAGS=$ac_wine_try_cflags_saved
11646 CC=$ac_wine_try_cflags_saved_cc
11647 ac_exeext=$ac_wine_try_cflags_saved_exeext
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11650 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11651 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11652 then :
11653 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11656 case $host_cpu in
11657 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11658 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11659 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11660 then :
11661 printf %s "(cached) " >&6
11662 else $as_nop
11663 ac_wine_try_cflags_saved=$CFLAGS
11664 ac_wine_try_cflags_saved_cc=$CC
11665 ac_wine_try_cflags_saved_exeext=$ac_exeext
11666 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11667 CC="$CROSSCC"
11668 ac_exeext=".exe"
11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11671 int __cdecl mainCRTStartup(void) { return 0; }
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"
11674 then :
11675 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11676 else $as_nop
11677 ac_cv_crosscflags__fno_omit_frame_pointer=no
11679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11680 conftest$ac_exeext conftest.$ac_ext
11681 CFLAGS=$ac_wine_try_cflags_saved
11682 CC=$ac_wine_try_cflags_saved_cc
11683 ac_exeext=$ac_wine_try_cflags_saved_exeext
11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11686 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11687 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11688 then :
11689 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11690 fi ;;
11691 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11692 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11693 if test ${ac_cv_crosscflags__Wno_format+y}
11694 then :
11695 printf %s "(cached) " >&6
11696 else $as_nop
11697 ac_wine_try_cflags_saved=$CFLAGS
11698 ac_wine_try_cflags_saved_cc=$CC
11699 ac_wine_try_cflags_saved_exeext=$ac_exeext
11700 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11701 CC="$CROSSCC"
11702 ac_exeext=".exe"
11703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11705 int __cdecl mainCRTStartup(void) { return 0; }
11706 _ACEOF
11707 if ac_fn_c_try_link "$LINENO"
11708 then :
11709 ac_cv_crosscflags__Wno_format=yes
11710 else $as_nop
11711 ac_cv_crosscflags__Wno_format=no
11713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11714 conftest$ac_exeext conftest.$ac_ext
11715 CFLAGS=$ac_wine_try_cflags_saved
11716 CC=$ac_wine_try_cflags_saved_cc
11717 ac_exeext=$ac_wine_try_cflags_saved_exeext
11719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11720 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11721 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11722 then :
11723 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11726 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11727 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11728 then :
11729 printf %s "(cached) " >&6
11730 else $as_nop
11731 ac_wine_try_cflags_saved=$CFLAGS
11732 ac_wine_try_cflags_saved_cc=$CC
11733 ac_wine_try_cflags_saved_exeext=$ac_exeext
11734 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11735 CC="$CROSSCC"
11736 ac_exeext=".exe"
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11739 int __cdecl mainCRTStartup(void) { return 0; }
11740 _ACEOF
11741 if ac_fn_c_try_link "$LINENO"
11742 then :
11743 ac_cv_crosscflags__Wformat_overflow=yes
11744 else $as_nop
11745 ac_cv_crosscflags__Wformat_overflow=no
11747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11748 conftest$ac_exeext conftest.$ac_ext
11749 CFLAGS=$ac_wine_try_cflags_saved
11750 CC=$ac_wine_try_cflags_saved_cc
11751 ac_exeext=$ac_wine_try_cflags_saved_exeext
11753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11754 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11755 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11756 then :
11757 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11760 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11761 if test ${ac_cv_crosscflags__Wnonnull+y}
11762 then :
11763 printf %s "(cached) " >&6
11764 else $as_nop
11765 ac_wine_try_cflags_saved=$CFLAGS
11766 ac_wine_try_cflags_saved_cc=$CC
11767 ac_wine_try_cflags_saved_exeext=$ac_exeext
11768 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11769 CC="$CROSSCC"
11770 ac_exeext=".exe"
11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11772 /* end confdefs.h. */
11773 int __cdecl mainCRTStartup(void) { return 0; }
11774 _ACEOF
11775 if ac_fn_c_try_link "$LINENO"
11776 then :
11777 ac_cv_crosscflags__Wnonnull=yes
11778 else $as_nop
11779 ac_cv_crosscflags__Wnonnull=no
11781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11782 conftest$ac_exeext conftest.$ac_ext
11783 CFLAGS=$ac_wine_try_cflags_saved
11784 CC=$ac_wine_try_cflags_saved_cc
11785 ac_exeext=$ac_wine_try_cflags_saved_exeext
11787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11788 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11789 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11790 then :
11791 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11794 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11795 if test ${ac_cv_crosscflags__mcx16+y}
11796 then :
11797 printf %s "(cached) " >&6
11798 else $as_nop
11799 ac_wine_try_cflags_saved=$CFLAGS
11800 ac_wine_try_cflags_saved_cc=$CC
11801 ac_wine_try_cflags_saved_exeext=$ac_exeext
11802 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11803 CC="$CROSSCC"
11804 ac_exeext=".exe"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11807 int __cdecl mainCRTStartup(void) { return 0; }
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"
11810 then :
11811 ac_cv_crosscflags__mcx16=yes
11812 else $as_nop
11813 ac_cv_crosscflags__mcx16=no
11815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11816 conftest$ac_exeext conftest.$ac_ext
11817 CFLAGS=$ac_wine_try_cflags_saved
11818 CC=$ac_wine_try_cflags_saved_cc
11819 ac_exeext=$ac_wine_try_cflags_saved_exeext
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11822 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11823 if test "x$ac_cv_crosscflags__mcx16" = xyes
11824 then :
11825 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11826 fi ;;
11827 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11828 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11829 if test ${ac_cv_crosscflags__Wno_format+y}
11830 then :
11831 printf %s "(cached) " >&6
11832 else $as_nop
11833 ac_wine_try_cflags_saved=$CFLAGS
11834 ac_wine_try_cflags_saved_cc=$CC
11835 ac_wine_try_cflags_saved_exeext=$ac_exeext
11836 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11837 CC="$CROSSCC"
11838 ac_exeext=".exe"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11841 int __cdecl mainCRTStartup(void) { return 0; }
11842 _ACEOF
11843 if ac_fn_c_try_link "$LINENO"
11844 then :
11845 ac_cv_crosscflags__Wno_format=yes
11846 else $as_nop
11847 ac_cv_crosscflags__Wno_format=no
11849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11850 conftest$ac_exeext conftest.$ac_ext
11851 CFLAGS=$ac_wine_try_cflags_saved
11852 CC=$ac_wine_try_cflags_saved_cc
11853 ac_exeext=$ac_wine_try_cflags_saved_exeext
11855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11856 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11857 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11858 then :
11859 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11860 fi ;;
11861 esac
11864 if test -z "$CROSSDEBUG"
11865 then
11866 for ac_flag in $CROSSCFLAGS; do
11867 case $ac_flag in
11868 -gdwarf*) CROSSDEBUG=dwarf ;;
11869 -gcodeview) CROSSDEBUG=pdb ;;
11870 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11871 esac
11872 done
11875 ac_debug_format_seen=""
11876 for ac_flag in $CROSSCFLAGS; do
11877 case $ac_flag in
11878 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11879 esac
11880 done
11881 if test "x$ac_debug_format_seen" = x
11882 then
11883 case $CROSSDEBUG in
11884 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11885 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11886 if test ${ac_cv_crosscflags__gdwarf_4+y}
11887 then :
11888 printf %s "(cached) " >&6
11889 else $as_nop
11890 ac_wine_try_cflags_saved=$CFLAGS
11891 ac_wine_try_cflags_saved_cc=$CC
11892 ac_wine_try_cflags_saved_exeext=$ac_exeext
11893 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11894 CC="$CROSSCC"
11895 ac_exeext=".exe"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11898 int __cdecl mainCRTStartup(void) { return 0; }
11899 _ACEOF
11900 if ac_fn_c_try_link "$LINENO"
11901 then :
11902 ac_cv_crosscflags__gdwarf_4=yes
11903 else $as_nop
11904 ac_cv_crosscflags__gdwarf_4=no
11906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11907 conftest$ac_exeext conftest.$ac_ext
11908 CFLAGS=$ac_wine_try_cflags_saved
11909 CC=$ac_wine_try_cflags_saved_cc
11910 ac_exeext=$ac_wine_try_cflags_saved_exeext
11912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11913 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11914 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11915 then :
11916 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11917 fi ;;
11918 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11919 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11920 if test ${ac_cv_crosscflags__gcodeview+y}
11921 then :
11922 printf %s "(cached) " >&6
11923 else $as_nop
11924 ac_wine_try_cflags_saved=$CFLAGS
11925 ac_wine_try_cflags_saved_cc=$CC
11926 ac_wine_try_cflags_saved_exeext=$ac_exeext
11927 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11928 CC="$CROSSCC"
11929 ac_exeext=".exe"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11932 int __cdecl mainCRTStartup(void) { return 0; }
11933 _ACEOF
11934 if ac_fn_c_try_link "$LINENO"
11935 then :
11936 ac_cv_crosscflags__gcodeview=yes
11937 else $as_nop
11938 ac_cv_crosscflags__gcodeview=no
11940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11941 conftest$ac_exeext conftest.$ac_ext
11942 CFLAGS=$ac_wine_try_cflags_saved
11943 CC=$ac_wine_try_cflags_saved_cc
11944 ac_exeext=$ac_wine_try_cflags_saved_exeext
11946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11947 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11948 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11949 then :
11950 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11951 fi ;;
11952 esac
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11956 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11957 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11958 then :
11959 printf %s "(cached) " >&6
11960 else $as_nop
11961 ac_wine_try_cflags_saved=$CFLAGS
11962 ac_wine_try_cflags_saved_cc=$CC
11963 ac_wine_try_cflags_saved_exeext=$ac_exeext
11964 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11965 CC="$CROSSCC"
11966 ac_exeext=".exe"
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 int __cdecl mainCRTStartup(void) { return 0; }
11970 _ACEOF
11971 if ac_fn_c_try_link "$LINENO"
11972 then :
11973 ac_cv_crosscflags__fexcess_precision_standard=yes
11974 else $as_nop
11975 ac_cv_crosscflags__fexcess_precision_standard=no
11977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11978 conftest$ac_exeext conftest.$ac_ext
11979 CFLAGS=$ac_wine_try_cflags_saved
11980 CC=$ac_wine_try_cflags_saved_cc
11981 ac_exeext=$ac_wine_try_cflags_saved_exeext
11983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11984 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11985 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11986 then :
11987 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11991 if test "x$enable_werror" = "xyes"
11992 then
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11994 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11995 if test ${ac_cv_crosscflags__Werror+y}
11996 then :
11997 printf %s "(cached) " >&6
11998 else $as_nop
11999 ac_wine_try_cflags_saved=$CFLAGS
12000 ac_wine_try_cflags_saved_cc=$CC
12001 ac_wine_try_cflags_saved_exeext=$ac_exeext
12002 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12003 CC="$CROSSCC"
12004 ac_exeext=".exe"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 int __cdecl mainCRTStartup(void) { return 0; }
12008 _ACEOF
12009 if ac_fn_c_try_link "$LINENO"
12010 then :
12011 ac_cv_crosscflags__Werror=yes
12012 else $as_nop
12013 ac_cv_crosscflags__Werror=no
12015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12016 conftest$ac_exeext conftest.$ac_ext
12017 CFLAGS=$ac_wine_try_cflags_saved
12018 CC=$ac_wine_try_cflags_saved_cc
12019 ac_exeext=$ac_wine_try_cflags_saved_exeext
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12022 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12023 if test "x$ac_cv_crosscflags__Werror" = xyes
12024 then :
12025 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12028 if test "x$enable_build_id" = "xyes"
12029 then
12030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12031 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12032 if test ${ac_cv_crosscflags__Wl___build_id+y}
12033 then :
12034 printf %s "(cached) " >&6
12035 else $as_nop
12036 ac_wine_try_cflags_saved=$CFLAGS
12037 ac_wine_try_cflags_saved_cc=$CC
12038 ac_wine_try_cflags_saved_exeext=$ac_exeext
12039 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12040 CC="$CROSSCC"
12041 ac_exeext=".exe"
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12044 int __cdecl mainCRTStartup(void) { return 0; }
12045 _ACEOF
12046 if ac_fn_c_try_link "$LINENO"
12047 then :
12048 ac_cv_crosscflags__Wl___build_id=yes
12049 else $as_nop
12050 ac_cv_crosscflags__Wl___build_id=no
12052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12053 conftest$ac_exeext conftest.$ac_ext
12054 CFLAGS=$ac_wine_try_cflags_saved
12055 CC=$ac_wine_try_cflags_saved_cc
12056 ac_exeext=$ac_wine_try_cflags_saved_exeext
12058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12059 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12060 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12061 then :
12062 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12063 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12067 CFLAGS=$saved_CFLAGS
12068 LDFLAGS=$saved_LDFLAGS
12069 CC="$ac_save_CC"
12072 if test "x$CROSSTARGET" = "x"
12073 then :
12074 case "x$with_mingw" in
12075 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12076 xno) ;;
12077 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12078 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12079 esac
12084 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
12085 then
12086 case "$host_cpu" in
12087 i[3456789]86*)
12088 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
12090 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
12091 esac
12092 for ac_prog in $ac_prefix_list
12094 # Extract the first word of "$ac_prog", so it can be a program name with args.
12095 set dummy $ac_prog; ac_word=$2
12096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12097 printf %s "checking for $ac_word... " >&6; }
12098 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12099 then :
12100 printf %s "(cached) " >&6
12101 else $as_nop
12102 if test -n "$MINGW_PKG_CONFIG"; then
12103 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12104 else
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12108 IFS=$as_save_IFS
12109 case $as_dir in #(((
12110 '') as_dir=./ ;;
12111 */) ;;
12112 *) as_dir=$as_dir/ ;;
12113 esac
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12116 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12118 break 2
12120 done
12121 done
12122 IFS=$as_save_IFS
12126 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12127 if test -n "$MINGW_PKG_CONFIG"; then
12128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12129 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12130 else
12131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132 printf "%s\n" "no" >&6; }
12136 test -n "$MINGW_PKG_CONFIG" && break
12137 done
12138 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12140 if ${FAUDIO_PE_CFLAGS:+false} :
12141 then :
12142 if test ${MINGW_PKG_CONFIG+y}
12143 then :
12144 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12147 if ${FAUDIO_PE_LIBS:+false} :
12148 then :
12149 if test ${MINGW_PKG_CONFIG+y}
12150 then :
12151 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12154 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12158 printf %s "checking for MinGW FAudio.h... " >&6; }
12159 if test ${ac_cv_mingw_header_FAudio_h+y}
12160 then :
12161 printf %s "(cached) " >&6
12162 else $as_nop
12163 ac_wine_check_headers_saved_cc=$CC
12164 ac_wine_check_headers_saved_exeext=$ac_exeext
12165 CC="$CROSSCC"
12166 ac_exeext=".exe"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 #include <FAudio.h>
12172 main (void)
12176 return 0;
12178 _ACEOF
12179 if ac_fn_c_try_compile "$LINENO"
12180 then :
12181 ac_cv_mingw_header_FAudio_h=yes
12182 else $as_nop
12183 ac_cv_mingw_header_FAudio_h=no
12185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12186 CC=$ac_wine_check_headers_saved_cc
12187 ac_exeext=$ac_wine_check_headers_saved_exeext
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12190 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12191 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12192 then :
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12194 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12195 if test ${ac_cv_mingw_lib_FAudio+y}
12196 then :
12197 printf %s "(cached) " >&6
12198 else $as_nop
12199 ac_wine_check_headers_saved_cc=$CC
12200 ac_wine_check_headers_saved_exeext=$ac_exeext
12201 ac_wine_check_headers_saved_libs=$LIBS
12202 CC="$CROSSCC"
12203 ac_exeext=".exe"
12204 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 /* Override any GCC internal prototype to avoid an error.
12209 Use char because int might match the return type of a GCC
12210 builtin and then its argument prototype would still apply. */
12211 char FAudio_CommitOperationSet ();
12213 main (void)
12215 return FAudio_CommitOperationSet ();
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"
12221 then :
12222 ac_cv_mingw_lib_FAudio=yes
12223 else $as_nop
12224 ac_cv_mingw_lib_FAudio=no
12226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12227 conftest$ac_exeext conftest.$ac_ext
12228 CC=$ac_wine_check_headers_saved_cc
12229 ac_exeext=$ac_wine_check_headers_saved_exeext
12230 LIBS=$ac_wine_check_headers_saved_libs
12232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12233 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12234 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12235 then :
12237 else $as_nop
12238 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12240 else $as_nop
12241 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12243 CPPFLAGS=$ac_save_CPPFLAGS
12245 if test "x$FAUDIO_PE_LIBS" = "x"
12246 then
12247 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12250 if ${JPEG_PE_CFLAGS:+false} :
12251 then :
12252 if test ${MINGW_PKG_CONFIG+y}
12253 then :
12254 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12257 if ${JPEG_PE_LIBS:+false} :
12258 then :
12259 if test ${MINGW_PKG_CONFIG+y}
12260 then :
12261 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12265 ac_save_CPPFLAGS=$CPPFLAGS
12266 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12268 printf %s "checking for MinGW jpeglib.h... " >&6; }
12269 if test ${ac_cv_mingw_header_jpeglib_h+y}
12270 then :
12271 printf %s "(cached) " >&6
12272 else $as_nop
12273 ac_wine_check_headers_saved_cc=$CC
12274 ac_wine_check_headers_saved_exeext=$ac_exeext
12275 CC="$CROSSCC"
12276 ac_exeext=".exe"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12279 #include <stddef.h>
12280 #include <stdio.h>
12281 #include <jpeglib.h>
12283 main (void)
12287 return 0;
12289 _ACEOF
12290 if ac_fn_c_try_compile "$LINENO"
12291 then :
12292 ac_cv_mingw_header_jpeglib_h=yes
12293 else $as_nop
12294 ac_cv_mingw_header_jpeglib_h=no
12296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12297 CC=$ac_wine_check_headers_saved_cc
12298 ac_exeext=$ac_wine_check_headers_saved_exeext
12300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12301 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12302 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12303 then :
12304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12305 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12306 if test ${ac_cv_mingw_lib_jpeg+y}
12307 then :
12308 printf %s "(cached) " >&6
12309 else $as_nop
12310 ac_wine_check_headers_saved_cc=$CC
12311 ac_wine_check_headers_saved_exeext=$ac_exeext
12312 ac_wine_check_headers_saved_libs=$LIBS
12313 CC="$CROSSCC"
12314 ac_exeext=".exe"
12315 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12322 char jpeg_start_decompress ();
12324 main (void)
12326 return jpeg_start_decompress ();
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_link "$LINENO"
12332 then :
12333 ac_cv_mingw_lib_jpeg=yes
12334 else $as_nop
12335 ac_cv_mingw_lib_jpeg=no
12337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12338 conftest$ac_exeext conftest.$ac_ext
12339 CC=$ac_wine_check_headers_saved_cc
12340 ac_exeext=$ac_wine_check_headers_saved_exeext
12341 LIBS=$ac_wine_check_headers_saved_libs
12343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12344 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12345 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12346 then :
12348 else $as_nop
12349 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12351 else $as_nop
12352 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12354 CPPFLAGS=$ac_save_CPPFLAGS
12356 if test "x$JPEG_PE_LIBS" = "x"
12357 then
12358 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12361 if ${LCMS2_PE_CFLAGS:+false} :
12362 then :
12363 if test ${MINGW_PKG_CONFIG+y}
12364 then :
12365 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12368 if ${LCMS2_PE_LIBS:+false} :
12369 then :
12370 if test ${MINGW_PKG_CONFIG+y}
12371 then :
12372 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12375 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12376 ac_save_CPPFLAGS=$CPPFLAGS
12377 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12379 printf %s "checking for MinGW lcms2.h... " >&6; }
12380 if test ${ac_cv_mingw_header_lcms2_h+y}
12381 then :
12382 printf %s "(cached) " >&6
12383 else $as_nop
12384 ac_wine_check_headers_saved_cc=$CC
12385 ac_wine_check_headers_saved_exeext=$ac_exeext
12386 CC="$CROSSCC"
12387 ac_exeext=".exe"
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 #include <lcms2.h>
12393 main (void)
12397 return 0;
12399 _ACEOF
12400 if ac_fn_c_try_compile "$LINENO"
12401 then :
12402 ac_cv_mingw_header_lcms2_h=yes
12403 else $as_nop
12404 ac_cv_mingw_header_lcms2_h=no
12406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12407 CC=$ac_wine_check_headers_saved_cc
12408 ac_exeext=$ac_wine_check_headers_saved_exeext
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12411 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12412 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12413 then :
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12415 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12416 if test ${ac_cv_mingw_lib_lcms2+y}
12417 then :
12418 printf %s "(cached) " >&6
12419 else $as_nop
12420 ac_wine_check_headers_saved_cc=$CC
12421 ac_wine_check_headers_saved_exeext=$ac_exeext
12422 ac_wine_check_headers_saved_libs=$LIBS
12423 CC="$CROSSCC"
12424 ac_exeext=".exe"
12425 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 char cmsOpenProfileFromFile ();
12434 main (void)
12436 return cmsOpenProfileFromFile ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"
12442 then :
12443 ac_cv_mingw_lib_lcms2=yes
12444 else $as_nop
12445 ac_cv_mingw_lib_lcms2=no
12447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12448 conftest$ac_exeext conftest.$ac_ext
12449 CC=$ac_wine_check_headers_saved_cc
12450 ac_exeext=$ac_wine_check_headers_saved_exeext
12451 LIBS=$ac_wine_check_headers_saved_libs
12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12454 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12455 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12456 then :
12458 else $as_nop
12459 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12461 else $as_nop
12462 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12464 CPPFLAGS=$ac_save_CPPFLAGS
12466 if test "x$LCMS2_PE_LIBS" = "x"
12467 then
12468 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12471 if ${MPG123_PE_CFLAGS:+false} :
12472 then :
12473 if test ${MINGW_PKG_CONFIG+y}
12474 then :
12475 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12478 if ${MPG123_PE_LIBS:+false} :
12479 then :
12480 if test ${MINGW_PKG_CONFIG+y}
12481 then :
12482 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12485 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12486 ac_save_CPPFLAGS=$CPPFLAGS
12487 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12489 printf %s "checking for MinGW mpg123.h... " >&6; }
12490 if test ${ac_cv_mingw_header_mpg123_h+y}
12491 then :
12492 printf %s "(cached) " >&6
12493 else $as_nop
12494 ac_wine_check_headers_saved_cc=$CC
12495 ac_wine_check_headers_saved_exeext=$ac_exeext
12496 CC="$CROSSCC"
12497 ac_exeext=".exe"
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12501 #include <mpg123.h>
12503 main (void)
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_compile "$LINENO"
12511 then :
12512 ac_cv_mingw_header_mpg123_h=yes
12513 else $as_nop
12514 ac_cv_mingw_header_mpg123_h=no
12516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12517 CC=$ac_wine_check_headers_saved_cc
12518 ac_exeext=$ac_wine_check_headers_saved_exeext
12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12521 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12522 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12523 then :
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12525 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12526 if test ${ac_cv_mingw_lib_mpg123+y}
12527 then :
12528 printf %s "(cached) " >&6
12529 else $as_nop
12530 ac_wine_check_headers_saved_cc=$CC
12531 ac_wine_check_headers_saved_exeext=$ac_exeext
12532 ac_wine_check_headers_saved_libs=$LIBS
12533 CC="$CROSSCC"
12534 ac_exeext=".exe"
12535 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12542 char mpg123_feed ();
12544 main (void)
12546 return mpg123_feed ();
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"
12552 then :
12553 ac_cv_mingw_lib_mpg123=yes
12554 else $as_nop
12555 ac_cv_mingw_lib_mpg123=no
12557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12558 conftest$ac_exeext conftest.$ac_ext
12559 CC=$ac_wine_check_headers_saved_cc
12560 ac_exeext=$ac_wine_check_headers_saved_exeext
12561 LIBS=$ac_wine_check_headers_saved_libs
12563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12564 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12565 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12566 then :
12568 else $as_nop
12569 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12571 else $as_nop
12572 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12574 CPPFLAGS=$ac_save_CPPFLAGS
12576 if test "x$MPG123_PE_LIBS" = "x"
12577 then
12578 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12581 if ${PNG_PE_CFLAGS:+false} :
12582 then :
12583 if test ${MINGW_PKG_CONFIG+y}
12584 then :
12585 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12588 if ${PNG_PE_LIBS:+false} :
12589 then :
12590 if test ${MINGW_PKG_CONFIG+y}
12591 then :
12592 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12596 ac_save_CPPFLAGS=$CPPFLAGS
12597 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12599 printf %s "checking for MinGW png.h... " >&6; }
12600 if test ${ac_cv_mingw_header_png_h+y}
12601 then :
12602 printf %s "(cached) " >&6
12603 else $as_nop
12604 ac_wine_check_headers_saved_cc=$CC
12605 ac_wine_check_headers_saved_exeext=$ac_exeext
12606 CC="$CROSSCC"
12607 ac_exeext=".exe"
12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12611 #include <png.h>
12613 main (void)
12617 return 0;
12619 _ACEOF
12620 if ac_fn_c_try_compile "$LINENO"
12621 then :
12622 ac_cv_mingw_header_png_h=yes
12623 else $as_nop
12624 ac_cv_mingw_header_png_h=no
12626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12627 CC=$ac_wine_check_headers_saved_cc
12628 ac_exeext=$ac_wine_check_headers_saved_exeext
12630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12631 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12632 if test "x$ac_cv_mingw_header_png_h" = xyes
12633 then :
12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12635 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12636 if test ${ac_cv_mingw_lib_png+y}
12637 then :
12638 printf %s "(cached) " >&6
12639 else $as_nop
12640 ac_wine_check_headers_saved_cc=$CC
12641 ac_wine_check_headers_saved_exeext=$ac_exeext
12642 ac_wine_check_headers_saved_libs=$LIBS
12643 CC="$CROSSCC"
12644 ac_exeext=".exe"
12645 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12652 char png_create_read_struct ();
12654 main (void)
12656 return png_create_read_struct ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"
12662 then :
12663 ac_cv_mingw_lib_png=yes
12664 else $as_nop
12665 ac_cv_mingw_lib_png=no
12667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12668 conftest$ac_exeext conftest.$ac_ext
12669 CC=$ac_wine_check_headers_saved_cc
12670 ac_exeext=$ac_wine_check_headers_saved_exeext
12671 LIBS=$ac_wine_check_headers_saved_libs
12673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12674 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12675 if test "x$ac_cv_mingw_lib_png" = xyes
12676 then :
12678 else $as_nop
12679 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12681 else $as_nop
12682 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12684 CPPFLAGS=$ac_save_CPPFLAGS
12686 if test "x$PNG_PE_LIBS" = "x"
12687 then
12688 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12691 if ${TIFF_PE_CFLAGS:+false} :
12692 then :
12693 if test ${MINGW_PKG_CONFIG+y}
12694 then :
12695 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12698 if ${TIFF_PE_LIBS:+false} :
12699 then :
12700 if test ${MINGW_PKG_CONFIG+y}
12701 then :
12702 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12706 ac_save_CPPFLAGS=$CPPFLAGS
12707 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12709 printf %s "checking for MinGW tiffio.h... " >&6; }
12710 if test ${ac_cv_mingw_header_tiffio_h+y}
12711 then :
12712 printf %s "(cached) " >&6
12713 else $as_nop
12714 ac_wine_check_headers_saved_cc=$CC
12715 ac_wine_check_headers_saved_exeext=$ac_exeext
12716 CC="$CROSSCC"
12717 ac_exeext=".exe"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 #include <tiffio.h>
12723 main (void)
12727 return 0;
12729 _ACEOF
12730 if ac_fn_c_try_compile "$LINENO"
12731 then :
12732 ac_cv_mingw_header_tiffio_h=yes
12733 else $as_nop
12734 ac_cv_mingw_header_tiffio_h=no
12736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12737 CC=$ac_wine_check_headers_saved_cc
12738 ac_exeext=$ac_wine_check_headers_saved_exeext
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12741 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12742 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12743 then :
12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12745 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12746 if test ${ac_cv_mingw_lib_tiff+y}
12747 then :
12748 printf %s "(cached) " >&6
12749 else $as_nop
12750 ac_wine_check_headers_saved_cc=$CC
12751 ac_wine_check_headers_saved_exeext=$ac_exeext
12752 ac_wine_check_headers_saved_libs=$LIBS
12753 CC="$CROSSCC"
12754 ac_exeext=".exe"
12755 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12762 char TIFFClientOpen ();
12764 main (void)
12766 return TIFFClientOpen ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"
12772 then :
12773 ac_cv_mingw_lib_tiff=yes
12774 else $as_nop
12775 ac_cv_mingw_lib_tiff=no
12777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12778 conftest$ac_exeext conftest.$ac_ext
12779 CC=$ac_wine_check_headers_saved_cc
12780 ac_exeext=$ac_wine_check_headers_saved_exeext
12781 LIBS=$ac_wine_check_headers_saved_libs
12783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12784 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12785 if test "x$ac_cv_mingw_lib_tiff" = xyes
12786 then :
12788 else $as_nop
12789 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12791 else $as_nop
12792 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12794 CPPFLAGS=$ac_save_CPPFLAGS
12796 if test "x$TIFF_PE_LIBS" = "x"
12797 then
12798 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12801 if ${XML2_PE_CFLAGS:+false} :
12802 then :
12803 if test ${MINGW_PKG_CONFIG+y}
12804 then :
12805 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12808 if ${XML2_PE_LIBS:+false} :
12809 then :
12810 if test ${MINGW_PKG_CONFIG+y}
12811 then :
12812 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12815 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12816 ac_save_CPPFLAGS=$CPPFLAGS
12817 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12819 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12820 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12821 then :
12822 printf %s "(cached) " >&6
12823 else $as_nop
12824 ac_wine_check_headers_saved_cc=$CC
12825 ac_wine_check_headers_saved_exeext=$ac_exeext
12826 CC="$CROSSCC"
12827 ac_exeext=".exe"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 #include <libxml/parser.h>
12833 main (void)
12837 return 0;
12839 _ACEOF
12840 if ac_fn_c_try_compile "$LINENO"
12841 then :
12842 ac_cv_mingw_header_libxml_parser_h=yes
12843 else $as_nop
12844 ac_cv_mingw_header_libxml_parser_h=no
12846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12847 CC=$ac_wine_check_headers_saved_cc
12848 ac_exeext=$ac_wine_check_headers_saved_exeext
12850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12851 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12852 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12853 then :
12856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12857 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12858 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12859 then :
12860 printf %s "(cached) " >&6
12861 else $as_nop
12862 ac_wine_check_headers_saved_cc=$CC
12863 ac_wine_check_headers_saved_exeext=$ac_exeext
12864 CC="$CROSSCC"
12865 ac_exeext=".exe"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 #include <libxml/xmlsave.h>
12871 main (void)
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_compile "$LINENO"
12879 then :
12880 ac_cv_mingw_header_libxml_xmlsave_h=yes
12881 else $as_nop
12882 ac_cv_mingw_header_libxml_xmlsave_h=no
12884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12885 CC=$ac_wine_check_headers_saved_cc
12886 ac_exeext=$ac_wine_check_headers_saved_exeext
12888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12889 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12890 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12891 then :
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12895 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12896 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12897 then :
12898 printf %s "(cached) " >&6
12899 else $as_nop
12900 ac_wine_check_headers_saved_cc=$CC
12901 ac_wine_check_headers_saved_exeext=$ac_exeext
12902 CC="$CROSSCC"
12903 ac_exeext=".exe"
12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12907 #include <libxml/SAX2.h>
12909 main (void)
12913 return 0;
12915 _ACEOF
12916 if ac_fn_c_try_compile "$LINENO"
12917 then :
12918 ac_cv_mingw_header_libxml_SAX2_h=yes
12919 else $as_nop
12920 ac_cv_mingw_header_libxml_SAX2_h=no
12922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12923 CC=$ac_wine_check_headers_saved_cc
12924 ac_exeext=$ac_wine_check_headers_saved_exeext
12926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12927 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12928 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12929 then :
12932 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"
12933 then
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12935 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12936 if test ${ac_cv_mingw_lib_xml2+y}
12937 then :
12938 printf %s "(cached) " >&6
12939 else $as_nop
12940 ac_wine_check_headers_saved_cc=$CC
12941 ac_wine_check_headers_saved_exeext=$ac_exeext
12942 ac_wine_check_headers_saved_libs=$LIBS
12943 CC="$CROSSCC"
12944 ac_exeext=".exe"
12945 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 /* Override any GCC internal prototype to avoid an error.
12950 Use char because int might match the return type of a GCC
12951 builtin and then its argument prototype would still apply. */
12952 char xmlFirstElementChild ();
12954 main (void)
12956 return xmlFirstElementChild ();
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_link "$LINENO"
12962 then :
12963 ac_cv_mingw_lib_xml2=yes
12964 else $as_nop
12965 ac_cv_mingw_lib_xml2=no
12967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12968 conftest$ac_exeext conftest.$ac_ext
12969 CC=$ac_wine_check_headers_saved_cc
12970 ac_exeext=$ac_wine_check_headers_saved_exeext
12971 LIBS=$ac_wine_check_headers_saved_libs
12973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12974 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12975 if test "x$ac_cv_mingw_lib_xml2" = xyes
12976 then :
12978 else $as_nop
12979 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12981 else
12982 XML2_PE_CFLAGS=""
12983 XML2_PE_LIBS=""
12985 CPPFLAGS=$ac_save_CPPFLAGS
12987 if test "x$XML2_PE_LIBS" = "x"
12988 then
12989 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12992 if ${XSLT_PE_CFLAGS:+false} :
12993 then :
12994 if test ${MINGW_PKG_CONFIG+y}
12995 then :
12996 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12999 if ${XSLT_PE_LIBS:+false} :
13000 then :
13001 if test ${MINGW_PKG_CONFIG+y}
13002 then :
13003 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13006 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13007 ac_save_CPPFLAGS=$CPPFLAGS
13008 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13010 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13011 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13012 then :
13013 printf %s "(cached) " >&6
13014 else $as_nop
13015 ac_wine_check_headers_saved_cc=$CC
13016 ac_wine_check_headers_saved_exeext=$ac_exeext
13017 CC="$CROSSCC"
13018 ac_exeext=".exe"
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 #include <libxslt/pattern.h>
13024 main (void)
13028 return 0;
13030 _ACEOF
13031 if ac_fn_c_try_compile "$LINENO"
13032 then :
13033 ac_cv_mingw_header_libxslt_pattern_h=yes
13034 else $as_nop
13035 ac_cv_mingw_header_libxslt_pattern_h=no
13037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13038 CC=$ac_wine_check_headers_saved_cc
13039 ac_exeext=$ac_wine_check_headers_saved_exeext
13041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13042 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13043 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13044 then :
13047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13048 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13049 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13050 then :
13051 printf %s "(cached) " >&6
13052 else $as_nop
13053 ac_wine_check_headers_saved_cc=$CC
13054 ac_wine_check_headers_saved_exeext=$ac_exeext
13055 CC="$CROSSCC"
13056 ac_exeext=".exe"
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 #include <libxslt/transform.h>
13062 main (void)
13066 return 0;
13068 _ACEOF
13069 if ac_fn_c_try_compile "$LINENO"
13070 then :
13071 ac_cv_mingw_header_libxslt_transform_h=yes
13072 else $as_nop
13073 ac_cv_mingw_header_libxslt_transform_h=no
13075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13076 CC=$ac_wine_check_headers_saved_cc
13077 ac_exeext=$ac_wine_check_headers_saved_exeext
13079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13080 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13081 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13082 then :
13085 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13086 then
13087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13088 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13089 if test ${ac_cv_mingw_lib_xslt+y}
13090 then :
13091 printf %s "(cached) " >&6
13092 else $as_nop
13093 ac_wine_check_headers_saved_cc=$CC
13094 ac_wine_check_headers_saved_exeext=$ac_exeext
13095 ac_wine_check_headers_saved_libs=$LIBS
13096 CC="$CROSSCC"
13097 ac_exeext=".exe"
13098 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13105 char xsltCompilePattern ();
13107 main (void)
13109 return xsltCompilePattern ();
13111 return 0;
13113 _ACEOF
13114 if ac_fn_c_try_link "$LINENO"
13115 then :
13116 ac_cv_mingw_lib_xslt=yes
13117 else $as_nop
13118 ac_cv_mingw_lib_xslt=no
13120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13121 conftest$ac_exeext conftest.$ac_ext
13122 CC=$ac_wine_check_headers_saved_cc
13123 ac_exeext=$ac_wine_check_headers_saved_exeext
13124 LIBS=$ac_wine_check_headers_saved_libs
13126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13127 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13128 if test "x$ac_cv_mingw_lib_xslt" = xyes
13129 then :
13131 else $as_nop
13132 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13134 else
13135 XSLT_PE_CFLAGS=""
13136 XSLT_PE_LIBS=""
13138 CPPFLAGS=$ac_save_CPPFLAGS
13140 if test "x$XSLT_PE_LIBS" = "x"
13141 then
13142 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13145 if ${ZLIB_PE_CFLAGS:+false} :
13146 then :
13147 if test ${MINGW_PKG_CONFIG+y}
13148 then :
13149 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13152 if ${ZLIB_PE_LIBS:+false} :
13153 then :
13154 if test ${MINGW_PKG_CONFIG+y}
13155 then :
13156 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13159 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13160 ac_save_CPPFLAGS=$CPPFLAGS
13161 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13163 printf %s "checking for MinGW zlib.h... " >&6; }
13164 if test ${ac_cv_mingw_header_zlib_h+y}
13165 then :
13166 printf %s "(cached) " >&6
13167 else $as_nop
13168 ac_wine_check_headers_saved_cc=$CC
13169 ac_wine_check_headers_saved_exeext=$ac_exeext
13170 CC="$CROSSCC"
13171 ac_exeext=".exe"
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 #include <zlib.h>
13177 main (void)
13181 return 0;
13183 _ACEOF
13184 if ac_fn_c_try_compile "$LINENO"
13185 then :
13186 ac_cv_mingw_header_zlib_h=yes
13187 else $as_nop
13188 ac_cv_mingw_header_zlib_h=no
13190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13191 CC=$ac_wine_check_headers_saved_cc
13192 ac_exeext=$ac_wine_check_headers_saved_exeext
13194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13195 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13196 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13197 then :
13198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13199 printf %s "checking for inflate in MinGW -lz... " >&6; }
13200 if test ${ac_cv_mingw_lib_z+y}
13201 then :
13202 printf %s "(cached) " >&6
13203 else $as_nop
13204 ac_wine_check_headers_saved_cc=$CC
13205 ac_wine_check_headers_saved_exeext=$ac_exeext
13206 ac_wine_check_headers_saved_libs=$LIBS
13207 CC="$CROSSCC"
13208 ac_exeext=".exe"
13209 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 char inflate ();
13218 main (void)
13220 return inflate ();
13222 return 0;
13224 _ACEOF
13225 if ac_fn_c_try_link "$LINENO"
13226 then :
13227 ac_cv_mingw_lib_z=yes
13228 else $as_nop
13229 ac_cv_mingw_lib_z=no
13231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13232 conftest$ac_exeext conftest.$ac_ext
13233 CC=$ac_wine_check_headers_saved_cc
13234 ac_exeext=$ac_wine_check_headers_saved_exeext
13235 LIBS=$ac_wine_check_headers_saved_libs
13237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13238 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13239 if test "x$ac_cv_mingw_lib_z" = xyes
13240 then :
13242 else $as_nop
13243 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13245 else $as_nop
13246 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13248 CPPFLAGS=$ac_save_CPPFLAGS
13250 if test "x$ZLIB_PE_LIBS" = "x"
13251 then
13252 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13256 if ${FAUDIO_PE_LIBS:+false} :
13257 then :
13258 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13259 if ${FAUDIO_PE_CFLAGS:+false} :
13260 then :
13261 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13262 else $as_nop
13263 enable_faudio=no
13265 else $as_nop
13266 enable_faudio=no
13268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13271 if ${GSM_PE_LIBS:+false} :
13272 then :
13273 GSM_PE_LIBS=gsm
13274 if ${GSM_PE_CFLAGS:+false} :
13275 then :
13276 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13277 else $as_nop
13278 enable_gsm=no
13280 else $as_nop
13281 enable_gsm=no
13283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13286 if ${JPEG_PE_LIBS:+false} :
13287 then :
13288 JPEG_PE_LIBS=jpeg
13289 if ${JPEG_PE_CFLAGS:+false} :
13290 then :
13291 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13292 else $as_nop
13293 enable_jpeg=no
13295 else $as_nop
13296 enable_jpeg=no
13298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13301 if ${JXR_PE_LIBS:+false} :
13302 then :
13303 JXR_PE_LIBS=jxr
13304 if ${JXR_PE_CFLAGS:+false} :
13305 then :
13306 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13307 else $as_nop
13308 enable_jxr=no
13310 else $as_nop
13311 enable_jxr=no
13313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13316 if ${LCMS2_PE_LIBS:+false} :
13317 then :
13318 LCMS2_PE_LIBS=lcms2
13319 if ${LCMS2_PE_CFLAGS:+false} :
13320 then :
13321 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13322 else $as_nop
13323 enable_lcms2=no
13325 else $as_nop
13326 enable_lcms2=no
13328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13331 if ${MPG123_PE_LIBS:+false} :
13332 then :
13333 MPG123_PE_LIBS=mpg123
13334 if ${MPG123_PE_CFLAGS:+false} :
13335 then :
13336 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13337 else $as_nop
13338 enable_mpg123=no
13340 else $as_nop
13341 enable_mpg123=no
13343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13346 if ${PNG_PE_LIBS:+false} :
13347 then :
13348 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13349 if ${PNG_PE_CFLAGS:+false} :
13350 then :
13351 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13352 else $as_nop
13353 enable_png=no
13355 else $as_nop
13356 enable_png=no
13358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13361 if ${TIFF_PE_LIBS:+false} :
13362 then :
13363 TIFF_PE_LIBS=tiff
13364 if ${TIFF_PE_CFLAGS:+false} :
13365 then :
13366 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13367 else $as_nop
13368 enable_tiff=no
13370 else $as_nop
13371 enable_tiff=no
13373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13376 if ${XML2_PE_LIBS:+false} :
13377 then :
13378 XML2_PE_LIBS=xml2
13379 if ${XML2_PE_CFLAGS:+false} :
13380 then :
13381 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13382 else $as_nop
13383 enable_xml2=no
13385 else $as_nop
13386 enable_xml2=no
13388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13391 if ${XSLT_PE_LIBS:+false} :
13392 then :
13393 XSLT_PE_LIBS=xslt
13394 if ${XSLT_PE_CFLAGS:+false} :
13395 then :
13396 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13397 else $as_nop
13398 enable_xslt=no
13400 else $as_nop
13401 enable_xslt=no
13403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13406 if ${ZLIB_PE_LIBS:+false} :
13407 then :
13408 ZLIB_PE_LIBS=z
13409 if ${ZLIB_PE_CFLAGS:+false} :
13410 then :
13411 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13412 else $as_nop
13413 enable_zlib=no
13415 else $as_nop
13416 enable_zlib=no
13418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13423 if test "$ac_cv_header_pthread_h" = "yes"
13424 then
13425 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13426 if test "x$ac_cv_func_pthread_create" = xyes
13427 then :
13429 else $as_nop
13430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13431 printf %s "checking for pthread_create in -lpthread... " >&6; }
13432 if test ${ac_cv_lib_pthread_pthread_create+y}
13433 then :
13434 printf %s "(cached) " >&6
13435 else $as_nop
13436 ac_check_lib_save_LIBS=$LIBS
13437 LIBS="-lpthread $LIBS"
13438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13441 /* Override any GCC internal prototype to avoid an error.
13442 Use char because int might match the return type of a GCC
13443 builtin and then its argument prototype would still apply. */
13444 char pthread_create ();
13446 main (void)
13448 return pthread_create ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"
13454 then :
13455 ac_cv_lib_pthread_pthread_create=yes
13456 else $as_nop
13457 ac_cv_lib_pthread_pthread_create=no
13459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13460 conftest$ac_exeext conftest.$ac_ext
13461 LIBS=$ac_check_lib_save_LIBS
13463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13464 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13465 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13466 then :
13467 PTHREAD_LIBS="-lpthread"
13474 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13475 then :
13476 case "x$with_pthread" in
13477 xno) ;;
13478 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13479 Wine cannot support threads without libpthread.
13480 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13481 esac
13486 ac_ext=c
13487 ac_cpp='$CPP $CPPFLAGS'
13488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13492 printf %s "checking how to run the C preprocessor... " >&6; }
13493 # On Suns, sometimes $CPP names a directory.
13494 if test -n "$CPP" && test -d "$CPP"; then
13495 CPP=
13497 if test -z "$CPP"; then
13498 if test ${ac_cv_prog_CPP+y}
13499 then :
13500 printf %s "(cached) " >&6
13501 else $as_nop
13502 # Double quotes because $CC needs to be expanded
13503 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13505 ac_preproc_ok=false
13506 for ac_c_preproc_warn_flag in '' yes
13508 # Use a header file that comes with gcc, so configuring glibc
13509 # with a fresh cross-compiler works.
13510 # On the NeXT, cc -E runs the code through the compiler's parser,
13511 # not just through cpp. "Syntax error" is here to catch this case.
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13514 #include <limits.h>
13515 Syntax error
13516 _ACEOF
13517 if ac_fn_c_try_cpp "$LINENO"
13518 then :
13520 else $as_nop
13521 # Broken: fails on valid input.
13522 continue
13524 rm -f conftest.err conftest.i conftest.$ac_ext
13526 # OK, works on sane cases. Now check whether nonexistent headers
13527 # can be detected and how.
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13530 #include <ac_nonexistent.h>
13531 _ACEOF
13532 if ac_fn_c_try_cpp "$LINENO"
13533 then :
13534 # Broken: success on invalid input.
13535 continue
13536 else $as_nop
13537 # Passes both tests.
13538 ac_preproc_ok=:
13539 break
13541 rm -f conftest.err conftest.i conftest.$ac_ext
13543 done
13544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13545 rm -f conftest.i conftest.err conftest.$ac_ext
13546 if $ac_preproc_ok
13547 then :
13548 break
13551 done
13552 ac_cv_prog_CPP=$CPP
13555 CPP=$ac_cv_prog_CPP
13556 else
13557 ac_cv_prog_CPP=$CPP
13559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13560 printf "%s\n" "$CPP" >&6; }
13561 ac_preproc_ok=false
13562 for ac_c_preproc_warn_flag in '' yes
13564 # Use a header file that comes with gcc, so configuring glibc
13565 # with a fresh cross-compiler works.
13566 # On the NeXT, cc -E runs the code through the compiler's parser,
13567 # not just through cpp. "Syntax error" is here to catch this case.
13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 #include <limits.h>
13571 Syntax error
13572 _ACEOF
13573 if ac_fn_c_try_cpp "$LINENO"
13574 then :
13576 else $as_nop
13577 # Broken: fails on valid input.
13578 continue
13580 rm -f conftest.err conftest.i conftest.$ac_ext
13582 # OK, works on sane cases. Now check whether nonexistent headers
13583 # can be detected and how.
13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13586 #include <ac_nonexistent.h>
13587 _ACEOF
13588 if ac_fn_c_try_cpp "$LINENO"
13589 then :
13590 # Broken: success on invalid input.
13591 continue
13592 else $as_nop
13593 # Passes both tests.
13594 ac_preproc_ok=:
13595 break
13597 rm -f conftest.err conftest.i conftest.$ac_ext
13599 done
13600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13601 rm -f conftest.i conftest.err conftest.$ac_ext
13602 if $ac_preproc_ok
13603 then :
13605 else $as_nop
13606 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13607 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13608 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13609 See \`config.log' for more details" "$LINENO" 5; }
13612 ac_ext=c
13613 ac_cpp='$CPP $CPPFLAGS'
13614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13620 printf %s "checking for X... " >&6; }
13623 # Check whether --with-x was given.
13624 if test ${with_x+y}
13625 then :
13626 withval=$with_x;
13629 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13630 if test "x$with_x" = xno; then
13631 # The user explicitly disabled X.
13632 have_x=disabled
13633 else
13634 case $x_includes,$x_libraries in #(
13635 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13636 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13637 then :
13638 printf %s "(cached) " >&6
13639 else $as_nop
13640 # One or both of the vars are not set, and there is no cached value.
13641 ac_x_includes=no
13642 ac_x_libraries=no
13643 # Do we need to do anything special at all?
13644 ac_save_LIBS=$LIBS
13645 LIBS="-lX11 $LIBS"
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 #include <X11/Xlib.h>
13650 main (void)
13652 XrmInitialize ()
13654 return 0;
13656 _ACEOF
13657 if ac_fn_c_try_link "$LINENO"
13658 then :
13659 # We can compile and link X programs with no special options.
13660 ac_x_includes=
13661 ac_x_libraries=
13663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS="$ac_save_LIBS"
13666 # If that didn't work, only try xmkmf and file system searches
13667 # for native compilation.
13668 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13669 then :
13670 rm -f -r conftest.dir
13671 if mkdir conftest.dir; then
13672 cd conftest.dir
13673 cat >Imakefile <<'_ACEOF'
13674 incroot:
13675 @echo incroot='${INCROOT}'
13676 usrlibdir:
13677 @echo usrlibdir='${USRLIBDIR}'
13678 libdir:
13679 @echo libdir='${LIBDIR}'
13680 _ACEOF
13681 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13682 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13683 for ac_var in incroot usrlibdir libdir; do
13684 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13685 done
13686 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13687 for ac_extension in a so sl dylib la dll; do
13688 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13689 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13690 ac_im_usrlibdir=$ac_im_libdir; break
13692 done
13693 # Screen out bogus values from the imake configuration. They are
13694 # bogus both because they are the default anyway, and because
13695 # using them would break gcc on systems where it needs fixed includes.
13696 case $ac_im_incroot in
13697 /usr/include) ac_x_includes= ;;
13698 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13699 esac
13700 case $ac_im_usrlibdir in
13701 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13702 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13703 esac
13705 cd ..
13706 rm -f -r conftest.dir
13709 # Standard set of common directories for X headers.
13710 # Check X11 before X11Rn because it is often a symlink to the current release.
13711 ac_x_header_dirs='
13712 /usr/X11/include
13713 /usr/X11R7/include
13714 /usr/X11R6/include
13715 /usr/X11R5/include
13716 /usr/X11R4/include
13718 /usr/include/X11
13719 /usr/include/X11R7
13720 /usr/include/X11R6
13721 /usr/include/X11R5
13722 /usr/include/X11R4
13724 /usr/local/X11/include
13725 /usr/local/X11R7/include
13726 /usr/local/X11R6/include
13727 /usr/local/X11R5/include
13728 /usr/local/X11R4/include
13730 /usr/local/include/X11
13731 /usr/local/include/X11R7
13732 /usr/local/include/X11R6
13733 /usr/local/include/X11R5
13734 /usr/local/include/X11R4
13736 /opt/X11/include
13738 /usr/X386/include
13739 /usr/x386/include
13740 /usr/XFree86/include/X11
13742 /usr/include
13743 /usr/local/include
13744 /usr/unsupported/include
13745 /usr/athena/include
13746 /usr/local/x11r5/include
13747 /usr/lpp/Xamples/include
13749 /usr/openwin/include
13750 /usr/openwin/share/include'
13752 if test "$ac_x_includes" = no; then
13753 # Guess where to find include files, by looking for Xlib.h.
13754 # First, try using that file with no special directory specified.
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13757 #include <X11/Xlib.h>
13758 _ACEOF
13759 if ac_fn_c_try_cpp "$LINENO"
13760 then :
13761 # We can compile using X headers with no special include directory.
13762 ac_x_includes=
13763 else $as_nop
13764 for ac_dir in $ac_x_header_dirs; do
13765 if test -r "$ac_dir/X11/Xlib.h"; then
13766 ac_x_includes=$ac_dir
13767 break
13769 done
13771 rm -f conftest.err conftest.i conftest.$ac_ext
13772 fi # $ac_x_includes = no
13774 if test "$ac_x_libraries" = no; then
13775 # Check for the libraries.
13776 # See if we find them without any special options.
13777 # Don't add to $LIBS permanently.
13778 ac_save_LIBS=$LIBS
13779 LIBS="-lX11 $LIBS"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 #include <X11/Xlib.h>
13784 main (void)
13786 XrmInitialize ()
13788 return 0;
13790 _ACEOF
13791 if ac_fn_c_try_link "$LINENO"
13792 then :
13793 LIBS=$ac_save_LIBS
13794 # We can link X programs with no special library path.
13795 ac_x_libraries=
13796 else $as_nop
13797 LIBS=$ac_save_LIBS
13798 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13800 # Don't even attempt the hair of trying to link an X program!
13801 for ac_extension in a so sl dylib la dll; do
13802 if test -r "$ac_dir/libX11.$ac_extension"; then
13803 ac_x_libraries=$ac_dir
13804 break 2
13806 done
13807 done
13809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13810 conftest$ac_exeext conftest.$ac_ext
13811 fi # $ac_x_libraries = no
13814 # Record the results.
13815 case $ac_x_includes,$ac_x_libraries in #(
13816 no,* | *,no | *\'*) :
13817 # Didn't find X, or a directory has "'" in its name.
13818 ac_cv_have_x="have_x=no" ;; #(
13819 *) :
13820 # Record where we found X for the cache.
13821 ac_cv_have_x="have_x=yes\
13822 ac_x_includes='$ac_x_includes'\
13823 ac_x_libraries='$ac_x_libraries'" ;;
13824 esac
13826 ;; #(
13827 *) have_x=yes;;
13828 esac
13829 eval "$ac_cv_have_x"
13830 fi # $with_x != no
13832 if test "$have_x" != yes; then
13833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13834 printf "%s\n" "$have_x" >&6; }
13835 no_x=yes
13836 else
13837 # If each of the values was on the command line, it overrides each guess.
13838 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13839 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13840 # Update the cache value to reflect the command line values.
13841 ac_cv_have_x="have_x=yes\
13842 ac_x_includes='$x_includes'\
13843 ac_x_libraries='$x_libraries'"
13844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13845 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13848 if test "$no_x" = yes; then
13849 # Not all programs may use this symbol, but it does not hurt to define it.
13851 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13853 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13854 else
13855 if test -n "$x_includes"; then
13856 X_CFLAGS="$X_CFLAGS -I$x_includes"
13859 # It would also be nice to do this for all -L options, not just this one.
13860 if test -n "$x_libraries"; then
13861 X_LIBS="$X_LIBS -L$x_libraries"
13862 # For Solaris; some versions of Sun CC require a space after -R and
13863 # others require no space. Words are not sufficient . . . .
13864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13865 printf %s "checking whether -R must be followed by a space... " >&6; }
13866 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13867 ac_xsave_c_werror_flag=$ac_c_werror_flag
13868 ac_c_werror_flag=yes
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13873 main (void)
13877 return 0;
13879 _ACEOF
13880 if ac_fn_c_try_link "$LINENO"
13881 then :
13882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13883 printf "%s\n" "no" >&6; }
13884 X_LIBS="$X_LIBS -R$x_libraries"
13885 else $as_nop
13886 LIBS="$ac_xsave_LIBS -R $x_libraries"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13891 main (void)
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"
13899 then :
13900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13901 printf "%s\n" "yes" >&6; }
13902 X_LIBS="$X_LIBS -R $x_libraries"
13903 else $as_nop
13904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13905 printf "%s\n" "neither works" >&6; }
13907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13908 conftest$ac_exeext conftest.$ac_ext
13910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13911 conftest$ac_exeext conftest.$ac_ext
13912 ac_c_werror_flag=$ac_xsave_c_werror_flag
13913 LIBS=$ac_xsave_LIBS
13916 # Check for system-dependent libraries X programs must link with.
13917 # Do this before checking for the system-independent R6 libraries
13918 # (-lICE), since we may need -lsocket or whatever for X linking.
13920 if test "$ISC" = yes; then
13921 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13922 else
13923 # Martyn Johnson says this is needed for Ultrix, if the X
13924 # libraries were built with DECnet support. And Karl Berry says
13925 # the Alpha needs dnet_stub (dnet does not exist).
13926 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13930 /* Override any GCC internal prototype to avoid an error.
13931 Use char because int might match the return type of a GCC
13932 builtin and then its argument prototype would still apply. */
13933 char XOpenDisplay ();
13935 main (void)
13937 return XOpenDisplay ();
13939 return 0;
13941 _ACEOF
13942 if ac_fn_c_try_link "$LINENO"
13943 then :
13945 else $as_nop
13946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13947 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13948 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13949 then :
13950 printf %s "(cached) " >&6
13951 else $as_nop
13952 ac_check_lib_save_LIBS=$LIBS
13953 LIBS="-ldnet $LIBS"
13954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13957 /* Override any GCC internal prototype to avoid an error.
13958 Use char because int might match the return type of a GCC
13959 builtin and then its argument prototype would still apply. */
13960 char dnet_ntoa ();
13962 main (void)
13964 return dnet_ntoa ();
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_link "$LINENO"
13970 then :
13971 ac_cv_lib_dnet_dnet_ntoa=yes
13972 else $as_nop
13973 ac_cv_lib_dnet_dnet_ntoa=no
13975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13976 conftest$ac_exeext conftest.$ac_ext
13977 LIBS=$ac_check_lib_save_LIBS
13979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13980 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13981 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13982 then :
13983 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13986 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13988 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13989 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13990 then :
13991 printf %s "(cached) " >&6
13992 else $as_nop
13993 ac_check_lib_save_LIBS=$LIBS
13994 LIBS="-ldnet_stub $LIBS"
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13998 /* Override any GCC internal prototype to avoid an error.
13999 Use char because int might match the return type of a GCC
14000 builtin and then its argument prototype would still apply. */
14001 char dnet_ntoa ();
14003 main (void)
14005 return dnet_ntoa ();
14007 return 0;
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"
14011 then :
14012 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14013 else $as_nop
14014 ac_cv_lib_dnet_stub_dnet_ntoa=no
14016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS=$ac_check_lib_save_LIBS
14020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14021 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14022 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14023 then :
14024 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14030 conftest$ac_exeext conftest.$ac_ext
14031 LIBS="$ac_xsave_LIBS"
14033 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14034 # to get the SysV transport functions.
14035 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14036 # needs -lnsl.
14037 # The nsl library prevents programs from opening the X display
14038 # on Irix 5.2, according to T.E. Dickey.
14039 # The functions gethostbyname, getservbyname, and inet_addr are
14040 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14041 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14042 if test "x$ac_cv_func_gethostbyname" = xyes
14043 then :
14047 if test $ac_cv_func_gethostbyname = no; then
14048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14049 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14050 if test ${ac_cv_lib_nsl_gethostbyname+y}
14051 then :
14052 printf %s "(cached) " >&6
14053 else $as_nop
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-lnsl $LIBS"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14062 char gethostbyname ();
14064 main (void)
14066 return gethostbyname ();
14068 return 0;
14070 _ACEOF
14071 if ac_fn_c_try_link "$LINENO"
14072 then :
14073 ac_cv_lib_nsl_gethostbyname=yes
14074 else $as_nop
14075 ac_cv_lib_nsl_gethostbyname=no
14077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14078 conftest$ac_exeext conftest.$ac_ext
14079 LIBS=$ac_check_lib_save_LIBS
14081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14082 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14083 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14084 then :
14085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14088 if test $ac_cv_lib_nsl_gethostbyname = no; then
14089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14090 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14091 if test ${ac_cv_lib_bsd_gethostbyname+y}
14092 then :
14093 printf %s "(cached) " >&6
14094 else $as_nop
14095 ac_check_lib_save_LIBS=$LIBS
14096 LIBS="-lbsd $LIBS"
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14100 /* Override any GCC internal prototype to avoid an error.
14101 Use char because int might match the return type of a GCC
14102 builtin and then its argument prototype would still apply. */
14103 char gethostbyname ();
14105 main (void)
14107 return gethostbyname ();
14109 return 0;
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"
14113 then :
14114 ac_cv_lib_bsd_gethostbyname=yes
14115 else $as_nop
14116 ac_cv_lib_bsd_gethostbyname=no
14118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14119 conftest$ac_exeext conftest.$ac_ext
14120 LIBS=$ac_check_lib_save_LIBS
14122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14123 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14124 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14125 then :
14126 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14132 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14133 # socket/setsockopt and other routines are undefined under SCO ODT
14134 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14135 # on later versions), says Simon Leinen: it contains gethostby*
14136 # variants that don't use the name server (or something). -lsocket
14137 # must be given before -lnsl if both are needed. We assume that
14138 # if connect needs -lnsl, so does gethostbyname.
14139 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14140 if test "x$ac_cv_func_connect" = xyes
14141 then :
14145 if test $ac_cv_func_connect = no; then
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14147 printf %s "checking for connect in -lsocket... " >&6; }
14148 if test ${ac_cv_lib_socket_connect+y}
14149 then :
14150 printf %s "(cached) " >&6
14151 else $as_nop
14152 ac_check_lib_save_LIBS=$LIBS
14153 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14160 char connect ();
14162 main (void)
14164 return connect ();
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"
14170 then :
14171 ac_cv_lib_socket_connect=yes
14172 else $as_nop
14173 ac_cv_lib_socket_connect=no
14175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14176 conftest$ac_exeext conftest.$ac_ext
14177 LIBS=$ac_check_lib_save_LIBS
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14180 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14181 if test "x$ac_cv_lib_socket_connect" = xyes
14182 then :
14183 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14188 # Guillermo Gomez says -lposix is necessary on A/UX.
14189 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14190 if test "x$ac_cv_func_remove" = xyes
14191 then :
14195 if test $ac_cv_func_remove = no; then
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14197 printf %s "checking for remove in -lposix... " >&6; }
14198 if test ${ac_cv_lib_posix_remove+y}
14199 then :
14200 printf %s "(cached) " >&6
14201 else $as_nop
14202 ac_check_lib_save_LIBS=$LIBS
14203 LIBS="-lposix $LIBS"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14207 /* Override any GCC internal prototype to avoid an error.
14208 Use char because int might match the return type of a GCC
14209 builtin and then its argument prototype would still apply. */
14210 char remove ();
14212 main (void)
14214 return remove ();
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"
14220 then :
14221 ac_cv_lib_posix_remove=yes
14222 else $as_nop
14223 ac_cv_lib_posix_remove=no
14225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14226 conftest$ac_exeext conftest.$ac_ext
14227 LIBS=$ac_check_lib_save_LIBS
14229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14230 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14231 if test "x$ac_cv_lib_posix_remove" = xyes
14232 then :
14233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14238 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14239 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14240 if test "x$ac_cv_func_shmat" = xyes
14241 then :
14245 if test $ac_cv_func_shmat = no; then
14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14247 printf %s "checking for shmat in -lipc... " >&6; }
14248 if test ${ac_cv_lib_ipc_shmat+y}
14249 then :
14250 printf %s "(cached) " >&6
14251 else $as_nop
14252 ac_check_lib_save_LIBS=$LIBS
14253 LIBS="-lipc $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 shmat ();
14262 main (void)
14264 return shmat ();
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"
14270 then :
14271 ac_cv_lib_ipc_shmat=yes
14272 else $as_nop
14273 ac_cv_lib_ipc_shmat=no
14275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14276 conftest$ac_exeext conftest.$ac_ext
14277 LIBS=$ac_check_lib_save_LIBS
14279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14280 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14281 if test "x$ac_cv_lib_ipc_shmat" = xyes
14282 then :
14283 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14289 # Check for libraries that X11R6 Xt/Xaw programs need.
14290 ac_save_LDFLAGS=$LDFLAGS
14291 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14292 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14293 # check for ICE first), but we must link in the order -lSM -lICE or
14294 # we get undefined symbols. So assume we have SM if we have ICE.
14295 # These have to be linked with before -lX11, unlike the other
14296 # libraries we check for below, so use a different variable.
14297 # John Interrante, Karl Berry
14298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14299 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14300 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14301 then :
14302 printf %s "(cached) " >&6
14303 else $as_nop
14304 ac_check_lib_save_LIBS=$LIBS
14305 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14312 char IceConnectionNumber ();
14314 main (void)
14316 return IceConnectionNumber ();
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"
14322 then :
14323 ac_cv_lib_ICE_IceConnectionNumber=yes
14324 else $as_nop
14325 ac_cv_lib_ICE_IceConnectionNumber=no
14327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14328 conftest$ac_exeext conftest.$ac_ext
14329 LIBS=$ac_check_lib_save_LIBS
14331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14332 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14333 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14334 then :
14335 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14338 LDFLAGS=$ac_save_LDFLAGS
14343 if test "$have_x" = "yes"
14344 then
14345 ac_save_CPPFLAGS="$CPPFLAGS"
14346 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14349 printf %s "checking for -lX11... " >&6; }
14350 if test ${ac_cv_lib_soname_X11+y}
14351 then :
14352 printf %s "(cached) " >&6
14353 else $as_nop
14354 ac_check_soname_save_LIBS=$LIBS
14355 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14359 /* Override any GCC internal prototype to avoid an error.
14360 Use char because int might match the return type of a GCC
14361 builtin and then its argument prototype would still apply. */
14362 char XCreateWindow ();
14364 main (void)
14366 return XCreateWindow ();
14368 return 0;
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"
14372 then :
14373 case "$LIBEXT" in
14374 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14375 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'` ;;
14376 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14377 if ${ac_cv_lib_soname_X11:+false} :
14378 then :
14379 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14380 fi ;;
14381 esac
14382 else $as_nop
14383 ac_cv_lib_soname_X11=
14385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14386 conftest$ac_exeext conftest.$ac_ext
14387 LIBS=$ac_check_soname_save_LIBS
14389 if ${ac_cv_lib_soname_X11:+false} :
14390 then :
14391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14392 printf "%s\n" "not found" >&6; }
14394 else $as_nop
14395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14396 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14398 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14403 printf %s "checking for -lXext... " >&6; }
14404 if test ${ac_cv_lib_soname_Xext+y}
14405 then :
14406 printf %s "(cached) " >&6
14407 else $as_nop
14408 ac_check_soname_save_LIBS=$LIBS
14409 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14413 /* Override any GCC internal prototype to avoid an error.
14414 Use char because int might match the return type of a GCC
14415 builtin and then its argument prototype would still apply. */
14416 char XextCreateExtension ();
14418 main (void)
14420 return XextCreateExtension ();
14422 return 0;
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"
14426 then :
14427 case "$LIBEXT" in
14428 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14429 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'` ;;
14430 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14431 if ${ac_cv_lib_soname_Xext:+false} :
14432 then :
14433 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14434 fi ;;
14435 esac
14436 else $as_nop
14437 ac_cv_lib_soname_Xext=
14439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14440 conftest$ac_exeext conftest.$ac_ext
14441 LIBS=$ac_check_soname_save_LIBS
14443 if ${ac_cv_lib_soname_Xext:+false} :
14444 then :
14445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14446 printf "%s\n" "not found" >&6; }
14448 else $as_nop
14449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14450 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14452 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14454 X_LIBS="$X_LIBS -lXext"
14456 X_LIBS="$X_LIBS -lX11"
14458 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14459 # include <X11/Xlib.h>
14460 #endif
14461 #ifdef HAVE_X11_XUTIL_H
14462 # include <X11/Xutil.h>
14463 #endif
14465 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14466 then :
14467 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14470 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14471 # include <X11/Xlib.h>
14472 #endif
14473 #ifdef HAVE_X11_XUTIL_H
14474 # include <X11/Xutil.h>
14475 #endif
14477 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14478 then :
14479 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14482 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14483 # include <X11/Xlib.h>
14484 #endif
14485 #ifdef HAVE_X11_XUTIL_H
14486 # include <X11/Xutil.h>
14487 #endif
14489 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14490 then :
14491 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14494 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14495 # include <X11/Xlib.h>
14496 #endif
14497 #ifdef HAVE_X11_XUTIL_H
14498 # include <X11/Xutil.h>
14499 #endif
14501 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14502 then :
14503 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14506 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14507 # include <X11/Xlib.h>
14508 #endif
14509 #ifdef HAVE_X11_XUTIL_H
14510 # include <X11/Xutil.h>
14511 #endif
14513 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14514 then :
14515 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14518 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14519 # include <X11/Xlib.h>
14520 #endif
14521 #ifdef HAVE_X11_XUTIL_H
14522 # include <X11/Xutil.h>
14523 #endif
14525 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14526 then :
14527 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14530 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14531 # include <X11/Xlib.h>
14532 #endif
14533 #ifdef HAVE_X11_XUTIL_H
14534 # include <X11/Xutil.h>
14535 #endif
14537 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14538 then :
14539 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14542 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14543 # include <X11/Xlib.h>
14544 #endif
14545 #ifdef HAVE_X11_XUTIL_H
14546 # include <X11/Xutil.h>
14547 #endif
14549 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14550 then :
14551 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14554 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14555 # include <X11/Xlib.h>
14556 #endif
14557 #ifdef HAVE_X11_XUTIL_H
14558 # include <X11/Xutil.h>
14559 #endif
14561 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14562 then :
14563 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14566 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14567 # include <X11/Xlib.h>
14568 #endif
14569 #ifdef HAVE_X11_XUTIL_H
14570 # include <X11/Xutil.h>
14571 #endif
14573 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14574 then :
14575 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14578 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14579 # include <X11/Xlib.h>
14580 #endif
14581 #ifdef HAVE_X11_XUTIL_H
14582 # include <X11/Xutil.h>
14583 #endif
14585 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14586 then :
14587 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14590 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14591 # include <X11/Xlib.h>
14592 #endif
14593 #ifdef HAVE_X11_XUTIL_H
14594 # include <X11/Xutil.h>
14595 #endif
14597 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14598 then :
14599 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14602 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14603 # include <X11/Xlib.h>
14604 #endif
14605 #ifdef HAVE_X11_XUTIL_H
14606 # include <X11/Xutil.h>
14607 #endif
14609 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14610 then :
14611 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14614 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14615 # include <X11/Xlib.h>
14616 #endif
14617 #ifdef HAVE_X11_XUTIL_H
14618 # include <X11/Xutil.h>
14619 #endif
14621 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14622 then :
14623 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14626 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14627 # include <X11/Xlib.h>
14628 #endif
14629 #ifdef HAVE_X11_XUTIL_H
14630 # include <X11/Xutil.h>
14631 #endif
14633 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14634 then :
14635 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14640 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14641 then
14642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14643 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14644 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14645 then :
14646 printf %s "(cached) " >&6
14647 else $as_nop
14648 ac_check_lib_save_LIBS=$LIBS
14649 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14653 /* Override any GCC internal prototype to avoid an error.
14654 Use char because int might match the return type of a GCC
14655 builtin and then its argument prototype would still apply. */
14656 char XkbQueryExtension ();
14658 main (void)
14660 return XkbQueryExtension ();
14662 return 0;
14664 _ACEOF
14665 if ac_fn_c_try_link "$LINENO"
14666 then :
14667 ac_cv_lib_X11_XkbQueryExtension=yes
14668 else $as_nop
14669 ac_cv_lib_X11_XkbQueryExtension=no
14671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14672 conftest$ac_exeext conftest.$ac_ext
14673 LIBS=$ac_check_lib_save_LIBS
14675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14676 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14677 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14678 then :
14680 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14686 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14687 then
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14689 printf %s "checking for -lXcursor... " >&6; }
14690 if test ${ac_cv_lib_soname_Xcursor+y}
14691 then :
14692 printf %s "(cached) " >&6
14693 else $as_nop
14694 ac_check_soname_save_LIBS=$LIBS
14695 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14702 char XcursorImageLoadCursor ();
14704 main (void)
14706 return XcursorImageLoadCursor ();
14708 return 0;
14710 _ACEOF
14711 if ac_fn_c_try_link "$LINENO"
14712 then :
14713 case "$LIBEXT" in
14714 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14715 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'` ;;
14716 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14717 if ${ac_cv_lib_soname_Xcursor:+false} :
14718 then :
14719 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14720 fi ;;
14721 esac
14722 else $as_nop
14723 ac_cv_lib_soname_Xcursor=
14725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14726 conftest$ac_exeext conftest.$ac_ext
14727 LIBS=$ac_check_soname_save_LIBS
14729 if ${ac_cv_lib_soname_Xcursor:+false} :
14730 then :
14731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14732 printf "%s\n" "not found" >&6; }
14734 else $as_nop
14735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14736 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14738 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14743 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14744 then :
14745 case "x$with_xcursor" in
14746 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14747 xno) ;;
14748 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14749 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14750 esac
14754 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14755 then
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14757 printf %s "checking for -lXi... " >&6; }
14758 if test ${ac_cv_lib_soname_Xi+y}
14759 then :
14760 printf %s "(cached) " >&6
14761 else $as_nop
14762 ac_check_soname_save_LIBS=$LIBS
14763 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14765 /* end confdefs.h. */
14767 /* Override any GCC internal prototype to avoid an error.
14768 Use char because int might match the return type of a GCC
14769 builtin and then its argument prototype would still apply. */
14770 char XOpenDevice ();
14772 main (void)
14774 return XOpenDevice ();
14776 return 0;
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"
14780 then :
14781 case "$LIBEXT" in
14782 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14783 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'` ;;
14784 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14785 if ${ac_cv_lib_soname_Xi:+false} :
14786 then :
14787 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14788 fi ;;
14789 esac
14790 else $as_nop
14791 ac_cv_lib_soname_Xi=
14793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14794 conftest$ac_exeext conftest.$ac_ext
14795 LIBS=$ac_check_soname_save_LIBS
14797 if ${ac_cv_lib_soname_Xi:+false} :
14798 then :
14799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14800 printf "%s\n" "not found" >&6; }
14802 else $as_nop
14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14804 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14806 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14811 if test "x$ac_cv_lib_soname_Xi" = "x"
14812 then :
14813 case "x$with_xinput" in
14814 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14815 xno) ;;
14816 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14817 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14818 esac
14822 if test "x$ac_cv_lib_soname_Xi" != x
14823 then
14824 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14825 then :
14826 case "x$with_xinput2" in
14827 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14828 xno) ;;
14829 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14830 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14831 esac
14836 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14837 then
14838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14839 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14840 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14841 then :
14842 printf %s "(cached) " >&6
14843 else $as_nop
14844 ac_check_lib_save_LIBS=$LIBS
14845 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14852 char XShmQueryExtension ();
14854 main (void)
14856 return XShmQueryExtension ();
14858 return 0;
14860 _ACEOF
14861 if ac_fn_c_try_link "$LINENO"
14862 then :
14863 ac_cv_lib_Xext_XShmQueryExtension=yes
14864 else $as_nop
14865 ac_cv_lib_Xext_XShmQueryExtension=no
14867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14868 conftest$ac_exeext conftest.$ac_ext
14869 LIBS=$ac_check_lib_save_LIBS
14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14872 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14873 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14874 then :
14876 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14881 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14882 then :
14883 case "x$with_xshm" in
14884 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14885 xno) ;;
14886 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14887 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14888 esac
14892 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14893 then
14894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14895 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14896 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14897 then :
14898 printf %s "(cached) " >&6
14899 else $as_nop
14900 ac_check_lib_save_LIBS=$LIBS
14901 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14905 /* Override any GCC internal prototype to avoid an error.
14906 Use char because int might match the return type of a GCC
14907 builtin and then its argument prototype would still apply. */
14908 char XShapeQueryExtension ();
14910 main (void)
14912 return XShapeQueryExtension ();
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"
14918 then :
14919 ac_cv_lib_Xext_XShapeQueryExtension=yes
14920 else $as_nop
14921 ac_cv_lib_Xext_XShapeQueryExtension=no
14923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14928 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14929 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14930 then :
14932 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14937 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14938 then :
14939 case "x$with_xshape" in
14940 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14941 xno) ;;
14942 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14943 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14944 esac
14948 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14949 then
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14951 printf %s "checking for -lXxf86vm... " >&6; }
14952 if test ${ac_cv_lib_soname_Xxf86vm+y}
14953 then :
14954 printf %s "(cached) " >&6
14955 else $as_nop
14956 ac_check_soname_save_LIBS=$LIBS
14957 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14961 /* Override any GCC internal prototype to avoid an error.
14962 Use char because int might match the return type of a GCC
14963 builtin and then its argument prototype would still apply. */
14964 char XF86VidModeQueryExtension ();
14966 main (void)
14968 return XF86VidModeQueryExtension ();
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"
14974 then :
14975 case "$LIBEXT" in
14976 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14977 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'` ;;
14978 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14979 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14980 then :
14981 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14982 fi ;;
14983 esac
14984 else $as_nop
14985 ac_cv_lib_soname_Xxf86vm=
14987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14988 conftest$ac_exeext conftest.$ac_ext
14989 LIBS=$ac_check_soname_save_LIBS
14991 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14992 then :
14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14994 printf "%s\n" "not found" >&6; }
14996 else $as_nop
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14998 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15000 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15005 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15006 then :
15007 case "x$with_xxf86vm" in
15008 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15009 xno) ;;
15010 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15011 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15012 esac
15016 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15017 then
15018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15019 printf %s "checking for -lXrender... " >&6; }
15020 if test ${ac_cv_lib_soname_Xrender+y}
15021 then :
15022 printf %s "(cached) " >&6
15023 else $as_nop
15024 ac_check_soname_save_LIBS=$LIBS
15025 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15032 char XRenderQueryExtension ();
15034 main (void)
15036 return XRenderQueryExtension ();
15038 return 0;
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"
15042 then :
15043 case "$LIBEXT" in
15044 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15045 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'` ;;
15046 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15047 if ${ac_cv_lib_soname_Xrender:+false} :
15048 then :
15049 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15050 fi ;;
15051 esac
15052 else $as_nop
15053 ac_cv_lib_soname_Xrender=
15055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15056 conftest$ac_exeext conftest.$ac_ext
15057 LIBS=$ac_check_soname_save_LIBS
15059 if ${ac_cv_lib_soname_Xrender:+false} :
15060 then :
15061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15062 printf "%s\n" "not found" >&6; }
15064 else $as_nop
15065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15066 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15068 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15071 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15072 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15073 then :
15074 printf %s "(cached) " >&6
15075 else $as_nop
15076 ac_check_lib_save_LIBS=$LIBS
15077 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15081 /* Override any GCC internal prototype to avoid an error.
15082 Use char because int might match the return type of a GCC
15083 builtin and then its argument prototype would still apply. */
15084 char XRenderSetPictureTransform ();
15086 main (void)
15088 return XRenderSetPictureTransform ();
15090 return 0;
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"
15094 then :
15095 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15096 else $as_nop
15097 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_lib_save_LIBS
15103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15104 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15105 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15106 then :
15108 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15113 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15114 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15115 then :
15116 printf %s "(cached) " >&6
15117 else $as_nop
15118 ac_check_lib_save_LIBS=$LIBS
15119 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15126 char XRenderCreateLinearGradient ();
15128 main (void)
15130 return XRenderCreateLinearGradient ();
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_link "$LINENO"
15136 then :
15137 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15138 else $as_nop
15139 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15142 conftest$ac_exeext conftest.$ac_ext
15143 LIBS=$ac_check_lib_save_LIBS
15145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15146 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15147 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15148 then :
15150 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15157 if test "x$ac_cv_lib_soname_Xrender" = "x"
15158 then :
15159 case "x$with_xrender" in
15160 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15161 xno) ;;
15162 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15163 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15164 esac
15168 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15169 then
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15172 #include <X11/Xlib.h>
15173 #include <X11/extensions/Xrandr.h>
15175 main (void)
15177 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15179 return 0;
15181 _ACEOF
15182 if ac_fn_c_try_compile "$LINENO"
15183 then :
15184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15185 printf %s "checking for -lXrandr... " >&6; }
15186 if test ${ac_cv_lib_soname_Xrandr+y}
15187 then :
15188 printf %s "(cached) " >&6
15189 else $as_nop
15190 ac_check_soname_save_LIBS=$LIBS
15191 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15195 /* Override any GCC internal prototype to avoid an error.
15196 Use char because int might match the return type of a GCC
15197 builtin and then its argument prototype would still apply. */
15198 char XRRQueryExtension ();
15200 main (void)
15202 return XRRQueryExtension ();
15204 return 0;
15206 _ACEOF
15207 if ac_fn_c_try_link "$LINENO"
15208 then :
15209 case "$LIBEXT" in
15210 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15211 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'` ;;
15212 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15213 if ${ac_cv_lib_soname_Xrandr:+false} :
15214 then :
15215 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15216 fi ;;
15217 esac
15218 else $as_nop
15219 ac_cv_lib_soname_Xrandr=
15221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15222 conftest$ac_exeext conftest.$ac_ext
15223 LIBS=$ac_check_soname_save_LIBS
15225 if ${ac_cv_lib_soname_Xrandr:+false} :
15226 then :
15227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15228 printf "%s\n" "not found" >&6; }
15230 else $as_nop
15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15232 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15234 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15238 #include <X11/Xlib.h>
15239 #include <X11/extensions/Xrandr.h>
15241 main (void)
15243 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15245 return 0;
15247 _ACEOF
15248 if ac_fn_c_try_compile "$LINENO"
15249 then :
15251 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15253 else $as_nop
15254 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15261 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15262 then :
15263 case "x$with_xrandr" in
15264 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15265 xno) ;;
15266 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15267 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15268 esac
15272 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15273 then
15274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15276 #include <X11/Xlib.h>
15277 #include <X11/extensions/Xfixes.h>
15279 main (void)
15281 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15283 return 0;
15285 _ACEOF
15286 if ac_fn_c_try_compile "$LINENO"
15287 then :
15288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15289 printf %s "checking for -lXfixes... " >&6; }
15290 if test ${ac_cv_lib_soname_Xfixes+y}
15291 then :
15292 printf %s "(cached) " >&6
15293 else $as_nop
15294 ac_check_soname_save_LIBS=$LIBS
15295 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15299 /* Override any GCC internal prototype to avoid an error.
15300 Use char because int might match the return type of a GCC
15301 builtin and then its argument prototype would still apply. */
15302 char XFixesQueryVersion ();
15304 main (void)
15306 return XFixesQueryVersion ();
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"
15312 then :
15313 case "$LIBEXT" in
15314 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15315 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'` ;;
15316 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15317 if ${ac_cv_lib_soname_Xfixes:+false} :
15318 then :
15319 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15320 fi ;;
15321 esac
15322 else $as_nop
15323 ac_cv_lib_soname_Xfixes=
15325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15326 conftest$ac_exeext conftest.$ac_ext
15327 LIBS=$ac_check_soname_save_LIBS
15329 if ${ac_cv_lib_soname_Xfixes:+false} :
15330 then :
15331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15332 printf "%s\n" "not found" >&6; }
15334 else $as_nop
15335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15336 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15338 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15345 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15346 then :
15347 case "x$with_xfixes" in
15348 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15349 xno) ;;
15350 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15351 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15352 esac
15356 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15357 then
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15360 #include <X11/Xlib.h>
15361 #include <X11/extensions/Xinerama.h>
15363 main (void)
15365 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15367 return 0;
15369 _ACEOF
15370 if ac_fn_c_try_compile "$LINENO"
15371 then :
15372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15373 printf %s "checking for -lXinerama... " >&6; }
15374 if test ${ac_cv_lib_soname_Xinerama+y}
15375 then :
15376 printf %s "(cached) " >&6
15377 else $as_nop
15378 ac_check_soname_save_LIBS=$LIBS
15379 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15383 /* Override any GCC internal prototype to avoid an error.
15384 Use char because int might match the return type of a GCC
15385 builtin and then its argument prototype would still apply. */
15386 char XineramaQueryScreens ();
15388 main (void)
15390 return XineramaQueryScreens ();
15392 return 0;
15394 _ACEOF
15395 if ac_fn_c_try_link "$LINENO"
15396 then :
15397 case "$LIBEXT" in
15398 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15399 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'` ;;
15400 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15401 if ${ac_cv_lib_soname_Xinerama:+false} :
15402 then :
15403 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15404 fi ;;
15405 esac
15406 else $as_nop
15407 ac_cv_lib_soname_Xinerama=
15409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15410 conftest$ac_exeext conftest.$ac_ext
15411 LIBS=$ac_check_soname_save_LIBS
15413 if ${ac_cv_lib_soname_Xinerama:+false} :
15414 then :
15415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15416 printf "%s\n" "not found" >&6; }
15418 else $as_nop
15419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15420 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15422 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15429 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15430 then :
15431 case "x$with_xinerama" in
15432 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15433 xno) ;;
15434 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15435 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15436 esac
15440 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15441 then
15442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15443 printf %s "checking for -lXcomposite... " >&6; }
15444 if test ${ac_cv_lib_soname_Xcomposite+y}
15445 then :
15446 printf %s "(cached) " >&6
15447 else $as_nop
15448 ac_check_soname_save_LIBS=$LIBS
15449 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15453 /* Override any GCC internal prototype to avoid an error.
15454 Use char because int might match the return type of a GCC
15455 builtin and then its argument prototype would still apply. */
15456 char XCompositeRedirectWindow ();
15458 main (void)
15460 return XCompositeRedirectWindow ();
15462 return 0;
15464 _ACEOF
15465 if ac_fn_c_try_link "$LINENO"
15466 then :
15467 case "$LIBEXT" in
15468 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15469 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'` ;;
15470 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15471 if ${ac_cv_lib_soname_Xcomposite:+false} :
15472 then :
15473 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15474 fi ;;
15475 esac
15476 else $as_nop
15477 ac_cv_lib_soname_Xcomposite=
15479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15480 conftest$ac_exeext conftest.$ac_ext
15481 LIBS=$ac_check_soname_save_LIBS
15483 if ${ac_cv_lib_soname_Xcomposite:+false} :
15484 then :
15485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15486 printf "%s\n" "not found" >&6; }
15488 else $as_nop
15489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15490 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15492 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15497 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15498 then :
15499 case "x$with_xcomposite" in
15500 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15501 xno) ;;
15502 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15503 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15504 esac
15508 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15509 #include <X11/Xlib.h>
15510 #endif
15512 if test "x$ac_cv_member_XICCallback_callback" = xyes
15513 then :
15515 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15519 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15520 #include <X11/Xlib.h>
15521 #endif
15523 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15524 then :
15526 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15533 opengl_msg=""
15534 if test "x$with_opengl" != "xno"
15535 then
15536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15537 printf %s "checking for -lGL... " >&6; }
15538 if test ${ac_cv_lib_soname_GL+y}
15539 then :
15540 printf %s "(cached) " >&6
15541 else $as_nop
15542 ac_check_soname_save_LIBS=$LIBS
15543 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15547 /* Override any GCC internal prototype to avoid an error.
15548 Use char because int might match the return type of a GCC
15549 builtin and then its argument prototype would still apply. */
15550 char glXCreateContext ();
15552 main (void)
15554 return glXCreateContext ();
15556 return 0;
15558 _ACEOF
15559 if ac_fn_c_try_link "$LINENO"
15560 then :
15561 case "$LIBEXT" in
15562 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15563 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'` ;;
15564 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15565 if ${ac_cv_lib_soname_GL:+false} :
15566 then :
15567 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15568 fi ;;
15569 esac
15570 else $as_nop
15571 ac_cv_lib_soname_GL=
15573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15574 conftest$ac_exeext conftest.$ac_ext
15575 LIBS=$ac_check_soname_save_LIBS
15577 if ${ac_cv_lib_soname_GL:+false} :
15578 then :
15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15580 printf "%s\n" "not found" >&6; }
15581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15582 printf %s "checking for -lGL... " >&6; }
15583 if test ${ac_cv_lib_soname_GL+y}
15584 then :
15585 printf %s "(cached) " >&6
15586 else $as_nop
15587 ac_check_soname_save_LIBS=$LIBS
15588 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"
15589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15592 /* Override any GCC internal prototype to avoid an error.
15593 Use char because int might match the return type of a GCC
15594 builtin and then its argument prototype would still apply. */
15595 char glXCreateContext ();
15597 main (void)
15599 return glXCreateContext ();
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"
15605 then :
15606 case "$LIBEXT" in
15607 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15608 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'` ;;
15609 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15610 if ${ac_cv_lib_soname_GL:+false} :
15611 then :
15612 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15613 fi ;;
15614 esac
15615 else $as_nop
15616 ac_cv_lib_soname_GL=
15618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15619 conftest$ac_exeext conftest.$ac_ext
15620 LIBS=$ac_check_soname_save_LIBS
15622 if ${ac_cv_lib_soname_GL:+false} :
15623 then :
15624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15625 printf "%s\n" "not found" >&6; }
15626 if test -f /usr/X11R6/lib/libGL.a
15627 then
15628 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15629 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15630 else
15631 opengl_msg="No OpenGL library found on this system."
15633 else $as_nop
15634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15635 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15637 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15639 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"
15641 else $as_nop
15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15643 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15645 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15647 OPENGL_LIBS="-lGL"
15649 if test "x$with_osmesa" != "xno"
15650 then
15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15652 printf %s "checking for -lOSMesa... " >&6; }
15653 if test ${ac_cv_lib_soname_OSMesa+y}
15654 then :
15655 printf %s "(cached) " >&6
15656 else $as_nop
15657 ac_check_soname_save_LIBS=$LIBS
15658 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15665 char OSMesaGetProcAddress ();
15667 main (void)
15669 return OSMesaGetProcAddress ();
15671 return 0;
15673 _ACEOF
15674 if ac_fn_c_try_link "$LINENO"
15675 then :
15676 case "$LIBEXT" in
15677 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15678 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'` ;;
15679 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15680 if ${ac_cv_lib_soname_OSMesa:+false} :
15681 then :
15682 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15683 fi ;;
15684 esac
15685 else $as_nop
15686 ac_cv_lib_soname_OSMesa=
15688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15689 conftest$ac_exeext conftest.$ac_ext
15690 LIBS=$ac_check_soname_save_LIBS
15692 if ${ac_cv_lib_soname_OSMesa:+false} :
15693 then :
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15695 printf "%s\n" "not found" >&6; }
15697 else $as_nop
15698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15699 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15701 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15705 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15706 then :
15707 case "x$with_osmesa" in
15708 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15709 xno) ;;
15710 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15711 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15712 esac
15717 if test -n "$opengl_msg"
15718 then :
15719 case "x$with_opengl" in
15720 x) as_fn_append wine_warnings "|$opengl_msg
15721 OpenGL and Direct3D won't be supported." ;;
15722 xno) ;;
15723 *) as_fn_error $? "$opengl_msg
15724 OpenGL and Direct3D won't be supported.
15725 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15726 esac
15730 CPPFLAGS="$ac_save_CPPFLAGS"
15731 else
15732 X_CFLAGS=""
15733 X_LIBS=""
15736 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15737 then
15738 if test "x$X_LIBS" = "x"
15739 then :
15740 case "x$with_x" in
15741 xno) ;;
15742 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15743 without X support, which probably isn't what you want. You will need
15744 to install ${notice_platform}development packages of Xlib at the very least.
15745 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15746 esac
15747 enable_winex11_drv=${enable_winex11_drv:-no}
15749 else
15750 if test "x$X_LIBS" = "x"
15751 then :
15752 case "x$with_x" in
15753 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15754 xno) ;;
15755 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15756 This is an error since --with-x was requested." "$LINENO" 5 ;;
15757 esac
15758 enable_winex11_drv=${enable_winex11_drv:-no}
15762 if test "$ac_cv_header_CL_cl_h" = "yes"
15763 then
15764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15765 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15766 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15767 then :
15768 printf %s "(cached) " >&6
15769 else $as_nop
15770 ac_check_lib_save_LIBS=$LIBS
15771 LIBS="-lOpenCL $LIBS"
15772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15775 /* Override any GCC internal prototype to avoid an error.
15776 Use char because int might match the return type of a GCC
15777 builtin and then its argument prototype would still apply. */
15778 char clGetPlatformInfo ();
15780 main (void)
15782 return clGetPlatformInfo ();
15784 return 0;
15786 _ACEOF
15787 if ac_fn_c_try_link "$LINENO"
15788 then :
15789 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15790 else $as_nop
15791 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15794 conftest$ac_exeext conftest.$ac_ext
15795 LIBS=$ac_check_lib_save_LIBS
15797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15798 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15799 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15800 then :
15801 OPENCL_LIBS="-lOpenCL"
15806 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15807 then :
15808 case "x$with_opencl" in
15809 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15810 xno) ;;
15811 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15812 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15813 esac
15814 enable_opencl=${enable_opencl:-no}
15817 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15818 then
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15820 printf %s "checking for pcap_create in -lpcap... " >&6; }
15821 if test ${ac_cv_lib_pcap_pcap_create+y}
15822 then :
15823 printf %s "(cached) " >&6
15824 else $as_nop
15825 ac_check_lib_save_LIBS=$LIBS
15826 LIBS="-lpcap $LIBS"
15827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15830 /* Override any GCC internal prototype to avoid an error.
15831 Use char because int might match the return type of a GCC
15832 builtin and then its argument prototype would still apply. */
15833 char pcap_create ();
15835 main (void)
15837 return pcap_create ();
15839 return 0;
15841 _ACEOF
15842 if ac_fn_c_try_link "$LINENO"
15843 then :
15844 ac_cv_lib_pcap_pcap_create=yes
15845 else $as_nop
15846 ac_cv_lib_pcap_pcap_create=no
15848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15849 conftest$ac_exeext conftest.$ac_ext
15850 LIBS=$ac_check_lib_save_LIBS
15852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15853 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15854 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15855 then :
15856 PCAP_LIBS="-lpcap"
15861 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15862 then :
15863 case "x$with_pcap" in
15864 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15865 xno) ;;
15866 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15867 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15868 esac
15869 enable_wpcap=${enable_wpcap:-no}
15872 if test "x$with_inotify" != "xno"
15873 then
15874 if ${INOTIFY_CFLAGS:+false} :
15875 then :
15876 if test ${PKG_CONFIG+y}
15877 then :
15878 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15882 if ${INOTIFY_LIBS:+false} :
15883 then :
15884 if test ${PKG_CONFIG+y}
15885 then :
15886 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15893 ac_save_CPPFLAGS=$CPPFLAGS
15894 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15895 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15896 if test "x$ac_cv_header_sys_inotify_h" = xyes
15897 then :
15898 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15903 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15904 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15905 then :
15906 printf %s "(cached) " >&6
15907 else $as_nop
15908 ac_check_lib_save_LIBS=$LIBS
15909 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15913 /* Override any GCC internal prototype to avoid an error.
15914 Use char because int might match the return type of a GCC
15915 builtin and then its argument prototype would still apply. */
15916 char inotify_add_watch ();
15918 main (void)
15920 return inotify_add_watch ();
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_link "$LINENO"
15926 then :
15927 ac_cv_lib_inotify_inotify_add_watch=yes
15928 else $as_nop
15929 ac_cv_lib_inotify_inotify_add_watch=no
15931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15932 conftest$ac_exeext conftest.$ac_ext
15933 LIBS=$ac_check_lib_save_LIBS
15935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15936 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15937 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15938 then :
15940 else $as_nop
15941 INOTIFY_LIBS=""
15944 CPPFLAGS=$ac_save_CPPFLAGS
15947 if test "$ac_cv_header_sys_inotify_h" != "yes"
15948 then :
15949 case "x$with_inotify" in
15950 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15951 xno) ;;
15952 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15953 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15954 esac
15958 if test "x$with_dbus" != "xno"
15959 then
15960 if ${DBUS_CFLAGS:+false} :
15961 then :
15962 if test ${PKG_CONFIG+y}
15963 then :
15964 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15968 if ${DBUS_LIBS:+false} :
15969 then :
15970 if test ${PKG_CONFIG+y}
15971 then :
15972 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15979 ac_save_CPPFLAGS=$CPPFLAGS
15980 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15981 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15982 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15983 then :
15984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15985 printf %s "checking for -ldbus-1... " >&6; }
15986 if test ${ac_cv_lib_soname_dbus_1+y}
15987 then :
15988 printf %s "(cached) " >&6
15989 else $as_nop
15990 ac_check_soname_save_LIBS=$LIBS
15991 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 char dbus_connection_close ();
16000 main (void)
16002 return dbus_connection_close ();
16004 return 0;
16006 _ACEOF
16007 if ac_fn_c_try_link "$LINENO"
16008 then :
16009 case "$LIBEXT" in
16010 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16011 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'` ;;
16012 *) 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'`
16013 if ${ac_cv_lib_soname_dbus_1:+false} :
16014 then :
16015 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16016 fi ;;
16017 esac
16018 else $as_nop
16019 ac_cv_lib_soname_dbus_1=
16021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16022 conftest$ac_exeext conftest.$ac_ext
16023 LIBS=$ac_check_soname_save_LIBS
16025 if ${ac_cv_lib_soname_dbus_1:+false} :
16026 then :
16027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16028 printf "%s\n" "not found" >&6; }
16029 DBUS_CFLAGS=""
16030 else $as_nop
16031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16032 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16034 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16038 else $as_nop
16039 DBUS_CFLAGS=""
16042 CPPFLAGS=$ac_save_CPPFLAGS
16045 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16046 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16047 then :
16048 case "x$with_dbus" in
16049 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16050 xno) ;;
16051 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16052 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16053 esac
16057 if test "x$with_gnutls" != "xno"
16058 then
16059 if ${GNUTLS_CFLAGS:+false} :
16060 then :
16061 if test ${PKG_CONFIG+y}
16062 then :
16063 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16067 if ${GNUTLS_LIBS:+false} :
16068 then :
16069 if test ${PKG_CONFIG+y}
16070 then :
16071 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16075 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16078 ac_save_CPPFLAGS=$CPPFLAGS
16079 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16080 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16081 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16082 then :
16083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16084 /* end confdefs.h. */
16085 #include <gnutls/gnutls.h>
16086 #include <gnutls/crypto.h>
16088 main (void)
16090 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16092 return 0;
16094 _ACEOF
16095 if ac_fn_c_try_compile "$LINENO"
16096 then :
16097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16098 printf %s "checking for -lgnutls... " >&6; }
16099 if test ${ac_cv_lib_soname_gnutls+y}
16100 then :
16101 printf %s "(cached) " >&6
16102 else $as_nop
16103 ac_check_soname_save_LIBS=$LIBS
16104 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16108 /* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16111 char gnutls_global_init ();
16113 main (void)
16115 return gnutls_global_init ();
16117 return 0;
16119 _ACEOF
16120 if ac_fn_c_try_link "$LINENO"
16121 then :
16122 case "$LIBEXT" in
16123 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16124 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'` ;;
16125 *) 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'`
16126 if ${ac_cv_lib_soname_gnutls:+false} :
16127 then :
16128 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'`
16129 fi ;;
16130 esac
16131 else $as_nop
16132 ac_cv_lib_soname_gnutls=
16134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16135 conftest$ac_exeext conftest.$ac_ext
16136 LIBS=$ac_check_soname_save_LIBS
16138 if ${ac_cv_lib_soname_gnutls:+false} :
16139 then :
16140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16141 printf "%s\n" "not found" >&6; }
16142 GNUTLS_CFLAGS=""
16143 else $as_nop
16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16145 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16147 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16151 ac_wine_check_funcs_save_LIBS="$LIBS"
16152 LIBS="$LIBS $GNUTLS_LIBS"
16154 for ac_func in gnutls_cipher_init
16155 do :
16156 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16157 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16158 then :
16159 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16161 else $as_nop
16162 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16165 done
16166 LIBS="$ac_wine_check_funcs_save_LIBS"
16168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16169 else $as_nop
16170 GNUTLS_CFLAGS=""
16173 CPPFLAGS=$ac_save_CPPFLAGS
16176 if test "x$ac_cv_lib_soname_gnutls" = "x"
16177 then :
16178 case "x$with_gnutls" in
16179 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16180 xno) ;;
16181 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16182 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16183 esac
16187 if test "x$with_sane" != "xno"
16188 then
16189 if ${SANE_CFLAGS:+false} :
16190 then :
16191 if test ${PKG_CONFIG+y}
16192 then :
16193 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16196 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16197 if ${SANE_LIBS:+false} :
16198 then :
16199 if test ${PKG_CONFIG+y}
16200 then :
16201 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16204 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16208 ac_save_CPPFLAGS=$CPPFLAGS
16209 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16210 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16211 if test "x$ac_cv_header_sane_sane_h" = xyes
16212 then :
16213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16214 printf %s "checking for sane_init in -lsane... " >&6; }
16215 if test ${ac_cv_lib_sane_sane_init+y}
16216 then :
16217 printf %s "(cached) " >&6
16218 else $as_nop
16219 ac_check_lib_save_LIBS=$LIBS
16220 LIBS="-lsane $SANE_LIBS $LIBS"
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16224 /* Override any GCC internal prototype to avoid an error.
16225 Use char because int might match the return type of a GCC
16226 builtin and then its argument prototype would still apply. */
16227 char sane_init ();
16229 main (void)
16231 return sane_init ();
16233 return 0;
16235 _ACEOF
16236 if ac_fn_c_try_link "$LINENO"
16237 then :
16238 ac_cv_lib_sane_sane_init=yes
16239 else $as_nop
16240 ac_cv_lib_sane_sane_init=no
16242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_lib_save_LIBS
16246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16247 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16248 if test "x$ac_cv_lib_sane_sane_init" = xyes
16249 then :
16255 CPPFLAGS=$ac_save_CPPFLAGS
16258 if test "$ac_cv_lib_sane_sane_init" != "yes"
16259 then :
16260 case "x$with_sane" in
16261 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16262 xno) ;;
16263 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16264 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16265 esac
16266 enable_sane_ds=${enable_sane_ds:-no}
16269 if test "x$with_usb" != "xno"
16270 then
16271 if ${USB_CFLAGS:+false} :
16272 then :
16273 if test ${PKG_CONFIG+y}
16274 then :
16275 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16279 if ${USB_LIBS:+false} :
16280 then :
16281 if test ${PKG_CONFIG+y}
16282 then :
16283 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16287 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16290 ac_save_CPPFLAGS=$CPPFLAGS
16291 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16292 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16293 if test "x$ac_cv_header_libusb_h" = xyes
16294 then :
16295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16296 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16297 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16298 then :
16299 printf %s "(cached) " >&6
16300 else $as_nop
16301 ac_check_lib_save_LIBS=$LIBS
16302 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16306 /* Override any GCC internal prototype to avoid an error.
16307 Use char because int might match the return type of a GCC
16308 builtin and then its argument prototype would still apply. */
16309 char libusb_interrupt_event_handler ();
16311 main (void)
16313 return libusb_interrupt_event_handler ();
16315 return 0;
16317 _ACEOF
16318 if ac_fn_c_try_link "$LINENO"
16319 then :
16320 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16321 else $as_nop
16322 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16325 conftest$ac_exeext conftest.$ac_ext
16326 LIBS=$ac_check_lib_save_LIBS
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16329 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16330 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16331 then :
16333 else $as_nop
16334 USB_LIBS=""
16337 else $as_nop
16338 USB_LIBS=""
16341 CPPFLAGS=$ac_save_CPPFLAGS
16344 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16345 then :
16346 case "x$with_usb" in
16347 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16348 xno) ;;
16349 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16350 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16351 esac
16352 enable_wineusb_sys=${enable_wineusb_sys:-no}
16355 if test "x$with_v4l2" != "xno"
16356 then
16357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16358 printf %s "checking for -lv4l2... " >&6; }
16359 if test ${ac_cv_lib_soname_v4l2+y}
16360 then :
16361 printf %s "(cached) " >&6
16362 else $as_nop
16363 ac_check_soname_save_LIBS=$LIBS
16364 LIBS="-lv4l2 $LIBS"
16365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16366 /* end confdefs.h. */
16368 /* Override any GCC internal prototype to avoid an error.
16369 Use char because int might match the return type of a GCC
16370 builtin and then its argument prototype would still apply. */
16371 char v4l2_open ();
16373 main (void)
16375 return v4l2_open ();
16377 return 0;
16379 _ACEOF
16380 if ac_fn_c_try_link "$LINENO"
16381 then :
16382 case "$LIBEXT" in
16383 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16384 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'` ;;
16385 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16386 if ${ac_cv_lib_soname_v4l2:+false} :
16387 then :
16388 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16389 fi ;;
16390 esac
16391 else $as_nop
16392 ac_cv_lib_soname_v4l2=
16394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_soname_save_LIBS
16398 if ${ac_cv_lib_soname_v4l2:+false} :
16399 then :
16400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16401 printf "%s\n" "not found" >&6; }
16403 else $as_nop
16404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16405 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16407 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16412 if test "x$ac_cv_lib_soname_v4l2" = "x"
16413 then :
16414 case "x$with_v4l2" in
16415 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16416 xno) ;;
16417 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16418 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16419 esac
16423 if test "x$with_gphoto" != "xno"
16424 then
16425 if ${GPHOTO2_CFLAGS:+false} :
16426 then :
16427 if test ${PKG_CONFIG+y}
16428 then :
16429 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16432 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16433 if ${GPHOTO2_LIBS:+false} :
16434 then :
16435 if test ${PKG_CONFIG+y}
16436 then :
16437 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16440 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16441 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16444 ac_save_CPPFLAGS=$CPPFLAGS
16445 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16446 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16447 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16448 then :
16449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16450 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16451 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16452 then :
16453 printf %s "(cached) " >&6
16454 else $as_nop
16455 ac_check_lib_save_LIBS=$LIBS
16456 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16460 /* Override any GCC internal prototype to avoid an error.
16461 Use char because int might match the return type of a GCC
16462 builtin and then its argument prototype would still apply. */
16463 char gp_camera_new ();
16465 main (void)
16467 return gp_camera_new ();
16469 return 0;
16471 _ACEOF
16472 if ac_fn_c_try_link "$LINENO"
16473 then :
16474 ac_cv_lib_gphoto2_gp_camera_new=yes
16475 else $as_nop
16476 ac_cv_lib_gphoto2_gp_camera_new=no
16478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16479 conftest$ac_exeext conftest.$ac_ext
16480 LIBS=$ac_check_lib_save_LIBS
16482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16483 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16484 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16485 then :
16491 CPPFLAGS=$ac_save_CPPFLAGS
16493 if ${GPHOTO2_PORT_CFLAGS:+false} :
16494 then :
16495 if test ${PKG_CONFIG+y}
16496 then :
16497 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16500 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16501 if ${GPHOTO2_PORT_LIBS:+false} :
16502 then :
16503 if test ${PKG_CONFIG+y}
16504 then :
16505 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16508 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16509 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16512 ac_save_CPPFLAGS=$CPPFLAGS
16513 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16514 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16515 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16516 then :
16517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16518 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16519 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16520 then :
16521 printf %s "(cached) " >&6
16522 else $as_nop
16523 ac_check_lib_save_LIBS=$LIBS
16524 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16528 /* Override any GCC internal prototype to avoid an error.
16529 Use char because int might match the return type of a GCC
16530 builtin and then its argument prototype would still apply. */
16531 char gp_port_info_list_new ();
16533 main (void)
16535 return gp_port_info_list_new ();
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"
16541 then :
16542 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16543 else $as_nop
16544 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16547 conftest$ac_exeext conftest.$ac_ext
16548 LIBS=$ac_check_lib_save_LIBS
16550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16551 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16552 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16553 then :
16555 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16557 else $as_nop
16558 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16561 else $as_nop
16562 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16565 CPPFLAGS=$ac_save_CPPFLAGS
16568 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16569 then :
16570 case "x$with_gphoto" in
16571 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16572 xno) ;;
16573 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16574 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16575 esac
16576 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16578 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16579 then :
16580 case "x$with_gphoto" in
16581 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16582 xno) ;;
16583 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16584 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16585 esac
16590 if test "$ac_cv_header_resolv_h" = "yes"
16591 then
16592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16593 printf %s "checking for resolver library... " >&6; }
16594 if test ${ac_cv_have_resolv+y}
16595 then :
16596 printf %s "(cached) " >&6
16597 else $as_nop
16598 ac_save_LIBS="$LIBS"
16599 for lib in '' -lresolv
16601 LIBS="$lib $ac_save_LIBS"
16602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16604 #ifdef HAVE_NETINET_IN_H
16605 #include <netinet/in.h>
16606 #endif
16607 #include <resolv.h>
16609 main (void)
16611 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16613 return 0;
16615 _ACEOF
16616 if ac_fn_c_try_link "$LINENO"
16617 then :
16618 ac_cv_have_resolv=${lib:-"none required"}
16619 else $as_nop
16620 ac_cv_have_resolv="not found"
16622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16623 conftest$ac_exeext conftest.$ac_ext
16624 test "x$ac_cv_have_resolv" = "xnot found" || break
16625 done
16626 LIBS="$ac_save_LIBS"
16628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16629 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16631 case "$ac_cv_have_resolv" in
16632 "not found") ;;
16633 "none required")
16635 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16638 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16640 RESOLV_LIBS=$ac_cv_have_resolv
16642 esac
16644 if test "x$ac_cv_have_resolv" != "xnot found"
16645 then
16646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16647 printf %s "checking for res_getservers... " >&6; }
16648 if test ${ac_cv_have_res_getservers+y}
16649 then :
16650 printf %s "(cached) " >&6
16651 else $as_nop
16652 ac_save_LIBS="$LIBS"
16653 LIBS="$RESOLV_LIBS $LIBS"
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16656 #include <resolv.h>
16658 main (void)
16660 res_getservers(NULL, NULL, 0);
16662 return 0;
16664 _ACEOF
16665 if ac_fn_c_try_link "$LINENO"
16666 then :
16667 ac_cv_have_res_getservers=yes
16668 else $as_nop
16669 ac_cv_have_res_getservers=no
16671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16672 conftest$ac_exeext conftest.$ac_ext
16673 LIBS="$ac_save_LIBS"
16675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16676 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16677 if test "$ac_cv_have_res_getservers" = "yes"
16678 then
16680 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16686 if test "x$with_freetype" != "xno"
16687 then
16688 if ${FREETYPE_CFLAGS:+false} :
16689 then :
16690 if test ${PKG_CONFIG+y}
16691 then :
16692 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16695 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16696 if ${FREETYPE_LIBS:+false} :
16697 then :
16698 if test ${PKG_CONFIG+y}
16699 then :
16700 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16703 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16704 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16707 ac_save_CPPFLAGS=$CPPFLAGS
16708 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16709 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16710 if test "x$ac_cv_header_ft2build_h" = xyes
16711 then :
16712 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16716 if test "$ac_cv_header_ft2build_h" = "yes"
16717 then
16718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16719 printf %s "checking for -lfreetype... " >&6; }
16720 if test ${ac_cv_lib_soname_freetype+y}
16721 then :
16722 printf %s "(cached) " >&6
16723 else $as_nop
16724 ac_check_soname_save_LIBS=$LIBS
16725 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16729 /* Override any GCC internal prototype to avoid an error.
16730 Use char because int might match the return type of a GCC
16731 builtin and then its argument prototype would still apply. */
16732 char FT_Init_FreeType ();
16734 main (void)
16736 return FT_Init_FreeType ();
16738 return 0;
16740 _ACEOF
16741 if ac_fn_c_try_link "$LINENO"
16742 then :
16743 case "$LIBEXT" in
16744 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16745 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'` ;;
16746 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16747 if ${ac_cv_lib_soname_freetype:+false} :
16748 then :
16749 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16750 fi ;;
16751 esac
16752 else $as_nop
16753 ac_cv_lib_soname_freetype=
16755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16756 conftest$ac_exeext conftest.$ac_ext
16757 LIBS=$ac_check_soname_save_LIBS
16759 if ${ac_cv_lib_soname_freetype:+false} :
16760 then :
16761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16762 printf "%s\n" "not found" >&6; }
16763 FREETYPE_LIBS=""
16764 else $as_nop
16765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16766 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16768 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16771 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16773 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16774 #include FT_MODULE_H
16776 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16777 then :
16779 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16785 else
16786 FREETYPE_CFLAGS=""
16787 FREETYPE_LIBS=""
16789 CPPFLAGS=$ac_save_CPPFLAGS
16792 if test "x$ac_cv_lib_soname_freetype" = x
16793 then :
16794 case "x$with_freetype" in
16795 xno) ;;
16796 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16797 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16798 esac
16799 enable_fonts=${enable_fonts:-no}
16802 ac_wine_check_funcs_save_LIBS="$LIBS"
16803 LIBS="$LIBS $PTHREAD_LIBS"
16804 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16805 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16806 then :
16807 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16811 LIBS="$ac_wine_check_funcs_save_LIBS"
16813 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16814 then
16815 if test "$ac_cv_header_gettext_po_h" = "yes"
16816 then
16817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16818 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16819 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16820 then :
16821 printf %s "(cached) " >&6
16822 else $as_nop
16823 ac_check_lib_save_LIBS=$LIBS
16824 LIBS="-lgettextpo $LIBS"
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16828 /* Override any GCC internal prototype to avoid an error.
16829 Use char because int might match the return type of a GCC
16830 builtin and then its argument prototype would still apply. */
16831 char po_message_msgctxt ();
16833 main (void)
16835 return po_message_msgctxt ();
16837 return 0;
16839 _ACEOF
16840 if ac_fn_c_try_link "$LINENO"
16841 then :
16842 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16843 else $as_nop
16844 ac_cv_lib_gettextpo_po_message_msgctxt=no
16846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16847 conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_lib_save_LIBS
16850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16851 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16852 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16853 then :
16855 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16857 GETTEXTPO_LIBS="-lgettextpo"
16862 if test "x$GETTEXTPO_LIBS" = "x"
16863 then :
16864 case "x$with_gettextpo" in
16865 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16866 xno) ;;
16867 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16868 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16869 esac
16872 if test "$srcdir" != .
16873 then :
16874 case "x$with_gettextpo" in
16875 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16876 xno) ;;
16877 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16878 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16879 esac
16884 if test "x$with_pulse" != "xno";
16885 then
16886 if ${PULSE_CFLAGS:+false} :
16887 then :
16888 if test ${PKG_CONFIG+y}
16889 then :
16890 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16894 if ${PULSE_LIBS:+false} :
16895 then :
16896 if test ${PKG_CONFIG+y}
16897 then :
16898 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16905 ac_save_CPPFLAGS=$CPPFLAGS
16906 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16907 for ac_header in pulse/pulseaudio.h
16908 do :
16909 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16910 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16911 then :
16912 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16914 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16915 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16916 then :
16917 printf %s "(cached) " >&6
16918 else $as_nop
16919 ac_check_lib_save_LIBS=$LIBS
16920 LIBS="-lpulse $PULSE_LIBS $LIBS"
16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16924 /* Override any GCC internal prototype to avoid an error.
16925 Use char because int might match the return type of a GCC
16926 builtin and then its argument prototype would still apply. */
16927 char pa_stream_is_corked ();
16929 main (void)
16931 return pa_stream_is_corked ();
16933 return 0;
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"
16937 then :
16938 ac_cv_lib_pulse_pa_stream_is_corked=yes
16939 else $as_nop
16940 ac_cv_lib_pulse_pa_stream_is_corked=no
16942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16943 conftest$ac_exeext conftest.$ac_ext
16944 LIBS=$ac_check_lib_save_LIBS
16946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16947 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16948 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16949 then :
16951 else $as_nop
16952 PULSE_LIBS=""
16955 else $as_nop
16956 PULSE_LIBS=""
16959 done
16960 CPPFLAGS=$ac_save_CPPFLAGS
16963 if test -z "$PULSE_LIBS"
16964 then :
16965 case "x$with_pulse" in
16966 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16967 xno) ;;
16968 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16969 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16970 esac
16971 enable_winepulse_drv=${enable_winepulse_drv:-no}
16974 if test "x$with_gstreamer" != "xno"
16975 then
16976 if ${GSTREAMER_CFLAGS:+false} :
16977 then :
16978 if test ${PKG_CONFIG+y}
16979 then :
16980 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16984 if ${GSTREAMER_LIBS:+false} :
16985 then :
16986 if test ${PKG_CONFIG+y}
16987 then :
16988 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16995 ac_save_CPPFLAGS=$CPPFLAGS
16996 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16997 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16998 if test "x$ac_cv_header_gst_gst_h" = xyes
16999 then :
17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17001 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #include <gst/gst.h>
17006 main (void)
17008 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17010 return 0;
17012 _ACEOF
17013 if ac_fn_c_try_compile "$LINENO"
17014 then :
17015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17016 printf "%s\n" "yes" >&6; }
17017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17018 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17019 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17020 then :
17021 printf %s "(cached) " >&6
17022 else $as_nop
17023 ac_check_lib_save_LIBS=$LIBS
17024 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 /* Override any GCC internal prototype to avoid an error.
17029 Use char because int might match the return type of a GCC
17030 builtin and then its argument prototype would still apply. */
17031 char gst_pad_new ();
17033 main (void)
17035 return gst_pad_new ();
17037 return 0;
17039 _ACEOF
17040 if ac_fn_c_try_link "$LINENO"
17041 then :
17042 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17043 else $as_nop
17044 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17047 conftest$ac_exeext conftest.$ac_ext
17048 LIBS=$ac_check_lib_save_LIBS
17050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17051 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17052 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17053 then :
17057 else $as_nop
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17059 printf "%s\n" "no" >&6; }
17060 ac_glib2_broken=yes
17061 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17066 CPPFLAGS=$ac_save_CPPFLAGS
17069 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17070 then :
17071 case "x$with_gstreamer" in
17072 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17073 xno) ;;
17074 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17075 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17076 esac
17077 enable_winegstreamer=${enable_winegstreamer:-no}
17080 ALSA_LIBS=""
17082 if test "x$with_alsa" != "xno"
17083 then
17084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17085 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17086 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17087 then :
17088 printf %s "(cached) " >&6
17089 else $as_nop
17090 ac_check_lib_save_LIBS=$LIBS
17091 LIBS="-lasound $LIBS"
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17095 /* Override any GCC internal prototype to avoid an error.
17096 Use char because int might match the return type of a GCC
17097 builtin and then its argument prototype would still apply. */
17098 char snd_pcm_hw_params_get_access_mask ();
17100 main (void)
17102 return snd_pcm_hw_params_get_access_mask ();
17104 return 0;
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"
17108 then :
17109 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17110 else $as_nop
17111 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17114 conftest$ac_exeext conftest.$ac_ext
17115 LIBS=$ac_check_lib_save_LIBS
17117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17118 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17119 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17120 then :
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <alsa/asoundlib.h>
17125 main (void)
17127 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17129 return 0;
17131 _ACEOF
17132 if ac_fn_c_try_compile "$LINENO"
17133 then :
17134 ALSA_LIBS="-lasound"
17136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17140 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17142 if test "x$with_oss" != xno
17143 then
17144 ac_save_CPPFLAGS="$CPPFLAGS"
17145 if test -f /etc/oss.conf
17146 then
17147 . /etc/oss.conf
17149 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17150 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17151 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17152 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17153 then :
17154 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17156 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17157 then :
17159 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17161 OSS4_CFLAGS="$ac_oss_incl"
17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17164 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17165 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17166 then :
17167 printf %s "(cached) " >&6
17168 else $as_nop
17169 ac_check_lib_save_LIBS=$LIBS
17170 LIBS="-lossaudio $LIBS"
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17174 /* Override any GCC internal prototype to avoid an error.
17175 Use char because int might match the return type of a GCC
17176 builtin and then its argument prototype would still apply. */
17177 char _oss_ioctl ();
17179 main (void)
17181 return _oss_ioctl ();
17183 return 0;
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"
17187 then :
17188 ac_cv_lib_ossaudio__oss_ioctl=yes
17189 else $as_nop
17190 ac_cv_lib_ossaudio__oss_ioctl=no
17192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17193 conftest$ac_exeext conftest.$ac_ext
17194 LIBS=$ac_check_lib_save_LIBS
17196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17197 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17198 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17199 then :
17200 OSS4_LIBS="-lossaudio"
17208 CPPFLAGS="$ac_save_CPPFLAGS"
17210 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17211 then :
17212 case "x$with_oss" in
17213 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17214 xno) ;;
17215 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17216 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17217 esac
17218 enable_wineoss_drv=${enable_wineoss_drv:-no}
17221 if test "x$with_udev" != "xno"
17222 then
17223 if ${UDEV_CFLAGS:+false} :
17224 then :
17225 if test ${PKG_CONFIG+y}
17226 then :
17227 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17231 if ${UDEV_LIBS:+false} :
17232 then :
17233 if test ${PKG_CONFIG+y}
17234 then :
17235 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17239 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17242 ac_save_CPPFLAGS=$CPPFLAGS
17243 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17244 for ac_header in libudev.h
17245 do :
17246 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17247 if test "x$ac_cv_header_libudev_h" = xyes
17248 then :
17249 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17251 printf %s "checking for udev_new in -ludev... " >&6; }
17252 if test ${ac_cv_lib_udev_udev_new+y}
17253 then :
17254 printf %s "(cached) " >&6
17255 else $as_nop
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-ludev $UDEV_LIBS $LIBS"
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17261 /* Override any GCC internal prototype to avoid an error.
17262 Use char because int might match the return type of a GCC
17263 builtin and then its argument prototype would still apply. */
17264 char udev_new ();
17266 main (void)
17268 return udev_new ();
17270 return 0;
17272 _ACEOF
17273 if ac_fn_c_try_link "$LINENO"
17274 then :
17275 ac_cv_lib_udev_udev_new=yes
17276 else $as_nop
17277 ac_cv_lib_udev_udev_new=no
17279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17280 conftest$ac_exeext conftest.$ac_ext
17281 LIBS=$ac_check_lib_save_LIBS
17283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17284 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17285 if test "x$ac_cv_lib_udev_udev_new" = xyes
17286 then :
17288 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17290 else $as_nop
17291 UDEV_LIBS=""
17294 else $as_nop
17295 UDEV_LIBS=""
17298 done
17299 CPPFLAGS=$ac_save_CPPFLAGS
17302 if test "x$UDEV_LIBS" = "x"
17303 then :
17304 case "x$with_udev" in
17305 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17306 xno) ;;
17307 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17308 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17309 esac
17313 if test "x$with_unwind" != xno
17314 then
17315 if ${UNWIND_CFLAGS:+false} :
17316 then :
17317 if test ${PKG_CONFIG+y}
17318 then :
17319 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17323 if ${UNWIND_LIBS:+false} :
17324 then :
17325 if test ${PKG_CONFIG+y}
17326 then :
17327 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17331 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17334 ac_save_CPPFLAGS=$CPPFLAGS
17335 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17337 printf %s "checking for unw_step... " >&6; }
17338 if test ${wine_cv_have_unw_step+y}
17339 then :
17340 printf %s "(cached) " >&6
17341 else $as_nop
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #define UNW_LOCAL_ONLY
17345 #include <libunwind.h>
17347 main (void)
17349 unw_cursor_t cursor; unw_step( &cursor );
17351 return 0;
17353 _ACEOF
17354 if ac_fn_c_try_link "$LINENO"
17355 then :
17356 wine_cv_have_unw_step="yes"
17357 else $as_nop
17358 wine_cv_have_unw_step="no"
17360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17361 conftest$ac_exeext conftest.$ac_ext
17363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17364 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17365 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17366 then
17367 save_libs=$LIBS
17368 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17369 LIBS="$UNWIND_LIBS $LIBS"
17370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17371 printf %s "checking for unw_step in libunwind... " >&6; }
17372 if test ${wine_cv_have_libunwind_unw_step+y}
17373 then :
17374 printf %s "(cached) " >&6
17375 else $as_nop
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 #define UNW_LOCAL_ONLY
17379 #include <libunwind.h>
17381 main (void)
17383 unw_cursor_t cursor; unw_step( &cursor );
17385 return 0;
17387 _ACEOF
17388 if ac_fn_c_try_link "$LINENO"
17389 then :
17390 wine_cv_have_libunwind_unw_step="yes"
17391 else $as_nop
17392 wine_cv_have_libunwind_unw_step="no"
17394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17395 conftest$ac_exeext conftest.$ac_ext
17397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17398 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17399 LIBS=$save_libs
17401 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17402 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17403 then
17405 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17408 CPPFLAGS=$ac_save_CPPFLAGS
17411 case $host in
17412 aarch64*|*-darwin*)
17413 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17414 then :
17415 case "x$with_unwind" in
17416 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17417 xno) ;;
17418 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17419 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17420 esac
17422 fi ;;
17423 esac
17425 if test "x$with_sdl" != "xno"
17426 then
17427 if ${SDL2_CFLAGS:+false} :
17428 then :
17429 if test ${PKG_CONFIG+y}
17430 then :
17431 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17435 if ${SDL2_LIBS:+false} :
17436 then :
17437 if test ${PKG_CONFIG+y}
17438 then :
17439 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17443 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17446 ac_save_CPPFLAGS=$CPPFLAGS
17447 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17448 for ac_header in SDL.h
17449 do :
17450 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17451 if test "x$ac_cv_header_SDL_h" = xyes
17452 then :
17453 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17455 printf %s "checking for -lSDL2... " >&6; }
17456 if test ${ac_cv_lib_soname_SDL2+y}
17457 then :
17458 printf %s "(cached) " >&6
17459 else $as_nop
17460 ac_check_soname_save_LIBS=$LIBS
17461 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17465 /* Override any GCC internal prototype to avoid an error.
17466 Use char because int might match the return type of a GCC
17467 builtin and then its argument prototype would still apply. */
17468 char SDL_Init ();
17470 main (void)
17472 return SDL_Init ();
17474 return 0;
17476 _ACEOF
17477 if ac_fn_c_try_link "$LINENO"
17478 then :
17479 case "$LIBEXT" in
17480 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17481 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'` ;;
17482 *) 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'`
17483 if ${ac_cv_lib_soname_SDL2:+false} :
17484 then :
17485 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17486 fi ;;
17487 esac
17488 else $as_nop
17489 ac_cv_lib_soname_SDL2=
17491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17492 conftest$ac_exeext conftest.$ac_ext
17493 LIBS=$ac_check_soname_save_LIBS
17495 if ${ac_cv_lib_soname_SDL2:+false} :
17496 then :
17497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17498 printf "%s\n" "not found" >&6; }
17500 else $as_nop
17501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17502 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17504 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17510 done
17511 CPPFLAGS=$ac_save_CPPFLAGS
17514 if test "x$ac_cv_lib_soname_SDL2" = "x"
17515 then :
17516 case "x$with_sdl" in
17517 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17518 xno) ;;
17519 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17520 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17521 esac
17525 if test "x$with_capi" != "xno"
17526 then
17527 if ${CAPI20_CFLAGS:+false} :
17528 then :
17529 if test ${PKG_CONFIG+y}
17530 then :
17531 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17535 if ${CAPI20_LIBS:+false} :
17536 then :
17537 if test ${PKG_CONFIG+y}
17538 then :
17539 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17546 ac_save_CPPFLAGS=$CPPFLAGS
17547 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17548 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17550 if test "x$ac_cv_header_capi20_h" = xyes
17551 then :
17552 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17555 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17557 if test "x$ac_cv_header_linux_capi_h" = xyes
17558 then :
17559 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17563 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17564 then
17565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17566 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17567 if test ${ac_cv_lib_capi20_capi20_register+y}
17568 then :
17569 printf %s "(cached) " >&6
17570 else $as_nop
17571 ac_check_lib_save_LIBS=$LIBS
17572 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17576 /* Override any GCC internal prototype to avoid an error.
17577 Use char because int might match the return type of a GCC
17578 builtin and then its argument prototype would still apply. */
17579 char capi20_register ();
17581 main (void)
17583 return capi20_register ();
17585 return 0;
17587 _ACEOF
17588 if ac_fn_c_try_link "$LINENO"
17589 then :
17590 ac_cv_lib_capi20_capi20_register=yes
17591 else $as_nop
17592 ac_cv_lib_capi20_capi20_register=no
17594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17595 conftest$ac_exeext conftest.$ac_ext
17596 LIBS=$ac_check_lib_save_LIBS
17598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17599 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17600 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17601 then :
17603 else $as_nop
17604 CAPI20_LIBS=""
17608 CPPFLAGS=$ac_save_CPPFLAGS
17611 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17612 then :
17613 case "x$with_capi" in
17614 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17615 xno) ;;
17616 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17617 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17618 esac
17619 enable_capi2032=${enable_capi2032:-no}
17622 if test "x$with_cups" != "xno"
17623 then
17624 if ${CUPS_CFLAGS:+false} :
17625 then :
17626 if test ${PKG_CONFIG+y}
17627 then :
17628 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17631 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17632 if ${CUPS_LIBS:+false} :
17633 then :
17634 if test ${PKG_CONFIG+y}
17635 then :
17636 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17639 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17640 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17643 ac_save_CPPFLAGS=$CPPFLAGS
17644 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17645 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17646 if test "x$ac_cv_header_cups_cups_h" = xyes
17647 then :
17648 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17651 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17652 if test "x$ac_cv_header_cups_ppd_h" = xyes
17653 then :
17654 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17658 if test "$ac_cv_header_cups_cups_h" = "yes"
17659 then
17660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17661 printf %s "checking for -lcups... " >&6; }
17662 if test ${ac_cv_lib_soname_cups+y}
17663 then :
17664 printf %s "(cached) " >&6
17665 else $as_nop
17666 ac_check_soname_save_LIBS=$LIBS
17667 LIBS="-lcups $CUPS_LIBS $LIBS"
17668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17671 /* Override any GCC internal prototype to avoid an error.
17672 Use char because int might match the return type of a GCC
17673 builtin and then its argument prototype would still apply. */
17674 char cupsGetDefault ();
17676 main (void)
17678 return cupsGetDefault ();
17680 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_link "$LINENO"
17684 then :
17685 case "$LIBEXT" in
17686 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17687 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'` ;;
17688 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17689 if ${ac_cv_lib_soname_cups:+false} :
17690 then :
17691 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17692 fi ;;
17693 esac
17694 else $as_nop
17695 ac_cv_lib_soname_cups=
17697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17698 conftest$ac_exeext conftest.$ac_ext
17699 LIBS=$ac_check_soname_save_LIBS
17701 if ${ac_cv_lib_soname_cups:+false} :
17702 then :
17703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17704 printf "%s\n" "not found" >&6; }
17705 CUPS_LIBS=""
17706 else $as_nop
17707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17708 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17710 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17714 else
17715 CUPS_CFLAGS=""
17716 CUPS_LIBS=""
17718 CPPFLAGS=$ac_save_CPPFLAGS
17721 if test "x$ac_cv_lib_soname_cups" = "x"
17722 then :
17723 case "x$with_cups" in
17724 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17725 xno) ;;
17726 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17727 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17728 esac
17732 if test "x$with_fontconfig" != "xno"
17733 then
17734 if ${FONTCONFIG_CFLAGS:+false} :
17735 then :
17736 if test ${PKG_CONFIG+y}
17737 then :
17738 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17741 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17742 if ${FONTCONFIG_LIBS:+false} :
17743 then :
17744 if test ${PKG_CONFIG+y}
17745 then :
17746 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17749 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17753 ac_save_CPPFLAGS=$CPPFLAGS
17754 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17755 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17756 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17757 then :
17758 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17762 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17763 then
17764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17765 printf %s "checking for -lfontconfig... " >&6; }
17766 if test ${ac_cv_lib_soname_fontconfig+y}
17767 then :
17768 printf %s "(cached) " >&6
17769 else $as_nop
17770 ac_check_soname_save_LIBS=$LIBS
17771 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17775 /* Override any GCC internal prototype to avoid an error.
17776 Use char because int might match the return type of a GCC
17777 builtin and then its argument prototype would still apply. */
17778 char FcInit ();
17780 main (void)
17782 return FcInit ();
17784 return 0;
17786 _ACEOF
17787 if ac_fn_c_try_link "$LINENO"
17788 then :
17789 case "$LIBEXT" in
17790 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17791 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'` ;;
17792 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17793 if ${ac_cv_lib_soname_fontconfig:+false} :
17794 then :
17795 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17796 fi ;;
17797 esac
17798 else $as_nop
17799 ac_cv_lib_soname_fontconfig=
17801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17802 conftest$ac_exeext conftest.$ac_ext
17803 LIBS=$ac_check_soname_save_LIBS
17805 if ${ac_cv_lib_soname_fontconfig:+false} :
17806 then :
17807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17808 printf "%s\n" "not found" >&6; }
17809 FONTCONFIG_CFLAGS=""
17810 else $as_nop
17811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17812 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17814 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17818 else
17819 FONTCONFIG_CFLAGS=""
17821 CPPFLAGS=$ac_save_CPPFLAGS
17824 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17825 then :
17826 case "x$with_fontconfig" in
17827 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17828 xno) ;;
17829 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17830 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17831 esac
17835 if test "x$with_krb5" != "xno"
17836 then
17837 if ${KRB5_CFLAGS:+false} :
17838 then :
17839 if test ${PKG_CONFIG+y}
17840 then :
17841 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17844 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17845 if ${KRB5_LIBS:+false} :
17846 then :
17847 if test ${PKG_CONFIG+y}
17848 then :
17849 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17852 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17856 ac_save_CPPFLAGS=$CPPFLAGS
17857 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17858 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17859 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17860 then :
17861 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17865 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17866 then
17867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17868 printf %s "checking for -lkrb5... " >&6; }
17869 if test ${ac_cv_lib_soname_krb5+y}
17870 then :
17871 printf %s "(cached) " >&6
17872 else $as_nop
17873 ac_check_soname_save_LIBS=$LIBS
17874 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17876 /* end confdefs.h. */
17878 /* Override any GCC internal prototype to avoid an error.
17879 Use char because int might match the return type of a GCC
17880 builtin and then its argument prototype would still apply. */
17881 char krb5_is_config_principal ();
17883 main (void)
17885 return krb5_is_config_principal ();
17887 return 0;
17889 _ACEOF
17890 if ac_fn_c_try_link "$LINENO"
17891 then :
17892 case "$LIBEXT" in
17893 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17894 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'` ;;
17895 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17896 if ${ac_cv_lib_soname_krb5:+false} :
17897 then :
17898 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17899 fi ;;
17900 esac
17901 else $as_nop
17902 ac_cv_lib_soname_krb5=
17904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17905 conftest$ac_exeext conftest.$ac_ext
17906 LIBS=$ac_check_soname_save_LIBS
17908 if ${ac_cv_lib_soname_krb5:+false} :
17909 then :
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17911 printf "%s\n" "not found" >&6; }
17912 KRB5_CFLAGS=""
17913 else $as_nop
17914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17915 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17917 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17921 else
17922 KRB5_CFLAGS=""
17924 CPPFLAGS=$ac_save_CPPFLAGS
17927 if test "x$ac_cv_lib_soname_krb5" = "x"
17928 then :
17929 case "x$with_krb5" in
17930 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17931 xno) ;;
17932 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17933 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17934 esac
17937 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17939 if test "x$with_gssapi" != "xno"
17940 then
17941 if ${GSSAPI_CFLAGS:+false} :
17942 then :
17943 if test ${PKG_CONFIG+y}
17944 then :
17945 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17948 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17949 if ${GSSAPI_LIBS:+false} :
17950 then :
17951 if test ${PKG_CONFIG+y}
17952 then :
17953 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17956 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17960 ac_save_CPPFLAGS=$CPPFLAGS
17961 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17962 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17963 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17964 then :
17965 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17968 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17969 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17970 then :
17971 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17975 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17976 then
17977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17978 printf %s "checking for -lgssapi_krb5... " >&6; }
17979 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17980 then :
17981 printf %s "(cached) " >&6
17982 else $as_nop
17983 ac_check_soname_save_LIBS=$LIBS
17984 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 /* Override any GCC internal prototype to avoid an error.
17989 Use char because int might match the return type of a GCC
17990 builtin and then its argument prototype would still apply. */
17991 char gss_init_sec_context ();
17993 main (void)
17995 return gss_init_sec_context ();
17997 return 0;
17999 _ACEOF
18000 if ac_fn_c_try_link "$LINENO"
18001 then :
18002 case "$LIBEXT" in
18003 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18004 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'` ;;
18005 *) 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'`
18006 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18007 then :
18008 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18009 fi ;;
18010 esac
18011 else $as_nop
18012 ac_cv_lib_soname_gssapi_krb5=
18014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18015 conftest$ac_exeext conftest.$ac_ext
18016 LIBS=$ac_check_soname_save_LIBS
18018 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18019 then :
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18021 printf "%s\n" "not found" >&6; }
18022 GSSAPI_CFLAGS=""
18023 else $as_nop
18024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18025 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18027 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18031 else
18032 GSSAPI_CFLAGS=""
18034 CPPFLAGS=$ac_save_CPPFLAGS
18037 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18038 then :
18039 case "x$with_gssapi" in
18040 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18041 xno) ;;
18042 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18043 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18044 esac
18048 if test "$ac_cv_header_AL_al_h" = "yes"
18049 then
18050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18051 printf %s "checking for -lopenal... " >&6; }
18052 if test ${ac_cv_lib_soname_openal+y}
18053 then :
18054 printf %s "(cached) " >&6
18055 else $as_nop
18056 ac_check_soname_save_LIBS=$LIBS
18057 LIBS="-lopenal $LIBS"
18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18061 /* Override any GCC internal prototype to avoid an error.
18062 Use char because int might match the return type of a GCC
18063 builtin and then its argument prototype would still apply. */
18064 char alGetSource3i ();
18066 main (void)
18068 return alGetSource3i ();
18070 return 0;
18072 _ACEOF
18073 if ac_fn_c_try_link "$LINENO"
18074 then :
18075 case "$LIBEXT" in
18076 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18077 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18078 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18079 if ${ac_cv_lib_soname_openal:+false} :
18080 then :
18081 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18082 fi ;;
18083 esac
18084 else $as_nop
18085 ac_cv_lib_soname_openal=
18087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18088 conftest$ac_exeext conftest.$ac_ext
18089 LIBS=$ac_check_soname_save_LIBS
18091 if ${ac_cv_lib_soname_openal:+false} :
18092 then :
18093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18094 printf "%s\n" "not found" >&6; }
18096 else $as_nop
18097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18098 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18100 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18102 OPENAL_LIBS="-lopenal"
18104 ac_cv_lib_openal=yes
18106 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18110 if test "x$ac_cv_lib_openal" != xyes
18111 then :
18112 case "x$with_openal" in
18113 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18114 xno) ;;
18115 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18116 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18117 esac
18118 enable_openal32=${enable_openal32:-no}
18121 if test "$ac_cv_header_libprocstat_h" = "yes"
18122 then
18123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18124 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18125 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18126 then :
18127 printf %s "(cached) " >&6
18128 else $as_nop
18129 ac_check_lib_save_LIBS=$LIBS
18130 LIBS="-lprocstat $LIBS"
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18134 /* Override any GCC internal prototype to avoid an error.
18135 Use char because int might match the return type of a GCC
18136 builtin and then its argument prototype would still apply. */
18137 char procstat_open_sysctl ();
18139 main (void)
18141 return procstat_open_sysctl ();
18143 return 0;
18145 _ACEOF
18146 if ac_fn_c_try_link "$LINENO"
18147 then :
18148 ac_cv_lib_procstat_procstat_open_sysctl=yes
18149 else $as_nop
18150 ac_cv_lib_procstat_procstat_open_sysctl=no
18152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18153 conftest$ac_exeext conftest.$ac_ext
18154 LIBS=$ac_check_lib_save_LIBS
18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18157 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18158 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18159 then :
18161 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18163 PROCSTAT_LIBS="-lprocstat"
18169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18170 printf %s "checking for -lodbc... " >&6; }
18171 if test ${ac_cv_lib_soname_odbc+y}
18172 then :
18173 printf %s "(cached) " >&6
18174 else $as_nop
18175 ac_check_soname_save_LIBS=$LIBS
18176 LIBS="-lodbc $LIBS"
18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18180 /* Override any GCC internal prototype to avoid an error.
18181 Use char because int might match the return type of a GCC
18182 builtin and then its argument prototype would still apply. */
18183 char SQLConnect ();
18185 main (void)
18187 return SQLConnect ();
18189 return 0;
18191 _ACEOF
18192 if ac_fn_c_try_link "$LINENO"
18193 then :
18194 case "$LIBEXT" in
18195 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18196 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'` ;;
18197 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18198 if ${ac_cv_lib_soname_odbc:+false} :
18199 then :
18200 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18201 fi ;;
18202 esac
18203 else $as_nop
18204 ac_cv_lib_soname_odbc=
18206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18207 conftest$ac_exeext conftest.$ac_ext
18208 LIBS=$ac_check_soname_save_LIBS
18210 if ${ac_cv_lib_soname_odbc:+false} :
18211 then :
18212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18213 printf "%s\n" "not found" >&6; }
18214 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18216 else $as_nop
18217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18218 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18220 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18225 if test "x$with_netapi" != "xno"
18226 then
18227 if ${NETAPI_CFLAGS:+false} :
18228 then :
18229 if test ${PKG_CONFIG+y}
18230 then :
18231 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18235 if ${NETAPI_LIBS:+false} :
18236 then :
18237 if test ${PKG_CONFIG+y}
18238 then :
18239 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18246 ac_save_CPPFLAGS=$CPPFLAGS
18247 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18249 printf %s "checking for -lnetapi... " >&6; }
18250 if test ${ac_cv_lib_soname_netapi+y}
18251 then :
18252 printf %s "(cached) " >&6
18253 else $as_nop
18254 ac_check_soname_save_LIBS=$LIBS
18255 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18262 char libnetapi_init ();
18264 main (void)
18266 return libnetapi_init ();
18268 return 0;
18270 _ACEOF
18271 if ac_fn_c_try_link "$LINENO"
18272 then :
18273 case "$LIBEXT" in
18274 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18275 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'` ;;
18276 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18277 if ${ac_cv_lib_soname_netapi:+false} :
18278 then :
18279 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18280 fi ;;
18281 esac
18282 else $as_nop
18283 ac_cv_lib_soname_netapi=
18285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18286 conftest$ac_exeext conftest.$ac_ext
18287 LIBS=$ac_check_soname_save_LIBS
18289 if ${ac_cv_lib_soname_netapi:+false} :
18290 then :
18291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18292 printf "%s\n" "not found" >&6; }
18293 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18295 else $as_nop
18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18297 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18299 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18303 CPPFLAGS=$ac_save_CPPFLAGS
18306 if test "x$ac_cv_lib_soname_netapi" = "x"
18307 then :
18308 case "x$with_netapi" in
18309 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18310 xno) ;;
18311 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18312 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18313 esac
18314 enable_netapi=${enable_netapi:-no}
18318 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18319 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18320 then
18321 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18324 if test "x$with_vulkan" != "xno"
18325 then
18326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18327 printf %s "checking for -lvulkan... " >&6; }
18328 if test ${ac_cv_lib_soname_vulkan+y}
18329 then :
18330 printf %s "(cached) " >&6
18331 else $as_nop
18332 ac_check_soname_save_LIBS=$LIBS
18333 LIBS="-lvulkan $LIBS"
18334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18335 /* end confdefs.h. */
18337 /* Override any GCC internal prototype to avoid an error.
18338 Use char because int might match the return type of a GCC
18339 builtin and then its argument prototype would still apply. */
18340 char vkGetInstanceProcAddr ();
18342 main (void)
18344 return vkGetInstanceProcAddr ();
18346 return 0;
18348 _ACEOF
18349 if ac_fn_c_try_link "$LINENO"
18350 then :
18351 case "$LIBEXT" in
18352 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18353 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'` ;;
18354 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18355 if ${ac_cv_lib_soname_vulkan:+false} :
18356 then :
18357 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18358 fi ;;
18359 esac
18360 else $as_nop
18361 ac_cv_lib_soname_vulkan=
18363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18364 conftest$ac_exeext conftest.$ac_ext
18365 LIBS=$ac_check_soname_save_LIBS
18367 if ${ac_cv_lib_soname_vulkan:+false} :
18368 then :
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18370 printf "%s\n" "not found" >&6; }
18372 else $as_nop
18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18374 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18376 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18380 if test "x$ac_cv_lib_soname_vulkan" = "x"
18381 then
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18383 printf %s "checking for -lMoltenVK... " >&6; }
18384 if test ${ac_cv_lib_soname_MoltenVK+y}
18385 then :
18386 printf %s "(cached) " >&6
18387 else $as_nop
18388 ac_check_soname_save_LIBS=$LIBS
18389 LIBS="-lMoltenVK $LIBS"
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18396 char vkGetInstanceProcAddr ();
18398 main (void)
18400 return vkGetInstanceProcAddr ();
18402 return 0;
18404 _ACEOF
18405 if ac_fn_c_try_link "$LINENO"
18406 then :
18407 case "$LIBEXT" in
18408 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18409 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'` ;;
18410 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18411 if ${ac_cv_lib_soname_MoltenVK:+false} :
18412 then :
18413 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18414 fi ;;
18415 esac
18416 else $as_nop
18417 ac_cv_lib_soname_MoltenVK=
18419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18420 conftest$ac_exeext conftest.$ac_ext
18421 LIBS=$ac_check_soname_save_LIBS
18423 if ${ac_cv_lib_soname_MoltenVK:+false} :
18424 then :
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18426 printf "%s\n" "not found" >&6; }
18428 else $as_nop
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18430 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18432 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18438 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18439 then :
18440 case "x$with_vulkan" in
18441 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18442 xno) ;;
18443 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18444 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18445 esac
18449 if test "x$with_vkd3d" != "xno"
18450 then
18451 if ${VKD3D_CFLAGS:+false} :
18452 then :
18453 if test ${PKG_CONFIG+y}
18454 then :
18455 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18459 if ${VKD3D_LIBS:+false} :
18460 then :
18461 if test ${PKG_CONFIG+y}
18462 then :
18463 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18470 ac_save_CPPFLAGS=$CPPFLAGS
18471 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18473 printf %s "checking for -lvkd3d... " >&6; }
18474 if test ${ac_cv_lib_soname_vkd3d+y}
18475 then :
18476 printf %s "(cached) " >&6
18477 else $as_nop
18478 ac_check_soname_save_LIBS=$LIBS
18479 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18483 /* Override any GCC internal prototype to avoid an error.
18484 Use char because int might match the return type of a GCC
18485 builtin and then its argument prototype would still apply. */
18486 char vkd3d_serialize_versioned_root_signature ();
18488 main (void)
18490 return vkd3d_serialize_versioned_root_signature ();
18492 return 0;
18494 _ACEOF
18495 if ac_fn_c_try_link "$LINENO"
18496 then :
18497 case "$LIBEXT" in
18498 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18499 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18500 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18501 if ${ac_cv_lib_soname_vkd3d:+false} :
18502 then :
18503 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18504 fi ;;
18505 esac
18506 else $as_nop
18507 ac_cv_lib_soname_vkd3d=
18509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18510 conftest$ac_exeext conftest.$ac_ext
18511 LIBS=$ac_check_soname_save_LIBS
18513 if ${ac_cv_lib_soname_vkd3d:+false} :
18514 then :
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18516 printf "%s\n" "not found" >&6; }
18518 else $as_nop
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18520 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18522 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18526 CPPFLAGS=$ac_save_CPPFLAGS
18528 if ${VKD3D_SHADER_CFLAGS:+false} :
18529 then :
18530 if test ${PKG_CONFIG+y}
18531 then :
18532 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18536 if ${VKD3D_SHADER_LIBS:+false} :
18537 then :
18538 if test ${PKG_CONFIG+y}
18539 then :
18540 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18547 ac_save_CPPFLAGS=$CPPFLAGS
18548 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18550 printf %s "checking for -lvkd3d-shader... " >&6; }
18551 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18552 then :
18553 printf %s "(cached) " >&6
18554 else $as_nop
18555 ac_check_soname_save_LIBS=$LIBS
18556 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18560 /* Override any GCC internal prototype to avoid an error.
18561 Use char because int might match the return type of a GCC
18562 builtin and then its argument prototype would still apply. */
18563 char vkd3d_shader_compile ();
18565 main (void)
18567 return vkd3d_shader_compile ();
18569 return 0;
18571 _ACEOF
18572 if ac_fn_c_try_link "$LINENO"
18573 then :
18574 case "$LIBEXT" in
18575 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18576 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18577 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18578 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18579 then :
18580 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18581 fi ;;
18582 esac
18583 else $as_nop
18584 ac_cv_lib_soname_vkd3d_shader=
18586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18587 conftest$ac_exeext conftest.$ac_ext
18588 LIBS=$ac_check_soname_save_LIBS
18590 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18591 then :
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18593 printf "%s\n" "not found" >&6; }
18595 else $as_nop
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18597 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18599 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18603 CPPFLAGS=$ac_save_CPPFLAGS
18606 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18607 then :
18608 case "x$with_vkd3d" in
18609 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18610 xno) ;;
18611 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18612 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18613 esac
18616 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18619 if test "x${GCC}" = "xyes"
18620 then
18621 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18623 saved_CFLAGS=$CFLAGS
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18625 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18626 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18627 then :
18628 printf %s "(cached) " >&6
18629 else $as_nop
18630 ac_wine_try_cflags_saved=$CFLAGS
18631 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 int main(int argc, char **argv) { return 0; }
18635 _ACEOF
18636 if ac_fn_c_try_link "$LINENO"
18637 then :
18638 ac_cv_cflags__Werror_unknown_warning_option=yes
18639 else $as_nop
18640 ac_cv_cflags__Werror_unknown_warning_option=no
18642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18643 conftest$ac_exeext conftest.$ac_ext
18644 CFLAGS=$ac_wine_try_cflags_saved
18646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18647 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18648 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18649 then :
18650 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18653 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18654 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18655 then :
18656 printf %s "(cached) " >&6
18657 else $as_nop
18658 ac_wine_try_cflags_saved=$CFLAGS
18659 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 int main(int argc, char **argv) { return 0; }
18663 _ACEOF
18664 if ac_fn_c_try_link "$LINENO"
18665 then :
18666 ac_cv_cflags__Werror_unused_command_line_argument=yes
18667 else $as_nop
18668 ac_cv_cflags__Werror_unused_command_line_argument=no
18670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18671 conftest$ac_exeext conftest.$ac_ext
18672 CFLAGS=$ac_wine_try_cflags_saved
18674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18675 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18676 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18677 then :
18678 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18681 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18682 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18683 then :
18684 printf %s "(cached) " >&6
18685 else $as_nop
18686 ac_wine_try_cflags_saved=$CFLAGS
18687 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 int main(int argc, char **argv) { return 0; }
18691 _ACEOF
18692 if ac_fn_c_try_link "$LINENO"
18693 then :
18694 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18695 else $as_nop
18696 ac_cv_cflags__Werror_ignored_optimization_argument=no
18698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18699 conftest$ac_exeext conftest.$ac_ext
18700 CFLAGS=$ac_wine_try_cflags_saved
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18703 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18704 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18705 then :
18706 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18709 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18710 if test ${ac_cv_cflags__fcf_protection_none+y}
18711 then :
18712 printf %s "(cached) " >&6
18713 else $as_nop
18714 ac_wine_try_cflags_saved=$CFLAGS
18715 CFLAGS="$CFLAGS -fcf-protection=none"
18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 int main(int argc, char **argv) { return 0; }
18719 _ACEOF
18720 if ac_fn_c_try_link "$LINENO"
18721 then :
18722 ac_cv_cflags__fcf_protection_none=yes
18723 else $as_nop
18724 ac_cv_cflags__fcf_protection_none=no
18726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18727 conftest$ac_exeext conftest.$ac_ext
18728 CFLAGS=$ac_wine_try_cflags_saved
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18731 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18732 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18733 then :
18734 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18737 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18738 if test ${ac_cv_cflags__fno_stack_protector+y}
18739 then :
18740 printf %s "(cached) " >&6
18741 else $as_nop
18742 ac_wine_try_cflags_saved=$CFLAGS
18743 CFLAGS="$CFLAGS -fno-stack-protector"
18744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18746 int main(int argc, char **argv) { return 0; }
18747 _ACEOF
18748 if ac_fn_c_try_link "$LINENO"
18749 then :
18750 ac_cv_cflags__fno_stack_protector=yes
18751 else $as_nop
18752 ac_cv_cflags__fno_stack_protector=no
18754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18755 conftest$ac_exeext conftest.$ac_ext
18756 CFLAGS=$ac_wine_try_cflags_saved
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18759 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18760 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18761 then :
18762 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18765 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18766 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18767 then :
18768 printf %s "(cached) " >&6
18769 else $as_nop
18770 ac_wine_try_cflags_saved=$CFLAGS
18771 CFLAGS="$CFLAGS -fno-strict-aliasing"
18772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774 int main(int argc, char **argv) { return 0; }
18775 _ACEOF
18776 if ac_fn_c_try_link "$LINENO"
18777 then :
18778 ac_cv_cflags__fno_strict_aliasing=yes
18779 else $as_nop
18780 ac_cv_cflags__fno_strict_aliasing=no
18782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18783 conftest$ac_exeext conftest.$ac_ext
18784 CFLAGS=$ac_wine_try_cflags_saved
18786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18787 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18788 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18789 then :
18790 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18793 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18794 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18795 then :
18796 printf %s "(cached) " >&6
18797 else $as_nop
18798 ac_wine_try_cflags_saved=$CFLAGS
18799 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18801 /* end confdefs.h. */
18802 int main(int argc, char **argv) { return 0; }
18803 _ACEOF
18804 if ac_fn_c_try_link "$LINENO"
18805 then :
18806 ac_cv_cflags__Wdeclaration_after_statement=yes
18807 else $as_nop
18808 ac_cv_cflags__Wdeclaration_after_statement=no
18810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18811 conftest$ac_exeext conftest.$ac_ext
18812 CFLAGS=$ac_wine_try_cflags_saved
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18815 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18816 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18817 then :
18818 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18821 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18822 if test ${ac_cv_cflags__Wempty_body+y}
18823 then :
18824 printf %s "(cached) " >&6
18825 else $as_nop
18826 ac_wine_try_cflags_saved=$CFLAGS
18827 CFLAGS="$CFLAGS -Wempty-body"
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830 int main(int argc, char **argv) { return 0; }
18831 _ACEOF
18832 if ac_fn_c_try_link "$LINENO"
18833 then :
18834 ac_cv_cflags__Wempty_body=yes
18835 else $as_nop
18836 ac_cv_cflags__Wempty_body=no
18838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18839 conftest$ac_exeext conftest.$ac_ext
18840 CFLAGS=$ac_wine_try_cflags_saved
18842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18843 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18844 if test "x$ac_cv_cflags__Wempty_body" = xyes
18845 then :
18846 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18849 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18850 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18851 then :
18852 printf %s "(cached) " >&6
18853 else $as_nop
18854 ac_wine_try_cflags_saved=$CFLAGS
18855 CFLAGS="$CFLAGS -Wignored-qualifiers"
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858 int main(int argc, char **argv) { return 0; }
18859 _ACEOF
18860 if ac_fn_c_try_link "$LINENO"
18861 then :
18862 ac_cv_cflags__Wignored_qualifiers=yes
18863 else $as_nop
18864 ac_cv_cflags__Wignored_qualifiers=no
18866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18867 conftest$ac_exeext conftest.$ac_ext
18868 CFLAGS=$ac_wine_try_cflags_saved
18870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18871 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18872 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18873 then :
18874 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18877 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18878 if test ${ac_cv_cflags__Winit_self+y}
18879 then :
18880 printf %s "(cached) " >&6
18881 else $as_nop
18882 ac_wine_try_cflags_saved=$CFLAGS
18883 CFLAGS="$CFLAGS -Winit-self"
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886 int main(int argc, char **argv) { return 0; }
18887 _ACEOF
18888 if ac_fn_c_try_link "$LINENO"
18889 then :
18890 ac_cv_cflags__Winit_self=yes
18891 else $as_nop
18892 ac_cv_cflags__Winit_self=no
18894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18895 conftest$ac_exeext conftest.$ac_ext
18896 CFLAGS=$ac_wine_try_cflags_saved
18898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18899 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18900 if test "x$ac_cv_cflags__Winit_self" = xyes
18901 then :
18902 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18905 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18906 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18907 then :
18908 printf %s "(cached) " >&6
18909 else $as_nop
18910 ac_wine_try_cflags_saved=$CFLAGS
18911 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18914 int main(int argc, char **argv) { return 0; }
18915 _ACEOF
18916 if ac_fn_c_try_link "$LINENO"
18917 then :
18918 ac_cv_cflags__Wpacked_not_aligned=yes
18919 else $as_nop
18920 ac_cv_cflags__Wpacked_not_aligned=no
18922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18923 conftest$ac_exeext conftest.$ac_ext
18924 CFLAGS=$ac_wine_try_cflags_saved
18926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18927 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18928 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18929 then :
18930 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18933 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18934 if test ${ac_cv_cflags__Wpragma_pack+y}
18935 then :
18936 printf %s "(cached) " >&6
18937 else $as_nop
18938 ac_wine_try_cflags_saved=$CFLAGS
18939 CFLAGS="$CFLAGS -Wpragma-pack"
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942 int main(int argc, char **argv) { return 0; }
18943 _ACEOF
18944 if ac_fn_c_try_link "$LINENO"
18945 then :
18946 ac_cv_cflags__Wpragma_pack=yes
18947 else $as_nop
18948 ac_cv_cflags__Wpragma_pack=no
18950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18951 conftest$ac_exeext conftest.$ac_ext
18952 CFLAGS=$ac_wine_try_cflags_saved
18954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18955 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18956 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18957 then :
18958 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18961 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18962 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18963 then :
18964 printf %s "(cached) " >&6
18965 else $as_nop
18966 ac_wine_try_cflags_saved=$CFLAGS
18967 CFLAGS="$CFLAGS -Wshift-overflow=2"
18968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 int main(int argc, char **argv) { return 0; }
18971 _ACEOF
18972 if ac_fn_c_try_link "$LINENO"
18973 then :
18974 ac_cv_cflags__Wshift_overflow_2=yes
18975 else $as_nop
18976 ac_cv_cflags__Wshift_overflow_2=no
18978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18979 conftest$ac_exeext conftest.$ac_ext
18980 CFLAGS=$ac_wine_try_cflags_saved
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18983 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18984 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18985 then :
18986 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18989 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18990 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18991 then :
18992 printf %s "(cached) " >&6
18993 else $as_nop
18994 ac_wine_try_cflags_saved=$CFLAGS
18995 CFLAGS="$CFLAGS -Wstrict-prototypes"
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 int main(int argc, char **argv) { return 0; }
18999 _ACEOF
19000 if ac_fn_c_try_link "$LINENO"
19001 then :
19002 ac_cv_cflags__Wstrict_prototypes=yes
19003 else $as_nop
19004 ac_cv_cflags__Wstrict_prototypes=no
19006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19007 conftest$ac_exeext conftest.$ac_ext
19008 CFLAGS=$ac_wine_try_cflags_saved
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19011 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19012 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19013 then :
19014 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19017 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19018 if test ${ac_cv_cflags__Wtype_limits+y}
19019 then :
19020 printf %s "(cached) " >&6
19021 else $as_nop
19022 ac_wine_try_cflags_saved=$CFLAGS
19023 CFLAGS="$CFLAGS -Wtype-limits"
19024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 int main(int argc, char **argv) { return 0; }
19027 _ACEOF
19028 if ac_fn_c_try_link "$LINENO"
19029 then :
19030 ac_cv_cflags__Wtype_limits=yes
19031 else $as_nop
19032 ac_cv_cflags__Wtype_limits=no
19034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19035 conftest$ac_exeext conftest.$ac_ext
19036 CFLAGS=$ac_wine_try_cflags_saved
19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19039 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19040 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19041 then :
19042 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19045 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19046 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19047 then :
19048 printf %s "(cached) " >&6
19049 else $as_nop
19050 ac_wine_try_cflags_saved=$CFLAGS
19051 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19053 /* end confdefs.h. */
19054 int main(int argc, char **argv) { return 0; }
19055 _ACEOF
19056 if ac_fn_c_try_link "$LINENO"
19057 then :
19058 ac_cv_cflags__Wunused_but_set_parameter=yes
19059 else $as_nop
19060 ac_cv_cflags__Wunused_but_set_parameter=no
19062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19063 conftest$ac_exeext conftest.$ac_ext
19064 CFLAGS=$ac_wine_try_cflags_saved
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19067 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19068 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19069 then :
19070 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19073 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19074 if test ${ac_cv_cflags__Wvla+y}
19075 then :
19076 printf %s "(cached) " >&6
19077 else $as_nop
19078 ac_wine_try_cflags_saved=$CFLAGS
19079 CFLAGS="$CFLAGS -Wvla"
19080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19081 /* end confdefs.h. */
19082 int main(int argc, char **argv) { return 0; }
19083 _ACEOF
19084 if ac_fn_c_try_link "$LINENO"
19085 then :
19086 ac_cv_cflags__Wvla=yes
19087 else $as_nop
19088 ac_cv_cflags__Wvla=no
19090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19091 conftest$ac_exeext conftest.$ac_ext
19092 CFLAGS=$ac_wine_try_cflags_saved
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19095 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19096 if test "x$ac_cv_cflags__Wvla" = xyes
19097 then :
19098 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19101 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19102 if test ${ac_cv_cflags__Wwrite_strings+y}
19103 then :
19104 printf %s "(cached) " >&6
19105 else $as_nop
19106 ac_wine_try_cflags_saved=$CFLAGS
19107 CFLAGS="$CFLAGS -Wwrite-strings"
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110 int main(int argc, char **argv) { return 0; }
19111 _ACEOF
19112 if ac_fn_c_try_link "$LINENO"
19113 then :
19114 ac_cv_cflags__Wwrite_strings=yes
19115 else $as_nop
19116 ac_cv_cflags__Wwrite_strings=no
19118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19119 conftest$ac_exeext conftest.$ac_ext
19120 CFLAGS=$ac_wine_try_cflags_saved
19122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19123 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19124 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19125 then :
19126 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19129 if test -z "$CROSSTARGET"
19130 then
19131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19132 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19133 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19134 then :
19135 printf %s "(cached) " >&6
19136 else $as_nop
19137 ac_wine_try_cflags_saved=$CFLAGS
19138 CFLAGS="$CFLAGS -fexcess-precision=standard"
19139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19140 /* end confdefs.h. */
19141 int main(int argc, char **argv) { return 0; }
19142 _ACEOF
19143 if ac_fn_c_try_link "$LINENO"
19144 then :
19145 ac_cv_cflags__fexcess_precision_standard=yes
19146 else $as_nop
19147 ac_cv_cflags__fexcess_precision_standard=no
19149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19150 conftest$ac_exeext conftest.$ac_ext
19151 CFLAGS=$ac_wine_try_cflags_saved
19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19154 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19155 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19156 then :
19157 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19163 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19164 if test ${ac_cv_cflags__Wpointer_arith+y}
19165 then :
19166 printf %s "(cached) " >&6
19167 else $as_nop
19168 ac_wine_try_cflags_saved=$CFLAGS
19169 CFLAGS="$CFLAGS -Wpointer-arith"
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__Wpointer_arith=yes
19177 else $as_nop
19178 ac_cv_cflags__Wpointer_arith=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__Wpointer_arith" >&5
19185 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19186 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19187 then :
19188 saved_string_h_CFLAGS=$CFLAGS
19189 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19191 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19192 if test ${ac_cv_c_string_h_warnings+y}
19193 then :
19194 printf %s "(cached) " >&6
19195 else $as_nop
19196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19197 /* end confdefs.h. */
19198 #include <string.h>
19200 main (void)
19204 return 0;
19206 _ACEOF
19207 if ac_fn_c_try_compile "$LINENO"
19208 then :
19209 ac_cv_c_string_h_warnings=no
19210 else $as_nop
19211 ac_cv_c_string_h_warnings=yes
19213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19216 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19217 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19218 CFLAGS=$saved_string_h_CFLAGS
19221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19222 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19223 if test ${ac_cv_cflags__Wlogical_op+y}
19224 then :
19225 printf %s "(cached) " >&6
19226 else $as_nop
19227 ac_wine_try_cflags_saved=$CFLAGS
19228 CFLAGS="$CFLAGS -Wlogical-op"
19229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19231 int main(int argc, char **argv) { return 0; }
19232 _ACEOF
19233 if ac_fn_c_try_link "$LINENO"
19234 then :
19235 ac_cv_cflags__Wlogical_op=yes
19236 else $as_nop
19237 ac_cv_cflags__Wlogical_op=no
19239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19240 conftest$ac_exeext conftest.$ac_ext
19241 CFLAGS=$ac_wine_try_cflags_saved
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19244 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19245 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19246 then :
19247 saved_string_h_CFLAGS=$CFLAGS
19248 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19250 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19251 if test ${ac_cv_c_logicalop_noisy+y}
19252 then :
19253 printf %s "(cached) " >&6
19254 else $as_nop
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h. */
19257 #include <string.h>
19258 char*f(const char *h,char n) {return strchr(h,n);}
19260 main (void)
19264 return 0;
19266 _ACEOF
19267 if ac_fn_c_try_compile "$LINENO"
19268 then :
19269 ac_cv_c_logicalop_noisy=no
19270 else $as_nop
19271 ac_cv_c_logicalop_noisy=yes
19273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19276 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19277 CFLAGS=$saved_string_h_CFLAGS
19278 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19282 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19283 if test ${wine_cv_64bit_compare_swap+y}
19284 then :
19285 printf %s "(cached) " >&6
19286 else $as_nop
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19290 #error no
19291 #endif
19293 main (void)
19297 return 0;
19299 _ACEOF
19300 if ac_fn_c_try_compile "$LINENO"
19301 then :
19302 wine_cv_64bit_compare_swap="none needed"
19303 else $as_nop
19304 case $host_cpu in
19305 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19306 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19307 *) wine_cv_64bit_compare_swap="unknown" ;;
19308 esac
19309 if test "x$wine_cv_64bit_compare_swap" != xunknown
19310 then
19311 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19315 #error no
19316 #endif
19318 main (void)
19322 return 0;
19324 _ACEOF
19325 if ac_fn_c_try_compile "$LINENO"
19326 then :
19328 else $as_nop
19329 wine_cv_64bit_compare_swap="unknown"
19331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19332 CFLAGS=$saved_CFLAGS
19335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19338 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19339 case "$wine_cv_64bit_compare_swap" in
19340 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19341 "none needed") ;;
19342 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19343 esac
19345 ac_debug_format_seen=""
19346 for ac_flag in $CFLAGS; do
19347 case $ac_flag in
19348 -gdwarf*) ac_debug_format_seen=yes ;;
19349 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19350 esac
19351 done
19352 if test "x$ac_debug_format_seen" = xdefault
19353 then
19354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19355 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19356 if test ${ac_cv_cflags__gdwarf_4+y}
19357 then :
19358 printf %s "(cached) " >&6
19359 else $as_nop
19360 ac_wine_try_cflags_saved=$CFLAGS
19361 CFLAGS="$CFLAGS -gdwarf-4"
19362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19363 /* end confdefs.h. */
19364 int main(int argc, char **argv) { return 0; }
19365 _ACEOF
19366 if ac_fn_c_try_link "$LINENO"
19367 then :
19368 ac_cv_cflags__gdwarf_4=yes
19369 else $as_nop
19370 ac_cv_cflags__gdwarf_4=no
19372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19373 conftest$ac_exeext conftest.$ac_ext
19374 CFLAGS=$ac_wine_try_cflags_saved
19376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19377 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19378 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19379 then :
19380 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19384 MSVCRTFLAGS=""
19386 case $host_os in
19387 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19388 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19389 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19390 then :
19391 printf %s "(cached) " >&6
19392 else $as_nop
19393 ac_wine_try_cflags_saved=$CFLAGS
19394 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 int main(int argc, char **argv) { return 0; }
19398 _ACEOF
19399 if ac_fn_c_try_link "$LINENO"
19400 then :
19401 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19402 else $as_nop
19403 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19406 conftest$ac_exeext conftest.$ac_ext
19407 CFLAGS=$ac_wine_try_cflags_saved
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19410 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19411 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19412 then :
19413 DELAYLOADFLAG="-Wl,-delayload,"
19415 fi ;;
19416 *) MSVCRTFLAGS="-D_WIN32"
19417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19418 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19419 if test ${ac_cv_cflags__fno_builtin+y}
19420 then :
19421 printf %s "(cached) " >&6
19422 else $as_nop
19423 ac_wine_try_cflags_saved=$CFLAGS
19424 CFLAGS="$CFLAGS -fno-builtin"
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 int main(int argc, char **argv) { return 0; }
19428 _ACEOF
19429 if ac_fn_c_try_link "$LINENO"
19430 then :
19431 ac_cv_cflags__fno_builtin=yes
19432 else $as_nop
19433 ac_cv_cflags__fno_builtin=no
19435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19436 conftest$ac_exeext conftest.$ac_ext
19437 CFLAGS=$ac_wine_try_cflags_saved
19439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19440 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19441 if test "x$ac_cv_cflags__fno_builtin" = xyes
19442 then :
19443 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19446 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19447 if test ${ac_cv_cflags__fshort_wchar+y}
19448 then :
19449 printf %s "(cached) " >&6
19450 else $as_nop
19451 ac_wine_try_cflags_saved=$CFLAGS
19452 CFLAGS="$CFLAGS -fshort-wchar"
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 int main(int argc, char **argv) { return 0; }
19456 _ACEOF
19457 if ac_fn_c_try_link "$LINENO"
19458 then :
19459 ac_cv_cflags__fshort_wchar=yes
19460 else $as_nop
19461 ac_cv_cflags__fshort_wchar=no
19463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19464 conftest$ac_exeext conftest.$ac_ext
19465 CFLAGS=$ac_wine_try_cflags_saved
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19468 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19469 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19470 then :
19471 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19472 fi ;;
19473 esac
19475 case $host_cpu in
19476 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19477 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19478 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19479 then :
19480 printf %s "(cached) " >&6
19481 else $as_nop
19482 ac_wine_try_cflags_saved=$CFLAGS
19483 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 int main(int argc, char **argv) { return 0; }
19487 _ACEOF
19488 if ac_fn_c_try_link "$LINENO"
19489 then :
19490 ac_cv_cflags__fno_omit_frame_pointer=yes
19491 else $as_nop
19492 ac_cv_cflags__fno_omit_frame_pointer=no
19494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19495 conftest$ac_exeext conftest.$ac_ext
19496 CFLAGS=$ac_wine_try_cflags_saved
19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19499 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19500 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19501 then :
19502 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19503 fi ;;
19504 *x86_64*)
19505 case $host_os in
19506 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19507 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19508 if test ${ac_cv_cflags__Wno_format+y}
19509 then :
19510 printf %s "(cached) " >&6
19511 else $as_nop
19512 ac_wine_try_cflags_saved=$CFLAGS
19513 CFLAGS="$CFLAGS -Wno-format"
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516 int main(int argc, char **argv) { return 0; }
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"
19519 then :
19520 ac_cv_cflags__Wno_format=yes
19521 else $as_nop
19522 ac_cv_cflags__Wno_format=no
19524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19525 conftest$ac_exeext conftest.$ac_ext
19526 CFLAGS=$ac_wine_try_cflags_saved
19528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19529 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19530 if test "x$ac_cv_cflags__Wno_format" = xyes
19531 then :
19532 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19533 fi ;;
19534 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19535 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19536 if test ${ac_cv_cflags__mabi_ms+y}
19537 then :
19538 printf %s "(cached) " >&6
19539 else $as_nop
19540 ac_wine_try_cflags_saved=$CFLAGS
19541 CFLAGS="$CFLAGS -mabi=ms"
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19544 int main(int argc, char **argv) { return 0; }
19545 _ACEOF
19546 if ac_fn_c_try_link "$LINENO"
19547 then :
19548 ac_cv_cflags__mabi_ms=yes
19549 else $as_nop
19550 ac_cv_cflags__mabi_ms=no
19552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19553 conftest$ac_exeext conftest.$ac_ext
19554 CFLAGS=$ac_wine_try_cflags_saved
19556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19557 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19558 if test "x$ac_cv_cflags__mabi_ms" = xyes
19559 then :
19560 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19561 fi ;;
19562 esac ;;
19563 esac
19565 CFLAGS=$saved_CFLAGS
19567 if test "x$enable_werror" = "xyes"
19568 then
19569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19570 printf %s "checking whether the compiler supports -Werror... " >&6; }
19571 if test ${ac_cv_cflags__Werror+y}
19572 then :
19573 printf %s "(cached) " >&6
19574 else $as_nop
19575 ac_wine_try_cflags_saved=$CFLAGS
19576 CFLAGS="$CFLAGS -Werror"
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h. */
19579 int main(int argc, char **argv) { return 0; }
19580 _ACEOF
19581 if ac_fn_c_try_link "$LINENO"
19582 then :
19583 ac_cv_cflags__Werror=yes
19584 else $as_nop
19585 ac_cv_cflags__Werror=no
19587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19588 conftest$ac_exeext conftest.$ac_ext
19589 CFLAGS=$ac_wine_try_cflags_saved
19591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19592 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19593 if test "x$ac_cv_cflags__Werror" = xyes
19594 then :
19595 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19598 if test "x$enable_build_id" = "xyes"
19599 then
19600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19601 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19602 if test ${ac_cv_cflags__Wl___build_id+y}
19603 then :
19604 printf %s "(cached) " >&6
19605 else $as_nop
19606 ac_wine_try_cflags_saved=$CFLAGS
19607 CFLAGS="$CFLAGS -Wl,--build-id"
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19610 int main(int argc, char **argv) { return 0; }
19611 _ACEOF
19612 if ac_fn_c_try_link "$LINENO"
19613 then :
19614 ac_cv_cflags__Wl___build_id=yes
19615 else $as_nop
19616 ac_cv_cflags__Wl___build_id=no
19618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19619 conftest$ac_exeext conftest.$ac_ext
19620 CFLAGS=$ac_wine_try_cflags_saved
19622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19623 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19624 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19625 then :
19626 CFLAGS="$CFLAGS -Wl,--build-id"
19627 LDFLAGS="$LDFLAGS -Wl,--build-id"
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19634 printf %s "checking for the need to disable Fortify... " >&6; }
19635 if test ${ac_cv_c_fortify_enabled+y}
19636 then :
19637 printf %s "(cached) " >&6
19638 else $as_nop
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 #include <string.h>
19643 main (void)
19645 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19646 #error Fortify enabled
19647 #endif
19649 return 0;
19651 _ACEOF
19652 if ac_fn_c_try_compile "$LINENO"
19653 then :
19654 ac_cv_c_fortify_enabled=no
19655 else $as_nop
19656 ac_cv_c_fortify_enabled=yes
19658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19661 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19662 if test "$ac_cv_c_fortify_enabled" = yes
19663 then
19664 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19669 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19670 if test ${ac_cv_c_cfi_support+y}
19671 then :
19672 printf %s "(cached) " >&6
19673 else $as_nop
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19678 main (void)
19682 return 0;
19684 _ACEOF
19685 if ac_fn_c_try_compile "$LINENO"
19686 then :
19687 ac_cv_c_cfi_support="yes"
19688 else $as_nop
19689 ac_cv_c_cfi_support="no"
19691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19694 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19695 if test "$ac_cv_c_cfi_support" = "yes"
19696 then
19697 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19698 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19699 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19700 else
19701 if test "x$enable_win64" = "xyes"
19702 then
19703 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19708 case $host_os in
19709 linux*)
19710 case $host_cpu in
19711 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19712 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19713 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19715 esac
19717 esac
19720 ac_save_CFLAGS="$CFLAGS"
19721 CFLAGS="$CFLAGS $BUILTINFLAG"
19722 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19723 if test "x$ac_cv_func_epoll_create" = xyes
19724 then :
19725 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19728 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19729 if test "x$ac_cv_func_fstatfs" = xyes
19730 then :
19731 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19734 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19735 if test "x$ac_cv_func_futimens" = xyes
19736 then :
19737 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19740 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19741 if test "x$ac_cv_func_futimes" = xyes
19742 then :
19743 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19746 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19747 if test "x$ac_cv_func_futimesat" = xyes
19748 then :
19749 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19752 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19753 if test "x$ac_cv_func_getattrlist" = xyes
19754 then :
19755 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19758 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19759 if test "x$ac_cv_func_getauxval" = xyes
19760 then :
19761 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19764 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19765 if test "x$ac_cv_func_getifaddrs" = xyes
19766 then :
19767 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19770 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19771 if test "x$ac_cv_func_getrandom" = xyes
19772 then :
19773 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19776 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19777 if test "x$ac_cv_func_kqueue" = xyes
19778 then :
19779 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19782 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19783 if test "x$ac_cv_func_mach_continuous_time" = xyes
19784 then :
19785 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19788 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19789 if test "x$ac_cv_func_pipe2" = xyes
19790 then :
19791 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19794 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19795 if test "x$ac_cv_func_port_create" = xyes
19796 then :
19797 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19800 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19801 if test "x$ac_cv_func_posix_fadvise" = xyes
19802 then :
19803 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19806 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19807 if test "x$ac_cv_func_posix_fallocate" = xyes
19808 then :
19809 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19812 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19813 if test "x$ac_cv_func_prctl" = xyes
19814 then :
19815 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19818 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19819 if test "x$ac_cv_func_proc_pidinfo" = xyes
19820 then :
19821 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19824 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19825 if test "x$ac_cv_func_sched_yield" = xyes
19826 then :
19827 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19830 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19831 if test "x$ac_cv_func_setproctitle" = xyes
19832 then :
19833 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19836 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19837 if test "x$ac_cv_func_setprogname" = xyes
19838 then :
19839 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19842 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19843 if test "x$ac_cv_func_sigprocmask" = xyes
19844 then :
19845 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19848 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19849 if test "x$ac_cv_func_sysinfo" = xyes
19850 then :
19851 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19854 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19855 if test "x$ac_cv_func_tcdrain" = xyes
19856 then :
19857 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19860 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19861 if test "x$ac_cv_func_thr_kill2" = xyes
19862 then :
19863 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19867 CFLAGS="$ac_save_CFLAGS"
19869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19870 printf %s "checking for library containing dlopen... " >&6; }
19871 if test ${ac_cv_search_dlopen+y}
19872 then :
19873 printf %s "(cached) " >&6
19874 else $as_nop
19875 ac_func_search_save_LIBS=$LIBS
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19879 /* Override any GCC internal prototype to avoid an error.
19880 Use char because int might match the return type of a GCC
19881 builtin and then its argument prototype would still apply. */
19882 char dlopen ();
19884 main (void)
19886 return dlopen ();
19888 return 0;
19890 _ACEOF
19891 for ac_lib in '' dl
19893 if test -z "$ac_lib"; then
19894 ac_res="none required"
19895 else
19896 ac_res=-l$ac_lib
19897 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19899 if ac_fn_c_try_link "$LINENO"
19900 then :
19901 ac_cv_search_dlopen=$ac_res
19903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19904 conftest$ac_exeext
19905 if test ${ac_cv_search_dlopen+y}
19906 then :
19907 break
19909 done
19910 if test ${ac_cv_search_dlopen+y}
19911 then :
19913 else $as_nop
19914 ac_cv_search_dlopen=no
19916 rm conftest.$ac_ext
19917 LIBS=$ac_func_search_save_LIBS
19919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19920 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19921 ac_res=$ac_cv_search_dlopen
19922 if test "$ac_res" != no
19923 then :
19924 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19928 ac_wine_check_funcs_save_LIBS="$LIBS"
19929 LIBS="$LIBS $DL_LIBS"
19930 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19931 if test "x$ac_cv_func_dlinfo" = xyes
19932 then :
19933 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19937 LIBS="$ac_wine_check_funcs_save_LIBS"
19939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19940 printf %s "checking for library containing gethostbyname... " >&6; }
19941 if test ${ac_cv_search_gethostbyname+y}
19942 then :
19943 printf %s "(cached) " >&6
19944 else $as_nop
19945 ac_func_search_save_LIBS=$LIBS
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19949 /* Override any GCC internal prototype to avoid an error.
19950 Use char because int might match the return type of a GCC
19951 builtin and then its argument prototype would still apply. */
19952 char gethostbyname ();
19954 main (void)
19956 return gethostbyname ();
19958 return 0;
19960 _ACEOF
19961 for ac_lib in '' nsl
19963 if test -z "$ac_lib"; then
19964 ac_res="none required"
19965 else
19966 ac_res=-l$ac_lib
19967 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19969 if ac_fn_c_try_link "$LINENO"
19970 then :
19971 ac_cv_search_gethostbyname=$ac_res
19973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19974 conftest$ac_exeext
19975 if test ${ac_cv_search_gethostbyname+y}
19976 then :
19977 break
19979 done
19980 if test ${ac_cv_search_gethostbyname+y}
19981 then :
19983 else $as_nop
19984 ac_cv_search_gethostbyname=no
19986 rm conftest.$ac_ext
19987 LIBS=$ac_func_search_save_LIBS
19989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19990 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19991 ac_res=$ac_cv_search_gethostbyname
19992 if test "$ac_res" != no
19993 then :
19994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20000 printf %s "checking for library containing connect... " >&6; }
20001 if test ${ac_cv_search_connect+y}
20002 then :
20003 printf %s "(cached) " >&6
20004 else $as_nop
20005 ac_func_search_save_LIBS=$LIBS
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20009 /* Override any GCC internal prototype to avoid an error.
20010 Use char because int might match the return type of a GCC
20011 builtin and then its argument prototype would still apply. */
20012 char connect ();
20014 main (void)
20016 return connect ();
20018 return 0;
20020 _ACEOF
20021 for ac_lib in '' socket
20023 if test -z "$ac_lib"; then
20024 ac_res="none required"
20025 else
20026 ac_res=-l$ac_lib
20027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20029 if ac_fn_c_try_link "$LINENO"
20030 then :
20031 ac_cv_search_connect=$ac_res
20033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20034 conftest$ac_exeext
20035 if test ${ac_cv_search_connect+y}
20036 then :
20037 break
20039 done
20040 if test ${ac_cv_search_connect+y}
20041 then :
20043 else $as_nop
20044 ac_cv_search_connect=no
20046 rm conftest.$ac_ext
20047 LIBS=$ac_func_search_save_LIBS
20049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20050 printf "%s\n" "$ac_cv_search_connect" >&6; }
20051 ac_res=$ac_cv_search_connect
20052 if test "$ac_res" != no
20053 then :
20054 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20060 printf %s "checking for library containing inet_aton... " >&6; }
20061 if test ${ac_cv_search_inet_aton+y}
20062 then :
20063 printf %s "(cached) " >&6
20064 else $as_nop
20065 ac_func_search_save_LIBS=$LIBS
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20069 /* Override any GCC internal prototype to avoid an error.
20070 Use char because int might match the return type of a GCC
20071 builtin and then its argument prototype would still apply. */
20072 char inet_aton ();
20074 main (void)
20076 return inet_aton ();
20078 return 0;
20080 _ACEOF
20081 for ac_lib in '' resolv
20083 if test -z "$ac_lib"; then
20084 ac_res="none required"
20085 else
20086 ac_res=-l$ac_lib
20087 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20089 if ac_fn_c_try_link "$LINENO"
20090 then :
20091 ac_cv_search_inet_aton=$ac_res
20093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20094 conftest$ac_exeext
20095 if test ${ac_cv_search_inet_aton+y}
20096 then :
20097 break
20099 done
20100 if test ${ac_cv_search_inet_aton+y}
20101 then :
20103 else $as_nop
20104 ac_cv_search_inet_aton=no
20106 rm conftest.$ac_ext
20107 LIBS=$ac_func_search_save_LIBS
20109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20110 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20111 ac_res=$ac_cv_search_inet_aton
20112 if test "$ac_res" != no
20113 then :
20114 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20119 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20120 if test "x$ac_cv_func_getaddrinfo" = xyes
20121 then :
20122 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20127 case $host_os in
20128 darwin*|macosx*) ;;
20129 *) ac_save_LIBS=$LIBS
20130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20131 printf %s "checking for library containing clock_gettime... " >&6; }
20132 if test ${ac_cv_search_clock_gettime+y}
20133 then :
20134 printf %s "(cached) " >&6
20135 else $as_nop
20136 ac_func_search_save_LIBS=$LIBS
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20140 /* Override any GCC internal prototype to avoid an error.
20141 Use char because int might match the return type of a GCC
20142 builtin and then its argument prototype would still apply. */
20143 char clock_gettime ();
20145 main (void)
20147 return clock_gettime ();
20149 return 0;
20151 _ACEOF
20152 for ac_lib in '' rt
20154 if test -z "$ac_lib"; then
20155 ac_res="none required"
20156 else
20157 ac_res=-l$ac_lib
20158 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20160 if ac_fn_c_try_link "$LINENO"
20161 then :
20162 ac_cv_search_clock_gettime=$ac_res
20164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20165 conftest$ac_exeext
20166 if test ${ac_cv_search_clock_gettime+y}
20167 then :
20168 break
20170 done
20171 if test ${ac_cv_search_clock_gettime+y}
20172 then :
20174 else $as_nop
20175 ac_cv_search_clock_gettime=no
20177 rm conftest.$ac_ext
20178 LIBS=$ac_func_search_save_LIBS
20180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20181 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20182 ac_res=$ac_cv_search_clock_gettime
20183 if test "$ac_res" != no
20184 then :
20185 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20187 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20189 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20193 LIBS=$ac_save_LIBS
20195 esac
20197 if test "x$with_ldap" != "xno"
20198 then
20199 if ${LDAP_CFLAGS:+false} :
20200 then :
20201 if test ${PKG_CONFIG+y}
20202 then :
20203 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20207 if ${LDAP_LIBS:+false} :
20208 then :
20209 if test ${PKG_CONFIG+y}
20210 then :
20211 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20215 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20218 ac_save_CPPFLAGS=$CPPFLAGS
20219 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20220 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20221 if test "x$ac_cv_header_ldap_h" = xyes
20222 then :
20223 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20226 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20227 if test "x$ac_cv_header_lber_h" = xyes
20228 then :
20229 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20233 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20234 then
20235 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20237 if test "x$ac_cv_type_LDAPSortKey" = xyes
20238 then :
20239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20240 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20241 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20242 then :
20243 printf %s "(cached) " >&6
20244 else $as_nop
20245 ac_check_lib_save_LIBS=$LIBS
20246 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20248 /* end confdefs.h. */
20250 /* Override any GCC internal prototype to avoid an error.
20251 Use char because int might match the return type of a GCC
20252 builtin and then its argument prototype would still apply. */
20253 char ldap_initialize ();
20255 main (void)
20257 return ldap_initialize ();
20259 return 0;
20261 _ACEOF
20262 if ac_fn_c_try_link "$LINENO"
20263 then :
20264 ac_cv_lib_ldap_ldap_initialize=yes
20265 else $as_nop
20266 ac_cv_lib_ldap_ldap_initialize=no
20268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20269 conftest$ac_exeext conftest.$ac_ext
20270 LIBS=$ac_check_lib_save_LIBS
20272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20273 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20274 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20275 then :
20276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20277 printf %s "checking for ber_init in -llber... " >&6; }
20278 if test ${ac_cv_lib_lber_ber_init+y}
20279 then :
20280 printf %s "(cached) " >&6
20281 else $as_nop
20282 ac_check_lib_save_LIBS=$LIBS
20283 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20285 /* end confdefs.h. */
20287 /* Override any GCC internal prototype to avoid an error.
20288 Use char because int might match the return type of a GCC
20289 builtin and then its argument prototype would still apply. */
20290 char ber_init ();
20292 main (void)
20294 return ber_init ();
20296 return 0;
20298 _ACEOF
20299 if ac_fn_c_try_link "$LINENO"
20300 then :
20301 ac_cv_lib_lber_ber_init=yes
20302 else $as_nop
20303 ac_cv_lib_lber_ber_init=no
20305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20306 conftest$ac_exeext conftest.$ac_ext
20307 LIBS=$ac_check_lib_save_LIBS
20309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20310 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20311 if test "x$ac_cv_lib_lber_ber_init" = xyes
20312 then :
20314 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20316 else $as_nop
20317 LDAP_LIBS=""
20320 else $as_nop
20321 LDAP_LIBS=""
20324 else $as_nop
20325 LDAP_LIBS=""
20328 else
20329 LDAP_LIBS=""
20331 CPPFLAGS=$ac_save_CPPFLAGS
20334 if test "x$LDAP_LIBS" = "x"
20335 then :
20336 case "x$with_ldap" in
20337 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20338 xno) ;;
20339 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20340 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20341 esac
20345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20346 printf %s "checking for sched_setaffinity... " >&6; }
20347 if test ${wine_cv_have_sched_setaffinity+y}
20348 then :
20349 printf %s "(cached) " >&6
20350 else $as_nop
20351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20352 /* end confdefs.h. */
20353 #include <sched.h>
20355 main (void)
20357 sched_setaffinity(0, 0, 0);
20359 return 0;
20361 _ACEOF
20362 if ac_fn_c_try_link "$LINENO"
20363 then :
20364 wine_cv_have_sched_setaffinity=yes
20365 else $as_nop
20366 wine_cv_have_sched_setaffinity=no
20368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20369 conftest$ac_exeext conftest.$ac_ext
20371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20372 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20373 if test "$wine_cv_have_sched_setaffinity" = "yes"
20374 then
20376 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20382 printf %s "checking for inline... " >&6; }
20383 if test ${ac_cv_c_inline+y}
20384 then :
20385 printf %s "(cached) " >&6
20386 else $as_nop
20387 ac_cv_c_inline=no
20388 for ac_kw in inline __inline__ __inline; do
20389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20390 /* end confdefs.h. */
20391 #ifndef __cplusplus
20392 typedef int foo_t;
20393 static $ac_kw foo_t static_foo (void) {return 0; }
20394 $ac_kw foo_t foo (void) {return 0; }
20395 #endif
20397 _ACEOF
20398 if ac_fn_c_try_compile "$LINENO"
20399 then :
20400 ac_cv_c_inline=$ac_kw
20402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20403 test "$ac_cv_c_inline" != no && break
20404 done
20407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20408 printf "%s\n" "$ac_cv_c_inline" >&6; }
20410 case $ac_cv_c_inline in
20411 inline | yes) ;;
20413 case $ac_cv_c_inline in
20414 no) ac_val=;;
20415 *) ac_val=$ac_cv_c_inline;;
20416 esac
20417 cat >>confdefs.h <<_ACEOF
20418 #ifndef __cplusplus
20419 #define inline $ac_val
20420 #endif
20421 _ACEOF
20423 esac
20425 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20426 #include <signal.h>
20428 if test "x$ac_cv_type_sigset_t" = xyes
20429 then :
20431 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20436 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20438 if test "x$ac_cv_type_request_sense" = xyes
20439 then :
20441 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20447 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20448 #include <sys/socket.h>
20449 #ifdef HAVE_SYS_SOCKETVAR_H
20450 #include <sys/socketvar.h>
20451 #endif
20452 #ifdef HAVE_NET_ROUTE_H
20453 #include <net/route.h>
20454 #endif
20455 #ifdef HAVE_NETINET_IN_H
20456 #include <netinet/in.h>
20457 #endif
20458 #ifdef HAVE_NETINET_IN_SYSTM_H
20459 #include <netinet/in_systm.h>
20460 #endif
20461 #ifdef HAVE_NETINET_IP_H
20462 #include <netinet/ip.h>
20463 #endif
20464 #ifdef HAVE_NETINET_IN_PCB_H
20465 #include <netinet/in_pcb.h>
20466 #endif
20468 if test "x$ac_cv_type_struct_xinpgen" = xyes
20469 then :
20471 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20478 printf %s "checking for sigaddset... " >&6; }
20479 if test ${wine_cv_have_sigaddset+y}
20480 then :
20481 printf %s "(cached) " >&6
20482 else $as_nop
20483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20484 /* end confdefs.h. */
20485 #include <signal.h>
20487 main (void)
20489 sigset_t set; sigaddset(&set,SIGTERM);
20491 return 0;
20493 _ACEOF
20494 if ac_fn_c_try_link "$LINENO"
20495 then :
20496 wine_cv_have_sigaddset=yes
20497 else $as_nop
20498 wine_cv_have_sigaddset=no
20500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20501 conftest$ac_exeext conftest.$ac_ext
20503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20504 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20505 if test "$wine_cv_have_sigaddset" = "yes"
20506 then
20508 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20514 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20515 if test ${wine_cv_linux_gethostbyname_r_6+y}
20516 then :
20517 printf %s "(cached) " >&6
20518 else $as_nop
20519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20521 #include <netdb.h>
20523 main (void)
20526 char *name=0;
20527 struct hostent he;
20528 struct hostent *result;
20529 char *buf=0;
20530 int bufsize=0;
20531 int errnr;
20532 char *addr=0;
20533 int addrlen=0;
20534 int addrtype=0;
20535 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20536 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20539 return 0;
20541 _ACEOF
20542 if ac_fn_c_try_link "$LINENO"
20543 then :
20544 wine_cv_linux_gethostbyname_r_6=yes
20545 else $as_nop
20546 wine_cv_linux_gethostbyname_r_6=no
20549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20550 conftest$ac_exeext conftest.$ac_ext
20553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20554 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20555 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20556 then
20558 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20562 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20563 #include <sys/socket.h>
20564 #ifdef HAVE_SYS_UN_H
20565 # include <sys/un.h>
20566 #endif
20568 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20569 then :
20571 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20575 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20576 #include <sys/socket.h>
20577 #ifdef HAVE_SYS_UN_H
20578 # include <sys/un.h>
20579 #endif
20581 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20582 then :
20584 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20590 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20591 #ifdef HAVE_SCSI_SG_H
20592 #include <scsi/sg.h>
20593 #endif
20595 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20596 then :
20598 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20602 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>
20603 #ifdef HAVE_SCSI_SG_H
20604 #include <scsi/sg.h>
20605 #endif
20607 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20608 then :
20610 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20616 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20618 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20619 then :
20621 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20627 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20628 #ifdef HAVE_SYS_MTIO_H
20629 #include <sys/mtio.h>
20630 #endif
20632 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20633 then :
20635 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20639 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20640 #ifdef HAVE_SYS_MTIO_H
20641 #include <sys/mtio.h>
20642 #endif
20644 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20645 then :
20647 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20651 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20652 #ifdef HAVE_SYS_MTIO_H
20653 #include <sys/mtio.h>
20654 #endif
20656 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20657 then :
20659 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20665 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20666 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20667 then :
20669 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20673 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20674 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20675 then :
20677 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20681 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20682 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20683 then :
20685 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20689 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20690 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20691 then :
20693 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20697 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20698 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20699 then :
20701 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20705 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20706 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20707 then :
20709 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20713 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20714 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20715 then :
20717 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20721 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20722 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20723 then :
20725 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20729 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20730 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20731 then :
20733 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20737 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20738 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20739 then :
20741 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20745 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20746 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20747 then :
20749 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20755 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>
20756 #ifdef HAVE_NETINET_IN_H
20757 #include <netinet/in.h>
20758 #endif
20760 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20761 then :
20763 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20769 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
20770 #include <resolv.h>
20771 #endif
20773 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20774 then :
20776 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20782 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20783 #include <netinet/in.h>
20784 #endif
20786 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20787 then :
20789 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20795 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20796 #ifdef HAVE_SYS_SOCKETVAR_H
20797 #include <sys/socketvar.h>
20798 #endif
20799 #ifdef HAVE_NETINET_IN_H
20800 #include <netinet/in.h>
20801 #endif
20802 #ifdef HAVE_NETINET_IP_VAR_H
20803 #include <netinet/ip_var.h>
20804 #endif
20806 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20807 then :
20809 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20815 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
20816 #include <netinet/ip_var.h>
20817 #endif
20819 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20820 then :
20822 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20828 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20829 #ifdef HAVE_SYS_SOCKETVAR_H
20830 #include <sys/socketvar.h>
20831 #endif
20832 #ifdef HAVE_NETINET_IN_H
20833 #include <netinet/in.h>
20834 #endif
20835 #ifdef HAVE_NETINET_TCP_H
20836 #include <netinet/tcp.h>
20837 #endif
20838 #ifdef HAVE_NETINET_TCP_VAR_H
20839 #include <netinet/tcp_var.h>
20840 #endif
20842 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20843 then :
20845 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20851 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
20852 #include <netinet/tcp_var.h>
20853 #endif
20855 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20856 then :
20858 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20864 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20865 #ifdef HAVE_NETINET_IN_H
20866 #include <netinet/in.h>
20867 #endif
20868 #ifdef HAVE_NETINET_IP_VAR_H
20869 #include <netinet/ip_var.h>
20870 #endif
20871 #ifdef HAVE_NETINET_UDP_H
20872 #include <netinet/udp.h>
20873 #endif
20874 #ifdef HAVE_NETINET_UDP_VAR_H
20875 #include <netinet/udp_var.h>
20876 #endif
20878 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20879 then :
20881 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20887 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20888 #ifdef HAVE_NET_IF_H
20889 # include <net/if.h>
20890 #endif
20892 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20893 then :
20895 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20901 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20902 # include <sys/sysinfo.h>
20903 #endif
20905 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20906 then :
20908 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20912 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20913 # include <sys/sysinfo.h>
20914 #endif
20916 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20917 then :
20919 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20925 ac_save_LIBS="$LIBS"
20926 LIBS="$LIBS -lm"
20927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20928 printf %s "checking for isfinite... " >&6; }
20929 if test ${ac_cv_have_isfinite+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 #include <math.h>
20937 main (void)
20939 float f = 0.0; return isfinite(f)
20941 return 0;
20943 _ACEOF
20944 if ac_fn_c_try_link "$LINENO"
20945 then :
20946 ac_cv_have_isfinite="yes"
20947 else $as_nop
20948 ac_cv_have_isfinite="no"
20950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20951 conftest$ac_exeext conftest.$ac_ext
20953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20954 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20955 if test "$ac_cv_have_isfinite" = "yes"
20956 then
20958 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20963 printf %s "checking for isinf... " >&6; }
20964 if test ${ac_cv_have_isinf+y}
20965 then :
20966 printf %s "(cached) " >&6
20967 else $as_nop
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20970 #include <math.h>
20972 main (void)
20974 float f = 0.0; return isinf(f)
20976 return 0;
20978 _ACEOF
20979 if ac_fn_c_try_link "$LINENO"
20980 then :
20981 ac_cv_have_isinf="yes"
20982 else $as_nop
20983 ac_cv_have_isinf="no"
20985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20986 conftest$ac_exeext conftest.$ac_ext
20988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20989 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20990 if test "$ac_cv_have_isinf" = "yes"
20991 then
20993 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20998 printf %s "checking for isnan... " >&6; }
20999 if test ${ac_cv_have_isnan+y}
21000 then :
21001 printf %s "(cached) " >&6
21002 else $as_nop
21003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21004 /* end confdefs.h. */
21005 #include <math.h>
21007 main (void)
21009 float f = 0.0; return isnan(f)
21011 return 0;
21013 _ACEOF
21014 if ac_fn_c_try_link "$LINENO"
21015 then :
21016 ac_cv_have_isnan="yes"
21017 else $as_nop
21018 ac_cv_have_isnan="no"
21020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21021 conftest$ac_exeext conftest.$ac_ext
21023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
21024 printf "%s\n" "$ac_cv_have_isnan" >&6; }
21025 if test "$ac_cv_have_isnan" = "yes"
21026 then
21028 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
21032 LIBS="$ac_save_LIBS"
21034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21035 printf %s "checking for __builtin_popcount... " >&6; }
21036 if test ${ac_cv_have___builtin_popcount+y}
21037 then :
21038 printf %s "(cached) " >&6
21039 else $as_nop
21040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21044 main (void)
21046 return __builtin_popcount(1)
21048 return 0;
21050 _ACEOF
21051 if ac_fn_c_try_link "$LINENO"
21052 then :
21053 ac_cv_have___builtin_popcount="yes"
21054 else $as_nop
21055 ac_cv_have___builtin_popcount="no"
21057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21058 conftest$ac_exeext conftest.$ac_ext
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21061 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21062 if test "$ac_cv_have___builtin_popcount" = "yes"
21063 then
21065 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21070 printf %s "checking for __clear_cache... " >&6; }
21071 if test ${ac_cv_have___clear_cache+y}
21072 then :
21073 printf %s "(cached) " >&6
21074 else $as_nop
21075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21079 main (void)
21081 __clear_cache((void*)0, (void*)0); return 0;
21083 return 0;
21085 _ACEOF
21086 if ac_fn_c_try_link "$LINENO"
21087 then :
21088 ac_cv_have___clear_cache="yes"
21089 else $as_nop
21090 ac_cv_have___clear_cache="no"
21092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21093 conftest$ac_exeext conftest.$ac_ext
21095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21096 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21097 if test "$ac_cv_have___clear_cache" = "yes"
21098 then
21100 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21105 case $host_cpu in
21106 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21107 printf %s "checking whether we need to define __i386__... " >&6; }
21108 if test ${ac_cv_cpp_def___i386__+y}
21109 then :
21110 printf %s "(cached) " >&6
21111 else $as_nop
21112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21113 /* end confdefs.h. */
21114 #ifndef __i386__
21116 #endif
21117 _ACEOF
21118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21119 $EGREP "yes" >/dev/null 2>&1
21120 then :
21121 ac_cv_cpp_def___i386__=yes
21122 else $as_nop
21123 ac_cv_cpp_def___i386__=no
21125 rm -rf conftest*
21128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21129 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21130 if test "x$ac_cv_cpp_def___i386__" = xyes
21131 then :
21132 CFLAGS="$CFLAGS -D__i386__"
21133 LINTFLAGS="$LINTFLAGS -D__i386__"
21134 fi ;;
21135 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21136 printf %s "checking whether we need to define __x86_64__... " >&6; }
21137 if test ${ac_cv_cpp_def___x86_64__+y}
21138 then :
21139 printf %s "(cached) " >&6
21140 else $as_nop
21141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21142 /* end confdefs.h. */
21143 #ifndef __x86_64__
21145 #endif
21146 _ACEOF
21147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21148 $EGREP "yes" >/dev/null 2>&1
21149 then :
21150 ac_cv_cpp_def___x86_64__=yes
21151 else $as_nop
21152 ac_cv_cpp_def___x86_64__=no
21154 rm -rf conftest*
21157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21158 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21159 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21160 then :
21161 CFLAGS="$CFLAGS -D__x86_64__"
21162 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21163 fi ;;
21164 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21165 printf %s "checking whether we need to define __sparc64__... " >&6; }
21166 if test ${ac_cv_cpp_def___sparc64__+y}
21167 then :
21168 printf %s "(cached) " >&6
21169 else $as_nop
21170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21171 /* end confdefs.h. */
21172 #ifndef __sparc64__
21174 #endif
21175 _ACEOF
21176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21177 $EGREP "yes" >/dev/null 2>&1
21178 then :
21179 ac_cv_cpp_def___sparc64__=yes
21180 else $as_nop
21181 ac_cv_cpp_def___sparc64__=no
21183 rm -rf conftest*
21186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21187 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21188 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21189 then :
21190 CFLAGS="$CFLAGS -D__sparc64__"
21191 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21192 fi ;;
21193 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21194 printf %s "checking whether we need to define __sparc__... " >&6; }
21195 if test ${ac_cv_cpp_def___sparc__+y}
21196 then :
21197 printf %s "(cached) " >&6
21198 else $as_nop
21199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21200 /* end confdefs.h. */
21201 #ifndef __sparc__
21203 #endif
21204 _ACEOF
21205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21206 $EGREP "yes" >/dev/null 2>&1
21207 then :
21208 ac_cv_cpp_def___sparc__=yes
21209 else $as_nop
21210 ac_cv_cpp_def___sparc__=no
21212 rm -rf conftest*
21215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21216 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21217 if test "x$ac_cv_cpp_def___sparc__" = xyes
21218 then :
21219 CFLAGS="$CFLAGS -D__sparc__"
21220 LINTFLAGS="$LINTFLAGS -D__sparc__"
21221 fi ;;
21222 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21223 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21224 if test ${ac_cv_cpp_def___powerpc64__+y}
21225 then :
21226 printf %s "(cached) " >&6
21227 else $as_nop
21228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h. */
21230 #ifndef __powerpc64__
21232 #endif
21233 _ACEOF
21234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21235 $EGREP "yes" >/dev/null 2>&1
21236 then :
21237 ac_cv_cpp_def___powerpc64__=yes
21238 else $as_nop
21239 ac_cv_cpp_def___powerpc64__=no
21241 rm -rf conftest*
21244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21245 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21246 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21247 then :
21248 CFLAGS="$CFLAGS -D__powerpc64__"
21249 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21250 fi ;;
21251 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21252 printf %s "checking whether we need to define __powerpc__... " >&6; }
21253 if test ${ac_cv_cpp_def___powerpc__+y}
21254 then :
21255 printf %s "(cached) " >&6
21256 else $as_nop
21257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21258 /* end confdefs.h. */
21259 #ifndef __powerpc__
21261 #endif
21262 _ACEOF
21263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21264 $EGREP "yes" >/dev/null 2>&1
21265 then :
21266 ac_cv_cpp_def___powerpc__=yes
21267 else $as_nop
21268 ac_cv_cpp_def___powerpc__=no
21270 rm -rf conftest*
21273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21274 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21275 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21276 then :
21277 CFLAGS="$CFLAGS -D__powerpc__"
21278 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21279 fi ;;
21280 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21281 printf %s "checking whether we need to define __aarch64__... " >&6; }
21282 if test ${ac_cv_cpp_def___aarch64__+y}
21283 then :
21284 printf %s "(cached) " >&6
21285 else $as_nop
21286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21287 /* end confdefs.h. */
21288 #ifndef __aarch64__
21290 #endif
21291 _ACEOF
21292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21293 $EGREP "yes" >/dev/null 2>&1
21294 then :
21295 ac_cv_cpp_def___aarch64__=yes
21296 else $as_nop
21297 ac_cv_cpp_def___aarch64__=no
21299 rm -rf conftest*
21302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21303 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21304 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21305 then :
21306 CFLAGS="$CFLAGS -D__aarch64__"
21307 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21308 fi ;;
21309 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21310 printf %s "checking whether we need to define __arm__... " >&6; }
21311 if test ${ac_cv_cpp_def___arm__+y}
21312 then :
21313 printf %s "(cached) " >&6
21314 else $as_nop
21315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21316 /* end confdefs.h. */
21317 #ifndef __arm__
21319 #endif
21320 _ACEOF
21321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21322 $EGREP "yes" >/dev/null 2>&1
21323 then :
21324 ac_cv_cpp_def___arm__=yes
21325 else $as_nop
21326 ac_cv_cpp_def___arm__=no
21328 rm -rf conftest*
21331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21332 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21333 if test "x$ac_cv_cpp_def___arm__" = xyes
21334 then :
21335 CFLAGS="$CFLAGS -D__arm__"
21336 LINTFLAGS="$LINTFLAGS -D__arm__"
21337 fi ;;
21338 esac
21340 case $host_vendor in
21341 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21342 printf %s "checking whether we need to define __sun__... " >&6; }
21343 if test ${ac_cv_cpp_def___sun__+y}
21344 then :
21345 printf %s "(cached) " >&6
21346 else $as_nop
21347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21348 /* end confdefs.h. */
21349 #ifndef __sun__
21351 #endif
21352 _ACEOF
21353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21354 $EGREP "yes" >/dev/null 2>&1
21355 then :
21356 ac_cv_cpp_def___sun__=yes
21357 else $as_nop
21358 ac_cv_cpp_def___sun__=no
21360 rm -rf conftest*
21363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21364 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21365 if test "x$ac_cv_cpp_def___sun__" = xyes
21366 then :
21367 CFLAGS="$CFLAGS -D__sun__"
21368 LINTFLAGS="$LINTFLAGS -D__sun__"
21369 fi ;;
21370 esac
21376 ac_config_commands="$ac_config_commands include/stamp-h"
21378 printf %s "creating Makefile rules..." >&6
21380 makedep_flags=""
21381 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21383 wine_srcdir=
21384 test "$srcdir" = . || wine_srcdir="$srcdir/"
21386 ac_config_links="$ac_config_links wine:tools/winewrapper"
21387 wine_fn_config_symlink wine
21388 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21389 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21390 wine_fn_config_symlink wine64
21393 wine_fn_config_makefile dlls/acledit enable_acledit
21394 wine_fn_config_makefile dlls/aclui enable_aclui
21395 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21396 wine_fn_config_makefile dlls/activeds enable_activeds
21397 wine_fn_config_makefile dlls/activeds/tests enable_tests
21398 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21399 wine_fn_config_makefile dlls/adsldp enable_adsldp
21400 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21401 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21402 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21403 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21404 wine_fn_config_makefile dlls/advpack enable_advpack
21405 wine_fn_config_makefile dlls/advpack/tests enable_tests
21406 wine_fn_config_makefile dlls/amsi enable_amsi
21407 wine_fn_config_makefile dlls/amstream enable_amstream
21408 wine_fn_config_makefile dlls/amstream/tests enable_tests
21409 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
21410 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
21411 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
21412 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
21413 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
21414 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
21415 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
21416 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
21417 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
21418 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
21419 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
21420 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
21421 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
21422 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
21423 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
21424 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
21425 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
21426 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
21427 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
21428 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
21429 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
21430 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
21431 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
21432 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
21433 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
21434 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
21435 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
21436 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
21437 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
21438 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
21439 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
21440 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
21441 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
21442 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
21443 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
21444 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
21445 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
21446 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
21447 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
21448 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
21449 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
21450 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
21451 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
21452 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
21453 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
21454 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
21455 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
21456 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
21457 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
21458 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
21459 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
21460 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
21461 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
21462 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
21463 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
21464 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
21465 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
21466 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
21467 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
21468 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
21469 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
21470 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
21471 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
21472 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
21473 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
21474 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
21475 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
21476 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
21477 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
21478 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
21479 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
21480 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
21481 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
21482 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
21483 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
21484 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
21485 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
21486 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
21487 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
21488 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
21489 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
21490 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
21491 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
21492 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
21493 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
21494 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
21495 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
21496 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
21497 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
21498 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
21499 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
21500 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
21501 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
21502 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
21503 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
21504 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
21505 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
21506 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
21507 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
21508 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
21509 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
21510 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
21511 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
21512 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
21513 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
21514 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
21515 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
21516 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
21517 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
21518 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
21519 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
21520 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21521 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21522 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21523 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21524 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21525 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21526 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21527 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21528 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21529 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21530 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21531 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21532 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21533 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21534 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21535 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21536 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21537 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21538 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21539 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21540 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21541 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21542 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21543 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21544 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21545 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21546 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21547 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21548 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21549 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21550 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21551 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21552 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21553 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21554 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21555 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21556 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21557 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21558 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21559 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21560 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21561 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21562 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21563 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21564 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21565 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21566 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21567 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21568 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21569 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21570 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21571 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21572 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21573 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21574 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21575 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21576 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21577 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21578 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21579 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21580 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21581 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21582 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21583 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21584 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21585 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21586 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21587 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21588 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21589 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21590 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21591 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21592 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21593 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21594 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21595 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21596 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21597 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21598 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21599 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21600 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21601 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21602 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21603 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21604 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21605 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21606 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21607 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21608 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21609 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21610 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21611 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21612 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21613 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21614 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21615 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21616 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21617 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21618 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21619 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21620 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21621 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21622 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21623 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21624 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21625 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21626 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21627 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21628 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21629 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21630 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21631 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21632 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21633 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21634 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21635 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21636 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21637 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21638 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21639 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21640 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21641 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21642 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21643 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21644 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21645 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21646 wine_fn_config_makefile dlls/apphelp enable_apphelp
21647 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21648 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21649 wine_fn_config_makefile dlls/atl enable_atl
21650 wine_fn_config_makefile dlls/atl/tests enable_tests
21651 wine_fn_config_makefile dlls/atl100 enable_atl100
21652 wine_fn_config_makefile dlls/atl100/tests enable_tests
21653 wine_fn_config_makefile dlls/atl110 enable_atl110
21654 wine_fn_config_makefile dlls/atl80 enable_atl80
21655 wine_fn_config_makefile dlls/atl80/tests enable_tests
21656 wine_fn_config_makefile dlls/atl90 enable_atl90
21657 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21658 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21659 wine_fn_config_makefile dlls/atmlib enable_atmlib
21660 wine_fn_config_makefile dlls/authz enable_authz
21661 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21662 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21663 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21664 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21665 wine_fn_config_makefile dlls/avrt enable_avrt
21666 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21667 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21668 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21669 wine_fn_config_makefile dlls/browseui enable_browseui
21670 wine_fn_config_makefile dlls/browseui/tests enable_tests
21671 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21672 wine_fn_config_makefile dlls/cabinet enable_cabinet
21673 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21674 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21675 wine_fn_config_makefile dlls/cards enable_cards
21676 wine_fn_config_makefile dlls/cdosys enable_cdosys
21677 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21678 wine_fn_config_makefile dlls/clusapi enable_clusapi
21679 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21680 wine_fn_config_makefile dlls/combase enable_combase
21681 wine_fn_config_makefile dlls/combase/tests enable_tests
21682 wine_fn_config_makefile dlls/comcat enable_comcat
21683 wine_fn_config_makefile dlls/comcat/tests enable_tests
21684 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21685 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21686 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21687 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21688 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21689 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21690 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21691 wine_fn_config_makefile dlls/compstui enable_compstui
21692 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21693 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21694 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21695 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21696 wine_fn_config_makefile dlls/connect enable_connect
21697 wine_fn_config_makefile dlls/credui enable_credui
21698 wine_fn_config_makefile dlls/credui/tests enable_tests
21699 wine_fn_config_makefile dlls/crtdll enable_crtdll
21700 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21701 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21702 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21703 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21704 wine_fn_config_makefile dlls/cryptext enable_cryptext
21705 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21706 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21707 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21708 wine_fn_config_makefile dlls/cryptui enable_cryptui
21709 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21710 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21711 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21712 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21713 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21714 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21715 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21716 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21717 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21718 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21719 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21720 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21721 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21722 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21723 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21724 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21725 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21726 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21727 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21728 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21729 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21730 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21731 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21732 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21733 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21734 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21735 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21736 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21737 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21738 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21739 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21740 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21741 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21742 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21743 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21744 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21745 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21746 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21747 wine_fn_config_makefile dlls/d3dim enable_d3dim
21748 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21749 wine_fn_config_makefile dlls/d3drm enable_d3drm
21750 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21751 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21752 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21753 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21754 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21755 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21756 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21757 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21758 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21759 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21760 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21761 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21762 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21763 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21764 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21765 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21766 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21767 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21768 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21769 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21770 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21771 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21772 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21773 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21774 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21775 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21776 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21777 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21778 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21779 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21780 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21781 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21782 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21783 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21784 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21785 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21786 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21787 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21788 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21789 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21790 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21791 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21792 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21793 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21794 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21795 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21796 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21797 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21798 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21799 wine_fn_config_makefile dlls/davclnt enable_davclnt
21800 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21801 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21802 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21803 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21804 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21805 wine_fn_config_makefile dlls/dcomp enable_dcomp
21806 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21807 wine_fn_config_makefile dlls/ddraw enable_ddraw
21808 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21809 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21810 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21811 wine_fn_config_makefile dlls/devenum enable_devenum
21812 wine_fn_config_makefile dlls/devenum/tests enable_tests
21813 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21814 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21815 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21816 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21817 wine_fn_config_makefile dlls/difxapi enable_difxapi
21818 wine_fn_config_makefile dlls/dinput enable_dinput
21819 wine_fn_config_makefile dlls/dinput/tests enable_tests
21820 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21821 wine_fn_config_makefile dlls/dinput8/tests enable_tests
21822 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21823 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21824 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21825 wine_fn_config_makefile dlls/dispex enable_dispex
21826 wine_fn_config_makefile dlls/dispex/tests enable_tests
21827 wine_fn_config_makefile dlls/display.drv16 enable_win16
21828 wine_fn_config_makefile dlls/dmband enable_dmband
21829 wine_fn_config_makefile dlls/dmband/tests enable_tests
21830 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21831 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21832 wine_fn_config_makefile dlls/dmime enable_dmime
21833 wine_fn_config_makefile dlls/dmime/tests enable_tests
21834 wine_fn_config_makefile dlls/dmloader enable_dmloader
21835 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21836 wine_fn_config_makefile dlls/dmscript enable_dmscript
21837 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21838 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21839 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21840 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21841 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21842 wine_fn_config_makefile dlls/dmusic enable_dmusic
21843 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21844 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21845 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21846 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21847 wine_fn_config_makefile dlls/dplay enable_dplay
21848 wine_fn_config_makefile dlls/dplayx enable_dplayx
21849 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21850 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21851 wine_fn_config_makefile dlls/dpnet enable_dpnet
21852 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21853 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21854 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21855 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21856 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21857 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21858 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21859 wine_fn_config_makefile dlls/drmclien enable_drmclien
21860 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21861 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21862 wine_fn_config_makefile dlls/dsound enable_dsound
21863 wine_fn_config_makefile dlls/dsound/tests enable_tests
21864 wine_fn_config_makefile dlls/dsquery enable_dsquery
21865 wine_fn_config_makefile dlls/dssenh enable_dssenh
21866 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21867 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21868 wine_fn_config_makefile dlls/dswave enable_dswave
21869 wine_fn_config_makefile dlls/dswave/tests enable_tests
21870 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21871 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21872 wine_fn_config_makefile dlls/dwrite enable_dwrite
21873 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21874 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21875 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21876 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21877 wine_fn_config_makefile dlls/dxgi enable_dxgi
21878 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21879 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21880 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21881 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21882 wine_fn_config_makefile dlls/esent enable_esent
21883 wine_fn_config_makefile dlls/evr enable_evr
21884 wine_fn_config_makefile dlls/evr/tests enable_tests
21885 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21886 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21887 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21888 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21889 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21890 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21891 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21892 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21893 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21894 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21895 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21896 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21897 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21898 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21899 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21900 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21901 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21902 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21903 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21904 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21905 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21906 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21907 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21908 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21909 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21910 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21911 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21912 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21913 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21914 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21915 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21916 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21917 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21918 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21919 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21920 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21921 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21922 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21923 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21924 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21925 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21926 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21927 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
21928 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21929 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21930 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21931 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21932 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21933 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21934 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21935 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21936 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21937 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21938 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21939 wine_fn_config_makefile dlls/faultrep enable_faultrep
21940 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21941 wine_fn_config_makefile dlls/feclient enable_feclient
21942 wine_fn_config_makefile dlls/fltlib enable_fltlib
21943 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21944 wine_fn_config_makefile dlls/fntcache enable_fntcache
21945 wine_fn_config_makefile dlls/fontsub enable_fontsub
21946 wine_fn_config_makefile dlls/fusion enable_fusion
21947 wine_fn_config_makefile dlls/fusion/tests enable_tests
21948 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21949 wine_fn_config_makefile dlls/gameux enable_gameux
21950 wine_fn_config_makefile dlls/gameux/tests enable_tests
21951 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21952 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21953 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21954 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21955 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21956 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21957 wine_fn_config_makefile dlls/glu32 enable_glu32
21958 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21959 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21960 wine_fn_config_makefile dlls/hal enable_hal
21961 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21962 wine_fn_config_makefile dlls/hid enable_hid
21963 wine_fn_config_makefile dlls/hid/tests enable_tests
21964 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21965 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21966 wine_fn_config_makefile dlls/hlink enable_hlink
21967 wine_fn_config_makefile dlls/hlink/tests enable_tests
21968 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21969 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21970 wine_fn_config_makefile dlls/http.sys enable_http_sys
21971 wine_fn_config_makefile dlls/httpapi enable_httpapi
21972 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21973 wine_fn_config_makefile dlls/iccvid enable_iccvid
21974 wine_fn_config_makefile dlls/icmp enable_icmp
21975 wine_fn_config_makefile dlls/ieframe enable_ieframe
21976 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21977 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21978 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21979 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21980 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21981 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21982 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21983 wine_fn_config_makefile dlls/imm32 enable_imm32
21984 wine_fn_config_makefile dlls/imm32/tests enable_tests
21985 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21986 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21987 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21988 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21989 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21990 wine_fn_config_makefile dlls/infosoft enable_infosoft
21991 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21992 wine_fn_config_makefile dlls/initpki enable_initpki
21993 wine_fn_config_makefile dlls/inkobj enable_inkobj
21994 wine_fn_config_makefile dlls/inseng enable_inseng
21995 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21996 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21997 wine_fn_config_makefile dlls/iprop enable_iprop
21998 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21999 wine_fn_config_makefile dlls/itircl enable_itircl
22000 wine_fn_config_makefile dlls/itss enable_itss
22001 wine_fn_config_makefile dlls/itss/tests enable_tests
22002 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22003 wine_fn_config_makefile dlls/jscript enable_jscript
22004 wine_fn_config_makefile dlls/jscript/tests enable_tests
22005 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22006 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22007 wine_fn_config_makefile dlls/kerberos enable_kerberos
22008 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22009 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22010 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22011 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22012 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22013 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22014 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22015 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22016 wine_fn_config_makefile dlls/ksuser enable_ksuser
22017 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22018 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22019 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22020 wine_fn_config_makefile dlls/loadperf enable_loadperf
22021 wine_fn_config_makefile dlls/localspl enable_localspl
22022 wine_fn_config_makefile dlls/localspl/tests enable_tests
22023 wine_fn_config_makefile dlls/localui enable_localui
22024 wine_fn_config_makefile dlls/localui/tests enable_tests
22025 wine_fn_config_makefile dlls/lz32 enable_lz32
22026 wine_fn_config_makefile dlls/lz32/tests enable_tests
22027 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22028 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22029 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22030 wine_fn_config_makefile dlls/mapistub enable_mapistub
22031 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22032 wine_fn_config_makefile dlls/mcicda enable_mcicda
22033 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22034 wine_fn_config_makefile dlls/mciseq enable_mciseq
22035 wine_fn_config_makefile dlls/mciwave enable_mciwave
22036 wine_fn_config_makefile dlls/mf enable_mf
22037 wine_fn_config_makefile dlls/mf/tests enable_tests
22038 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22039 wine_fn_config_makefile dlls/mferror enable_mferror
22040 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22041 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22042 wine_fn_config_makefile dlls/mfplat enable_mfplat
22043 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22044 wine_fn_config_makefile dlls/mfplay enable_mfplay
22045 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22046 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22047 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22048 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22049 wine_fn_config_makefile dlls/midimap enable_midimap
22050 wine_fn_config_makefile dlls/mlang enable_mlang
22051 wine_fn_config_makefile dlls/mlang/tests enable_tests
22052 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22053 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22054 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22055 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22056 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22057 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22058 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22059 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22060 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22061 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22062 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22063 wine_fn_config_makefile dlls/mpr enable_mpr
22064 wine_fn_config_makefile dlls/mpr/tests enable_tests
22065 wine_fn_config_makefile dlls/mprapi enable_mprapi
22066 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22067 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22068 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22069 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22070 wine_fn_config_makefile dlls/msado15 enable_msado15
22071 wine_fn_config_makefile dlls/msado15/tests enable_tests
22072 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22073 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22074 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22075 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22076 wine_fn_config_makefile dlls/mscms enable_mscms
22077 wine_fn_config_makefile dlls/mscms/tests enable_tests
22078 wine_fn_config_makefile dlls/mscoree enable_mscoree
22079 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22080 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22081 wine_fn_config_makefile dlls/msctf enable_msctf
22082 wine_fn_config_makefile dlls/msctf/tests enable_tests
22083 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22084 wine_fn_config_makefile dlls/msctfp enable_msctfp
22085 wine_fn_config_makefile dlls/msdaps enable_msdaps
22086 wine_fn_config_makefile dlls/msdasql enable_msdasql
22087 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22088 wine_fn_config_makefile dlls/msdelta enable_msdelta
22089 wine_fn_config_makefile dlls/msdmo enable_msdmo
22090 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22091 wine_fn_config_makefile dlls/msdrm enable_msdrm
22092 wine_fn_config_makefile dlls/msftedit enable_msftedit
22093 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22094 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22095 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22096 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22097 wine_fn_config_makefile dlls/mshtml enable_mshtml
22098 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22099 wine_fn_config_makefile dlls/msi enable_msi
22100 wine_fn_config_makefile dlls/msi/tests enable_tests
22101 wine_fn_config_makefile dlls/msident enable_msident
22102 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22103 wine_fn_config_makefile dlls/msimsg enable_msimsg
22104 wine_fn_config_makefile dlls/msimtf enable_msimtf
22105 wine_fn_config_makefile dlls/msisip enable_msisip
22106 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22107 wine_fn_config_makefile dlls/msls31 enable_msls31
22108 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22109 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22110 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22111 wine_fn_config_makefile dlls/msports enable_msports
22112 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22113 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22114 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22115 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22116 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22117 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22118 wine_fn_config_makefile dlls/mstask enable_mstask
22119 wine_fn_config_makefile dlls/mstask/tests enable_tests
22120 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22121 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22122 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22123 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22124 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22125 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22126 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22127 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22128 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22129 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22130 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22131 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22132 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22133 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22134 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22135 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22136 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22137 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22138 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22139 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22140 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22141 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22142 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22143 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22144 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22145 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22146 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22147 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22148 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22149 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22150 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22151 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22152 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22153 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22154 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22155 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22156 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22157 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22158 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22159 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22160 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22161 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22162 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22163 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22164 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22165 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22166 wine_fn_config_makefile dlls/mswsock enable_mswsock
22167 wine_fn_config_makefile dlls/msxml enable_msxml
22168 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22169 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22170 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22171 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22172 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22173 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22174 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22175 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22176 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22177 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22178 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22179 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22180 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22181 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22182 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22183 wine_fn_config_makefile dlls/netprofm enable_netprofm
22184 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22185 wine_fn_config_makefile dlls/netutils enable_netutils
22186 wine_fn_config_makefile dlls/newdev enable_newdev
22187 wine_fn_config_makefile dlls/ninput enable_ninput
22188 wine_fn_config_makefile dlls/ninput/tests enable_tests
22189 wine_fn_config_makefile dlls/normaliz enable_normaliz
22190 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22191 wine_fn_config_makefile dlls/npptools enable_npptools
22192 wine_fn_config_makefile dlls/nsi enable_nsi
22193 wine_fn_config_makefile dlls/nsi/tests enable_tests
22194 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22195 wine_fn_config_makefile dlls/ntdll enable_ntdll
22196 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22197 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22198 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22199 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22200 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22201 wine_fn_config_makefile dlls/ntprint enable_ntprint
22202 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22203 wine_fn_config_makefile dlls/objsel enable_objsel
22204 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22205 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22206 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22207 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22208 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22209 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22210 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22211 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22212 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22213 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22214 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22215 wine_fn_config_makefile dlls/ole32 enable_ole32
22216 wine_fn_config_makefile dlls/ole32/tests enable_tests
22217 wine_fn_config_makefile dlls/oleacc enable_oleacc
22218 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22219 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22220 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22221 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22222 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22223 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22224 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22225 wine_fn_config_makefile dlls/oledlg enable_oledlg
22226 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22227 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22228 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22229 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22230 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22231 wine_fn_config_makefile dlls/opcservices enable_opcservices
22232 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22233 wine_fn_config_makefile dlls/openal32 enable_openal32
22234 wine_fn_config_makefile dlls/opencl enable_opencl
22235 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22236 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22237 wine_fn_config_makefile dlls/packager enable_packager
22238 wine_fn_config_makefile dlls/packager/tests enable_tests
22239 wine_fn_config_makefile dlls/pdh enable_pdh
22240 wine_fn_config_makefile dlls/pdh/tests enable_tests
22241 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22242 wine_fn_config_makefile dlls/pidgen enable_pidgen
22243 wine_fn_config_makefile dlls/powrprof enable_powrprof
22244 wine_fn_config_makefile dlls/printui enable_printui
22245 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22246 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22247 wine_fn_config_makefile dlls/propsys enable_propsys
22248 wine_fn_config_makefile dlls/propsys/tests enable_tests
22249 wine_fn_config_makefile dlls/psapi enable_psapi
22250 wine_fn_config_makefile dlls/psapi/tests enable_tests
22251 wine_fn_config_makefile dlls/pstorec enable_pstorec
22252 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22253 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22254 wine_fn_config_makefile dlls/qasf enable_qasf
22255 wine_fn_config_makefile dlls/qasf/tests enable_tests
22256 wine_fn_config_makefile dlls/qcap enable_qcap
22257 wine_fn_config_makefile dlls/qcap/tests enable_tests
22258 wine_fn_config_makefile dlls/qdvd enable_qdvd
22259 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22260 wine_fn_config_makefile dlls/qedit enable_qedit
22261 wine_fn_config_makefile dlls/qedit/tests enable_tests
22262 wine_fn_config_makefile dlls/qmgr enable_qmgr
22263 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22264 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22265 wine_fn_config_makefile dlls/quartz enable_quartz
22266 wine_fn_config_makefile dlls/quartz/tests enable_tests
22267 wine_fn_config_makefile dlls/query enable_query
22268 wine_fn_config_makefile dlls/qwave enable_qwave
22269 wine_fn_config_makefile dlls/qwave/tests enable_tests
22270 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22271 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22272 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22273 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22274 wine_fn_config_makefile dlls/regapi enable_regapi
22275 wine_fn_config_makefile dlls/resutils enable_resutils
22276 wine_fn_config_makefile dlls/riched20 enable_riched20
22277 wine_fn_config_makefile dlls/riched20/tests enable_tests
22278 wine_fn_config_makefile dlls/riched32 enable_riched32
22279 wine_fn_config_makefile dlls/riched32/tests enable_tests
22280 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22281 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22282 wine_fn_config_makefile dlls/rsabase enable_rsabase
22283 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22284 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22285 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22286 wine_fn_config_makefile dlls/rtutils enable_rtutils
22287 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22288 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22289 wine_fn_config_makefile dlls/samlib enable_samlib
22290 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22291 wine_fn_config_makefile dlls/sapi enable_sapi
22292 wine_fn_config_makefile dlls/sapi/tests enable_tests
22293 wine_fn_config_makefile dlls/sas enable_sas
22294 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22295 wine_fn_config_makefile dlls/sccbase enable_sccbase
22296 wine_fn_config_makefile dlls/schannel enable_schannel
22297 wine_fn_config_makefile dlls/schannel/tests enable_tests
22298 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22299 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22300 wine_fn_config_makefile dlls/scrobj enable_scrobj
22301 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22302 wine_fn_config_makefile dlls/scrrun enable_scrrun
22303 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22304 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22305 wine_fn_config_makefile dlls/sechost enable_sechost
22306 wine_fn_config_makefile dlls/secur32 enable_secur32
22307 wine_fn_config_makefile dlls/secur32/tests enable_tests
22308 wine_fn_config_makefile dlls/security enable_security
22309 wine_fn_config_makefile dlls/sensapi enable_sensapi
22310 wine_fn_config_makefile dlls/serialui enable_serialui
22311 wine_fn_config_makefile dlls/serialui/tests enable_tests
22312 wine_fn_config_makefile dlls/setupapi enable_setupapi
22313 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22314 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22315 wine_fn_config_makefile dlls/sfc enable_sfc
22316 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22317 wine_fn_config_makefile dlls/shcore enable_shcore
22318 wine_fn_config_makefile dlls/shcore/tests enable_tests
22319 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22320 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22321 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22322 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22323 wine_fn_config_makefile dlls/shell32 enable_shell32
22324 wine_fn_config_makefile dlls/shell32/tests enable_tests
22325 wine_fn_config_makefile dlls/shfolder enable_shfolder
22326 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22327 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22328 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22329 wine_fn_config_makefile dlls/slc enable_slc
22330 wine_fn_config_makefile dlls/slc/tests enable_tests
22331 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22332 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22333 wine_fn_config_makefile dlls/softpub enable_softpub
22334 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22335 wine_fn_config_makefile dlls/spoolss enable_spoolss
22336 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22337 wine_fn_config_makefile dlls/sppc enable_sppc
22338 wine_fn_config_makefile dlls/srclient enable_srclient
22339 wine_fn_config_makefile dlls/srvcli enable_srvcli
22340 wine_fn_config_makefile dlls/sspicli enable_sspicli
22341 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22342 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22343 wine_fn_config_makefile dlls/sti enable_sti
22344 wine_fn_config_makefile dlls/sti/tests enable_tests
22345 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22346 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22347 wine_fn_config_makefile dlls/strmdll enable_strmdll
22348 wine_fn_config_makefile dlls/svrapi enable_svrapi
22349 wine_fn_config_makefile dlls/sxs enable_sxs
22350 wine_fn_config_makefile dlls/sxs/tests enable_tests
22351 wine_fn_config_makefile dlls/system.drv16 enable_win16
22352 wine_fn_config_makefile dlls/t2embed enable_t2embed
22353 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22354 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22355 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22356 wine_fn_config_makefile dlls/taskschd enable_taskschd
22357 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22358 wine_fn_config_makefile dlls/tbs enable_tbs
22359 wine_fn_config_makefile dlls/tdh enable_tdh
22360 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22361 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22362 wine_fn_config_makefile dlls/traffic enable_traffic
22363 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22364 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22365 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22366 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22367 wine_fn_config_makefile dlls/tzres enable_tzres
22368 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22369 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22370 wine_fn_config_makefile dlls/uianimation enable_uianimation
22371 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22372 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22373 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22374 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22375 wine_fn_config_makefile dlls/unicows enable_unicows
22376 wine_fn_config_makefile dlls/updspapi enable_updspapi
22377 wine_fn_config_makefile dlls/url enable_url
22378 wine_fn_config_makefile dlls/urlmon enable_urlmon
22379 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22380 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22381 wine_fn_config_makefile dlls/user.exe16 enable_win16
22382 wine_fn_config_makefile dlls/user32 enable_user32
22383 wine_fn_config_makefile dlls/user32/tests enable_tests
22384 wine_fn_config_makefile dlls/userenv enable_userenv
22385 wine_fn_config_makefile dlls/userenv/tests enable_tests
22386 wine_fn_config_makefile dlls/usp10 enable_usp10
22387 wine_fn_config_makefile dlls/usp10/tests enable_tests
22388 wine_fn_config_makefile dlls/utildll enable_utildll
22389 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22390 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22391 wine_fn_config_makefile dlls/vbscript enable_vbscript
22392 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22393 wine_fn_config_makefile dlls/vcomp enable_vcomp
22394 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22395 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22396 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22397 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22398 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22399 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22400 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22401 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22402 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22403 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22404 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22405 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22406 wine_fn_config_makefile dlls/version enable_version
22407 wine_fn_config_makefile dlls/version/tests enable_tests
22408 wine_fn_config_makefile dlls/vga enable_vga
22409 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22410 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22411 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22412 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22413 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22414 wine_fn_config_makefile dlls/vssapi enable_vssapi
22415 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22416 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22417 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22418 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22419 wine_fn_config_makefile dlls/w32skrnl enable_win16
22420 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22421 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22422 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22423 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22424 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22425 wine_fn_config_makefile dlls/wdscore enable_wdscore
22426 wine_fn_config_makefile dlls/webservices enable_webservices
22427 wine_fn_config_makefile dlls/webservices/tests enable_tests
22428 wine_fn_config_makefile dlls/websocket enable_websocket
22429 wine_fn_config_makefile dlls/wer enable_wer
22430 wine_fn_config_makefile dlls/wer/tests enable_tests
22431 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22432 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22433 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22434 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22435 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22436 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22437 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22438 wine_fn_config_makefile dlls/win32u enable_win32u
22439 wine_fn_config_makefile dlls/win32u/tests enable_tests
22440 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22441 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22442 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22443 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22444 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22445 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22446 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22447 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22448 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22449 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22450 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22451 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22452 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22453 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22454 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22455 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22456 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22457 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22458 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22459 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22460 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22461 wine_fn_config_makefile dlls/wined3d enable_wined3d
22462 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22463 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22464 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22465 wine_fn_config_makefile dlls/winemapi enable_winemapi
22466 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22467 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22468 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22469 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22470 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22471 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22472 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22473 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22474 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22475 wine_fn_config_makefile dlls/wing32 enable_wing32
22476 wine_fn_config_makefile dlls/winhttp enable_winhttp
22477 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22478 wine_fn_config_makefile dlls/wininet enable_wininet
22479 wine_fn_config_makefile dlls/wininet/tests enable_tests
22480 wine_fn_config_makefile dlls/winmm enable_winmm
22481 wine_fn_config_makefile dlls/winmm/tests enable_tests
22482 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22483 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22484 wine_fn_config_makefile dlls/winscard enable_winscard
22485 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22486 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22487 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22488 wine_fn_config_makefile dlls/winsta enable_winsta
22489 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22490 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22491 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22492 wine_fn_config_makefile dlls/wintrust enable_wintrust
22493 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22494 wine_fn_config_makefile dlls/winusb enable_winusb
22495 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22496 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22497 wine_fn_config_makefile dlls/wlanui enable_wlanui
22498 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22499 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22500 wine_fn_config_makefile dlls/wmasf enable_wmasf
22501 wine_fn_config_makefile dlls/wmi enable_wmi
22502 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22503 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22504 wine_fn_config_makefile dlls/wmp enable_wmp
22505 wine_fn_config_makefile dlls/wmp/tests enable_tests
22506 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22507 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22508 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22509 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22510 wine_fn_config_makefile dlls/wow32 enable_win16
22511 wine_fn_config_makefile dlls/wow64 enable_wow64
22512 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22513 wine_fn_config_makefile dlls/wow64win enable_wow64win
22514 wine_fn_config_makefile dlls/wpc enable_wpc
22515 wine_fn_config_makefile dlls/wpc/tests enable_tests
22516 wine_fn_config_makefile dlls/wpcap enable_wpcap
22517 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22518 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22519 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22520 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22521 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22522 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22523 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22524 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22525 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22526 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22527 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22528 wine_fn_config_makefile dlls/wuapi enable_wuapi
22529 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22530 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22531 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22532 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22533 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22534 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22535 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22536 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22537 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22538 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22539 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22540 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22541 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22542 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22543 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22544 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22545 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22546 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22547 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22548 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22549 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22550 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22551 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22552 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22553 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22554 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22555 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22556 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22557 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22558 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22559 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22560 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22561 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22562 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22563 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22564 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22565 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22566 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22567 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22568 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22569 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22570 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22571 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22572 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22573 wine_fn_config_makefile dlls/xmllite enable_xmllite
22574 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22575 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22576 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22577 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22578 wine_fn_config_makefile fonts enable_fonts
22579 wine_fn_config_makefile include enable_include
22580 wine_fn_config_makefile libs/adsiid enable_adsiid
22581 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22582 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22583 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22584 wine_fn_config_makefile libs/dxguid enable_dxguid
22585 wine_fn_config_makefile libs/faudio enable_faudio
22586 wine_fn_config_makefile libs/gsm enable_gsm
22587 wine_fn_config_makefile libs/jpeg enable_jpeg
22588 wine_fn_config_makefile libs/jxr enable_jxr
22589 wine_fn_config_makefile libs/lcms2 enable_lcms2
22590 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22591 wine_fn_config_makefile libs/mpg123 enable_mpg123
22592 wine_fn_config_makefile libs/png enable_png
22593 wine_fn_config_makefile libs/strmbase enable_strmbase
22594 wine_fn_config_makefile libs/strmiids enable_strmiids
22595 wine_fn_config_makefile libs/tiff enable_tiff
22596 wine_fn_config_makefile libs/uuid enable_uuid
22597 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22598 wine_fn_config_makefile libs/wine enable_wine
22599 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22600 wine_fn_config_makefile libs/xml2 enable_xml2
22601 wine_fn_config_makefile libs/xslt enable_xslt
22602 wine_fn_config_makefile libs/zlib enable_zlib
22603 wine_fn_config_makefile loader enable_loader
22604 wine_fn_config_makefile nls enable_nls
22605 wine_fn_config_makefile po enable_po
22606 wine_fn_config_makefile programs/arp enable_arp
22607 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22608 wine_fn_config_makefile programs/attrib enable_attrib
22609 wine_fn_config_makefile programs/cabarc enable_cabarc
22610 wine_fn_config_makefile programs/cacls enable_cacls
22611 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22612 wine_fn_config_makefile programs/clock enable_clock
22613 wine_fn_config_makefile programs/cmd enable_cmd
22614 wine_fn_config_makefile programs/cmd/tests enable_tests
22615 wine_fn_config_makefile programs/conhost enable_conhost
22616 wine_fn_config_makefile programs/conhost/tests enable_tests
22617 wine_fn_config_makefile programs/control enable_control
22618 wine_fn_config_makefile programs/cscript enable_cscript
22619 wine_fn_config_makefile programs/dism enable_dism
22620 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22621 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22622 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22623 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22624 wine_fn_config_makefile programs/eject enable_eject
22625 wine_fn_config_makefile programs/expand enable_expand
22626 wine_fn_config_makefile programs/explorer enable_explorer
22627 wine_fn_config_makefile programs/extrac32 enable_extrac32
22628 wine_fn_config_makefile programs/fc enable_fc
22629 wine_fn_config_makefile programs/find enable_find
22630 wine_fn_config_makefile programs/find/tests enable_tests
22631 wine_fn_config_makefile programs/findstr enable_findstr
22632 wine_fn_config_makefile programs/fsutil enable_fsutil
22633 wine_fn_config_makefile programs/fsutil/tests enable_tests
22634 wine_fn_config_makefile programs/hh enable_hh
22635 wine_fn_config_makefile programs/hostname enable_hostname
22636 wine_fn_config_makefile programs/icacls enable_icacls
22637 wine_fn_config_makefile programs/icinfo enable_icinfo
22638 wine_fn_config_makefile programs/iexplore enable_iexplore
22639 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22640 wine_fn_config_makefile programs/lodctr enable_lodctr
22641 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22642 wine_fn_config_makefile programs/mshta enable_mshta
22643 wine_fn_config_makefile programs/msidb enable_msidb
22644 wine_fn_config_makefile programs/msiexec enable_msiexec
22645 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22646 wine_fn_config_makefile programs/net enable_net
22647 wine_fn_config_makefile programs/netsh enable_netsh
22648 wine_fn_config_makefile programs/netstat enable_netstat
22649 wine_fn_config_makefile programs/ngen enable_ngen
22650 wine_fn_config_makefile programs/notepad enable_notepad
22651 wine_fn_config_makefile programs/oleview enable_oleview
22652 wine_fn_config_makefile programs/ping enable_ping
22653 wine_fn_config_makefile programs/plugplay enable_plugplay
22654 wine_fn_config_makefile programs/powershell enable_powershell
22655 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22656 wine_fn_config_makefile programs/progman enable_progman
22657 wine_fn_config_makefile programs/reg enable_reg
22658 wine_fn_config_makefile programs/reg/tests enable_tests
22659 wine_fn_config_makefile programs/regasm enable_regasm
22660 wine_fn_config_makefile programs/regedit enable_regedit
22661 wine_fn_config_makefile programs/regedit/tests enable_tests
22662 wine_fn_config_makefile programs/regini enable_regini
22663 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22664 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22665 wine_fn_config_makefile programs/robocopy enable_robocopy
22666 wine_fn_config_makefile programs/rpcss enable_rpcss
22667 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22668 wine_fn_config_makefile programs/rundll32 enable_rundll32
22669 wine_fn_config_makefile programs/sc enable_sc
22670 wine_fn_config_makefile programs/schtasks enable_schtasks
22671 wine_fn_config_makefile programs/schtasks/tests enable_tests
22672 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22673 wine_fn_config_makefile programs/secedit enable_secedit
22674 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22675 wine_fn_config_makefile programs/services enable_services
22676 wine_fn_config_makefile programs/services/tests enable_tests
22677 wine_fn_config_makefile programs/shutdown enable_shutdown
22678 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22679 wine_fn_config_makefile programs/start enable_start
22680 wine_fn_config_makefile programs/subst enable_subst
22681 wine_fn_config_makefile programs/svchost enable_svchost
22682 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22683 wine_fn_config_makefile programs/taskkill enable_taskkill
22684 wine_fn_config_makefile programs/tasklist enable_tasklist
22685 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22686 wine_fn_config_makefile programs/termsv enable_termsv
22687 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22688 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22689 wine_fn_config_makefile programs/view enable_view
22690 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22691 wine_fn_config_makefile programs/where enable_where
22692 wine_fn_config_makefile programs/whoami enable_whoami
22693 wine_fn_config_makefile programs/wineboot enable_wineboot
22694 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22695 wine_fn_config_makefile programs/winecfg enable_winecfg
22696 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22697 wine_fn_config_makefile programs/winedbg enable_winedbg
22698 wine_fn_config_makefile programs/winedevice enable_winedevice
22699 wine_fn_config_makefile programs/winefile enable_winefile
22700 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22701 wine_fn_config_makefile programs/winemine enable_winemine
22702 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22703 wine_fn_config_makefile programs/winepath enable_winepath
22704 wine_fn_config_makefile programs/winetest enable_winetest
22705 wine_fn_config_makefile programs/winevdm enable_win16
22706 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22707 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22708 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22709 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22710 wine_fn_config_makefile programs/winver enable_winver
22711 wine_fn_config_makefile programs/wmic enable_wmic
22712 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22713 wine_fn_config_makefile programs/wordpad enable_wordpad
22714 wine_fn_config_makefile programs/write enable_write
22715 wine_fn_config_makefile programs/wscript enable_wscript
22716 wine_fn_config_makefile programs/wscript/tests enable_tests
22717 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22718 wine_fn_config_makefile programs/wusa enable_wusa
22719 wine_fn_config_makefile programs/xcopy enable_xcopy
22720 wine_fn_config_makefile programs/xcopy/tests enable_tests
22721 wine_fn_config_makefile server enable_server
22722 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22723 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22724 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22725 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22726 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22727 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22728 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22729 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22730 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22733 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22734 wine_fn_append_file CONFIGURE_TARGETS "tags"
22735 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22736 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22737 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22738 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22739 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22740 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22742 if test "x$enable_tools" != xno
22743 then
22744 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22745 ac_config_commands="$ac_config_commands tools/makedep"
22749 ac_config_commands="$ac_config_commands Makefile"
22753 SHELL=/bin/sh
22756 wine_fn_append_rule "all: wine
22757 @echo \"Wine build complete.\"
22758 .INIT: Makefile
22759 .MAKEFILEDEPS:
22760 all: Makefile
22761 Makefile: config.status \$(MAKEDEP)
22762 @./config.status Makefile
22763 depend: \$(MAKEDEP)
22764 \$(MAKEDEP)$makedep_flags"
22767 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22768 @./config.status --recheck
22769 include/config.h: include/stamp-h
22770 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22771 @./config.status include/config.h include/stamp-h"
22773 if test "x$enable_maintainer_mode" = xyes
22774 then
22775 wine_fn_append_rule "configure: configure.ac aclocal.m4
22776 autoconf --warnings=all
22777 include/config.h.in: include/stamp-h.in
22778 include/stamp-h.in: configure.ac aclocal.m4
22779 autoheader --warnings=all
22780 @echo timestamp > \$@"
22783 if test "x$enable_tools" != xno
22784 then
22785 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22786 @./config.status tools/makedep
22787 Makefile: tools/makedep$ac_exeext"
22788 else
22789 wine_fn_append_rule "\$(MAKEDEP):
22790 @echo \"You need to run make in $toolsdir first\" && false"
22794 if test -n "$with_wine64"
22795 then
22796 case "$with_wine64" in
22797 /*) reldir="" ;;
22798 *) reldir="../" ;;
22799 esac
22800 rm -f fonts server 2>/dev/null
22801 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22802 loader/wine64 loader/wine64-preloader:
22803 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22804 $with_wine64/loader/wine:
22805 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22806 $with_wine64/loader/wine-preloader:
22807 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22808 clean::
22809 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22810 else
22811 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22812 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22813 fonts \
22814 loader/wine.inf \
22815 nls \
22816 programs/msidb/msidb \
22817 programs/msiexec/msiexec \
22818 programs/notepad/notepad \
22819 programs/regedit/regedit \
22820 programs/regsvr32/regsvr32 \
22821 programs/wineboot/wineboot \
22822 programs/winecfg/winecfg \
22823 programs/wineconsole/wineconsole \
22824 programs/winedbg/winedbg \
22825 programs/winefile/winefile \
22826 programs/winemine/winemine \
22827 programs/winepath/winepath \
22828 server/wineserver"
22830 case $host_os in
22831 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22832 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22833 esac
22837 wine_fn_append_rule "distclean:: clean
22838 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
22841 wine_fn_append_rule "install-manpages:: manpages
22842 for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done"
22845 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22846 @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)
22847 programs/winetest/build.rc: dummy
22848 @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)
22849 programs/winetest/build.nfo:
22850 @-\$(CC) -v 2>\$@
22851 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
22852 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22853 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22856 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22858 wine_fn_append_rule "TAGS etags:
22859 rm -f TAGS
22860 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22861 tags ctags:
22862 rm -f tags
22863 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22864 dummy:
22865 .PHONY: depend dummy install-manpages"
22867 printf "%s\n" " done" >&6
22868 cat >confcache <<\_ACEOF
22869 # This file is a shell script that caches the results of configure
22870 # tests run on this system so they can be shared between configure
22871 # scripts and configure runs, see configure's option --config-cache.
22872 # It is not useful on other systems. If it contains results you don't
22873 # want to keep, you may remove or edit it.
22875 # config.status only pays attention to the cache file if you give it
22876 # the --recheck option to rerun configure.
22878 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22879 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22880 # following values.
22882 _ACEOF
22884 # The following way of writing the cache mishandles newlines in values,
22885 # but we know of no workaround that is simple, portable, and efficient.
22886 # So, we kill variables containing newlines.
22887 # Ultrix sh set writes to stderr and can't be redirected directly,
22888 # and sets the high bit in the cache file unless we assign to the vars.
22890 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22891 eval ac_val=\$$ac_var
22892 case $ac_val in #(
22893 *${as_nl}*)
22894 case $ac_var in #(
22895 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22896 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22897 esac
22898 case $ac_var in #(
22899 _ | IFS | as_nl) ;; #(
22900 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22901 *) { eval $ac_var=; unset $ac_var;} ;;
22902 esac ;;
22903 esac
22904 done
22906 (set) 2>&1 |
22907 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22908 *${as_nl}ac_space=\ *)
22909 # `set' does not quote correctly, so add quotes: double-quote
22910 # substitution turns \\\\ into \\, and sed turns \\ into \.
22911 sed -n \
22912 "s/'/'\\\\''/g;
22913 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22914 ;; #(
22916 # `set' quotes correctly as required by POSIX, so do not add quotes.
22917 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22919 esac |
22920 sort
22922 sed '
22923 /^ac_cv_env_/b end
22924 t clear
22925 :clear
22926 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22927 t end
22928 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22929 :end' >>confcache
22930 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22931 if test -w "$cache_file"; then
22932 if test "x$cache_file" != "x/dev/null"; then
22933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22934 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22935 if test ! -f "$cache_file" || test -h "$cache_file"; then
22936 cat confcache >"$cache_file"
22937 else
22938 case $cache_file in #(
22939 */* | ?:*)
22940 mv -f confcache "$cache_file"$$ &&
22941 mv -f "$cache_file"$$ "$cache_file" ;; #(
22943 mv -f confcache "$cache_file" ;;
22944 esac
22947 else
22948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22949 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22952 rm -f confcache
22954 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22955 # Let make expand exec_prefix.
22956 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22958 DEFS=-DHAVE_CONFIG_H
22960 ac_libobjs=
22961 ac_ltlibobjs=
22963 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22964 # 1. Remove the extension, and $U if already installed.
22965 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22966 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22967 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22968 # will be set to the directory where LIBOBJS objects are built.
22969 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22970 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22971 done
22972 LIBOBJS=$ac_libobjs
22974 LTLIBOBJS=$ac_ltlibobjs
22978 : "${CONFIG_STATUS=./config.status}"
22979 ac_write_fail=0
22980 ac_clean_files_save=$ac_clean_files
22981 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22983 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22984 as_write_fail=0
22985 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22986 #! $SHELL
22987 # Generated by $as_me.
22988 # Run this file to recreate the current configuration.
22989 # Compiler output produced by configure, useful for debugging
22990 # configure, is in config.log if it exists.
22992 debug=false
22993 ac_cs_recheck=false
22994 ac_cs_silent=false
22996 SHELL=\${CONFIG_SHELL-$SHELL}
22997 export SHELL
22998 _ASEOF
22999 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23000 ## -------------------- ##
23001 ## M4sh Initialization. ##
23002 ## -------------------- ##
23004 # Be more Bourne compatible
23005 DUALCASE=1; export DUALCASE # for MKS sh
23006 as_nop=:
23007 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23008 then :
23009 emulate sh
23010 NULLCMD=:
23011 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23012 # is contrary to our usage. Disable this feature.
23013 alias -g '${1+"$@"}'='"$@"'
23014 setopt NO_GLOB_SUBST
23015 else $as_nop
23016 case `(set -o) 2>/dev/null` in #(
23017 *posix*) :
23018 set -o posix ;; #(
23019 *) :
23021 esac
23026 # Reset variables that may have inherited troublesome values from
23027 # the environment.
23029 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23030 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23031 # side effect of setting IFS to empty, thus disabling word splitting.)
23032 # Quoting is to prevent editors from complaining about space-tab.
23033 as_nl='
23035 export as_nl
23036 IFS=" "" $as_nl"
23038 PS1='$ '
23039 PS2='> '
23040 PS4='+ '
23042 # Ensure predictable behavior from utilities with locale-dependent output.
23043 LC_ALL=C
23044 export LC_ALL
23045 LANGUAGE=C
23046 export LANGUAGE
23048 # We cannot yet rely on "unset" to work, but we need these variables
23049 # to be unset--not just set to an empty or harmless value--now, to
23050 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23051 # also avoids known problems related to "unset" and subshell syntax
23052 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23053 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23054 do eval test \${$as_var+y} \
23055 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23056 done
23058 # Ensure that fds 0, 1, and 2 are open.
23059 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23060 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23061 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23063 # The user is always right.
23064 if ${PATH_SEPARATOR+false} :; then
23065 PATH_SEPARATOR=:
23066 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23067 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23068 PATH_SEPARATOR=';'
23073 # Find who we are. Look in the path if we contain no directory separator.
23074 as_myself=
23075 case $0 in #((
23076 *[\\/]* ) as_myself=$0 ;;
23077 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23078 for as_dir in $PATH
23080 IFS=$as_save_IFS
23081 case $as_dir in #(((
23082 '') as_dir=./ ;;
23083 */) ;;
23084 *) as_dir=$as_dir/ ;;
23085 esac
23086 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23087 done
23088 IFS=$as_save_IFS
23091 esac
23092 # We did not find ourselves, most probably we were run as `sh COMMAND'
23093 # in which case we are not to be found in the path.
23094 if test "x$as_myself" = x; then
23095 as_myself=$0
23097 if test ! -f "$as_myself"; then
23098 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23099 exit 1
23104 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23105 # ----------------------------------------
23106 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23107 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23108 # script with STATUS, using 1 if that was 0.
23109 as_fn_error ()
23111 as_status=$1; test $as_status -eq 0 && as_status=1
23112 if test "$4"; then
23113 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23116 printf "%s\n" "$as_me: error: $2" >&2
23117 as_fn_exit $as_status
23118 } # as_fn_error
23122 # as_fn_set_status STATUS
23123 # -----------------------
23124 # Set $? to STATUS, without forking.
23125 as_fn_set_status ()
23127 return $1
23128 } # as_fn_set_status
23130 # as_fn_exit STATUS
23131 # -----------------
23132 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23133 as_fn_exit ()
23135 set +e
23136 as_fn_set_status $1
23137 exit $1
23138 } # as_fn_exit
23140 # as_fn_unset VAR
23141 # ---------------
23142 # Portably unset VAR.
23143 as_fn_unset ()
23145 { eval $1=; unset $1;}
23147 as_unset=as_fn_unset
23149 # as_fn_append VAR VALUE
23150 # ----------------------
23151 # Append the text in VALUE to the end of the definition contained in VAR. Take
23152 # advantage of any shell optimizations that allow amortized linear growth over
23153 # repeated appends, instead of the typical quadratic growth present in naive
23154 # implementations.
23155 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23156 then :
23157 eval 'as_fn_append ()
23159 eval $1+=\$2
23161 else $as_nop
23162 as_fn_append ()
23164 eval $1=\$$1\$2
23166 fi # as_fn_append
23168 # as_fn_arith ARG...
23169 # ------------------
23170 # Perform arithmetic evaluation on the ARGs, and store the result in the
23171 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23172 # must be portable across $(()) and expr.
23173 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23174 then :
23175 eval 'as_fn_arith ()
23177 as_val=$(( $* ))
23179 else $as_nop
23180 as_fn_arith ()
23182 as_val=`expr "$@" || test $? -eq 1`
23184 fi # as_fn_arith
23187 if expr a : '\(a\)' >/dev/null 2>&1 &&
23188 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23189 as_expr=expr
23190 else
23191 as_expr=false
23194 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23195 as_basename=basename
23196 else
23197 as_basename=false
23200 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23201 as_dirname=dirname
23202 else
23203 as_dirname=false
23206 as_me=`$as_basename -- "$0" ||
23207 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23208 X"$0" : 'X\(//\)$' \| \
23209 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23210 printf "%s\n" X/"$0" |
23211 sed '/^.*\/\([^/][^/]*\)\/*$/{
23212 s//\1/
23215 /^X\/\(\/\/\)$/{
23216 s//\1/
23219 /^X\/\(\/\).*/{
23220 s//\1/
23223 s/.*/./; q'`
23225 # Avoid depending upon Character Ranges.
23226 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23227 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23228 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23229 as_cr_digits='0123456789'
23230 as_cr_alnum=$as_cr_Letters$as_cr_digits
23233 # Determine whether it's possible to make 'echo' print without a newline.
23234 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23235 # for compatibility with existing Makefiles.
23236 ECHO_C= ECHO_N= ECHO_T=
23237 case `echo -n x` in #(((((
23238 -n*)
23239 case `echo 'xy\c'` in
23240 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23241 xy) ECHO_C='\c';;
23242 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23243 ECHO_T=' ';;
23244 esac;;
23246 ECHO_N='-n';;
23247 esac
23249 # For backward compatibility with old third-party macros, we provide
23250 # the shell variables $as_echo and $as_echo_n. New code should use
23251 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23252 as_echo='printf %s\n'
23253 as_echo_n='printf %s'
23255 rm -f conf$$ conf$$.exe conf$$.file
23256 if test -d conf$$.dir; then
23257 rm -f conf$$.dir/conf$$.file
23258 else
23259 rm -f conf$$.dir
23260 mkdir conf$$.dir 2>/dev/null
23262 if (echo >conf$$.file) 2>/dev/null; then
23263 if ln -s conf$$.file conf$$ 2>/dev/null; then
23264 as_ln_s='ln -s'
23265 # ... but there are two gotchas:
23266 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23267 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23268 # In both cases, we have to default to `cp -pR'.
23269 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23270 as_ln_s='cp -pR'
23271 elif ln conf$$.file conf$$ 2>/dev/null; then
23272 as_ln_s=ln
23273 else
23274 as_ln_s='cp -pR'
23276 else
23277 as_ln_s='cp -pR'
23279 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23280 rmdir conf$$.dir 2>/dev/null
23283 # as_fn_mkdir_p
23284 # -------------
23285 # Create "$as_dir" as a directory, including parents if necessary.
23286 as_fn_mkdir_p ()
23289 case $as_dir in #(
23290 -*) as_dir=./$as_dir;;
23291 esac
23292 test -d "$as_dir" || eval $as_mkdir_p || {
23293 as_dirs=
23294 while :; do
23295 case $as_dir in #(
23296 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23297 *) as_qdir=$as_dir;;
23298 esac
23299 as_dirs="'$as_qdir' $as_dirs"
23300 as_dir=`$as_dirname -- "$as_dir" ||
23301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23302 X"$as_dir" : 'X\(//\)[^/]' \| \
23303 X"$as_dir" : 'X\(//\)$' \| \
23304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23305 printf "%s\n" X"$as_dir" |
23306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23307 s//\1/
23310 /^X\(\/\/\)[^/].*/{
23311 s//\1/
23314 /^X\(\/\/\)$/{
23315 s//\1/
23318 /^X\(\/\).*/{
23319 s//\1/
23322 s/.*/./; q'`
23323 test -d "$as_dir" && break
23324 done
23325 test -z "$as_dirs" || eval "mkdir $as_dirs"
23326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23329 } # as_fn_mkdir_p
23330 if mkdir -p . 2>/dev/null; then
23331 as_mkdir_p='mkdir -p "$as_dir"'
23332 else
23333 test -d ./-p && rmdir ./-p
23334 as_mkdir_p=false
23338 # as_fn_executable_p FILE
23339 # -----------------------
23340 # Test if FILE is an executable regular file.
23341 as_fn_executable_p ()
23343 test -f "$1" && test -x "$1"
23344 } # as_fn_executable_p
23345 as_test_x='test -x'
23346 as_executable_p=as_fn_executable_p
23348 # Sed expression to map a string onto a valid CPP name.
23349 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23351 # Sed expression to map a string onto a valid variable name.
23352 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23355 exec 6>&1
23356 ## ----------------------------------- ##
23357 ## Main body of $CONFIG_STATUS script. ##
23358 ## ----------------------------------- ##
23359 _ASEOF
23360 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23363 # Save the log message, to keep $0 and so on meaningful, and to
23364 # report actual input values of CONFIG_FILES etc. instead of their
23365 # values after options handling.
23366 ac_log="
23367 This file was extended by Wine $as_me 7.0-rc2, which was
23368 generated by GNU Autoconf 2.71. Invocation command line was
23370 CONFIG_FILES = $CONFIG_FILES
23371 CONFIG_HEADERS = $CONFIG_HEADERS
23372 CONFIG_LINKS = $CONFIG_LINKS
23373 CONFIG_COMMANDS = $CONFIG_COMMANDS
23374 $ $0 $@
23376 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23379 _ACEOF
23382 case $ac_config_headers in *"
23383 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23384 esac
23387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23388 # Files that config.status was made for.
23389 config_headers="$ac_config_headers"
23390 config_links="$ac_config_links"
23391 config_commands="$ac_config_commands"
23393 _ACEOF
23395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23396 ac_cs_usage="\
23397 \`$as_me' instantiates files and other configuration actions
23398 from templates according to the current configuration. Unless the files
23399 and actions are specified as TAGs, all are instantiated by default.
23401 Usage: $0 [OPTION]... [TAG]...
23403 -h, --help print this help, then exit
23404 -V, --version print version number and configuration settings, then exit
23405 --config print configuration, then exit
23406 -q, --quiet, --silent
23407 do not print progress messages
23408 -d, --debug don't remove temporary files
23409 --recheck update $as_me by reconfiguring in the same conditions
23410 --header=FILE[:TEMPLATE]
23411 instantiate the configuration header FILE
23413 Configuration headers:
23414 $config_headers
23416 Configuration links:
23417 $config_links
23419 Configuration commands:
23420 $config_commands
23422 Report bugs to <wine-devel@winehq.org>.
23423 Wine home page: <https://www.winehq.org>."
23425 _ACEOF
23426 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23427 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23429 ac_cs_config='$ac_cs_config_escaped'
23430 ac_cs_version="\\
23431 Wine config.status 7.0-rc2
23432 configured by $0, generated by GNU Autoconf 2.71,
23433 with options \\"\$ac_cs_config\\"
23435 Copyright (C) 2021 Free Software Foundation, Inc.
23436 This config.status script is free software; the Free Software Foundation
23437 gives unlimited permission to copy, distribute and modify it."
23439 ac_pwd='$ac_pwd'
23440 srcdir='$srcdir'
23441 test -n "\$AWK" || AWK=awk
23442 _ACEOF
23444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23445 # The default lists apply if the user does not specify any file.
23446 ac_need_defaults=:
23447 while test $# != 0
23449 case $1 in
23450 --*=?*)
23451 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23452 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23453 ac_shift=:
23455 --*=)
23456 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23457 ac_optarg=
23458 ac_shift=:
23461 ac_option=$1
23462 ac_optarg=$2
23463 ac_shift=shift
23465 esac
23467 case $ac_option in
23468 # Handling of the options.
23469 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23470 ac_cs_recheck=: ;;
23471 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23472 printf "%s\n" "$ac_cs_version"; exit ;;
23473 --config | --confi | --conf | --con | --co | --c )
23474 printf "%s\n" "$ac_cs_config"; exit ;;
23475 --debug | --debu | --deb | --de | --d | -d )
23476 debug=: ;;
23477 --header | --heade | --head | --hea )
23478 $ac_shift
23479 case $ac_optarg in
23480 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23481 esac
23482 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23483 ac_need_defaults=false;;
23484 --he | --h)
23485 # Conflict between --help and --header
23486 as_fn_error $? "ambiguous option: \`$1'
23487 Try \`$0 --help' for more information.";;
23488 --help | --hel | -h )
23489 printf "%s\n" "$ac_cs_usage"; exit ;;
23490 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23491 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23492 ac_cs_silent=: ;;
23494 # This is an error.
23495 -*) as_fn_error $? "unrecognized option: \`$1'
23496 Try \`$0 --help' for more information." ;;
23498 *) as_fn_append ac_config_targets " $1"
23499 ac_need_defaults=false ;;
23501 esac
23502 shift
23503 done
23505 ac_configure_extra_args=
23507 if $ac_cs_silent; then
23508 exec 6>/dev/null
23509 ac_configure_extra_args="$ac_configure_extra_args --silent"
23512 _ACEOF
23513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23514 if \$ac_cs_recheck; then
23515 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23516 shift
23517 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23518 CONFIG_SHELL='$SHELL'
23519 export CONFIG_SHELL
23520 exec "\$@"
23523 _ACEOF
23524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23525 exec 5>>config.log
23527 echo
23528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23529 ## Running $as_me. ##
23530 _ASBOX
23531 printf "%s\n" "$ac_log"
23532 } >&5
23534 _ACEOF
23535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23537 # INIT-COMMANDS
23539 wine_fn_output_makedep ()
23541 as_dir=tools; as_fn_mkdir_p
23542 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23544 wine_fn_output_makefile ()
23546 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23547 # This Makefile understands the following targets:
23549 # all (default): build wine
23550 # clean: remove all intermediate files
23551 # distclean: also remove all files created by configure
23552 # test: run tests
23553 # testclean: clean test results to force running all tests again
23554 # install-lib: install libraries needed to run applications
23555 # install-dev: install development environment
23556 # install: install everything
23557 # uninstall: uninstall everything
23558 # ctags: create a tags file for vim and others.
23559 # etags: create a TAGS file for Emacs.
23560 # manpages: compile manpages for Wine API
23561 # htmlpages: compile html pages for Wine API
23562 # sgmlpages: compile sgml source for the Wine API Guide
23563 # xmlpages: compile xml source for the Wine API Guide
23565 SHELL = $SHELL
23566 PATH_SEPARATOR = $PATH_SEPARATOR
23567 PACKAGE_NAME = $PACKAGE_NAME
23568 PACKAGE_TARNAME = $PACKAGE_TARNAME
23569 PACKAGE_VERSION = $PACKAGE_VERSION
23570 PACKAGE_STRING = $PACKAGE_STRING
23571 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23572 PACKAGE_URL = $PACKAGE_URL
23573 exec_prefix = $exec_prefix
23574 prefix = $prefix
23575 program_transform_name = $program_transform_name
23576 bindir = $bindir
23577 sbindir = $sbindir
23578 libexecdir = $libexecdir
23579 datarootdir = $datarootdir
23580 datadir = $datadir
23581 sysconfdir = $sysconfdir
23582 sharedstatedir = $sharedstatedir
23583 localstatedir = $localstatedir
23584 runstatedir = $runstatedir
23585 includedir = $includedir
23586 oldincludedir = $oldincludedir
23587 docdir = $docdir
23588 infodir = $infodir
23589 htmldir = $htmldir
23590 dvidir = $dvidir
23591 pdfdir = $pdfdir
23592 psdir = $psdir
23593 libdir = $libdir
23594 localedir = $localedir
23595 mandir = $mandir
23596 DEFS = $DEFS
23597 ECHO_C = $ECHO_C
23598 ECHO_N = $ECHO_N
23599 ECHO_T = $ECHO_T
23600 LIBS = $LIBS
23601 build_alias = $build_alias
23602 host_alias = $host_alias
23603 target_alias = $target_alias
23604 system_dllpath = $system_dllpath
23605 build = $build
23606 build_cpu = $build_cpu
23607 build_vendor = $build_vendor
23608 build_os = $build_os
23609 host = $host
23610 host_cpu = $host_cpu
23611 host_vendor = $host_vendor
23612 host_os = $host_os
23613 dlldir = $dlldir
23614 fontdir = $fontdir
23615 nlsdir = $nlsdir
23616 srcdir = $srcdir
23617 SET_MAKE = $SET_MAKE
23618 CC = $CC
23619 CFLAGS = $CFLAGS
23620 LDFLAGS = $LDFLAGS
23621 CPPFLAGS = $CPPFLAGS
23622 ac_ct_CC = $ac_ct_CC
23623 EXEEXT = $EXEEXT
23624 OBJEXT = $OBJEXT
23625 CXX = $CXX
23626 CXXFLAGS = $CXXFLAGS
23627 ac_ct_CXX = $ac_ct_CXX
23628 CPPBIN = $CPPBIN
23629 LD = $LD
23630 TARGETFLAGS = $TARGETFLAGS
23631 toolsext = $toolsext
23632 toolsdir = $toolsdir
23633 MAKEDEP = $MAKEDEP
23634 RUNTESTFLAGS = $RUNTESTFLAGS
23635 SED_CMD = $SED_CMD
23636 api_manext = $api_manext
23637 FLEX = $FLEX
23638 BISON = $BISON
23639 AR = $AR
23640 ac_ct_AR = $ac_ct_AR
23641 STRIP = $STRIP
23642 RANLIB = $RANLIB
23643 LN_S = $LN_S
23644 GREP = $GREP
23645 EGREP = $EGREP
23646 LDCONFIG = $LDCONFIG
23647 MSGFMT = $MSGFMT
23648 PKG_CONFIG = $PKG_CONFIG
23649 FONTFORGE = $FONTFORGE
23650 RSVG = $RSVG
23651 CONVERT = $CONVERT
23652 ICOTOOL = $ICOTOOL
23653 I386_LIBS = $I386_LIBS
23654 OPENGL_LIBS = $OPENGL_LIBS
23655 DLLFLAGS = $DLLFLAGS
23656 LDDLLFLAGS = $LDDLLFLAGS
23657 LDEXECFLAGS = $LDEXECFLAGS
23658 EXTRACFLAGS = $EXTRACFLAGS
23659 UNIXDLLFLAGS = $UNIXDLLFLAGS
23660 UNIXLDFLAGS = $UNIXLDFLAGS
23661 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23662 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23663 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23664 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23665 LDD = $LDD
23666 OTOOL = $OTOOL
23667 READELF = $READELF
23668 SUBDIRS = $SUBDIRS
23669 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23670 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23671 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23672 DLLTOOL = $DLLTOOL
23673 OBJC = $OBJC
23674 OBJCFLAGS = $OBJCFLAGS
23675 ac_ct_OBJC = $ac_ct_OBJC
23676 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23677 IOKIT_LIBS = $IOKIT_LIBS
23678 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23679 CORESERVICES_LIBS = $CORESERVICES_LIBS
23680 APPKIT_LIBS = $APPKIT_LIBS
23681 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23682 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23683 SECURITY_LIBS = $SECURITY_LIBS
23684 COREAUDIO_LIBS = $COREAUDIO_LIBS
23685 OPENAL_LIBS = $OPENAL_LIBS
23686 OPENCL_LIBS = $OPENCL_LIBS
23687 CARBON_LIBS = $CARBON_LIBS
23688 METAL_LIBS = $METAL_LIBS
23689 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23690 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23691 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23692 PRELINK = $PRELINK
23693 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23694 CROSSTARGET = $CROSSTARGET
23695 CROSSCC = $CROSSCC
23696 CROSSCFLAGS = $CROSSCFLAGS
23697 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23698 CROSSLDFLAGS = $CROSSLDFLAGS
23699 DELAYLOADFLAG = $DELAYLOADFLAG
23700 CROSSDEBUG = $CROSSDEBUG
23701 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23702 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23703 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23704 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23705 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23706 GSM_PE_LIBS = $GSM_PE_LIBS
23707 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23708 JPEG_PE_LIBS = $JPEG_PE_LIBS
23709 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23710 JXR_PE_LIBS = $JXR_PE_LIBS
23711 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23712 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23713 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23714 MPG123_PE_LIBS = $MPG123_PE_LIBS
23715 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23716 PNG_PE_LIBS = $PNG_PE_LIBS
23717 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23718 TIFF_PE_LIBS = $TIFF_PE_LIBS
23719 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23720 XML2_PE_LIBS = $XML2_PE_LIBS
23721 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23722 XSLT_PE_LIBS = $XSLT_PE_LIBS
23723 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23724 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23725 PTHREAD_LIBS = $PTHREAD_LIBS
23726 XMKMF = $XMKMF
23727 CPP = $CPP
23728 X_CFLAGS = $X_CFLAGS
23729 X_PRE_LIBS = $X_PRE_LIBS
23730 X_LIBS = $X_LIBS
23731 X_EXTRA_LIBS = $X_EXTRA_LIBS
23732 PCAP_LIBS = $PCAP_LIBS
23733 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23734 INOTIFY_LIBS = $INOTIFY_LIBS
23735 DBUS_CFLAGS = $DBUS_CFLAGS
23736 DBUS_LIBS = $DBUS_LIBS
23737 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23738 GNUTLS_LIBS = $GNUTLS_LIBS
23739 SANE_CFLAGS = $SANE_CFLAGS
23740 SANE_LIBS = $SANE_LIBS
23741 USB_CFLAGS = $USB_CFLAGS
23742 USB_LIBS = $USB_LIBS
23743 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23744 GPHOTO2_LIBS = $GPHOTO2_LIBS
23745 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23746 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23747 RESOLV_LIBS = $RESOLV_LIBS
23748 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23749 FREETYPE_LIBS = $FREETYPE_LIBS
23750 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23751 PULSE_CFLAGS = $PULSE_CFLAGS
23752 PULSE_LIBS = $PULSE_LIBS
23753 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23754 GSTREAMER_LIBS = $GSTREAMER_LIBS
23755 ALSA_LIBS = $ALSA_LIBS
23756 OSS4_CFLAGS = $OSS4_CFLAGS
23757 OSS4_LIBS = $OSS4_LIBS
23758 UDEV_CFLAGS = $UDEV_CFLAGS
23759 UDEV_LIBS = $UDEV_LIBS
23760 UNWIND_CFLAGS = $UNWIND_CFLAGS
23761 UNWIND_LIBS = $UNWIND_LIBS
23762 SDL2_CFLAGS = $SDL2_CFLAGS
23763 SDL2_LIBS = $SDL2_LIBS
23764 CAPI20_CFLAGS = $CAPI20_CFLAGS
23765 CAPI20_LIBS = $CAPI20_LIBS
23766 CUPS_CFLAGS = $CUPS_CFLAGS
23767 CUPS_LIBS = $CUPS_LIBS
23768 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23769 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23770 KRB5_CFLAGS = $KRB5_CFLAGS
23771 KRB5_LIBS = $KRB5_LIBS
23772 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23773 GSSAPI_LIBS = $GSSAPI_LIBS
23774 PROCSTAT_LIBS = $PROCSTAT_LIBS
23775 NETAPI_CFLAGS = $NETAPI_CFLAGS
23776 NETAPI_LIBS = $NETAPI_LIBS
23777 VKD3D_CFLAGS = $VKD3D_CFLAGS
23778 VKD3D_LIBS = $VKD3D_LIBS
23779 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23780 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23781 MSVCRTFLAGS = $MSVCRTFLAGS
23782 RT_LIBS = $RT_LIBS
23783 LDAP_CFLAGS = $LDAP_CFLAGS
23784 LDAP_LIBS = $LDAP_LIBS
23785 TAGSFLAGS = $TAGSFLAGS
23786 LIBOBJS = $LIBOBJS
23787 LTLIBOBJS = $LTLIBOBJS
23788 $SET_MAKE
23789 $wine_rules
23790 _WINE_EOF
23791 as_fn_error $? "could not create Makefile" "$LINENO" 5
23794 _ACEOF
23796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23798 # Handling of arguments.
23799 for ac_config_target in $ac_config_targets
23801 case $ac_config_target in
23802 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23803 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23804 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23805 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23806 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23807 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23809 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23810 esac
23811 done
23814 # If the user did not use the arguments to specify the items to instantiate,
23815 # then the envvar interface is used. Set only those that are not.
23816 # We use the long form for the default assignment because of an extremely
23817 # bizarre bug on SunOS 4.1.3.
23818 if $ac_need_defaults; then
23819 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23820 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23821 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23824 # Have a temporary directory for convenience. Make it in the build tree
23825 # simply because there is no reason against having it here, and in addition,
23826 # creating and moving files from /tmp can sometimes cause problems.
23827 # Hook for its removal unless debugging.
23828 # Note that there is a small window in which the directory will not be cleaned:
23829 # after its creation but before its name has been assigned to `$tmp'.
23830 $debug ||
23832 tmp= ac_tmp=
23833 trap 'exit_status=$?
23834 : "${ac_tmp:=$tmp}"
23835 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23837 trap 'as_fn_exit 1' 1 2 13 15
23839 # Create a (secure) tmp directory for tmp files.
23842 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23843 test -d "$tmp"
23844 } ||
23846 tmp=./conf$$-$RANDOM
23847 (umask 077 && mkdir "$tmp")
23848 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23849 ac_tmp=$tmp
23851 # Set up the scripts for CONFIG_HEADERS section.
23852 # No need to generate them if there are no CONFIG_HEADERS.
23853 # This happens for instance with `./config.status Makefile'.
23854 if test -n "$CONFIG_HEADERS"; then
23855 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23856 BEGIN {
23857 _ACEOF
23859 # Transform confdefs.h into an awk script `defines.awk', embedded as
23860 # here-document in config.status, that substitutes the proper values into
23861 # config.h.in to produce config.h.
23863 # Create a delimiter string that does not exist in confdefs.h, to ease
23864 # handling of long lines.
23865 ac_delim='%!_!# '
23866 for ac_last_try in false false :; do
23867 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23868 if test -z "$ac_tt"; then
23869 break
23870 elif $ac_last_try; then
23871 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23872 else
23873 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23875 done
23877 # For the awk script, D is an array of macro values keyed by name,
23878 # likewise P contains macro parameters if any. Preserve backslash
23879 # newline sequences.
23881 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23882 sed -n '
23883 s/.\{148\}/&'"$ac_delim"'/g
23884 t rset
23885 :rset
23886 s/^[ ]*#[ ]*define[ ][ ]*/ /
23887 t def
23889 :def
23890 s/\\$//
23891 t bsnl
23892 s/["\\]/\\&/g
23893 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23894 D["\1"]=" \3"/p
23895 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23897 :bsnl
23898 s/["\\]/\\&/g
23899 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23900 D["\1"]=" \3\\\\\\n"\\/p
23901 t cont
23902 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23903 t cont
23905 :cont
23907 s/.\{148\}/&'"$ac_delim"'/g
23908 t clear
23909 :clear
23910 s/\\$//
23911 t bsnlc
23912 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23914 :bsnlc
23915 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23916 b cont
23917 ' <confdefs.h | sed '
23918 s/'"$ac_delim"'/"\\\
23919 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23922 for (key in D) D_is_set[key] = 1
23923 FS = "\a"
23925 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23926 line = \$ 0
23927 split(line, arg, " ")
23928 if (arg[1] == "#") {
23929 defundef = arg[2]
23930 mac1 = arg[3]
23931 } else {
23932 defundef = substr(arg[1], 2)
23933 mac1 = arg[2]
23935 split(mac1, mac2, "(") #)
23936 macro = mac2[1]
23937 prefix = substr(line, 1, index(line, defundef) - 1)
23938 if (D_is_set[macro]) {
23939 # Preserve the white space surrounding the "#".
23940 print prefix "define", macro P[macro] D[macro]
23941 next
23942 } else {
23943 # Replace #undef with comments. This is necessary, for example,
23944 # in the case of _POSIX_SOURCE, which is predefined and required
23945 # on some systems where configure will not decide to define it.
23946 if (defundef == "undef") {
23947 print "/*", prefix defundef, macro, "*/"
23948 next
23952 { print }
23953 _ACAWK
23954 _ACEOF
23955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23956 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23957 fi # test -n "$CONFIG_HEADERS"
23960 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23961 shift
23962 for ac_tag
23964 case $ac_tag in
23965 :[FHLC]) ac_mode=$ac_tag; continue;;
23966 esac
23967 case $ac_mode$ac_tag in
23968 :[FHL]*:*);;
23969 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23970 :[FH]-) ac_tag=-:-;;
23971 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23972 esac
23973 ac_save_IFS=$IFS
23974 IFS=:
23975 set x $ac_tag
23976 IFS=$ac_save_IFS
23977 shift
23978 ac_file=$1
23979 shift
23981 case $ac_mode in
23982 :L) ac_source=$1;;
23983 :[FH])
23984 ac_file_inputs=
23985 for ac_f
23987 case $ac_f in
23988 -) ac_f="$ac_tmp/stdin";;
23989 *) # Look for the file first in the build tree, then in the source tree
23990 # (if the path is not absolute). The absolute path cannot be DOS-style,
23991 # because $ac_f cannot contain `:'.
23992 test -f "$ac_f" ||
23993 case $ac_f in
23994 [\\/$]*) false;;
23995 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23996 esac ||
23997 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23998 esac
23999 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24000 as_fn_append ac_file_inputs " '$ac_f'"
24001 done
24003 # Let's still pretend it is `configure' which instantiates (i.e., don't
24004 # use $as_me), people would be surprised to read:
24005 # /* config.h. Generated by config.status. */
24006 configure_input='Generated from '`
24007 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24008 `' by configure.'
24009 if test x"$ac_file" != x-; then
24010 configure_input="$ac_file. $configure_input"
24011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24012 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24014 # Neutralize special characters interpreted by sed in replacement strings.
24015 case $configure_input in #(
24016 *\&* | *\|* | *\\* )
24017 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24018 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24019 *) ac_sed_conf_input=$configure_input;;
24020 esac
24022 case $ac_tag in
24023 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24024 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24025 esac
24027 esac
24029 ac_dir=`$as_dirname -- "$ac_file" ||
24030 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24031 X"$ac_file" : 'X\(//\)[^/]' \| \
24032 X"$ac_file" : 'X\(//\)$' \| \
24033 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24034 printf "%s\n" X"$ac_file" |
24035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24036 s//\1/
24039 /^X\(\/\/\)[^/].*/{
24040 s//\1/
24043 /^X\(\/\/\)$/{
24044 s//\1/
24047 /^X\(\/\).*/{
24048 s//\1/
24051 s/.*/./; q'`
24052 as_dir="$ac_dir"; as_fn_mkdir_p
24053 ac_builddir=.
24055 case "$ac_dir" in
24056 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24058 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24059 # A ".." for each directory in $ac_dir_suffix.
24060 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24061 case $ac_top_builddir_sub in
24062 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24063 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24064 esac ;;
24065 esac
24066 ac_abs_top_builddir=$ac_pwd
24067 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24068 # for backward compatibility:
24069 ac_top_builddir=$ac_top_build_prefix
24071 case $srcdir in
24072 .) # We are building in place.
24073 ac_srcdir=.
24074 ac_top_srcdir=$ac_top_builddir_sub
24075 ac_abs_top_srcdir=$ac_pwd ;;
24076 [\\/]* | ?:[\\/]* ) # Absolute name.
24077 ac_srcdir=$srcdir$ac_dir_suffix;
24078 ac_top_srcdir=$srcdir
24079 ac_abs_top_srcdir=$srcdir ;;
24080 *) # Relative name.
24081 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24082 ac_top_srcdir=$ac_top_build_prefix$srcdir
24083 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24084 esac
24085 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24088 case $ac_mode in
24092 # CONFIG_HEADER
24094 if test x"$ac_file" != x-; then
24096 printf "%s\n" "/* $configure_input */" >&1 \
24097 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24098 } >"$ac_tmp/config.h" \
24099 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24100 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24102 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24103 else
24104 rm -f "$ac_file"
24105 mv "$ac_tmp/config.h" "$ac_file" \
24106 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24108 else
24109 printf "%s\n" "/* $configure_input */" >&1 \
24110 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24111 || as_fn_error $? "could not create -" "$LINENO" 5
24116 # CONFIG_LINK
24119 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24121 else
24122 # Prefer the file from the source tree if names are identical.
24123 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24124 ac_source=$srcdir/$ac_source
24127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24128 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24130 if test ! -r "$ac_source"; then
24131 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24133 rm -f "$ac_file"
24135 # Try a relative symlink, then a hard link, then a copy.
24136 case $ac_source in
24137 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24138 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24139 esac
24140 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24141 ln "$ac_source" "$ac_file" 2>/dev/null ||
24142 cp -p "$ac_source" "$ac_file" ||
24143 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24146 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24147 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24149 esac
24152 case $ac_file$ac_mode in
24153 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24154 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24155 "Makefile":C) wine_fn_output_makefile Makefile ;;
24157 esac
24158 done # for ac_tag
24161 as_fn_exit 0
24162 _ACEOF
24163 ac_clean_files=$ac_clean_files_save
24165 test $ac_write_fail = 0 ||
24166 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24169 # configure is writing to config.log, and then calls config.status.
24170 # config.status does its own redirection, appending to config.log.
24171 # Unfortunately, on DOS this fails, as config.log is still kept open
24172 # by configure, so config.status won't be able to write to it; its
24173 # output is simply discarded. So we exec the FD to /dev/null,
24174 # effectively closing config.log, so it can be properly (re)opened and
24175 # appended to by config.status. When coming back to configure, we
24176 # need to make the FD available again.
24177 if test "$no_create" != yes; then
24178 ac_cs_success=:
24179 ac_config_status_args=
24180 test "$silent" = yes &&
24181 ac_config_status_args="$ac_config_status_args --quiet"
24182 exec 5>/dev/null
24183 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24184 exec 5>>config.log
24185 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24186 # would make configure fail if this is the last instruction.
24187 $ac_cs_success || as_fn_exit 1
24189 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24191 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24195 if test "$no_create" = "yes"
24196 then
24197 exit 0
24200 ac_save_IFS="$IFS"
24201 if test "x$wine_notices" != x; then
24202 echo >&6
24203 IFS="|"
24204 for msg in $wine_notices; do
24205 IFS="$ac_save_IFS"
24206 if ${msg:+false} :
24207 then :
24209 else $as_nop
24210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24211 printf "%s\n" "$as_me: $msg" >&6;}
24213 done
24215 IFS="|"
24216 for msg in $wine_warnings; do
24217 IFS="$ac_save_IFS"
24218 if ${msg:+false} :
24219 then :
24221 else $as_nop
24222 echo >&2
24223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24224 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24226 done
24227 IFS="$ac_save_IFS"
24229 printf "%s\n" "
24230 $as_me: Finished. Do '${ac_make}' to compile Wine.
24231 " >&6